LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

add cursor programmatically

Hi,
 
I want to know if it is possible to add cursors programmatically (in Labview) on an intensity graph, or do I have to define a lot of cursors and make them visible if needed?
 
Thank you
alex 
0 Kudos
Message 1 of 9
(4,461 Views)

I'm sorry,d it. I found it. Thanks anyway.

 

alex

0 Kudos
Message 2 of 9
(4,451 Views)
In case anyone else is looking for this you can use the Cursor List property to add more cursors.
0 Kudos
Message 3 of 9
(4,438 Views)
Hi. I am looking at how to add more cursors to activate or use it with flash(interactive) program. Would you mind helping me or sharing ur info? thks
0 Kudos
Message 4 of 9
(4,384 Views)

khsay hello.

I am not entirely clear when you say "to add more cursors to activate or use with flash (interactive) program. Could you please explain a little better. Using the cursor list property node gives you the ability to add/delete cursors programmatically.

Please provide more infromation and we will be able to help. Thanks.

Efosa O.
NIAE

0 Kudos
Message 5 of 9
(4,357 Views)

Hi Efosa O.

Thks for offering to help. Let me give you brief details. I am currently using NI IMAQ to locate an object using a high speed camera. I use colour pattern matching and also manage to obtain the XY cordinates of the object. Next, i export the program into labview. I am currently using Labview 8.0

After which, i try to launch a flash program. This is done so by using the flash.vi, a sample from NI web. This program allows me to launch swf files in labview. I had designed an interactive flash and imported it.

*interactive flash: I refer to flash program which will interact with users when their cursors move into "hidden button". This will either launch a new screen or some movement.

http://sine.ni.com/apps/utf8/niepd_web_display.display_epd4?p_guid=C8571CD792970180E034080020E74861

This is where I am stuck at:

I am trying to use the XY cordinates feedback from the camera, to use it as an input to move the cursor around the flash program. In this way, the movement of the object is controlling the cursor instead of the mouse. Is there a way to fix this problem or should i edit the properties of the flash?

Thanking you in advance.

khsay

 

 

0 Kudos
Message 6 of 9
(4,341 Views)

khsay hello.

Just for clarification sake, you are trying to move the mouse cursor on the flash program with the XY coordinates from the camera.

I think I have a better grasp on what you are trying to do. The swf file is independent of LabVIEW. The invoke nodes in the application give you the ability to play and perform a few other functions to the files in LabVIEW, but I am not aware of any way to modify the files themselves. You will have to modify the flash program in order to be able to do what you are asking.

Efosa O.
NIAE

0 Kudos
Message 7 of 9
(4,324 Views)
If all you want to do is programtically move the mouse over the flash activeX window take a look at this example.
 
It shows how to user the windows DLL to actually mvoe the mouse.  So you could look at the picture or whatever and then calculate the location you want the mouse, and then make the proper DLL calls to move the mouse.
 
GIve it a try and see if you have any questions.
0 Kudos
Message 8 of 9
(4,316 Views)
Thank you for all your help. This is great. I am almost achieving what i am asking, but the user interface i created is not very friendly to me.
0 Kudos
Message 9 of 9
(4,247 Views)