5. About Software
DIO-32DM-PE
53
Using Sample Programs
Sample programs have been prepared for specific basic applications.
For the API-DIO(WDM), The sample programs are stored in
\Program Files\CONTEC\API-PAC(W32)\DIOWDM\Sample
Use these sample programs as references for program development and operation check.
* When the installation folder is changed, the folder of the sample program is different.
Running a Sample Program
(1) Click on the [Start] button on the Windows taskbar.
(2) For the API-DIO(WDM), from the Start Menu, select “Programs” – “CONTEC API-PAC(W32)” –
“API-DIO(WDM)” – “SAMPLE…”.
(3) A sample program is invoked.
API-DIO(WDM) Sample
Sample Programs Sampling
:
Executes pattern input (sampling) in 32bits.
Saves sampling data to a file.
Sample Programs Infinite Sampling :
Executes pattern input (sampling) in 32bits infinitely.
Saves sampling data to a file.
Sample Programs Generating
:
Executes pattern output (generating) in 32bits.
Sample Programs Sync Sampling
:
Executes synchronous operation of the two boards
connected to each other via a synchronization control
connector.
[Sample Sampling]
[Sample Generating]
[Sample Infinite Sampling]
[Sample Sync Sampling]
Summary of Contents for DIO-32DM-PE
Page 7: ...vi DIO 32DM PE ...
Page 15: ...1 Before Using the Product 8 DIO 32DM PE ...
Page 41: ...2 Setup 34 DIO 32DM PE ...