From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

simulation is very slow

 Hi guys, I am working on a project that uses the control design and simulation toolkit. It's working very well until I created a subsystem that includs the motor model. It shows me right results but the execution became strangely slow. I tried te chage the frequency of the simulation loop and I even disabled synchronizing the loop to timing source (to work at full speed) but no even a chage was occurred. What could be the main cause for that? Can you help to figure out? Thank you and have a nice day. 

Download All
0 Kudos
Message 1 of 2
(2,021 Views)

Step one: Get rid of all the local variables.

Step two: What is the motor simulation doing? Any long and involved math happening? Also what does "strangely slow" mean?

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 2
(1,985 Views)