Example: Using an I/O Table with a Waveform Generator

In this example, one Receive and two Input operations in an I/O Table obtain the output settings of a Waveform Generator. The reply from the instrument was as follows:

"FREQ= 453E3, AMPL= 4.55"

 

Operation

Argument

Type

Description

Receive

None

 

A buffer containing the above data is read from the instrument.

Input

dFrequency

Double

The first Input operation assigns 453KHz to dFrequency. ATEasy ignores the preceding string ("FREQ= ").

Input

dAmplitude

Double

The second Input operation assigns 4.55V to dAmplitude. ATEasy ignores the preceding string
(", AMPL= ").