LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how can I stop a for loop that is placed inside a while loop and another for loop?

 
0 Kudos
Message 11 of 16
(1,060 Views)
Hello GeradW,
First of all tahnks for your patience, but i have problems with this. I explain to you exactly what I want to do. I have 5000 samples to read like a parameter and sample rate =25000 like parameter too. I'm introducing a signal to the device of 30 Hz. What I want is to see all the points of my signal, (5000 for each iteration). I want to see this values like a number, not like an array, for comparing with a trigger after. Can you help me.
I'm very foolish, sorry.
And thanks another time.
Luz
0 Kudos
Message 12 of 16
(1,061 Views)
Hello Luz,

How do you want to have 5000 values displayed? One after the other? Best thing would be (IMHO) a chart...
You can also compare arrays with single values (=trigger, see example).


Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 13 of 16
(1,051 Views)
Hello Luz,

at the moment you already do what you are describing:
getting the data (5000 samples) from DAQ and displaying them in a waveform graph. In the graph you already see the values on the Y axis. So why do you need an additional indicator for the values when you have a graph?


Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 14 of 16
(1,050 Views)

Hello GerdW

Sorry another time, I hope you don't mind I'm so fool. The signal taht I see in the graph doesn't correspond to the signal that I'm putting in the system (30Hz). So if I could see all the values I will get the right signal. Can you help me?

Thanks.

Luz

0 Kudos
Message 15 of 16
(1,046 Views)
Hello Luz,

"The signal taht I see in the graph doesn't correspond to the signal that I'm putting in the system (30Hz)" ???

So you expect to see a 30Hz signal in the graph, but you don't see it. If you don't see it in the graph you won't see as single value...
The values after the DAQ are all the same, just with different presentation (graph, array indicator, single numeric indicator). Stick with your graph, that should be ok (you can even zoom into the data to get single values...).

So better check your device or the DAQ setup (correct channel, correct wiring, ...).


Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 16 of 16
(1,040 Views)