Signal Conditioning

cancel
Showing results for 
Search instead for 
Did you mean: 

Building Application for SCXI 1530, App will not call 1530 properly

Hello,

I'm working on building an application for a SCXI 1530. I have a scxi 1000 module with a scxi 1600-usb card. In slot 2 is the 1530 for accelerometers and in slot 4 is a card for lvdts (1540).

I'm using labview developer suite 8.2.1 on a desktop to develop an application for a laptop. Right now I have created 2 very simple beta programs. One calls the 1540 for accelerometers and it works properly. Ready 1000 hz for 4 seconds. The other application with the accelerometer is the one I'm having trouble with.

Here is what I know:
    Both applications were developed using DAQmx to setup the data acquisition event.
    Both applications work properly on the desktop, when run as a vi, and as a compiled application.
    The LVDT application runs properly on the laptop.
    The accelerometer application does not run on the laptop.
    The Measurement and Automation software shows that the 1530 (accelerometer card) is properly configured and that it is named identical to the desktop.
    The measurement and automation software will collect what looks to be reasonable acceleration data when configured to do so with a finite data collection of 1000 Hz.

Any Help would be greatly appreciated.
Paul
0 Kudos
Message 1 of 3
(5,871 Views)
Hi Paul,

I was wondering if you could give a little more information about your setup. You mentioned that the application does not work on the laptop. Does it give any errors when you try to run it? If not, try adding error handling in your code so when it runs, it will give an error message. One thing to check is to make sure the device names in Measurement and Automation Explorer on the laptop match the device names on the desktop if you have the physical channels as constants in your code.

Regards,
Kent
Applications Engineer

0 Kudos
Message 2 of 3
(5,854 Views)
Kent,

Here are some answers to your questions and a followup on my current status.

First let me describe my program a bit. Basically within a while loop there is a case loop controlled by a 'run' button. When that 'run' button is pushed the program is to collect data. On the desktop it works perfectly collecting real data. On the laptop the first time the run button is pushed after starting the application nothing happens. None of the graphs or indicators change their apperance or value. If I push the run button again, the graphs change to an x-axis range of -1 to 1, and maximum value indicators range from -10 to -45 (that seems to be pretty random). One more thing the program is set to record 4 seconds of data at 4kHz. All this time there are no errors and the program continues to run.

One of the first things I checked was to validate the name being the same, and those are identical. The next thing I checked was to make sure that the 1530 was working properly using the NIDAQmx test panels in measurement and automation. Everything there seemd to work fine and appeard to be recording reasonable data.

Late last night I decided that I'd reinstall drivers on the laptop. Thinking 'what could it hurt?' After reinstalling the drivers the application works on the laptop. So I suppose the lesson I learned was even though the MEasurement and Automation test panels work when in doubt re-install drivers.

As of now everything appears to be working properly.
0 Kudos
Message 3 of 3
(5,848 Views)