From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

XY graph: getting error while writing x axis from csv file

Solved!
Go to solution

Hi there,

I have attached the code below in which when I am changing property of graph for X axis to absolute time: HH:MM:SS I am getting error: "LabVIEW: (Hex 0x1) An input parameter is invalid. For example if the input is a path, the path might contain a character not allowed by the OS such as ? or @." When running my code first time before any change i.e. with double representation of timestamp i am not getting any error. 

Download All
0 Kudos
Message 1 of 3
(775 Views)
Solution
Accepted by topic author doc_d

Hi d,

 


@doc_d wrote:

When running my code first time before any change i.e. with double representation of timestamp i am not getting any error. 


Because your format string does not fit to the data in that CSV file!

You are looking for "H:M:S", but the file only contains "H:M".

(Maybe you should implement some error handling in your VI?)

 

Btw. to understand your code it would really help when you cleanup before uploading. LabVIEW has an AutoCleanup feature…

Best regards,
GerdW


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

Thank you for the solution. It's working now, I just made this silly mistake😅. Cleaned up the diagram and added error handling like you suggested.

0 Kudos
Message 3 of 3
(710 Views)