Analog Sampling Sample (Graph, WriteFile Linkage)


This is an analog input sample that uses the sampling function.

The data acquired by the sampling function is displayed with DncGraph and saved as a file with DncWriteFile.

 

■Screen Image

 

■How to use

  1. When you press the [Start Trigger], sampling will start and the graph will be displayed and the file will be saved.

  2. To stop sampling, press the [Stop Trigger].

  3. To change the DncDaq settings, click the [DncDaq Setting] button.

  4. To change the DncGraph settings, click the [DncGraph Setting] button.

  5. To change the DncWriteFile settings, click the [DncWriteFile Setting] button.

  6. To change the number of channels set in DncDaq or the acquired data, execute [Use task setting] in DncGraph, DncWriteFile.

 

■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 0

Item

Description

Device

AIO000

Access type

Analog

Input channel

0

Target

DncGraph

DataLinkNum

ALL (All in the task buffer)

 

■Input Task setting 1

Item

Description

Device

AIO000

Access type

Analog

Input channel

0

Target

DncWriteFile

DataLinkNum

ALL (All in the task buffer)