How can I determine if a tag is an arraytype and the size of this array?
For example: tag 'Test' is of DataType=Bool[8]. The array size =8.
Search found 26 matches
- Tue Feb 09, 2016 7:10 am
- Forum: Scripting
- Topic: Determine if a tag is of type Array
- Replies: 1
- Views: 9604
- Tue Feb 09, 2016 7:07 am
- Forum: Dynamics
- Topic: determine number of items in "text library"
- Replies: 1
- Views: 14369
determine number of items in "text library"
How do I determine the number of items in a specific "text library"?
- Fri Feb 05, 2016 5:44 am
- Forum: Scripting
- Topic: Writing tag values to a file
- Replies: 19
- Views: 61260
Re: Writing tag values to a file
I can read the GlobalDataType, AccessRight etc as described in previous topics.
How can I read if the tag is an array and the size of this array?
For example: tag 'Test' is of DataType=Bool[8]. The array size =8.
How can I read if the tag is an array and the size of this array?
For example: tag 'Test' is of DataType=Bool[8]. The array size =8.
- Wed Apr 17, 2013 1:53 pm
- Forum: Scripting
- Topic: disable datalogger
- Replies: 5
- Views: 10433
Re: disable datalogger
With an existing trend "TrendLoggingKort_T2" I tried the following. namespace Neo.ApplicationFramework.Generated { using System.Windows.Forms; using System; using System.Drawing; using Neo.ApplicationFramework.Tools; using Neo.ApplicationFramework.Common.Graphics.Logic; using Neo.ApplicationFramewor...
- Tue Apr 16, 2013 4:03 am
- Forum: Scripting
- Topic: reference assemblies not found
- Replies: 1
- Views: 6654
reference assemblies not found
When I compile my program the following message in the errorlist appears: "The reference assemblies for framework ".NETframework Version=V4.0" where not found. To resolve this, install the SDK or Targeting Pack for this framework versjon or retarget to a versjon of the framework for which you have t...
- Tue Apr 16, 2013 3:49 am
- Forum: Scripting
- Topic: diable alarmserver group
- Replies: 5
- Views: 9982
Re: diable alarmserver group
The "AlarmGroups[0].IsEnabled = false" causes a syntax error.
Do I have to include a library?
Do I have to include a library?
- Tue Apr 16, 2013 1:48 am
- Forum: Scripting
- Topic: disable datalogger
- Replies: 5
- Views: 10433
Re: disable datalogger
I've tried "Globals.DataLogger1.IsEnabled = false;"
but is shows a syntax error with the '='.
but is shows a syntax error with the '='.
- Mon Apr 15, 2013 2:12 pm
- Forum: Scripting
- Topic: disable datalogger
- Replies: 5
- Views: 10433
Re: disable datalogger
Thanks a lot!
- Mon Apr 15, 2013 2:11 pm
- Forum: Scripting
- Topic: diable alarmserver group
- Replies: 5
- Views: 9982
Re: diable alarmserver group
Thanks for the answer, The thought behind the question is this: I want to use one standard panel program for several diffent plants. Some plants have 2 connected plc's to one panel. In such case the panel uses one alarm server group for plc 1 and one group for plc2. For those plants with only one pl...
- Mon Apr 15, 2013 3:20 am
- Forum: Scripting
- Topic: diable alarmserver group
- Replies: 5
- Views: 9982
diable alarmserver group
Hi,
Is it possible to disable a group in the alarm server in runtime/via a tag?
Regards
Hans
Is it possible to disable a group in the alarm server in runtime/via a tag?
Regards
Hans