LAVA 1.0 Content Posted March 16, 2007 Report Share Posted March 16, 2007 Hi all, We have different ways to create DAQmx tasks : - in MAX, - in the project (*.lvproj), - or directly in the LV code. I use to do it in the LV code and it was working fine. For a new project I created my DAQmx tasks in the project because I thought that was the right way to do it... I now doubt and need some help. Indeed, if I run the LabVIEW code it works as expected, and when I create an exe I get an error that says'm refering to a task that does not exist. Why is that ? Is there some settings to add in the build specs ? Thanks for any help. PS : I know I could create my tasks in MAX and would then have to export the MAX config (*.nce), but I'd like to have everything in the exe, just like when the tasks are created in the LV code. Quote Link to comment
LAVA 1.0 Content Posted March 16, 2007 Author Report Share Posted March 16, 2007 I found the solution... I was linking my task constant (task created in the project) directly to a "Start task" VI... Now I link it to the "Create task" VI @ "copy task" input and then I start the task. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.