T7 Digital output | LabJack
 

T7 Digital output

2 posts / 0 new
Last post
Karim Youssef
karim.youssef's picture
T7 Digital output

Hi,

I have a T7 Lab jack and would like to write C++ code to turn on multiple DIO in the DB15 connector , specifically EIO0 to EIO7

I couldn't find an example. Any guidance would be great. Thanks.

LabJack Support
labjack support's picture
The easiest way to update a

The easiest way to update a DIO is to use the eWriteNames example and change the register name to EIO0 (same as DIO8). If you want to update multiple DIO at once you can use the port registers like EIO_STATE.

Additional information about digital IO and the associated registers can be found here: https://labjack.com/support/datasheets/t7/digital-io

Information about how to use the LJM driver: https://labjack.com/support/software/api/ljm/overview

Example archives: https://labjack.com/support/software/examples

Quick register reference: https://labjack.com/support/software/api/modbus/modbus-map