LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 43 with myRio

Solved!
Go to solution

Hey guys,

 

I tried to open a file via the Event Structure (klicking a Button to open a File)
The Vi itself works.

However when I tried to run the vi via the MyRio-Project nothing happend while activating the Event / klicking the Button.

I read in the Forum that Event structures do not work with the MyRio:

 

"Event structures dont fully work on real time targets because the front panel executes on the host while the block diagram executes on the real time system."

 

To solve this Problem we tried to "imitate" an Event Structure with a Case Structure. This vi also works itself.

While running in the MyRio Project it again gives some Error Codes.

 

Error 43 occurred at Open/Create/Replace File in Tabelle öffnen.vi

Possible reason(s):

LabVIEW: Operation cancelled by user.

 

Actually Im not sure how to fix it.

I used the Clear Erros.vi to see what happens.

It "clears" the Error 43 and gives the Error Code 1 out.

 

Error 1 occurred at Read from Text File in Tabelle öffnen.vi

Possible reason(s):

LabVIEW: 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 @.

 

I guess it is still a Problem with the MyRio. I am not that knowledgeable with the RealTime-Targets / embedded Systems.

 

The Vi is appended for you to check it out

Thanks in advance for your help and ideas

 

Have a great day Guys

Samuel

0 Kudos
Message 1 of 3
(114 Views)
Solution
Accepted by Suryoyono

You did not wire a valid path to the Open File function. On Windows or Linux, you would get the Open File dialog to let you choose the file on your machine.

Your myRIO doesn't truly have a user interface, so an Open File dialog is not available.

Paolo
-------------------
LV 7.1, 2011, 2017, 2019
0 Kudos
Message 2 of 3
(108 Views)

Hey Paolo,

 

thanks for your answer.

I got it.

I put the Data on an USB Stick, connected it to the MyRio and "opened" the file via the MyRio path.

 

Oh man, I sit there for hours and hours and could not fix it haha.

 

Thanks again and have a wonderful day! 🙂

 

Samuel

0 Kudos
Message 3 of 3
(100 Views)