U3 - HV + CB15 - Setup I / O with LabJack.LabJackUD | LabJack
 

U3 - HV + CB15 - Setup I / O with LabJack.LabJackUD

2 posts / 0 new
Last post
Helait
Helait's picture
U3 - HV + CB15 - Setup I / O with LabJack.LabJackUD

I would need to configure U3 in question as follows::

1)Reset defaul values
LJUD.ePut(u3.ljhandle, LJUD.IO.PIN_CONFIGURATION_RESET, 0, 0, 0)

2) Set DAC0, DAC1 ----------->5.0V
LJUD.AddRequest(u3.ljhandle, LJUD.IO.PUT_DAC, 0, 5.0, 0, 0)     -----> Ok
LJUD.AddRequest(u3.ljhandle, LJUD.IO.PUT_DAC, 1, 5.0, 0, 0)    ------> Ok

3) Set AIN0, AIN1, AIN2, AIN3 -------> Analogic input with 8 bit resolution;
????????????????????????????????????????????

4) Set FIO4, FIO5, FIO6, FIO7 ----------> Analogic input with 16 bit resolution;
????????????????????????????????????????????

5) Set EIO0,EIO1, EIO2, EIO3, EIO4, EIO5, EIO6, EIO7 ---------> Digital input
?????????????????????????????????????????????

6) Set CIO0 --------> Digital input
?????????????????????????????????????????????

7) Set CIO1, CIO2, CIO3 --------> Digital output.
?????????????????????????????????????????????

Thanks

LabJack Support
LabJack Support's picture
Take a look at these

Take a look at these pseudocode sections for AIN and digital I/O configuration documentation using the UD library:

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

For the U3, analog input resolution is 12-bits and not configurable. LJ_chAIN_RESOLUTION and LJ_chAIN_SETTLING_TIME (LJUD.CHANNEL.AIN_RESOLUTION and LJUD.CHANNEL.AIN_SETTLING_TIME in .NET) configure QuickSample and LongSettling settings. Details about resolution, QuickSample, and LongSettling are discussed in the AIN hardware section of the datasheet:

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

Let me know if you still have questions with 3, 4, 5, 6 and 7 after going through documentation.