LabVIEW MathScript RT Module

cancel
Showing results for 
Search instead for 
Did you mean: 

capture data using mouse

hi,

 

that's amazed. how did u do that? property node to add the cursor? btw how come the x-axis is not showing any data?

0 Kudos
Message 11 of 16
(4,848 Views)
Hi,
 
To display the cursor, enable the Cursor Legend in Visible Items in the short-cut menu of Graph control. Then, create a singel plot cursor in the Cursor Legend.
 
In your VI, the x-axis is time data. Therefore, it always display 08:00:00 01/01/1904. When you use XY Graph, the X should display the x-coordinate of the cursor position.
0 Kudos
Message 12 of 16
(4,842 Views)
when i use the xy graph, it always display 08:00:00 01/01/1904 even though i move the cursor. could it be because i did not set the parameter correctly?
0 Kudos
Message 13 of 16
(4,836 Views)
Yes, the x value of cursor depends on the x-coordinate of the plotted data.
 
It always displays 08:00:00 01/01/1904 because dt is set to 0.01 second in your code.
0 Kudos
Message 14 of 16
(4,833 Views)
wow that's a tough one. so if i am suppose to get at 0.2 sec, it will not be possible to get from the xy graph?
0 Kudos
Message 15 of 16
(4,826 Views)
Hi,
 
I think it is better to use XY Graph instead of Waveform Graph for your application.
See the attached VI for reference.
0 Kudos
Message 16 of 16
(4,820 Views)