LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to get voltage from sensor analog input on labview

Hi idekwntdne,

 

which value do you read from AI pins? What is shown in "Numeric", "Numeric 2" and "Numeric 3"?

 

When there are just "counts" you need to multiply with 1.221mV as in your manual snippet. When you already get raw voltage you don't need to multiply. (I don't have a myRIO at hand, but experience with cRIO and voltage measurement modules. Here I get "raw voltage" already in the FPGA, no need to multiply with some LSB values.)

 

Btw. for code documentation you should use better labels for your indicators!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 11 of 13
(964 Views)

Hey, thank you so much for replying.

yes, "Numeric", "Numeric 2" and "Numeric 3' are analog inputs from each sensor.

I understand now, I don't need to using LSB  or AC/DC emulator, I just figure it out. Also I'm sorry for the label of indicators, it was a sample code so I don't pay attention about the labels yet.

0 Kudos
Message 12 of 13
(947 Views)

I don't know if your dust sensor project has been completed yet. If it's completed, can you send it to me for reference?

0 Kudos
Message 13 of 13
(117 Views)