Subsections

7.4 Loading, Saving and Editing  

Real-time controllers and data can be saved and loaded from the ``Closed Loop Data Acquisition'' window.

7.4.1 Saving Real Time ControllersSaving                

Once you have found a good real-time controller you save it from the menu File $\rightarrow \;$Save Real Time Controller. As described in Section 6.6.1, there is only one format the controller can be saved in.

Just as the designed controller, you can also save the real-time controller as ``pseudo-code'' with the menu entry File $\rightarrow \;$Save Pseudo Code. This is a format close to c, which implements the currently designed controller. The resulting .pc file can be used for implementation of the controller on different platforms not supported by RaPID. Section 6.3 contains more details.

7.4.2 Loading Real Time Controllers        

You load previously saved controllers back into RaPID with the menu entry File $\rightarrow \;$Load Real Time Controller. Just as for the designed controller in Section 6.6.2 there is only one format to load controllers in.

7.4.3 Loading and Saving Data            

You load and save the measured data from/to a RaPID, Matlab or ASCII file in exactly the same manner as described for the ``Open Loop Data Acquisition'' window in Sections 4.4.1 and 4.4.2.

7.4.4 Viewing and Editing the Real-Time Controller      

Just as for the designed controller in Section 6.4, you can view and edit the real-time controller with the menu Edit $\rightarrow \;$Controller. Any change of the controller results in an immediate change of the simulated output. When you now start the experiment, your newly entered controller is sent as real-time controller to Simulink or the real world.



Peter Van Overschee
1/21/1998