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.
Are you able to attach some VIs which reproduce this behavior? I tried this on my computer in LabVIEW 2016 but didn't get any different behavior whether or not it was run from an invoke method and put in a subpanel.
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.
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.