LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

digital trigger to stop data acquisition from multiple analog channels

Hello,

I am trying to start and stop the data acquisition from five analog channels simultaneously by modifying the DigitalStartandStopTrigger.vi to include all five channels.

At the bottom of this page is the example VI: How Do I Use a Digital Trigger in LabVIEW to Start and Stop Acquiring Data?

Does anyone have an idea how to modify the .vi to incorporate the additional channels.

 

Thank you. 

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

Hi mie2003,

select your five channels in the "Physical Channel" control.

 

Mike

0 Kudos
Message 2 of 5
(2,888 Views)

Thank you, Mike, for your response.

When I initially modified the original "digital start and stop trigger VI", I included 5 analog channels, but then the VI stopped working. It is the second part of the VI (the buffer part) that does not work properly. Please find my version of the VI attached.

 

Thank you for your help.

 

0 Kudos
Message 3 of 5
(2,877 Views)

I don't see any problems with your VI.  I ran it and it was just fine.  Ensure that you have more than 2 post-trigger samples and ensure that all of your physical channels are valid and correpond to the appropriate channel or line.  As long as you do this I think you should be ok.  I ran this program without any real problem.  If you are still seeing a problem let us know and include some description as to what your error is and maybe a few screenshots. 

 

Thank you 

Charley Dahan

Global Account Manager
0 Kudos
Message 4 of 5
(2,867 Views)

Hello Charles,

 

thank you for your reply. I can run the VI without an error message, but the data output is incorrect.

I do not get an array for the 5 channels, but only data for one of the channels.

Any suggestions?

 

0 Kudos
Message 5 of 5
(2,858 Views)