Page Content
Table of Contents | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
For a simple functional test of your system, you can execute one of the model examples provided as demos.
For example, you can load and execute the “rtdemo1” demo model, which is a PID controller. This model does not use the I/Os of your system.
If this model is running as expected, you know that your system basic configuration is correct.
The procedure is explained in this page of the RT-LAB user documentation: https://opal-rt.atlassian.net/wiki/x/MoiPC
...
We provide you a project file containing the integration test model used to test your system in the factory.
Info |
---|
Please refer to this page in the RT-LAB user documentation for details: https://opal-rt.atlassian.net/wiki/x/_QiPC |
Note |
---|
The project includes the bitstream you need to use in your models. |
Note that in the overall OPAL-RT user documentation, the words “bitstream” and “firmware” are used as synonyms.
Download, on your PC, the project file below, that includes the integration test model file.
...
Use the loopback flat ribbon cable IDC40 to DB37M and the loopback board DB37, 40 positions with Vuser. See this page.
Note |
---|
Before connecting the cables, make sure that the voltages or other electrical specifications are compatible with OPAL-RT DB37/DB9 specifications of I/O modules OP5330, OP5342 and, OP5369. See section OP4512 I/O System for all DB37 and DB9 pin assignment. |
Refer to these pages for more details
...
Use the current workspace or use an existing workspace or create a new workspace in RT-LAB.
Import the integration project with the integration test model in RT-LAB:
Click File > Import
Select General > Existing Projects into Workspace
Choose Select archive file, then click the Browse button
Select the downloaded zip file and click Open, then click Finish
Build the integration test model:
In the “HIL2GO_200100_integration_test” tree, click Models.
Right click on IO_test and select Simulation > Build configurations…
Select your target (simulator) in the drop-down list “Development Node: on OPAL-RT (x64-based)”
Click OK.
The model start building up. When done, the build log can be viewed under the Compilation tab in the bottom right panel.
Load the model.
Execute the model.
Use the MATLAB Simulink console to view signals and check if all the inputted signals corresponds to the outputted signals. See the sections below.
...
Expand | ||
---|---|---|
| ||
Analog in Path to this view: IO_test/SC_Console/OP4512/GR2A AIN (CH00-15) |
Panel | ||
---|---|---|
| ||
NEXT STEP > it’s up to you. You may want to: |