Signal Conditioning

cancel
Showing results for 
Search instead for 
Did you mean: 

SCXI-1001 Giving Erroneously Scaled Data

Tim Jones, Jason Kreienheder, Dan Biggs, Jaime Escobedo

We work for a large aerospace company, and utilize much of the NI offered hardware on multiple test stands. In addition, many of my colleagues have adopted similar design patterns on their stands. In short, we use a PXI chassis with an E-Series DAQ board, cabled to an SCXI-1001. Within the SCXI, the following boards are commonly utilized:

SCXI-1520�s and SCXI-1121�s for strain gauges
SCXI-1126 for Frequencies
SCXI-1102/1102B/1102C for temperatures and voltages
SCXI-1104�s
SCXI-1161 Relays
(and a few others less commonly.)

We have experienced, on MANY stands and with different independently working developers, seemingly random problems with incorrect readings. After much testing and trial and error, we have come to the following understanding of the situation:

1. If we start from a completely shutdown system, then turn on the SCXI and PXI chassis, and then the PC, we periodically get incorrect readings when scanning the SCXI channels.
2. If the readings are bad, they stay bad. If they are good, they generally stay good. Shutdown and restart may, or may not fix the bad readings.
3. It does not matter whether the readings are from a LabVIEW based DAQ program or through the test screen in Measurement and Automation Explorer.
4. It appears to continue through all versions of traditional DAQ, and LabVIEW from at least versions 4 through 6.1. The jury is still out on version LabVIEW 7.0 and 7.1 with traditional and DAQ MX.
5. SCXI chassis that had been powered on but unused for long periods of time (days or weeks) seems to go from reading correctly to reading incorrectly. We have not been able to identify any repeatable phenomenon, and the stands are significantly varied.
6. The reset button on the SCXI chassis, ONLY when pressed while NI-DAQ is completely unloaded from memory, seems to help remedy the bad readings. Using the LabVIEW based �Reset Device� VI with any configuration does not have the identical effect. Programmatically resetting the DAQ board, SCXI chassis, and SCXI individual modules, does not have the same effect as pressing the physical reset button. Some NI reps have stated that the Reset Device vi should have the same effect as the pushbutton, but that doesn�t appear to be the case in practice.
7. The BEST PRACTICE at this time is to power up the SCXI chassis, followed by the PXI chassis, and then the PC (note, dual processor Dell PC�s may need to be turned on within 8 seconds of the PXI/MXI-3 bridge for reliable boot, which shows as amber-green-amber-green on the Dell diagnostic LED�s.) Then log in and allow the MXI-3 optimizer software to finish (this should be part of a normal startup if you are using MXI-3.) Now go back to the SCXI chassis and press the reset button for about 1 second. This seems to clear any possible random bits, settings, or other problems that come up randomly during startup. Finally, run MAX or your LV software and take readings.
8. We primarily use Dell machines, which may be a common factor.

I welcome any and all comments regarding this problem and procedure, and the group of us are especially interested in hearing from NI as to how this could happen, and from other developers who have independently experienced this, whether resolved or not.

Tim Jones and colleagues.
0 Kudos
Message 1 of 6
(4,546 Views)

I think I have the same or related problem. I have an SCXI-1001 with 3 type of modules, including the SCXI-1125 Isolation Amplifier with SCXI-1313 Programmable Voltage Attenuator Terminal Block. I use DAQmx and feel strongly about not using traditional DAQ. After power-up I have observed incorrectly scaled voltages (usually full-scale,) zero voltages, and even floating voltages on random channels. These problems have been seen using MAX and in LabVIEW. In order to isolate the problem, I removed all modules except one SCXI-1125. Some remedies that work occasionally and incompletely (not all channels):

  1. Reset the chassis using MAX or the hardware switch

  2. Reset the SCXI-1125 and/or the PXI-6052E via MAX or LabVIEW VI DAQmx Reset Device

  3. In MAX, use a (traditional) Test Panel to sample the channels.

The only workaround that is 100% effective:
Temporarily change the input range maximum to a lower value (1 or 5 Volts,) take a reading, then restore the maximum to 60 Volts for my measurements. After completing this procedure, I have not observed the problem until the SCXI chassis is powered off.

This solution leads me to believe that the gain switches and other switches are not getting set correctly in the terminal block when using DAQmx. This could explain the symptoms described above.

0 Kudos
Message 2 of 6
(4,475 Views)
Hi,

The first that needs to be verified is if you can see the same behaviors with DAQmx. The latest driver is version 7.3, and there is going to be a newer driver released shortly. Please try and replicate the problem in DAQmx, and we can go from there.

Have a Great Day!

George
0 Kudos
Message 3 of 6
(4,464 Views)
This problem occurs only when using DAQmx (in MAX and LabVIEW.) I have NI-DAQ 7.3 installed.

Attached is a complete log of my troubleshooting. NI Tech Support Incident Ref #7070186.
0 Kudos
Message 4 of 6
(4,454 Views)
Hello,
I believe that the problem with incorrect readings after power has been cycled to the SCXI chassis has to do with the fact that the SCXI-1125 has programmable gain settings. After putting together a similar test setup, it appears that whenever power is cycled to the chassis, the driver does not know what gain setting to apply to the device. There are a couple things that you can do to work around this issue. 1) If you do not have any tasks, global channels or virtual channels associated to the SCXI-1125, then doing a device reset on the 1125 (in MAX or LabVIEW) should solve the problem. 2) If you are using a task, global channel or virtual channel, you must change the range of the device to force the driver to set a new gain. Attached is a zip file that includes a VI that will do this. I hope this information is helpful.
-Alan A.
0 Kudos
Message 5 of 6
(4,431 Views)
I just stumbled across this post, and wanted to let you know in case you were still baffled by the SCXI-1125 power up problem, that it has been reproduced at NI and resolved in NI-DAQmx 8.0. This was a software/hardware issue with the SCXI-1313 terminal block where the software wasn't syncing up properly with the state of the attenuation switches on the terminal block. If you use NI-DAQmx 8.0, that issue should be resovled.

Regards,
Logan K
0 Kudos
Message 6 of 6
(4,072 Views)