04-17-2009 07:51 PM
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.
04-20-2009 02:30 AM
Hi mie2003,
select your five channels in the "Physical Channel" control.
Mike
04-20-2009 09:25 AM
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.
04-20-2009 10:32 AM
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
04-20-2009 12:15 PM
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?