Jump to content

Recommended Posts

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

  • 5 weeks later...

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

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...