U3 visual studio c# (Windows Form) example. DAC and Digital Output | LabJack
 

U3 visual studio c# (Windows Form) example. DAC and Digital Output

2 posts / 0 new
Last post
johnlux
johnlux's picture
U3 visual studio c# (Windows Form) example. DAC and Digital Output

Hello

I'm looking for an example in visual studio c # windows form to write a voltage (DAC) and configure as output 4 digital output. 0 or 5v. I tried with the SimpleWindowed example but I can not find the DAC and an on / off button for digital output. There is an example. thank you

LabJack Support
labjack support's picture
Take a look at the U3_Simple

Take a look at the U3_Simple example as it demonstrates setting a DAC and digital I/O, among other things.

For general UD driver documentation on analog outputs (DACs) and digital I/O, refer to their pseudocode sections in the U3 datasheet:

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

Note that constants in the documentation and in .NET differ in structure. For examples, the constant LJ_ioPUT_DAC is LJUD.IO.PUT_DAC in .NET.