From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, 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: 

NI-488: Nonexistent GPIB interface, Text file opening

Solved!
Go to solution

I have attached the missing code and the error image here.

 

Suma

Download All
0 Kudos
Message 11 of 16
(1,168 Views)

I need to open only once hence i removed the while loop in main, and De-allocation function in variant selection vi.

 

Path i have given by including extension .txt, still i am receiving the same error.

 

Suma

0 Kudos
Message 12 of 16
(1,162 Views)

Then apparently something is still wrong with your file path.

Use all the debugging tools you have available to you to figure out why the file paths don't exist.

0 Kudos
Message 13 of 16
(1,160 Views)
Solution
Accepted by JÞB

Who created that subVI to strip and Build Paths?

 

Have you checked your filepath to see if it is correct or not?

 

On my system the problem is that you are stripping your file path twice, you should only strip it once to get rid of the VI name.  Right now you are getting rid of the VI name and the name of the folder that the VI is in.

Message 14 of 16
(1,153 Views)

Stripping length was the problem, its solved now.

 

Thank you so much!

0 Kudos
Message 15 of 16
(1,150 Views)

@suma_n wrote:

Stripping length was the problem, its solved now.

 

Thank you so much!


And marked .  

 

You don't have to say thanks,  although it is appreciated,  that kudos button does that for you. 


"Should be" isn't "Is" -Jay
0 Kudos
Message 16 of 16
(1,147 Views)