LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

start stop trigger

Hi,
I'm using a DAQ card AI-16E4 with labview 5.0 and trying to use a digital trigger to start and stop analog data collection. Can the start and stop triggers both be wired into PFI0/TRIG1 (for instance if i wanted to start collection by flipping a switch and then stop it by flipping the switch a second time)- Or do i need to use PF1/TRIG2 for the stop trigger.
Also should these triggers be refered to for the subVI? Are they still digital trigger a and digital trigger b even if they are wired into the same port?

Also i keep getting the error message 10082 -which is supposed to mean i'm trying to take to many samples -but this message is showing up right after i hit the run arrow for the VI, before i trigger the start of data collection. A
ny idea why this is?

I am very greatful for any help in getting this VI to work. thanks much
0 Kudos
Message 1 of 2
(2,685 Views)
Rebecca,

Yes, you can use the same PFI line as both a start and a stop trigger for acquisition. I have included a link to an example program below that illustrates how to do this. I hope this helps.

Continuously Acquiring Analog Signals Using a Digital Start and Stop Trigger
http://venus.ni.com/stage/we/niepd_web_display.DISPLAY_EPD4?p_guid=B123AE0CBB00111EE034080020E74861&p_node=DZ52308&p_submitted=N&p_rank=&p_answer=&p_source=Internal

Regards,

Todd D.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,685 Views)