LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

RTSI motion control and data acquistion

The code attached is part of an example that uses every falling edge of an encoder pulse via a 7334 motion controller card to clock data on a PCI6023E card. (Position-based DAQ)

Is there a way using this code (or otherwise) so that I could use this signal or some other signal to only TRIGGER the daq on the 6023E? (I want time-based daq)

Thanks for your time and patience

Chris
0 Kudos
Message 1 of 4
(2,800 Views)
You can definitely use a pulse to trigger an analog acquisition on the 6023E device. I would suggest to look at a LabVIEW shipping example that illustrates how to integrate a digital start trigger for analog aquisition.

The 'Acquire N Scans Digital Trig VI' would be a great place to start. You will just need to add a control/constant to the analog chan & level input of the AI Start VI and enter "RTSI0" into the string of that cluster input. This will set the 6023E to trigger off of RTSI0. So, instead of using the RTSI line in your program for the analog scan clock, you will use the RTSI line as a digital start trigger.

I hope this helps.

Regards,

Todd D.
NI Applications Engineer
0 Kudos
Message 2 of 4
(2,800 Views)
Thanks, that seems like the way to do it.

How important is the level in the cluster input?

Chris
0 Kudos
Message 3 of 4
(2,800 Views)
Sorry that was a silly question since I'm using digital triggering and not analogue!

Thanks for the advice.
0 Kudos
Message 4 of 4
(2,800 Views)