Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA write at constant clock

I am using a PXI 6221 for analog inputs and a PXI 8344/4 to communicate 2 absolute encoders. I have a sample clock runs at 4kHz for my analog inputs. What I need is to send a command to encoders at the beginning of each sample clock cycle. That command is needed to receive the current encoder position which should be synchronized with my analog data. So, I am trying to synchronize the first falling edge of the TX pin with the sample clock; please see the attached pic. Should I use VISA event functions?

 

Thanks

 

Capture.PNG

0 Kudos
Message 1 of 1
(937 Views)