Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

Need to slow down POLL loop rate

I find that when I configure a device for polling and a connection is opened, the poll rate appears to run as fast as the computer will allow. I need to control the poll loop rate or "scan rate" so it scans once every 100ms. Some devices cannot handle a fast scan rate, must be slower than 10ms. How do I change my scan rate?
0 Kudos
Message 1 of 4
(3,927 Views)
Hello,

Thanks for contacting National Instruments.

I think you can accomplish what you are trying to do by using a different mode instead of Automatic. For example, if you use the Scanned mode, then you should be able to set the ExpPacketRate to the value you are interested in using as the poll rate. This information is documented on page 2-59 of the following manual.
http://digital.ni.com/manuals.nsf/webAdvsearch/659F311DE89061978625680F0059DCF7?OpenDocument&vid=niwc&node=132100_US

Hope this helps!

Regards,

Steven B.
Applications Engineering
National Instruments
Message 2 of 4
(3,927 Views)
You are right, when we tried this, it worked. Thanks!
0 Kudos
Message 3 of 4
(3,927 Views)
Hello,

Great! I'm glad that worked. Good luck with your application.

Regards,

Steven B.
Application Engineering
National Instruments
0 Kudos
Message 4 of 4
(3,927 Views)