08-19-2021 01:34 AM
Hello Everyone,
I am facing this error and unable to counter it even going through many treads people posted in the past. I am attaching my code and supported files for LabVIEW master's to suggest how to get rid of this error. I think I am giving right paths to the folders but code still gives this error. Interestingly I am getting partially right output.
Solved! Go to Solution.
08-19-2021 01:57 AM
Hi Hassan,
@HassanIqbal wrote:
I am facing this error and unable to counter it even going through many treads people posted in the past.
Did you try to debug your VI?
There are not so many places where an "Error 7 at OpenFile" could happen!
I did that for you and found the problem: you are trying to access a non-existing file with your VI. When trying to open a non-existing file you will get error 7 ("file not found" as it says in the error description!)…
(Hint: the error only occurs with your test.tfd, which defines a Suprasil "environment".)
08-19-2021 03:04 AM
Hi GerdW,
Thanks for your reply. Yea I could see the error 7 is originating in the case structure.
I would like to know little bit more than hint.
Regards,
Hassan
08-19-2021 03:33 AM
Hi Hassan,
@HassanIqbal wrote:
I would like to know little bit more than hint.
Use a probe to check the filepath used to call that OpenFile function! (That's called "debugging"…)