LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

write PNG file

Hi can anyone tell me why would I get this error (screenshot) for the Write PNG File.vi whenever I run my VI?

 

 

png error.png

0 Kudos
Message 1 of 38
(3,433 Views)

Something is wrong with your filename.

0 Kudos
Message 2 of 38
(3,429 Views)

How do I specify the file name for Wrtie to PNG File vi? Can u give me an example?

0 Kudos
Message 3 of 38
(3,426 Views)

Right click on the path input to the Write to PNG file and select Create Constant.  Now you have a path constant and you can go and browse for a path to the file.

 

Have you taken the tutorials yet?

0 Kudos
Message 4 of 38
(3,424 Views)

The file I choose, should it an png image or a folder?

Not yet.

0 Kudos
Message 5 of 38
(3,420 Views)

Hi Fred,

 

"The file I choose, should it an png image or a folder?"

Let's think about that... You want to write a file, but you choose a folder for it's name???

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 38
(3,407 Views)

Hi,

 

Do not hesitate to launch help to understand how to use a VI

Olivier L. | Certified LabVIEW Developer


0 Kudos
Message 7 of 38
(3,394 Views)

@fredteng wrote:

The file I choose, should it an png image or a folder?

Not yet.



Why not?

 

You've already spent more time asking questions than it would have taken you to run through the tutorials.  And some of the basic LabVIEW questions you have might have already been answered.

 

Please take the tutorials to learn the basics of LabVIEW.  Then if you have specific issues or questions, then we can help you.  The forums are intended for people to help other people with their programming problems, not handhold them through basic LabVIEW programming.

0 Kudos
Message 8 of 38
(3,381 Views)

I can't find the help that I need. Is there a way for me to read all the png images in a folder by asking the computer to read the whole folder instead of having to click on each and every one of them one by one. 

0 Kudos
Message 9 of 38
(3,341 Views)

Hi Fred,

 

in the file palette you will find a function named "List Folder"...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 10 of 38
(3,337 Views)