Author Topic: Basic Button Toggle  (Read 1506 times)

dfisk

  • Newbie
  • *
  • Posts: 3
    • View Profile
Basic Button Toggle
« on: March 09, 2015, 05:29:00 PM »
I am getting an error when I set the output type on a Basic Button to toggle. The message that comes back is parameter count mismatch. If I just set the output type to WriteValue it works fine. Any thoughts? Thank you

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5311
    • View Profile
    • AdvancedHMI
Re: Basic Button Toggle
« Reply #1 on: March 09, 2015, 06:08:10 PM »
What version are you using and which driver?

dfisk

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Basic Button Toggle
« Reply #2 on: March 10, 2015, 10:34:41 AM »
I am using the OPC driver which seems to be working for everything but the toggle. I updated to the latest release V397e

Thank You

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5311
    • View Profile
    • AdvancedHMI
Re: Basic Button Toggle
« Reply #3 on: March 10, 2015, 03:04:08 PM »
I don't have an OPC server to test with, but it does work with one of the native drivers, so it's something in the OpcDaCom driver. Does it give you any indication of which line number the error occurs?

Open OpcDaCom.vb and put a break point on line 209 by clicking in the left margin. Run the app, click the button and when it stops at the break point, step through with F10 until you get the error, then let me know what line the error occurred.