Prerequisites
How to Display Simulated Signals using Waveforms
Procedure
The Waveform Data Logger Custom Device is an open-source tool freely available for users to download online. It can be deployed in a VeriStand project alongside the Power Electronics Add-On to record Waveform channel data to a file during execution.
Warning |
---|
The Waveform Data Logger Custom Device is not developed, maintained, or supported by OPAL-RT. For any issues or questions related it its use, please contact National Instruments Support. |
Installing the Waveform Data Logger Custom Device
Download and install the Waveform Data Logger Custom Device from GitLab:
...
The steps below describe how to add the Waveform Data Logger Custom Device to a VeriStand project alongside the Power Electronics Add-On. Before completing these steps, the desired simulated signals must be mapped to VeriStand Waveform channels in the Power Electronics Add-On. See How to Display Simulated Signals using Waveforms for more information.
- In the VeriStand System Definition tree, expand the items until the Custom Devices section is reached.
- Right-click the Custom Devices section and navigate to National Instruments >> Waveform Data Logger.
- In the Waveform Data Logger page, click Add Log File. Notice that a new item, Waveform Log, is added to the System Definition tree.
- In the Log File Settings tab, enter a Log File Path. This is the location on the target where the file will be saved.
- Navigate to the Waveforms tab and click select Waveforms.
- Expand Controller >> Custom Devices >> Power Electronics Add-On >> Circuit Model >> Waveforms and select the Waveform channels to log to the file.
- In the System Definition tree, expand Waveform Data Logger >> Waveform Log >> Commands to display the Logging Enabled channel. This channel must be set to TRUE to record data. If desired, it can be routed to a UI control and manipulated by the user at execution time.
- Save the System Definition file and deploy the project to simulate and record data.
...