LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Too slow cycle time when using network variables

I just tested my C++-Application against your example. Works perfectly Smiley Happy

 

So I guess the problem must be in my LabView VI. It looks much like yours - but something must be wrong:

 

Sender VI

 

(Sorry for the external link but image upload does not work -> "HTTP Error")

0 Kudos
Message 11 of 13
(1,464 Views)

sounds great.

 

I can not really tell why your vi doesn't work. Try adding a Timing Delay with 1ms and check again. Mayby it is too much for the system. You always should work with a timing in a while loop, otherwise it is uncontrolled and uses a lot of CPU load.

 

 

0 Kudos
Message 12 of 13
(1,459 Views)

OK, I got it!

The delay did not help (but you're right, it should be in there).

But when I replaced the Numeric-Input thingy with a random number generator the cycle time went down to 1ms. I'm not sure why that is (I'm not so familar with LabView)...

 

Thanks so much for your help!

0 Kudos
Message 13 of 13
(1,456 Views)