07-23-2007 09:30 PM
07-24-2007 03:24 AM
07-24-2007 04:37 AM
You can't add a control to a VI which is already running. You can do it when the VI is idle using LV scripting, but that is no different than dropping a control from the palette and is not officially supported.
What is it that you are actually trying to accomplish? We might be able to offer a solution if we understand the entire problem.
07-24-2007 06:37 AM - edited 07-24-2007 06:37 AM
Thank you tst
Pls check the attachment
I will explain much more carefully
The process is as bellow:
I know we can use drag and drop to transfer the image data and the name. could i use the picture control?
could i use subpanel to accomplish two windows?
Message Edited by top58525785@163.com on 07-24-2007 06:40 AM
07-24-2007 06:48 AM
I missed one point
07-24-2007 07:06 AM
What you're suggestion is relatively complicated in LV. If you know of a maximum number of images, you can just create as many control and use property nodes to move them around.
If not, you will need to use the picture control. Attached is a very quick example of dropping images into a picture control (LV 8.0), but if you then need to keep handling the images in the control, you will need to maintain information about which image is on top, etc. It can be done, but it will require some work.
07-24-2007 08:53 AM
Thank you tst
It seems like that
Dynamical to drag and add the Control objects onto the windows is difficult for LabVIEW.
so use the picture instead.
At he beginning ,i use the drag and drop function from the pict ring,and drop the pic to another pic indicator as the examples
how to drag the picture in the picture control?
Could the pictures in the picture control be auto connected in line if i want?
pls check the attachment
07-24-2007 09:07 AM
What you want to do is relatively complicated and it seems that your knowledge of LabVIEW is relatively basic. I suggest you try searching this site and google for LabVIEW tutorials. Here, here, here, here, here and here are a few you can start with and here are some tutorial videos. You can also contact your local NI office and join one of their courses.
In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).