It is a demo device sample that shows how to use the demo functions.
Only one channel, one bit, or one port can be set and acquired.
Sample Name |
./aiodemoctrl |
Using Channel |
Any one channel |
Using Bit |
Any one bit |
Using Port |
Any one port |
[Please input device name : ] is shown, then input
the device name set by Configuration Tool (config).
Used function: AioInit
The command numbers of demo device functions are displayed. Please input a command number.
Select a demo device function and input the parameters
to use.
Used function: AioGetDemoAo
AioSetDemoAi
AioSetDemoAiType
AioGetDemoDoBit
AioGetDemoDoByte
AioSetDemoDiBit
AioSetDemoDiByte
AioSetDemoAiStartExtTrigger
AioGetDemoAiStartExtTrigger
AioSetDemoAiStopExtTrigger
AioGetDemoAiStopExtTrigger
AioSetDemoAiClockExtTrigger
AioGetDemoAiClockExtTrigger
AioSetDemoAoStartExtTrigger
AioGetDemoAoStartExtTrigger
AioSetDemoAoStopExtTrigger
AioGetDemoAoStopExtTrigger
AioSetDemoAoClockExtTrigger
AioGetDemoAoClockExtTrigger
AioDemoReset
Enter "q" to perform termination processing
of the device, and exit the sample.
Used function: AioExit