ICP DAS USA LinPAC-22 Series User Manual page 28

Xv-board api functions
Table of Contents

Advertisement

ICP DAS
Connect the DO channel on the XV310 module to the DI channel on the M-7002 module, as
illustrated below:
Run
Set and read back the Digital Output value from multiple channels
Step1: Transfer the setxvdo.exe and getxvdo.exe files to the LP-52xx module.
Step2: Change the permissions for the files as shown below:
# chmod 755 setxvdo.exe
# chmod 755 getxvdo.exe
Step3: Execute the program.
Write to the DO0 channel
Write to the DO1 channel
Write to the DO2 channel
Write to the DO3 channel
Write to all DO channels
Read back the DO0 channel
Read back the DO1 channel
Read back the DO2 channel
Read back the DO3 channel
Read back all DO channels
Power Supply
# ./setxvdo 0 1 1
# ./setxvdo 1 1 1
# ./setxvdo 2 1 1
# ./setxvdo 3 1 1
# ./setxvdo 0 4 10
# ./getxvdo 0 1
# ./getxvdo 1 1
# ./getxvdo 2 1
# ./getxvdo 3 1
# ./getxvdo 0 4
LinPAC-52xx Series XV-Board API User Manual
M-7002
28

Advertisement

Table of Contents
loading

Table of Contents