10-04-2024 11:49 PM
Hi, I have a Labbview program of a USB3 machine vision camera with an image file saving path and an option for file saving with date and time. These functions are working well but are not displaying on the front panel. Also, I can't save images automatically. The VI is attached. can someone help me?
Solved! Go to Solution.
10-07-2024 05:26 AM
Your image of part of a LabVIEW VI cannot be edited, examined closely, or executed. Can you create a new LabVIEW Project that contains a small Demo illustrating the problem you are facing, and attach the entire Project? Note that many experienced LabVIEW Developers are not using LabVIEW 2024 -- you will reach a larger group with IMAQdx experience if your Demo is in LabVIEW 2021 or 2019.
Bob Schor
10-07-2024 09:42 AM - edited 10-07-2024 09:48 AM
@rd2024 wrote:
Hi, I have a Labbview program of a USB3 machine vision camera with an image file saving path and an option for file saving with date and time. These functions are working well but are not displaying on the front panel.
When downloaded and opened, then Front Panel of your VI appeared "empty" like this:
Is this your problem?
If so, then just scroll Front Panel to the left, you will see your controls and indicators:
What I would like to recommend is to move all your visible GUI elements to the right, relative to Origin Point here as shown below:
Then in such case you can simply use "Reset to Origin" Quick Drop keyboard shortcut (Strg+Space/Strg+O) to reset Origin to zero. Save your VI, then Origin will be saved as well. Or you can also set it programmatically:
You can also using this setting in the VI's Properties:
Hope this helps (if this is exactly your trouble).
10-11-2024 11:38 PM
Hi,
Thank you very much for your time and reply. I want a file path, and a saving option on the front panel, along with user inputs (test name, specimen name, etc.). The VI contains a concatenate string with file-related information, but not displayed on the front panel. VI is attached.
10-12-2024 01:35 AM
@rd2024 a écrit :
Hi,
Thank you very much for your time and reply. I want a file path, and a saving option on the front panel, along with user inputs (test name, specimen name, etc.). The VI contains a concatenate string with file-related information, but not displayed on the front panel.
To turn constant to Front Panel's Control you can use context menu:
Then you will get it:
In your case probably better to use Path Control (you can adjust options if you prefer to select file or folder, etc)
To convert path to strings you can use Path To String, and Build Path could be also useful for you:
10-13-2024 12:23 AM
Thank you for the help. I implemented them following the suggestions. How can I activate the auto-save option (e.g. 1 image in every 5 s) after running the VI without clicking the capture option?
10-13-2024 01:00 AM
@rd2024 a écrit :
Thank you for the help. I implemented them following the suggestions. How can I activate the auto-save option (e.g. 1 image in every 5 s) after running the VI without clicking the capture option?
Use snippet like this:
10-13-2024 06:45 AM - edited 10-13-2024 06:47 AM
Thanks for the consistent support. I implemented the auto-capture option in the camera. Next, if I want to trigger the auto-capture with a rotational motor in the same VI, suppose the camera will capture the image at every 5-degree rotation of the motor (at motor position: 5, 10, 15, and so on)
The VI image of the motor,
The VI image of the camera,
The project and VI files are attached.
Can you please help me?