Can I Change Decimation Logging Parameters in Simulation Interface Toolkit While in Run-Time? Primary Software: LabVIEW Toolkits>>Simulation Interface ToolkitPrimary Software Version: 3.0 Primary Software Fixed Version: N/A Secondary Software: LabVIEW Development Systems>>Full Development System
Problem: I have a Host VI and a simulation model that I have created using The MathWorks, Inc. Simulink® software environment. I am able to change the decimation parameters in the SIT Connection Manager and going to Logging under the Mapping Tab. However, when I run my Host VI and try to go back to the SIT Connection Manager, it gives me an error saying “You cannot launch the SIT Connection Manager while the Host VI is running”. I then clicked on the Simulation Details button and changed the Signal Decimation, however, the logged file still retains all samples. Is there a way for me to change the logging decimation for logging purposes on the fly while the Host VI is running? Solution: Signal Decimation specifies the decimation factor of the probed signals. It does not however, affect the logging decimation. For example, if you enter a decimation of 10, the SIT Server only returns every 10th data point for each signal you are probing. Increasing the Signal Decimation value can resolve performance problems and timing errors during the simulation and can be changed by clicking on the Simulation Details under the Model Controls, as shown in the pictures below: Logging decimation specifies how much you want to decimate the signal data in the log file. For example, if you enter a value of 10, the LabVIEW Simulation Interface Toolkit logs every 10th data point instead of every data point. You can only change the logging decimation through the SIT Connection Manager and cannot change the value in run-time. Simulink® is a registered trademark of The MathWorks, Inc. Related Links: Attachments:
Report Date: 04/02/2007 Last Updated: 06/26/2007 Document ID: 481D1P0L |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
