From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
07-24-2018 08:09 AM
This is my current VI. I have a sensor that sends a mA signal and is converted to height and two thermocouples that display in real time. I have a cDAQ 9185, an NI 9207, an NI9210, an NI 9401, and an NI 9263. I need a continuous 5V source so that when the wire is connected, the input reads it as a trigger and starts acquiring the data for the amount of time predetermined in the time target. I have been struggling with this for awhile and I am new to LabVIEW.
Also, I need to connect another trigger the same way but this time when the wire is connected and the 5V is read back to the DAQ, I need it to make a mark on the graph each time it is hit to mark a period of time within the data acquisition.
Thanks!
07-25-2018 03:36 PM
Hi,
Have you looked at any of the LabVIEW examples on triggering?
Best,
Misbah
07-26-2018 06:38 AM
Yes I have but I am having issues since I need to both produce a voltage and read a voltage at the same time from the same module (9401). This is my most recent attempt of using the trigger and I am getting the following error:
Error -200284 occurred at Trigger and Real Time Test DAQAssistant.vi:Instance:20:970001
Possible reason(s):
Some or all of the samples requested have not yet been acquired.
To wait for the samples to become available use a longer read timeout or read later in your program. To make the samples available sooner, increase the sample rate. If your task uses a start trigger, make sure that your start trigger is configured correctly. It is also possible that you configured the task for external timing, and no clock was supplied. If this is the case, supply an external clock.
07-27-2018 02:10 PM
Please see the knowledgebase article linked below:
DAQmx Read VI Error -200284 Samples Have Not Been Acquired
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P8XsSAK
Best,
Misbah