LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

control and simulation loop: failed to compile

Hi Guys,

 

 

I have tried simulating control and simulation loop with the cosimulation of multisim. But it is showing failed to compile.

Capture.JPG

I am attaching the corresponding vi in this query.

 

why am I getting this error as shown below.

Capture.JPG

 

 

 

Please help me to solve in this query.

 

 

one more question is can I make this siulation to run for infinite time. If so, what shall I do for that?

 

 

 

 

0 Kudos
Message 1 of 4
(4,093 Views)

can anyone help me in this?

0 Kudos
Message 2 of 4
(4,070 Views)

This looks like it might be MultiSim, with which I have absolutely no experience.  This is a "General LabVIEW" forum.  There is also a specific MultiSim forum, where you might find more users who "understand the question".  [In particular, I had no idea what the second file you attached was for, nor did I recognize its extension ...].

 

Bob Schor

0 Kudos
Message 3 of 4
(4,051 Views)

In the simulation loop, we try to avoid the usage of 'feedback node' inside the loop.

 

I would suggest to substitute the feedback node below:

code.PNG

with the memory function from simulation:

 

memory.PNG

 

They are syntatically the same, but this one is more 'friendly' for the Control and Simulation Loop. If that still have problems, you should try to change all of the feedback nodes with memory and see if the problem would be resolved.

Hopefully this helps.

Barp - Control, Simulation, RTT and HIL - National Instruments
0 Kudos
Message 4 of 4
(3,926 Views)