Gain/Range setting for analog input streaming | LabJack
 
Wednesday June 3rd 2020
Support: LabJack engineers available through email and chat.
Shipping: We are processing and shipping all orders.
Stock: 51 of 56 products are in stock. More details.
Supply Chain: Minor impacts. More details.

Gain/Range setting for analog input streaming

5 posts / 0 new
Last post
Jason Dunham
Jason Dunham's picture
Gain/Range setting for analog input streaming

How do I set the ADC range for analog input streaming.  Is there some manual I'm missing?  None of the VIs have any descriptions except a few comments on the diagram.

LabJack Support
LabJack Support's picture
Which device are you asking

Which device are you asking about?

Jason Dunham
Jason Dunham's picture
Sorry U3 using UD drivers

Sorry U3 using UD drivers

LabJack Support
LabJack Support's picture
In general, if you are

In general, if you are wondering about what function to use and what are the parameters to a function look at Sections 4.1 and 4.2:

https://labjack.com/support/datasheets/u3/high-level-driver/overview

https://labjack.com/support/datasheets/u3/high-level-driver/function-ref...

If you know the parameters to the function (IOType, Channel, Value, x1), but are not sure what to pass, check out the applicable hardware section and pseudocode section:

https://labjack.com/support/datasheets/u3/hardware-description/ain

https://labjack.com/support/datasheets/u3/high-level-driver/example-pseu...

The concept of AIN range on the U3 is a little quirky.  They have a fixed normal input range of 0-2.4V for low voltage AIN and +/-10V for high voltage AIN.  Then there is a special range available that is 0-3.6V for low voltage AIN and -10/+20V for high voltage AIN.  The U3-LV has low voltage only whereas the U3-HV has both.

To get the special 0-3.6 volt or -10/+20 volt range, you do a differential reading with the negative channel set to 32, although the reading is actually single-ended.

https://labjack.com/support/datasheets/u3/hardware-description/ain/chann...

You can see an example of a special range reading in the pseudocode section 4.3.

Jason Dunham
Jason Dunham's picture
I have the U3-LV, and I'm

I have the U3-LV, and I'm already at the normal gain so I guess I am all set, thanks.