11-28-2007 02:42 PM
11-29-2007 05:30 PM
Hi Wolfgang,
There shouldn't be any association between where your LabVIEW VI is hanging up and the slot number in your chassis and unfortunately this issue isn't just a missing configuration option in MAX. The first question I have is about the "stop" button. Be sure that you are pressing the stop button on the front panel of the example program and not the abort button which is located in the toolbar at the top of the window (next to the run and run continuously buttons). It is good programming practice not to press the abort button. The stop button will wait for everything to finish executing before halting the program whereas the abort button may stop mid process, like in the middle of a VI.
Also, I'm not sure what the exact example that you are using. I opened up Multi-Function Synch AI-AO.vi from the example finder and there are Clear Task VIs instead of Stop Task VIs. The clear task stops and clears the resource of the configuration.
Finally, I know you said that you have tried this with other chassis although I'm not sure from your post whether or not you actually tried it in slot 2 in those chassis. The only difference about slot 2 is that it can be used for timing and triggering if an appropriate module is placed in there. Although it can also be used for regular DAQ so that shouldn't make a difference. Hopefully this information will provide you with more troubleshooting techniques.
12-04-2007 10:03 AM
12-04-2007 10:38 AM
12-05-2007 02:05 PM
Hi Wolfgang,
At this point, I am not sure whether or not this error is associated with the DAQ driver, the hardware you are using or LabVIEW. I have some other troubleshooting techniques that I would like you to try so we can narrow down the problem even more.
First, go to Measurement and Automation Explorer and create a voltage task using the 6289 in slot 2 of the chassis. To do this, right click on Data Neighborhood and Create New NI-DAQmx Task. Then choose Acquire Signals>>Analog Input>> Voltage and choose one of the channels in the 6289. Once this task has been created try running and stopping the task in MAX. Also try running a test panel on your device and do a simple read from a channel while it is again in slot 2. If this still hangs up your computer, then I think there is a problem with the DAQ driver. The reason is because MAX uses the same low level VIs as the "start task" and "stop task" VIs that you would use in LabVIEW. If you can run a task fine in MAX, then there might be an even bigger problem to consider.
If you decide there is a problem with your DAQ driver, try uninstalling the driver completely and reinstalling it. You can reinstall from the driver CD if you still have it or follow this link to the drivers and updates website on ni.com to get the version of the DAQmx driver that you need.
Finally, you didn't mention before what version of LabVIEW and DAQmx driver that you are using. I think it would be helpful to know this as well. My next plan is to try and reproduce your problem here but I have to find the exact hardware that you are using and this might take a little while. If you could provide me with the versions of software, the exact hardware setup (1042Q, 6289, 8331, etc.) and the exact example programs that you have tried, that would be helpful. Thanks again and I apologize for the inconvenience this is causing you!
12-06-2007 08:24 AM
12-18-2007 03:15 PM
12-18-2007 03:25 PM
12-19-2007 10:48 AM
Hi Wolfgang,
It sounds like you have done all the troubleshooting that is necessary with this type of issue. I agree with your inclination that there must be something wrong with the chassis. I say this especially since you have tried the same setup with a different chassis and nothing freezes. You are correct in saying there should not be any link between the example VIs that you are using and the hardware in your chassis.
Therefore my next suggestion would be to do a Return Merchandise Authorization (RMA) by calling in and sending the chassis in for repair. I'm assuming you have support so you would need to call into NI and get an RMA coordinator on the phone in order to process it. In case they suggest for you to do more troubleshooting, I would reference this discussion forum post and let them know that you have already been working with an Applications Engineer. If you visit http://www.ni.com/support and go to the Request Support link, you can create your own service request. I'm sorry again for the inconvenience this has caused!
12-19-2007 11:40 AM