I am trying to make a picture controler on my interface. I can drag and zoom my picture but my zoom is too bad ....
My picture is big and I didn't find the way to make a zoom on the center of my indicator image with the zoomfactor. All my calculate tries failed and my reseachs on the web failed ...
I am not really sure if i am clear but I can answer your questions.
I am looking for a way to find controls on an executable LV program.
I need this function because I want to automate a series of tests (user mouse clicks for example) on an executable LV program.
The normal tools who does it with windows objects are not able to recognize LV controls individually.
My idea is to find a way to recognize LV controls so I can interact with them individually.
If anyone knows any third party programs to do automation tests for a LV exe that would also be highly appreciated.
This VI demonstrates how you can bodge a VI to accept drag and drops of files and folders just like a path control (without losing any mouse click/move event functionality).
Path controls have an API for dragging and dropping Files/folders from the OS, or correctly formatted strings from Excel. While an acceptable drag-and-drop operation is underway the path control adds a dotted box to the control (I'm calling this a target box). However this behavior is not available for other objects such as panes or other controls. So Bodging time.
DragandDropBodge.vi (attached to the original lavag.org post) has a transparent Path control (set to 'Scale object with pane') that in all the use cases where a drag and drop is possible is set to Visible=True, and in all the use cases where the user would click on an object within the pane is set to Visible=False. I am using a shift register and the Timeout case to Visible=False the Path control, but for a more complex VI or when you have an existing need for the Timeout Case, you can manage this with a user event.
This could be used to bodge drag-and-drop for a xy graph or other indicator instead of the pane at large. Or by capturing the cursor position at the moment of 'value update' for the path control a drag and drop could update a specific line in a tree/table/array.
Hope this helps when you are searching with the same keywords I was and found no solutions!
I'll explain the application that I have to make.
I have a laser sensor (Scan Control) which rotates with an electric motor, it will measure a hole. For that, he turns and must to collect data for each grade of rotation. 180 / half turn -> 180 points / half turn. I have already a Labview program that translates the data sensor in mm.
Now I have to make a program to to synchronize the data acquisition.
I thought about two solutions:
-Drive will sent the triggeur (I do not know if it can be done)
-Analog encoder with a rising edge of the sine or cosine signal.
The encoder has 32,000 points per revolution (resolution) so it should acquire at each 32000/180 = 180 periods of the encoder signal.
How can I do this on Labview?
I hope I have expressed well,
Thank you in advance to all.
This XControl has the nice feature that a Calendar control should give you.
Multilanguage support by property node.
The input and output are Labview Time Stamp.
When selecting a date, the date in the calendar become light blue.
Please you receive this XControl for free. The minimum you can do is to rate it.