LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to get save option of a camera image on front panel and automatic save option

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?

 

rd2024_0-1728107088079.png

 

0 Kudos
Message 1 of 5
(135 Views)

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

0 Kudos
Message 2 of 5
(83 Views)

@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:

Screenshot 2024-10-07 16.30.47.png

 

Is this your problem?

 

If so, then just scroll Front Panel to the left, you will see your controls and indicators:

Screenshot 2024-10-07 16.31.57.png

 

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:

Screenshot 2024-10-07 16.33.10.png

 

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:

Screenshot 2024-10-07 16.40.06.png

You can also using this setting in the VI's Properties:

Screenshot 2024-10-07 16.46.33.png

Hope this helps (if this is exactly your trouble).

Message 3 of 5
(60 Views)

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.

rd2024_0-1728711086051.jpeg

 

 

Download All
0 Kudos
Message 4 of 5
(19 Views)

@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:

 

Screenshot 2024-10-12 08.25.39.jpg

 

Then you will get it:

 

Screenshot 2024-10-12 08.26.31.jpg

 

In your case probably better to use Path Control (you can adjust options if you prefer to select file or folder, etc)

 

Screenshot 2024-10-12 08.26.51.jpg

 

To convert path to strings you can use Path To String, and Build Path could be also useful for you:

 

Screenshot 2024-10-12 08.29.13.jpg

 

0 Kudos
Message 5 of 5
(11 Views)