User manual

The selected DAC-channel is updated.
Description
The indicated 6-bit Digital to Analogue Converter channel is modified with the new data. This
means that the data corresponds to a specific voltage. The value 0 corresponds to a minimum
output voltage (Vmin) and the value 63 corresponds to a maximum output voltage (Vmax) which
can be set using the preset on the interface board. A value of 'Data' lying in between these two
limits corresponds to a voltage according to the formula:
Vmin + Data x (Vmax - Vmin)/63.
Example
BEGIN
OutputDACchannel(1,21);
// DAC channel 1 is at Vmin + 1/3(Vmax-Vmin)
END;
ClearDACchannel DAC
Syntax
PROCEDURE ClearDACchannel(Channel_no: Longint);
Parameter
Channel_no: Value between 1 and 32 which corresponds to the 6-bit DAC channel number in
which the data is to be erased.
Result
The selected DAC-channel is set to minimum output voltage (Vmin).
Description
The selected 6-bit Digital to Analogue Converter channel is set to minimum output voltage
(Vmin).
Example
BEGIN
ClearDACchannel(2);
// DAC channel 2 is at Vmin
END;
ClearDACchip DAC
Syntax
PROCEDURE ClearDACchip(Chip_no: Longint);
Parameter
Chip_no: Value between 0 and 3 which corresponds to the address of the 6-bit DAC chip in
which the 8 channels are to be set to minimum output voltage.
Result
The 8 DAC-channels of the indicated DAC-chip are set to minimum output voltage.
Description