DSM CAS 24/1 Wheel Pattern

http://jbperf.com/JimStim/index.html

DSM CAS 24/1 Wheel Pattern

Postby jsdevel » Fri Jul 21, 2017 10:53 pm

Hi Jean,

I'm following the directions in the docs for wheel upgrade. I have a 24/1 high res trigger disk that I'd like to simulate with the JimStim. Here is the wheel that I'm using:

Image

I'm familiar with reading C code, so I think all I have to do is replace one of the wheel patterns provided in the text file and pass this file to the .exe.

For this trigger disk, can you confirm that the following code is correct?

Code: Select all
// 24/1 trigger disk (high res disk for DSM CAS)
// 360/24 is 15 degrees, can't use floats so off and on will be different values i.e. 7 and 8
00,7,
01,8, // 1
00,7,
01,8, // 2
00,7,
01,8, // 3
00,7,
01,8, // 4
00,7,
01,8, // 5
00,7,
01,8, // 6
00,7,
01,8, // 7
00,7,
01,8, // 8
00,7,
01,8, // 9
00,7,
01,8, // 10
00,7,
01,8, // 11
00,7,
11,8, // 12
10,7, // cam signal
11,8, // 13
00,7,
01,8, // 14
00,7,
01,8, // 15
00,7,
01,8, // 16
00,7,
01,8, // 17
00,7,
01,8, // 18
00,7,
01,8, // 19
00,7,
01,8, // 20
00,7,
01,8, // 21
00,7,
01,8, // 22
00,7,
01,8, // 23
00,7,
01,8, // 24
0xff    // terminating string


Thanks in advance!
jsdevel
 
Posts: 28
Joined: Tue May 31, 2016 8:04 pm

Re: DSM CAS 24/1 Wheel Pattern

Postby jsdevel » Sat Jul 22, 2017 8:21 pm

So I attempted to replace the stock 4g63 pattern in the text file with my 24/1 pattern above, but it didn't appear to work. Here's the output in my command prompt:

Code: Select all
C:\Users\Joseph Spencer\Desktop>wheel_converter.exe wheels_default.jsw foo.jsr COM3 9600
Signature: JimStim format V2.0.4 *********
wheel address 1: e209
wheel address 2: e29a
wheel address 3: e38b
wheel address 4: e39c
wheel address 5: e3b7
wheel address 6: e43a
wheel address 7: e4b7
wheel address 8: e4ce
wheel address 9: e4f3
wheel address 10: e555
wheel address 11: e584
wheel address 12: e5ab
wheel address 13: e5ae
wheel address 14: e5b6
wheel address 16: e5cc
wheel address 17: e5db
wheel address 18: e60c
wheel address 19: e635
wheel address 20: e63e
wheel address 21: e648
wheel address 22: e650
wheel address 23: e66f
wheel address 24: e681
wheel address 25: e690
wheel address 26: e6ad
wheel address 27: e737
wheel address 28: e7b9
wheel address 29: e83f
wheel address 30: e870
wheel address 32: e892
wheel address 33: e8c5
wheel address 34: e906
wheel address 35: e91a
wheel address 36: e934
wheel address 37: e954
wheel address 38: e96d
wheel address 39: e988
wheel address 40: e9ac
wheel address 41: ec7e
wheel address 42: ef51
wheel address 43: ef8a
wheel address 44: efcd
wheel address 45: f054
buf_pos: f0dc
checksum : 232   received : 232        1
checksum : 149   received : 149        1


After running this and removing the serial jumpers, 456 selection still has a 4g63 pattern. I'm using the FTDI cable, 3456 were on, only jumpers were tx and rx, and I supplied power through the 12v adapter. Does the output of wheel_converter.exe look correct?
jsdevel
 
Posts: 28
Joined: Tue May 31, 2016 8:04 pm

Re: DSM CAS 24/1 Wheel Pattern

Postby jsdevel » Tue Jul 25, 2017 5:00 pm

Copied this post to msextra for more visibility.
jsdevel
 
Posts: 28
Joined: Tue May 31, 2016 8:04 pm

Re: DSM CAS 24/1 Wheel Pattern

Postby jsdevel » Thu Jul 27, 2017 12:32 am

NVM. It worked! Like an complete noob, I had 4g72 selected on the DIP (456 ON). I replaced 4g63 in the wheel patterns file. Once I selected 4g63 on the DIP (23 ON) it worked!
jsdevel
 
Posts: 28
Joined: Tue May 31, 2016 8:04 pm


Return to JimStim

Who is online

Users browsing this forum: No registered users and 1 guest

cron