LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

error 43 code file opening

Solved!
Go to solution

Dear Sir/madam,

 

I'm having this error 43 code appear again and again whenever I want to read my text file as shown in the block diagram picture attached. Sometimes it works other times it just doesn't work how can i fix this please help???

0 Kudos
Message 1 of 6
(1,431 Views)
Solution
Accepted by topic author rehan_the_great

Do you try to access a file, that is hosted on your computer, from you myRIO?

 

That is not possible, transfer the file to you myRIO and use a local file path on the myRIO.


Regards, Jens

Kudos are welcome...
Message 2 of 6
(1,427 Views)

Please can you let me know how to transfer the file onto myRio?

 

0 Kudos
Message 3 of 6
(1,421 Views)

I have now put the text file on the MyRIO device but still it wont work please have a look at the screen shot below.

 

now the error is code 7...

0 Kudos
Message 4 of 6
(1,397 Views)

Hi rehan,

 

general advice: when you want to attach images then please attach those images! (Use PNG for block diagram, and maybe JPG for frontpanels. Or attach snippets…)

Why do you need to hide those images within a proprietary Office file format!?

 

On your problem:

Now you get a "file not found" error!

Why do you place the file in this folder? Is this folder even accessable from your myRIO?

Why don't you place the file in the "data" subfolder next to your RTEXE? That's the place where it is placed from AppBuilder by default!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 5 of 6
(1,385 Views)
Solution
Accepted by topic author rehan_the_great

In addition to everything that Gerd already mentioned:

 

The root directory from the view point of myRIO is / not /R, so your path should be /home/lvuser/...

 

Regards, Jens

Kudos are welcome...
Message 6 of 6
(1,373 Views)