LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

scan rate too slow for I/O buses

Hello,

 

Could somebody please explain what the attached message means and how I can overcome it

 

Thanks in advance 

0 Kudos
Message 1 of 9
(3,483 Views)

Sorry,

 

Here is the attachment 

0 Kudos
Message 2 of 9
(3,480 Views)
You have not attached anything and have not explained your hardware either? Be sure to explain your hardware and software setup and under what circumstances you are getting this message.
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 3 of 9
(3,478 Views)

Thank you for the answer. I apologize for not attaching the image the first time. My hardware is cRIO 9014 with a 9104 chassis and modules AO, DO, DI and AI and I am using LabVIEW 8.6.1. The concept is to control a unit either by a touch panel (TPC 2106T) or by my PC. For this reason, I created a project containing the cRIO controller, the touch panel and two different vis (for now I leave the Touch panel out of the game, I mentioned it just because is included in the project), one under the CRIO controller and one on the PC. I also made a Library containing shared variables to obtain communication between cRIO and PC (what I am planning to do in the future is to set the RT vi as start up vi (in order to run always) and controlling the unit either by the PCvi or by the touch panel vi. What I want to do now is running the 2 vis (RTvi and PCvi) simultaneously. For the RTvi I used a timed loop with the synchronized to scan engine selected in the input node. For the PC vi I use a while loop with a time delay. When I am trying to deploy the RTvi I receive the message sent in my previous post. The scan engine settings are: scan period 100sec and network publishing period 100ms. I hope that my explanation is clear now. Please let me know if you need further information.

 

Thanks in advance

0 Kudos
Message 4 of 9
(3,461 Views)
Scan mode works in a Synched Time Loop just fine with the settings you have, but obviously the I/O in the loop is going too slow.  Are you using a DSA Module (923x series)?  Let us know what I/O modules you have since that is what the error is pointing at.
Rob K
Measurements Mechanical Engineer (C-Series, USB X-Series)
National Instruments
CompactRIO Developers Guide
CompactRIO Out of the Box Video
0 Kudos
Message 5 of 9
(3,418 Views)

Good morning,

 

Modules being used are NI 9201(two), NI 9211, NI 9263, NI 9426, NI 9476 

0 Kudos
Message 6 of 9
(3,404 Views)

Hmmm..none of those are DSA modules.

 

I tried the 9263 and it worked fine.  What are you wiring into the period of your timed loop? Keep in mind it is in SCANS, not ms, once you synchronize it to your scan engine.  So 1 scan = 100ms. Try changing that to 1 and see if  it works.  If not, what version of NI-RIO are you using?

Rob K
Measurements Mechanical Engineer (C-Series, USB X-Series)
National Instruments
CompactRIO Developers Guide
CompactRIO Out of the Box Video
0 Kudos
Message 7 of 9
(3,391 Views)

Hello thorfano

 

Do you actually have the scan period set to 100 seconds?  If so that is definitely the source of your issue.  I just tried it and I got the same deploy error with the scan set to 100 seconds.

 

So you know, that number controls how often the outputs of your modules are updated and how often your input nodes are refreshed with new data.  I don't know for sure, but I suspect you want data to update more often than every 100 seconds anyway.  If you really don't want data any faster than that, you will need to set the scan to run faster and only read the IO Variables at your desired interval.

 

On 8.6.1 the scan can be run as fast as 1 ms.  I don't know what the maximum is but you can change it and deploy the target until you find a value that doesn't cause an error.

 

Let me know if you have any other questions.

 

Sebastian

0 Kudos
Message 8 of 9
(3,385 Views)

Thank you all for your reply and suggestions. My chassis had a serious problem thus I can't test my project operation for a while. I will follow your advise and come back if I have further problems.

 

Thanks again 

0 Kudos
Message 9 of 9
(3,337 Views)