From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

waveform graph cursor x position

Solved!
Go to solution

Hello

I'm trying to read cursor posation on waveform graph .

but i get this error:

Capture.JPG

this is my block diagram :

Capture2.JPG

 

best Regards 

Morteza

 

0 Kudos
Message 1 of 3
(3,016 Views)
Solution
Accepted by topic author mori64

You are refering to a non-existing object. It means that you have to create a cursor before you can read its properties.

To create a cursor, follow the steps listed under Adding Cursors to Graphs in the LabVIEW Help.

Message 2 of 3
(2,983 Views)

Also, if you have more that one cursor in your graph remember to set the "Active cursor" property to the index of the cursor you need to access before reading its position or performing any other operation on it.

Message 3 of 3
(2,976 Views)