Author Topic: AdvanceHmi on c#  (Read 1395 times)

mourazo

  • Newbie
  • *
  • Posts: 31
    • View Profile
AdvanceHmi on c#
« on: October 22, 2019, 01:49:36 PM »
I have imported the files advancedHMIcotroller.vproj and advancedHMIdrivers.vproj to a new project in c #, I try to obtain PLC readings using the modbusTCPcom component in visual studio 2017 in the same way that I obtain them in VB, but I don't get any results, what would it be The correct way to develop a project in C #? Thank you very much.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: AdvanceHmi on c#
« Reply #1 on: October 22, 2019, 01:53:15 PM »
You need to import your project into AdvancedHMI

mourazo

  • Newbie
  • *
  • Posts: 31
    • View Profile
Re: AdvanceHmi on c#
« Reply #2 on: October 23, 2019, 05:32:49 AM »
Is there no way to get the drivers in another project in c # other than the advancedHMI solution? Thank you.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: AdvanceHmi on c#
« Reply #3 on: October 23, 2019, 06:25:55 AM »
The licensing does not allow you to strip parts from the solution.

mourazo

  • Newbie
  • *
  • Posts: 31
    • View Profile
Re: AdvanceHmi on c#
« Reply #4 on: October 23, 2019, 11:16:20 AM »
And how could I do that when I run the solution it is the mainForm.cs that runs?

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: AdvanceHmi on c#
« Reply #5 on: October 23, 2019, 11:20:44 AM »
Add you files to the AdvancedHMIcs project
Right click the project and select properties
Set the Startup form to the one you want to run first

Godra

  • Hero Member
  • *****
  • Posts: 1447
    • View Profile
Re: AdvanceHmi on c#
« Reply #6 on: October 23, 2019, 03:37:20 PM »
If necessary, set the AdvancedHMIcs project as the startup project for the solution.