flex_read_description_rtn

NI-Motion Functions

flex_read_description_rtn

Device Compatibility

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

Read Memory Object Description

Usage

status = flex_read_description_rtn(u8 boardID, u8 object, i8* description);

Purpose

Reads the ASCII text description for a program or buffer object.

Parameters

Name Type Description
boardID u8 assigned by Measurement & Automation Explorer (MAX)
object u8 program or other memory object
description [i8]* ASCII character array describing the object

Parameter Discussion

object is a program or buffer object stored in onboard RAM or ROM.

description is an ASCII character array of up to 32 characters that describes the object.

Using This Function

This function returns the ASCII text description for a program or buffer object. The ASCII text description, previously loaded with the Load Memory Object Description function, is useful as a quick reminder of the contents or purpose of an object stored in memory.