LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Cant Print Using System Exec VI

Hello all,

 

I have been trying to print a graph by using invoke node method for capturing the graph, then i have converted it into PNG image and then sent it to System Exec vi. I am getting this error which I have attached. The possible reason could be the fact that i have observed, when Labview writes to an image file be it jpeg, png or bmp it does not save it with its extension, it saves it as a file and the sytem exec vi reads the extension. Maybe that is the reason for the error.

 

Kindly help me solve this issue. I am attaching the block diagram i made and the error snapshot.

 

Regards

Alex

Download All
0 Kudos
Message 1 of 3
(2,962 Views)

Maybe it's the comma in your file name, which is not allowed.

0 Kudos
Message 2 of 3
(2,914 Views)

Hi Alex,

 

NEVER use string functions to build a path - use BuildPath instead!

 

Does your folder "Mon, Feb…" even exist? Atleast you try to create a path containing the date string as subfolder…

Best regards,
GerdW


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