11-16-2011 11:38 AM
Hi
I'm developing a Temperature Response program in LabVIEW 2011 with a CompactDAQ and NI 9213 Thermocouple module. I've created a task with 3 thermocouple channels; 1 for the room temperature bath, 1 for the heated bath, and 1 for the DUT (device under test) that is transferred between the baths.
The task was created in MAX and then a "Task Name" constant is used in the program. It works great but I want to create an "Executable" so its available to anyone.
When I try to generate DAQmx Configuration Code, it goes on and on for ever and is impossible to stop.
See attached program. I've also attached a screenshot of the Task...I don't know how to send the actual Task.
Does anyone know what I'm doing wrong?
Glen
11-17-2011 04:20 PM
Well, I can confirm your problem. I set up a virtual device and your Pianka task in MAX and LabVIEW got stuck when I chose the Generate Code >> Configuration. However, it successfully worked when I chose Generate Code >> Configuration and Example. It also worked to when I chose Generate Code >> Sub VI, which I then generated code from successfully. I can't explain why LabVIEW won't just generate the configuration code, but I think you should be able to use one of the other functions to get your code ready for deployment.
11-18-2011 07:48 AM
Zack
Hey thanks for verifying my problem. I accidently stumbled upon the same results. Also if I disconnect the task task, then Generate Code>> Configuration, it works fine. I am then able to rewire it like nothing is wrong????
Glen
11-18-2011 09:07 AM
I can also verify that. That's definitely a bug. I'll make sure to include it in my report.