LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW crashes when using CompactDaq chassis.

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.

 

0 Kudos
Message 1 of 12
(3,372 Views)

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

http://www.ni.com/support 

0 Kudos
Message 2 of 12
(3,349 Views)

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.

 

0 Kudos
Message 3 of 12
(3,345 Views)

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

http://www.ni.com/support 

0 Kudos
Message 4 of 12
(3,341 Views)

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.

0 Kudos
Message 5 of 12
(3,332 Views)

I removed the com port redirector software and LabVIEW still crashes randomly.

0 Kudos
Message 6 of 12
(3,320 Views)

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

http://www.ni.com/support 

0 Kudos
Message 7 of 12
(3,314 Views)

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.

 

0 Kudos
Message 8 of 12
(3,304 Views)

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

http://www.ni.com/support

0 Kudos
Message 9 of 12
(3,272 Views)

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,

Steven K.
National Instruments
Software Engineer
0 Kudos
Message 10 of 12
(3,241 Views)