10-11-2011 11:20 AM
Hello, I have a data acqusition program that I have been using for a few years. I recently started using a 9188 CompactDaq chassis and now LabVIEW randomly crashes without presenting an error message. I have included the error log file.
10-12-2011 10:41 AM
Hi Bigredd0087,
I have a few questions that may help pinpoint the root of the issue.
- What version of the DAQmx driver are you using?
- What hardware were you using previously?
- Can you check the firmware of your 9188 (go to MAX, select the device and click on the Firmware tab on the bottom window), is it up to date? There is a firmware upgrade (version 1.2) for that particular chassis:
NI cDAQ-918x/919x Firmware FOSS Notices
Tim W.
Applications Engineering
National Instruments
10-12-2011 11:15 AM
Hello Tim, I am using DaqMX 9.3, and firmware version1.2. In the past I have used this software with a variety of devices including PXI 6031E and daqpad 6016. The only change that I can think of since I started using the 9188 is that I now filter and decimate the data in real-time.
10-12-2011 12:40 PM
Thanks for the info. I've got a couple more questions for you:
- What is your OS? (looking at the log file I'm guessing Windows NT 6.0.6001 (Service Pack 1))
- Has anything else changed in your set-up? Have you upgraded LabVIEW or any other NI software?
- Are there any specific circumstances which result in a crash regularly or is it always random?
Tim W.
Applications Engineering
National Instruments
10-12-2011 03:38 PM
I have reproduced the problem on 2 different machines. One with Windows XP and the log file is from a machine with Windows Vista. The crashes are definitely random. I was originally using LabVIEW 2009 and tried upgrading to LabVIEW 2009 SP1 but that did not fix the problem. I did upgrade DaqMX to 9.3 before the problem started. I also installed a com port redirector for Lantronix serial to ethernet devices. I will remove that and see if it fixes the problem.
10-13-2011 08:27 AM
I removed the com port redirector software and LabVIEW still crashes randomly.
10-13-2011 11:41 AM
How is LabVIEW acquiring data? If you're able to post some screenshots and/or code it may help.
Tim W.
Applications Engineering
National Instruments
10-13-2011 12:42 PM
Hey Tim, here is the actual data acquisition code. This vi is run in a loop by another vi. The calling vi is run asychronously by opening a reentrant reference to it and then starting it with the RunVI method. I have a feeling that this has less to do with the data acquisition and is more of a concurrency issue, but I have been running my data acquisition this way for years and this problem didn't arise until I started using a CompactDAQ chassis.
10-14-2011 08:25 AM
I would be interested to get more information on your set-up.
- What modules are in your 9188?
- When you say "real time" do you mean measurements are taken concurrently or is there a LabVIEW Real-Time task in the system?
- Were your previous devices connected via ethernet?
- Have you removed, then re-installed your 9188 via these steps?
- Is your device connected through a router or directly to your computer? Have you tried a different router?
Tim W.
Applications Engineering
National Instruments
10-14-2011 11:44 AM - edited 10-14-2011 11:45 AM
Hi Bigredd0087,
I'm the Product Support Engineer for our DAQ products. I'd like to be able to reproduce the issue on my side. Would you be able to post a pared down version of your application that exhibits the same issue? How long does it take for the crash to occur? How many reentrent calls do you end up making at any given time? Which CompactDAQ modules is the application using? How many task are running on the device? Lastly, what is the network topology that your setup is connected to?
Thanks,