flex_read_board_temperature

NI-Motion Functions

flex_read_board_temperature

Device Compatibility

Device Compatibility
7330
N
7340
N
7344
N
7350
Y
7390
N
NI SoftMotion Controller for CANopen—Xenus
N
NI SoftMotion Controller for CANopen—Accelnet
N

Read Board Temperature

Usage

status = flex_read_board_temperature (u8 boardID, f64 *temperature);

Purpose

Reads the temperature from the motion controller.

Parameters

Name Type Description
boardID u8 assigned by Measurement & Automation Explorer (MAX)
temperature f64 * device temperature °C

Parameter Discussion

temperature is the temperature read from the temperature sensor on the motion controller in °C.

Using This Function

The Read Board Temperature function reads the temperature in °C from the temperature sensor on the motion controller. You can use the current temperature sensor reading to determine if the device requires recalibration.

Note  Only 7350 controllers support the Read Board Temperature function.