flex_reset_defaults

NI-Motion Functions

flex_reset_defaults

Device Compatibility

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

Reset Default Parameters

Usage

status = flex_reset_defaults(u8 boardID)

Purpose

Resets the power-up defaults to the factory-default settings.

Tip  Refer to the Remarks section for information about how the behavior of this function differs between controllers.

Parameters

Name Type Description
boardID u8 assigned by Measurement & Automation Explorer (MAX)

Using This Function

This function resets the power-up defaults to the factory-default settings for all important configuration, initialization, and trajectory parameters for use after subsequent power-up resets. When you execute this function, the default values for all parameters listed in Default Parameters are saved to nonvolatile flash memory and become the power-up defaults.

Note  The effect of this function is not realized until the next time the controller is powered up from a power-down state.

You only need to use this function if you have previously modified the power-up defaults using the Save Default Parameters function and want to revert back to the factory defaults.

Remarks

This section includes information about how the behavior of this function differs among the controllers that support it.

NI 73xx Controller Considerations

The following list includes considerations you must make when you are using this function with a 73xx motion controller:

  • This function may take longer than 62 ms to process on 73xx controllers. This function is not guaranteed to execute in real time as it performs memory allocation.