12-14-2010 03:00 PM
I'm using in my dynamic force project the USB-6210, 'PCB 201B04 pozitive compression force sensor' and PCB 480B21 sinal conditioner.
Altough i restricted the 6210 input range to 0-5 V but i saw negative value as attached file.
12-15-2010 11:43 AM
The chart you posted has values listed in Newtons. What is the output range of your sensor? Does it output 0-5V? What does this signal conditioner do? Your 6210 may still be seeing 0-5V, but 0.01V may correspond to a negative value in Newtons (?). You may try placing an oscilloscope on your sensor/signal conditioner to see what voltage it is actually outputting.
I hope this helps. Best of luck with your application!
12-15-2010 11:46 AM
It should also be noted that there isn't a 0V-5V input range on the USB-6210, only ±5V. As a result, even if you set the input range to 0V-5V, the actual range is ±5V and thus negative values can be returned if they are measured by the device.
12-22-2010 03:21 AM
Altough i have changed the input voltage rate to nominal, no any difference.
Could you analyse my vi. Because of i have checked all of my hardware.
12-30-2010 08:19 AM
Just looking at your VI doesn't seem to raise any red flags. You are doing a lot of manipulation to your data, however. It could be that you are multiplying things wrong, or indexing your arrays incorrectly. Is you data negative if you just look at it raw? Meaning, before you perform any arithmetic, what are the values - are they negative? You say you have analyzed your hardware - have you verified that the signal coming into your hardware is positive?
I hope this helps. Happy New Year!
12-31-2010 09:29 AM
That could very well be the case. Try changing wires/connectors to see if this fixes the issue. As I said before, your code seems fine at first glance.