jvittone Posted June 23, 2011 Report Share Posted June 23, 2011 I am currently having trouble running PID Server to tune some water tank heaters. I've used this program many times before and it has worked perfectly. However, recently I have been getting the error "Run-Time Error 9, Subscript Out of Range" right at the very end of the tuning process. I am using a V570 with a AO6X analog module. The software version is, 9.3.0. Occasionally I'll get a good tune, but more times than not I'll get errors........Any ideas???? Thanks in advance for your help..........Jeff Link to comment Share on other sites More sharing options...
Fahrphrompuken Posted July 22, 2011 Report Share Posted July 22, 2011 I get the same error EVERY time I run PID server. I think it too must be at the end of the tuning cycle, just when it attempts to write the data. The error message is generated from Windows, I have seen the exact error message generated from other Windows apps,mostly in Excel, and VB scripts, not just Visilogic. It could be an indication of a virus, malware, or rootkit, or corrupt files. Does anyone out there know what else might cause this? I am running a V130 with 9.3.0 on Windows XP SP 3. Link to comment Share on other sites More sharing options...
Fahrphrompuken Posted July 26, 2011 Report Share Posted July 26, 2011 I have resolved my problem with the PID server. I am also heating a water tank, but only 15 gal. Every time I ran the PID server autotune with the 2-stage I would wind up with the Run-Time Error 9, Subscript Out of Range error message and no data written. After setting the #of stages to 4 it works great, everytime (but it does take a while, about 45min). When running the PID loop it will maintain the setpoint to within +/- couple tenths of a degree (F). I was thinking that maybe the response time of the water tank was too long so the autotune gave up, but couldn't say for sure. Just glad it's all working now! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now