Menu

Two Digital Panel Meters IOException Error

Help
Will
2011-10-24
2013-05-30
  • Will

    Will - 2011-10-24

    Here is my setup
    *The AdvanceHMI v3.11
    *Using Visual Studio 2010
    *Micrologix1100 connected to COM3
    *DigitalPanelMeter with the PLCaddressvalue set to T4:11.ACC
    *DigitalPanelMeter with the PLCaddressvalue set to N7:11

    If i only have one of them on the form at a time then everything polls/works correctly but if i have both of them on the form then i get an error:
    "IOException was unhandled" - The requested resource is in use.

    The N7:11 is actually T4:11.PRE minus T4:11.ACC to give me a countdown of the timer(in a SUB box in the logic).

    If you have any suggestions as to why this happens i'm all ears! Thanks again.

     
  • Archie

    Archie - 2011-10-24

    Does it work if you use the EthernetIPforSLCMicro driver over Ethernet?

     
  • Will

    Will - 2011-10-24

    I don't have an ethernet module to test that. All i have is the serial cable connection using the DF1Comm driver.

     
  • Archie

    Archie - 2011-10-24

    Is it a MicroLogix 1100 or MicroLogix 1000?

     
  • Will

    Will - 2011-10-24

    It is a MicroLogix 1000 that i'm currently testing with(we also have some 1100). Sorry, I forgot to change that in my original post. I can try it on a 1100 and see if it errors. Or is that def the problem? Sorry for the mis-info.

     
  • Archie

    Archie - 2011-10-24

    A new version has been posted (version 3.16). Try it with that version to see if it fixes the problem. If not, I will hook up a ML1000 to see if I can duplicate the problem.

     
  • Will

    Will - 2011-10-25

    I seem to be getting a ton of errors when opening this version(3.16) for the first time? An example is:
    "Type 'MfgControl.AdvancedHMI.Controls.OutputType' is not defined". I also get a "Maximum number of errors has been exceeded" around error 219. So i guess there are more. Seems to be a problem w/ the AdvancedHMIDrivers.dll its referencing. Sorry for all the trouble. I'll do some googling and see if it's user error and let you know if/when i get it working as i'm sure you've got plenty of other stuff going on. Thanks again.

     
  • Archie

    Archie - 2011-10-25

    I posted a version 3.17 that removes some references that should not have been there. When you open the project be sure to to Build the project.

     
  • Will

    Will - 2011-10-26

    With v3.18 i still get errors:

    Warning 1 Could not resolve this reference. Could not locate the assembly "MfgControl.AdvancedHMI.Controls, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. AdvancedHMI
    Warning 2 Resolved file has a bad image, no metadata, or is otherwise inaccessible. Could not load file or assembly 'MfgControl.AdvancedHMI.Drivers.dll' or one of its dependencies. An attempt was made to load a program with an incorrect format. AdvancedHMI

    …then a bunch of other errors like last time.

     
  • Archie

    Archie - 2011-10-26

    Do you have MfgControl.AdvancedHMI.Controls.dll in your \support directoty?

     
  • Will

    Will - 2011-10-26

    I re-downloaded and tried it again and it works. That happened to me on the 3.04 or .06 version? Maybe there is a bad mirror? Anyway, I tried adding two Digital Panel Meters and it still error'd w/ the same message. I'm going to try it on two other machines tommorrow and see if it's that specific computer. I will keep you posted. Thanks again.

     
  • Will

    Will - 2011-11-09

    Sorry for the long delay. I've tried v3.19 on my VBExpress 2008 box and it works perfectly. Still having trouble w/ VBExpress 2010 even after the SP1 update. It seems to be related to the "Controls" driver. I'll keep checking back for updates and hopefully one will allow me to change back to VB2010. Thanks again for all your support.

     

Log in to post a comment.