Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

OPEN FILE ERROR MESSAGE

Hi,
 
I'm trying to open a file in CVS with read  from spreadsheet file .vi . every time  that the program runs an error message occur concerning the path. i tried many ways to give a path but i still get an error message. i attched this message error pix. could someone help me with this please?
 
Best Regards
 
Tchaou 
Download All
0 Kudos
Message 1 of 4
(3,570 Views)

Hi Tchaou,

One thing to try is leaving the file path unwired.  If left unwired you will receive a dialog box asking you to choose the file.  If that works then just make sure you are using the correct file path, if you right click on the file and select properties you can copy the location into the file path.  I hope this helps

Have a great day,

GG

0 Kudos
Message 2 of 4
(3,559 Views)

Hi GiGe,

I tried to leave the file path unwired. the first time the dialog box appear when i call the step on VBAI (on the target). but after when i'm trying to run the program (on the target), a pop-up message tells me that the step failed to be initialize. what i understand by this message is that labview can not initiate read from spreadsheet function to read the file through the path. i don't know if i'm wrong. i want really to know if there is a specific way of giving a path in RT different from windows or if this function as many others is not supported by RT target as CVS.

Best Regards,

Tchaou 

0 Kudos
Message 3 of 4
(3,553 Views)

Hi Tchaou,

If the file is on the CVS then try taking the C: out of the file path.  The way the file structure is set up is similar to the Linux operating system starting with a “\”.  One way to look at those files is to ftp into the CVS to look at the data structure.  I hope this helps.

GG

0 Kudos
Message 4 of 4
(3,528 Views)