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: 

error code 1430 when I run an labview exe from a script

Hello,

 

I am running labview exe from a perl script. I am actually measuing the signal measurements from the oscilloscope and then writing that data into an excel sheet. Using the perl script I am getting the directory for creating the excel sheet and write down the measurements. When I run the script and the application is called I get an error saying Error 1430,Open/Create/replace file . Write to spread sheet.vi and Possible reason 

 

Error 1430: The path is empty or relative. You must use an absolute path.

 

Can anyone help me get an understanding of this error.

 

Thanks

Bharath

 

--Bharath
0 Kudos
Message 1 of 6
(3,106 Views)

Hi Bharath,

 

Here a little information about the error code:

 

http://digital.ni.com/public.nsf/allkb/0D6D5696E481E4808625749800497EA1

 

Some things to wonder, how are you assigning (or creating) the path to the excel file you're creating in LabVIEW?

0 Kudos
Message 2 of 6
(3,057 Views)

Hello,

 

I have tested my labview module independently using the path and excel sheet name, it works fine and I get the output as needed. But after I have build the exe and then calling the labview module from the script with the input arguments fed in to the .exe file I get this error 1430. I was wondering if it was a build issue of not specifying the location??

 

Thanks

Bharath

--Bharath
0 Kudos
Message 3 of 6
(3,048 Views)

Bharath,

 

How are you defining into the LabVIEW code the terminals of the OpenCreateReplace function? have you checked this?

 

http://zone.ni.com/reference/en-XX/help/371361G-01/glang/open_create_replace_file/

0 Kudos
Message 4 of 6
(3,007 Views)

Bharath,

 

Check the link of my last email and see the 

 

File path section: file path (use dialog) is the absolute path to the file. If you do not wire file path (use dialog), the function displays a dialog box from which you can select a file. If you specify an empty or relative path, this function returns an error.

 

Here something you could use to connect to that terminal.

 

http://zone.ni.com/reference/en-XX/help/371361H-01/glang/application_directory/

 

Regards

0 Kudos
Message 5 of 6
(2,987 Views)

Thanks for the information.

 

Bharath

--Bharath
0 Kudos
Message 6 of 6
(2,897 Views)