LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Understanding labview fpga using sbRIO

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.

---
CLA
0 Kudos
Message 11 of 19
(1,594 Views)

Hi,

 

Oh yes! silly me.

Thanks

 

I can use the 5V supply pin of the sbrio right?

0 Kudos
Message 12 of 19
(1,591 Views)

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.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 13 of 19
(1,569 Views)

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.

 

0 Kudos
Message 14 of 19
(1,527 Views)

Hi kdm,

 

That means something is wrong with the VI right?

My first guess for such problems would be: Is the wiring correct?

Did you check this? Did you do a cross-check? Did you have someone else cross-check this?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 15 of 19
(1,519 Views)

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.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 16 of 19
(1,505 Views)

It would have been more appropriate if Henrik_Volkers had been the one to point that out 🙂

---
CLA
0 Kudos
Message 17 of 19
(1,502 Views)

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.)

0 Kudos
Message 18 of 19
(1,471 Views)

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?

0 Kudos
Message 19 of 19
(1,464 Views)