LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

two digital triggers to stop/start data acquisition

hello,

i am using NI 9205 for data acquisition,but i have no external hardware trigger source, und i tried to use two digitital signal at rising edge for triggering stop/start sine signalgenerator,it runs Ok.

 i wanted to use DAQ Assistent and Write to Measurement VIs to replace  sine signalgenerator,one trigger start data acquisition until another trigger comes,and data acquisition is stoped,but it doesn't work.

can anyone give me some advices,the VI is attached. thanks in advanced!

0 Kudos
Message 1 of 5
(2,371 Views)

Hello jetfire,

 

could you upload the SubVI's too?

 

Best regards


AndGar

Andreas Gareis
Senior Applications Engineer, NI
Certified LabVIEW Developer & TestStand Architect
0 Kudos
Message 2 of 5
(2,301 Views)

Hi AndGar,

 

atleast "Simple Edge Detection" can be replaced by PtByPt-BooleanCrossing...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 5
(2,291 Views)

@AndGar wrote:

Hello jetfire,

 

could you upload the SubVI's too?

 

Best regards


AndGar


Hello AndGar,

i got SubVI's from this links

https://decibel.ni.com/content/docs/DOC-1047

0 Kudos
Message 4 of 5
(2,273 Views)

Hello jetfire,

 

could you elaborate what is not working? Do you get an error message when using the DAQ assistant?

 

I've taken your VI and simulated a 9001 card to get an analog signal in. In the aquisition mode "continoues samples" I receive error -200279. With "N samples" I can operate it. In all cases your program does not stop when your digitial inputs reach the end.

 

Best Regards

AndGar

 

Andreas Gareis
Senior Applications Engineer, NI
Certified LabVIEW Developer & TestStand Architect
0 Kudos
Message 5 of 5
(2,254 Views)