‎11-10-2010 12:23 AM
Hi everyone,
I have an application in which I call vis with "open vi Reference" with type specifier. All vis have same connector pane. Some have DAQ functions and some of them does not. At start of application there is option to select which Vis needs to be called.When I run the code, everything is fine.
When I run the exe with vis which does not include DAQmx functions it runs fine , but gives out "Error 1003" with vis containing Daqmx functions.
I read about error 1003, It says it happens when vi is not getting loaded properly.
Either it has broken arrow or it is not able to find some of its sub vis.I think it is related to DAQmx functions.
Because before giving out error it tries to find something from DAQmx library..I had taken printscreen ..So found out.
I am building exe (with DAQmx function) for the first time. Am I missing something?
‎11-10-2010 01:00 AM
I think this might be due to vi missed during the creation of Executable. Check which VI is the LV searches during the Run of Exe and check it whether is it in the correct folder and included in the Executable creation.
‎11-10-2010 01:14 AM
Hi Br.anand,
All vis are included. Did mass compile as well. No error.
‎11-10-2010 04:00 AM
What is the exact code you use to open the VI.
I assume the VI is not included in the build (or it's in a different location).
Is there a specific reason to use the Open VI Reference over a normal VI?
Ton
‎11-10-2010 04:13 AM - edited ‎11-10-2010 04:14 AM
Sorry...Vis are not included in "Always include" section while exe.they are kept in different folder. As I said the path is correct.
I had used indicator and checked it.
"Is there a specific reason to use the Open VI Reference over a normal VI?">>> Its not my code,some one did it long way back in LV6.
I am not suppose to change anything.
But its not problem of thet. Can yop tell me is there any different procedure to make exe when you are using DAQmx functions?
‎11-19-2010 07:21 AM
No there is no difference to create a application that uses DAQmx.
Ton
‎11-19-2010 11:38 PM
I solved the problem.Thanks anyways
‎11-22-2010 02:48 AM
What was the solution?
/Y