VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to verify the real-time property of my veristand project

Hi,

     My Veristand project consists of a dll file model and a FPGA hardware. The project is deployed in the PXI target and runs successfully. I wonder if there is a way to verify the real-time property of the running poject. For example, a parameter or a tool in Veristand nivescreen?

Thanks.

0 Kudos
Message 1 of 4
(2,996 Views)

How about the "Actual Loop Rate" in the System Channels? Any deviation here would be an indicator of issues, wouldn't it?

In the System Channels you will find a couple more useful channels. According to the System Channels Table HP Loop Count might also be a channel to watch.



Remember Cunningham's Law
Message 2 of 4
(2,959 Views)

You may also check the HP Count channel, which indicates if your simulation missed the determinism. I have used this channel to evaluate if my simulation data was synced, whenever this value was increased the simulation was stopped.

 

Guilherme Correa
Message 3 of 4
(2,926 Views)

In general I'd recommend reviewing the engine architecture and determining which points are of most interest to you.

 

http://www.ni.com/product-documentation/13033/en/

nivsengine.PNG

 

If you're interested in quantifying the determinism of your models and your FPGA hardware you would be interested in the Model Execution Loops and the PCL, respectively. You should be able to find more than enough information on these via system channels and model execution channels

 

http://zone.ni.com/reference/en-XX/help/372846K-01/veristand/system_channels_table/

(as already mentioned by PeterFoerster and Guilherme)

  • HP Count
  • Actual Loop Rate

I would also keep an eye on

  • Model Count - The number of times the models have not completed their execution in time.

http://zone.ni.com/reference/en-XX/help/372846J-01/veristand/model_execution/

View the model execution status, such as running or paused. Model Status
View the time in the model. Model Time
View how long the current time step of the model has been running. Time Step Duration

 

Tim A.
0 Kudos
Message 4 of 4
(2,909 Views)