Hi
I have been trying to script access the PollGroupls in my project the appear under Globals.Tags but I dont get any actions after that point.
I would like to poll a group of tags at a curtain point in my code
Globals.Tags.PollGroup ?????
cheers
Scripting PollGroups
-
- Posts: 824
- Joined: Tue Mar 13, 2012 9:53 am
Re: Scripting PollGroups
Best Regards,
Mark Monroe
Beijer Electronics, Inc. | Applications Engineer
Mark Monroe
Beijer Electronics, Inc. | Applications Engineer
-
- Posts: 4
- Joined: Thu Nov 08, 2012 10:16 am
Re: Scripting PollGroups
This works well with a tag but the Read() function is not possible with a pollgroup yet it still comes under the tag heading.
Globals.Tags.Pollgroup1
What functions are availiable to access the Pollgroup with scripts?
Globals.Tags.Pollgroup1
What functions are availiable to access the Pollgroup with scripts?
-
- Posts: 824
- Joined: Tue Mar 13, 2012 9:53 am
Re: Scripting PollGroups
The best way is to use the autocomplete feature of C#. When you end an object with a '.', then the functions that are exposed are shown in a list box.
The other thing is to press F1 when you are on the script screen and the script help will come up and you can look at the class methods to see what functions an object has.
The other thing is to press F1 when you are on the script screen and the script help will come up and you can look at the class methods to see what functions an object has.
Best Regards,
Mark Monroe
Beijer Electronics, Inc. | Applications Engineer
Mark Monroe
Beijer Electronics, Inc. | Applications Engineer