LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

synchronize cursor and mouse

That is really odd, GerdW.  I noodled around with it myself and it doesn't work if I set the active cursor inside the subvi, but does work when I set it in the main vi.  Perhaps someone with a better understanding of vi references can give use some idea of what is going on.
0 Kudos
Message 11 of 19
(2,276 Views)
Seems to work fine in 7.1.

___________________
Try to take over the world!
0 Kudos
Message 12 of 19
(2,271 Views)
Hello tst,

yes, your example is running too on my computer.
But my problem is:
How to detect the currently active cursor just from the graph properties? The user should not give the number of the active cursor before clicking in the graph, the program should detect this on its own...
For my and your understanding: I thought the active cursor is the one having the small LED of the 'move cross' in the cursor palette switched on... (Yes I know, you can switch on more than one cursor to move [and LabView should give me back the first one of the list]!)


And I need all this for LabView7.1, LV8 is much to big for small computers running just some data analysis/conversion programs...

Message Edited by GerdW on 06-23-2006 05:30 PM

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 13 of 19
(2,263 Views)

hi tst,

I can't create the "Map Coords To XY" method for a Waveform Graph.

I tried using a the general Invoke Node from the Application palette, but in vain.

Can U pls explain to me how to create it in LV 7.1 ?

Ur VI is running smooth for my version of LV.

Pls explain, I'm asking this to U bcos I saw in Ur post that U've stated it works fine in LV 7.1

Regards,

Partha.

- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 14 of 19
(2,255 Views)
Gerd, it seems that the cursors with the green LED are reflected in the Selected Cursors property. You will of course have to select only one of them.
 
Partha, as I mentioned in my original post, the problem with this is that it is a private method. That means that NI put it in LV, but it can only be accessed if you put a special line in your LabVIEW.ini file. The fact that it's private means either that NI thought it wasn't ready for public use (maybe it was still buggy) or that they wanted more time before they made it public (maybe they wanted more testing or needed to complete the documentation, etc.).
 
After all that, to use that method for a waveform graph, you can create your waveform graph, place the invoke node in the same VI, right click the invoke node and select Link To>>Waveform Graph. Now the node will be connected to the waveform graph. Just remember that the fact that it works does not necessarily mean that it will always work.

___________________
Try to take over the world!
Message 15 of 19
(2,250 Views)

thanks tst,

but if U'd told me the secret of changing that one line in the LabVIEW.ini file, many thanks would 've been to U.Smiley Very Happy

I'm only into my second yr into LV, so don't know much tricks of the trade yet...

rgds,

Partha.

- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 16 of 19
(2,241 Views)

Go to the LAVA forums' scripting board. You will need to register to read that specific board (it's free).

Be sure to read the warning linked to at the top of the board.


___________________
Try to take over the world!
Message 17 of 19
(2,221 Views)

GerdW a écrit:
...How to detect the currently active cursor just from the graph
properties? The user should not give the number of the active cursor
before clicking in the graph, the program should detect this on its
own...

GerdW
You confused the active cursor and the selected cursors nodes. The attached vi shows how to take advantage of both functions : when you click on a cursor, it becomes the selected cursor, and is used subsequently as active cursor.

Message Edité par chilly charly le 06-25-2006 03:40 AM

Chilly Charly    (aka CC)
Download All
Message 18 of 19
(2,217 Views)
Thanks to tst and CC!

(Well, it was Friday afternoon - and there's also FIFA Championship in Germany...)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 19 of 19
(2,195 Views)