PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

Using two dll or one to ensure rate

Hi, I have a project in Veristand and the rate of the target (PXI) is 1 kHz. 
Because of the specific application is easier to use two models (dll) and tu pass the output of one model(A) to the input of the other model (B).

By doing that do I still ensure that the whole arrange is updated at 1kHz? or do I lose one step between model (A) and model (B)?

Sorry if it´s a stupid question. But for us it´s really important that the whole loop is executed every 1ms. 

 

Thanks in advance!

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

Hi,

 

if you want the two models running and exchanging data it is usefull to define a special order.

 

That's why multiple models in a system execute in parallel unless you define an execution order. If you want one model to wait until a second model finishes executing before the first model runs, you must define an execution order. Execution orders ensure data can transfer between models during the same iteration of the PCL.

 

So have a look at this link:

 

Determining the Execution Order of Models:

http://zone.ni.com/reference/en-XX/help/372846F-01/veristand/models_order_execution/

 

I hope this helps.

 

Best regards

Suse

______________________________
Certified LabVIEW Developer (CLD)
0 Kudos
Message 2 of 2
(4,550 Views)