Reading a controller from xmath into icdm, Writing the plant back to xmath, Writing the alternate plant back to xmath – National Instruments Xmath Interactive Control Design Module ICDM User Manual

Page 35: Writing a controller on the history list to xmath

Advertising
background image

Chapter 3

ICDM Main Window

Xmath Interactive Control Design Module

3-4

ni.com

to a simple transfer function representation, which means that you cannot
read them back into the Pole Place, LQG, or synthesis windows because
these types depend on the plant. Also, all synthesis windows will be reset
to their initial (default) settings. Because these side effects may be
undesired, the user is warned before these actions are taken.

Reading a Controller from Xmath into ICDM

You can read a controller from Xmath into ICDM using the FileRead
Controller entry. This requires closing any open synthesis window or the
History window. Reading in a new controller will overwrite the current
controller in ICDM, so unless there is no current controller or you have
saved the current controller to the history list or Xmath, you will be warned
and asked for confirmation.

After you have read in the new controller, you can proceed with opening
a synthesis window, and the usual rules apply. If the synthesis window is
compatible with the current controller that you have just read in, the
parameters in the synthesis window will be set appropriately. If the
synthesis window is not compatible with the controller, you will be warned
that opening the synthesis window will overwrite the controller.

When you read a controller from Xmath, it is represented as a transfer
function. This means that you cannot get a controller from Xmath into
the LQG or synthesis windows.

Writing the Plant Back to Xmath

Because you cannot change the plant transfer function from inside ICDM,
the only reason to write the plant back to Xmath is if you have forgotten
what the plant transfer function is or if you fear that you may have changed
it in Xmath.

Writing the Alternate Plant back to Xmath

If you want to write the alternate plant transfer function to Xmath, use the
Special menu in the Alternate Plant window.

Writing a Controller on the History List to Xmath

If you want to write a controller that has been saved on the history list to
Xmath, you first must make it the current controller by opening the History
window and selecting it. Then use the FileWrite Controller button to write
the current controller to Xmath.

Advertising