I searched a lot before posting this but I couldn't find any similar post. The problem I'm facing is that I have a sub panel that should load the last session data to a table control. To do so I put a "Read From Spreadsheet File.vi" that should read from the file saved in last session. The problem is that when the caller loads the sub panel I get the Error 7 message. While I was testing it I even tried to put a file constant and browsed to the file in order to make sure the path was correct but didn't work.
In order to identify the error source I've opened the sub panel vi and highlighted the execution then no error occurs. I can't figure out why with the sub panel VI opened it ran fine but when it loads from the invoke node the error happens. I hope someone can help.
Could you please post the entire two VIs? Pictures of part of the VI are not very helpful -- we can't "poke" at the wires or diagrams, or easily try making changes to the code and doing our own experiments to help you.
Ok. Here are the two related VIs. The application is a bit complex so I'm not sure if these two VIs would help. Feel free to comment on anything that could be better, suggestions of best practices are always welcome.
I have a couple of comments.
Thank you very much for your help! The problem was a mistake with the relative path, although I applied your suggestion of using "Start Asynchronous Call" because it is much better not have a relative path.