05-02-2017 08:54 AM
Hello.
I need help to generate code to simulate SSI absolute encoder. I found a lot of examples how to read encoder, but I need inverse of it.
The DUT will generate clock, and it requires input from encoder. I am trying to use labview to generate data to simulate encoder and send it to DUT.
I was going to use USB DAQ 6343
Should I just connect clock to PHI IO and use it as an internal clock to send binary data using digital output pin?
THank you for any help.
05-02-2017 12:44 PM
You need to be more specific with the encoder (Complete Part Number). Could you put together a schematic showing your intent with system layout / configuration and attach it here?
05-03-2017 08:10 AM
I thing in my case part number of encoder is not important. For example it could be Zelltex INC-3-75.
I am trying to use DAQ as encoder. I need to generate waveform show in picture.
05-03-2017 08:31 AM
How many bits (n) will you be sending? Also, will the encoder you will use support the 'Error Flag'? The Part Number has included in it this information.
You can create a WHILE loop to handle each data block. Remember that data is stable during the falling edge of the clock. It is shown that when the rising edge of clock occurs that data changes; that is for simplicity (visually) and to ensure data stability at the falling edge of clock.
01-05-2018 06:42 AM
The DUT master generates the clock, and the encoder simulation has to send the serial data back in sync with the DUT master clock. Did you manage to get this card (NI 6343) to provide the synchronised data; if so how?