LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

pressure transducer stops reading after cycling

Hey all,
        I am running response time tests on valves, time from actuation until pressure reaches 90% of maximum.  I am using an scxi 1120 with 1327 and t type thermocouples to acquire and record the temperature, which works fine.  An scxi 1121 with 1327 is connected to my pressure transducers, which also works correctly in MAX.  My last module is an scxi 1161, used for triggers.  The triggers operate correctly and successfully cycle the valves.  I am using virtual channels for both the thermocouples and the pressure transducers because I am running an older version of labview (7) and found it easier to map ranges than apply a custom scale to the waveform.  Both in MAX and labview the temperature and pressures read correctly from their starting values.  However, after a few cycles the pressures that should be alternating from 100 to zero simply hover around 5 and do not seem to change much.  The thermocouples continue to read correctly, but the pressure transducers appear to loose their scaling.  This problem does not occur regularly, after a set number of cycles, but rather randomly (2-10 cycles).  Also sometimes only one transducer at a time will get out of scale, other times both transducers will stop working at once.  I first noticed this problem after switching from hardware channels with custom scaling in labview, to virtual channels (from MAX) where the ranges were pre-mapped (no scaling in labview).  Is this some sort of interference or grounding issue?  Any help or advice will be appreciated, thanks in advance. 
-Sean K
0 Kudos
Message 1 of 6
(2,861 Views)
Bump
0 Kudos
Message 2 of 6
(2,840 Views)
Hi Sean,

Thanks for describing in detail the issue that you are seeing. I was wondering if you could possibly clarify or expand on a few points. You mentioned that you switched from scaling in LabVIEW to using custom scaling in a global virtual channel which you created in MAX. I was wondering if you could give the exact mapping that you used. In addition, is this behavior seen just in LabVIEW or does it also occur when you run the global virtual channel in MAX? Finally, I was wondering what version of NI-DAQmx you were using. Any additional information that you could give would be helpful.

Regards,
Kent
Applications Engineer
0 Kudos
Message 3 of 6
(2,820 Views)
Using a custom thermocouple, the map ranges are min = 0.00 PSIG and max = 500.00 PSIG,( min = 0.00 mV and max = 26.50 mV this is what my pressure tranducers are calibrated to.)  The behavoir is seen both in labview and in MAX.  I am running NI-DAQmx version 7.0.0f0 

thanks for the reply
0 Kudos
Message 4 of 6
(2,797 Views)
Hi Sean,

I was wondering if you could make sure that the you are still sampling continuously for the input. Does, the virtual channel for the pressure transducer sample when the custom scaling (in Measurement and Automation) is not applied? If this problem is still occurring, please attach a screenshot of the virtual channel in additional to the LabVIEW code.

Regards,
Kent
Applications Engineer
0 Kudos
Message 5 of 6
(2,779 Views)
Yes both are continuously sampling and I do not think that was the problem; however, I was able to fix the problem by securing the grounding wire in the SCXI 1327 and making sure all grounding screws were in place.  I think the stray voltages in the chassis were building up and causing incorrect measurements.  Thanks.
0 Kudos
Message 6 of 6
(2,746 Views)