10-24-2014 05:26 AM
If it's configured for single ended acquisition and not connected to anything, it may well exhibit this behaviour. If you short between AI0 and 0 V, you should read a constant ~ 0 V.
Stupid question, but are you actually passing a voltage through the potentiometer?
You're much better off connecting a known voltage source between AI0 and AIGND (if single ended). A 1.5 V AA cell, or a 5 V DC power supply, or 5 V from a USB cable, for instance.
10-24-2014 05:42 AM - edited 10-24-2014 05:55 AM
Hi,
Oh yes! silly me.
Thanks
I can use the 5V supply pin of the sbrio right?
10-24-2014 06:19 AM
kdm7 wrote:
I can use the 5V supply pin of the sbrio right?
Yes you can. But you might want to use a separate power supply so that you can vary it and make sure your voltage reading changes.
10-27-2014 01:59 AM
Now I am able to see the varying voltages, but the polarity is changed. I get negative values instead of positive.
My voltmeter reads positive voltages. That means something is wrong with the VI right?
I have attached the project.
10-27-2014 02:49 AM - edited 10-27-2014 02:49 AM
10-27-2014 07:06 AM
GerdW wrote:
That means something is wrong with the VI right?
My first guess for such problems would be: Is the wiring correct?
That was my very first thought. Almost always when your read data is inverted, it means you swapped your signal and ground in the wiring.
10-27-2014 07:12 AM
It would have been more appropriate if Henrik_Volkers had been the one to point that out 🙂
10-29-2014 03:54 AM
I interchanged the wiring. Now it reads positive. (but have to check the pins as I have a ribbon cable connected to the connector and then to a PCB with phoenix connectors.)
10-29-2014 06:11 AM
Hi all,
Now I'm trying to log the data over the server through ftp protocol.
Can anyone provide necessary links to learn?
Do I need the Internet toolkit? (I do not have it.)
Can I use the FTP put file?