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.
09-16-2016 09:12 AM
Hello LabVIEW-Enthusiasts,
I am looking for a way to display two fix thresholds and a running signal in one graph. Therefore I read the thresholds from a TDMS file (one column for each threshold) and wire them into the loop where the signal is acquired. After the acquisition I merge the signals and try to display them in a graph. Unfortunately the running signal doesnt show up in the graph. The thresholds are displayed immediately but no running signal is visable.
Did I make a mistake? What is the most efficient way to do this?
09-19-2016 10:23 AM
Hello,
The reason the random signal does not display is because you are only ouputting one random point every time the loop executes. Try putting a for loop around the random number generator. This way when you build an array there will be more than one point in the signal and you will actually be able to see the waveform on the graph.
Thanks!
will.i.am10
09-19-2016 11:00 AM
I see that the name of the device that you are looking for contains NI USB. What device are you using? If it is an NI device, why are you not using DAQmx?
09-26-2016 08:25 AM
Thank you for the response,
Unfortunately putting a for loop around the random number generator doesnt work. It's still the same problem, generating single numbers instead of an array which contains all the numbers.
Am I doing it wrong or could you maybe post a picture or example?
Thanks
09-27-2016 09:44 AM
Hello,
I attached a picture of my for loop in which an auto indexing array is created. This will create 100 points because of how much times the for loop iterates. See the document below for more information on auto indexing for loops. Is this what you are trying to do?
Auto Indexing Tunnels: http://digital.ni.com/public.nsf/allkb/B85025233861378A86256CE700491E34
Thanks,
Will.i.am10