LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiplotting- thresholds and acquired date

i am looking for the easiest way (lowest memory usage) to plot threshold limits
on a graph and then acquire force data from user input.
these limits are calculated for each experiment from a predetermined maximum
force in another vi - ie. 75% of force should show up as a line across graph
and user then attempts to exceed this threshold. note: short data acquisition
times (2sec). i need to generate 40 and 50%, 20 and 30% areas as well.
one other thing- i am limited with analog input vis etc as i am using the
4050 pcmcia card which is not meant for this kind of acquisition(!).....
appreciate any help.
0 Kudos
Message 1 of 2
(2,168 Views)
Anne,

If you are only looking for a simple way to plot a threshold on your graph, then I might suggest creating/using cursors. If you create a waveform graph, you can right click on it to show the cursor legend. From this legend you can create several cursor, name the cursors, and define line styles. You can then gain programmatic control of the cursors using property nodes of the graph. You can set the "threshold" by first making the cursor you wish to change active then specifying a Y value of the cursor's coordinate. You make a cursor active by giving an index arguement to the Properties>>ActiveCursor property. The value can be found in the Property>>Cursor>>Cursor Position>>Cursor Y. If you are given threshold values from a previous vi, then you can use these ar
guements to specify a given Y coordinate of the cursor. The result will be a cursor drawn at the specific threshold on your graph. You can control what type of plot the cursor will have from the Cursor Legend.

-Ryan
0 Kudos
Message 2 of 2
(2,167 Views)