LucidControl DI4DO4, User Manual (1.0)
2022/02/03
Page 10 of 47
Windows Examples
Setting output channel number 4
to “1”
. The module is connected to COM1
LucidIoCtrl -dCOM1 -tL -c4 -w1 [ENTER]
Windows requires a different argument for comport numbers >= 10.
LucidIoCtrl
–
d\\.\COM10
–
tL
–
c4
–
w1 [ENTER]
Reading the states of all digital inputs and outputs
LucidIoCtrl
–
dCOM1
–
tL -c0,1,2,3,4,5,6,7
–
r [ENTER]
CH0:00 CH1:00 CH2:00 CH3:00 CH4:00 CH5:00 CH6:00 CH7:00
Linux Examples
For all examples it is assumed that the module is connected to /dev/ttyACM0.
Setting output channel number 4
to “1”
./LucidIoCtrl
–
d/dev/ttyACM0
–
tL
–
c4
–
w1 [ENTER]
Resetting output channel number 4
to “0”
./LucidIoCtrl
–
d/dev/ttyACM0
–
tL
–
c4
–
w0 [ENTER]
Reading the states of all digital inputs and outputs
./LucidIoCtrl
–
d/dev/ttyACM0
–
tL
–
c0,1,2,3,4,5,6,7
–
r [ENTER]
CH0:00 CH1:00 CH2:00 CH3:00 CH4:00 CH5:00 CH6:00 CH7:00