Analog Inputs and Outputs

_Stg_CalibrateAnalogInput, _Stg_CalibrateAnalogOutput, Stg_AnalogInputRead, Stg_AnalogOutputRead, Stg_AnalogOutputWrite, Stg_CalibratedAnalogOutputWrite

_Stg_CalibrateAnalogInput

This function runs the Devices > Calibrate Analog Inputs command.

Description 

 _Stg_CalibrateAnalogInput(
   char *AnalogInputName
);

This function displays a dialog window where it is possible to calibrate the specified calibrated analog input.

Parameters

char *AnalogInputName

The name of the input as it is displayed within the Device Manager window.

Note

A NIDAQ controller set is needed to perform this operation. Calibration curve can be displayed in pseudo colors.

Stg_CalibratedAnalogOutputWrite

Description 

 Stg_CalibratedAnalogOutputWrite(
   char *AnalogOutputName,
   double  Voltage
);

This function sets voltage on the selected calibrated analog output line. The values range is usually from -10 to 10 Volts.

Parameters

char *AnalogOutputName

The name of the output (logical device) as it is is displayed within the Device Manager window.

double Voltage

Voltage value.

_Stg_CalibrateAnalogOutput

This function runs the Devices > Calibrate Analog Outputs command.

Description 

 _Stg_CalibrateAnalogOutput(
   char *AnalogOutputName
);

This function displays a dialog window where it is possible to calibrate the specified calibrated analog output.

Parameters

char *AnalogOutputName

The name of the output (logical device) as it is is displayed within the Device Manager window.

Note

The NIDAQ controller set is needed to perform this operation. Calibration curve can be displayed in pseudo colors.

Stg_AnalogInputRead

Description 

double Stg_AnalogInputRead(
   char *AnalogInputName
);

This function returns the voltage value currently set on the specified analog input.

Parameters

char *AnalogInputName

The name of the input as it is displayed within the Device Manager window.

Return Values

double

Voltage value

-10.0 to 10.0

Volts

Note

The NIDAQ controller set must be installed to use this function.

Stg_AnalogOutputRead

Description 

double Stg_AnalogOutputRead(
   char *AnalogOutputName
);

This function returns the voltage value currently set on the specified analog output.

Parameters

char *AnalogOutputName

The name of the output (logical device) as it is is displayed within the Device Manager window.

Return Values

double

Voltage value

-10.0 to 10.0

Volts

Note

The NIDAQ controller set must be installed to use this function.

See Also 
Stg_AnalogOutputWrite

Stg_AnalogOutputWrite

Description 

 Stg_AnalogOutputWrite(
   char *AnalogOutputName,
   double  Voltage
);

This function sets Voltage on the selected analog output line.

Parameters

char *AnalogOutputName

The name of the output (logical device) as it is is displayed within the Device Manager window.

double Voltage

Voltage value.

Note

The NIDAQ controller set must be installed to use this function.