Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 66786

making a real-time graph from 1 DBL value at a time using a for loop

$
0
0

I have a somewhat interesting programming task where I have the following situation: (I've attached a mac version of Labview 2013 vi)

 

- Using a patented (pre-made and non-modifiable) sub-vi that receives either 0 or 1 as an input and reads off a single measurement every time it receives 1 while the 0 is required to "reset" the vi to repeat a new measurement.

- I would like to repeatedly run this sub-vi in a For Loop and every "measurement" value is sent to a waveform graph to give a live (real-time) value for the graph to show.

- As it stands, I've got a vi file that simulates the measurements in a for loop but builds the values into an exuent 1-D array to get sent to a waveform graph.  

- I don't know how to make a real-time graph which receives 1 DBL value at a time.

- Furthermore, I only want every 2nd value sent from the for loop, but I've already got several ideas of how to do that.  I'm first concerned about the real-time goal.

 

Kyle Shiells


Viewing all articles
Browse latest Browse all 66786

Trending Articles