This is an analog input sample that uses the sampling function.
The data acquired by the sampling function is stored in the DncDataSet.
In DncDataSet, the data is acquired by event that the specified number of data are stored and the data is displayed in the text box.
■Screen Image
■How to use
When you press the [Start Trigger], sampling will start and the data will be displayed in the text box.
Display the number of dataset in the DncDataSet in the Data Count with the DncDaq timing event (1000msec).
To stop sampling, press the [Stop Trigger].
To change the DncDaq settings, click the [DncDaq Setting] button.
To change the DncDataSet settings, click the [DataSet Setting] button.
To change the number of channels set in DncDaq or the acquired
data, execute Use
task setting in DncDataSet.
■Device setting
Item |
Description |
Device Name |
AIO000 |
Input Method |
Single End |
Range |
+/-10V |
■Sampling Setting
Item |
Description |
Sampling Clock |
Internal: 1000usec |
InputType |
VoltCurr |
Start Trigger |
DncButton (for start trigger) |
Stop Trigger |
DncButton (for stop trigger) |
Data Store Interval |
Auto |
■Timing setting
Item |
Description |
Timing |
Use Timer (1000msec) |
Start Trigger |
Auto (at startup) |
Stop Trigger |
None |
■Input Task setting
Item |
Description |
Device |
AIO000 |
Access type |
Analog |
Input channel |
0 |
Target |
DncDataSet |
DataLinkNum |
ALL (All in the task buffer) |