LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQ Acquisition

Hi,

I need some help. 

I have cDAQ9189 along with 9201 AI and 9401 DI-DO setup. The AI module receives voltage signals(0-10V) and triggers a DO above a threshold voltage and records the data in a .lvm file.

I have a few queries regarding this setup:-

1. The Analog Input Voltage (0-10V) needs to be scaled as Pressure signal(0-700)bar. I am doing this at "Volt-Pressure Conversion" in Block Diagram. Please convey if this is the correct way to do it.

2. The AI has some glitches, I have grounded the signals but still too many glitches. For this, I am using filters before and after scaling. Is it OK?

3. When the pressure is above a threshold value, the analog signal is converted to a digital signal which I am writing to a DO. Due to a lot of glitches, the DO flickers a lot. How can we smoothen this so that the DO doesn't flicker?

4. I am writing all this data to a .lvm file. The issue is I am getting relative time instead of absolute time. I need the measurement file in the following format:-

Time(Absolute) Time(Relative) Pressure(bar) Pressure(Volt) DO

 

I have attached the VI and the .lvm file.

Please HELP.

Download All
0 Kudos
Message 1 of 2
(2,029 Views)

700 bar is a little more than 10,000 psi or, 7km+ underneath the ocean.  Are you really dealing with those pressures?  I don't think that you are really reading negative 100+ bar. 0 bar is a fairly hard vacuum. 

 

I would use a DAQmx scale too report the analog input in bar, tor, pascals, psi or atmospheres 


"Should be" isn't "Is" -Jay
0 Kudos
Message 2 of 2
(1,993 Views)