02-28-2016 09:30 AM
Hello. I have NI 6356 and a wind sensor from https://moderndevice.com/product/wind-sensor/ and i want to use labview to get the wind speed display.
The problem i encounter is when i supply the voltage to the sensor and the result i got is negative. May i have some advice on the wiring and program?
I wire the wind sensor GND to AO GND, V+ to AO 0, and Out to AI 1+
as for the VI, I used 2 DAQ assistance. 1 used the Generate singal > Analog Output > Voltage > AO 0 to supply voltage.
the other is Acquire signal > analog input > voltage > AI 1 to display on the graph.
As i needed to calibrate the sensor, so i supply 0.5V to the sensor to zero the wind speed. But the display will always show negative value.
May i have some advice on it? sorry that i'm quite new to labview and daq system.
02-28-2016 09:33 AM - edited 02-28-2016 09:34 AM
Have you tried swapping the analog input signal leads?
Mike...
02-28-2016 09:46 AM
02-28-2016 09:56 AM
02-28-2016 10:05 AM
02-28-2016 10:12 AM
02-28-2016 11:03 AM
Here is the photo of how I wired. The actual wire will be longer than this.
02-28-2016 11:26 AM
With it being wired between AI+ and AGnd. You need to have your channel setup for single ended referenced, NOT differential.
Whether you should be using an AO channel to power the device is another question. It dependes on the voltage/current requirements of the device, and whether the AO channel is able to output that .
02-28-2016 03:40 PM
@choonkok wrote:Here is the photo of how I wired. The actual wire will be longer than this.
Looking closely at the jpgs. You are wired to AI Gnd, AI1- and AO0. You need to move the black wire up 1 terminal. Of course, this explains why the output is always negative.
02-28-2016 04:06 PM
It looked to me that yellow goes into terminal 4. AI1+ and black into terminal 6. AI Gnd. But that is hard to see becaused the black wire blends in with the black terminal strip. So AI1 + to AI Gnd, should be set for single ended, not differential.