Search found 26 matches

by hans gerritsen
Tue Feb 09, 2016 7:10 am
Forum: Scripting
Topic: Determine if a tag is of type Array
Replies: 1
Views: 8304

Determine if a tag is of type Array

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.
by hans gerritsen
Tue Feb 09, 2016 7:07 am
Forum: Dynamics
Topic: determine number of items in "text library"
Replies: 1
Views: 9444

determine number of items in "text library"

How do I determine the number of items in a specific "text library"?
by hans gerritsen
Fri Feb 05, 2016 5:44 am
Forum: Scripting
Topic: Writing tag values to a file
Replies: 19
Views: 50998

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.
by hans gerritsen
Wed Apr 17, 2013 1:53 pm
Forum: Scripting
Topic: disable datalogger
Replies: 5
Views: 8275

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...
by hans gerritsen
Tue Apr 16, 2013 4:03 am
Forum: Scripting
Topic: reference assemblies not found
Replies: 1
Views: 5720

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...
by hans gerritsen
Tue Apr 16, 2013 3:49 am
Forum: Scripting
Topic: diable alarmserver group
Replies: 5
Views: 8094

Re: diable alarmserver group

The "AlarmGroups[0].IsEnabled = false" causes a syntax error.
Do I have to include a library?
by hans gerritsen
Tue Apr 16, 2013 1:48 am
Forum: Scripting
Topic: disable datalogger
Replies: 5
Views: 8275

Re: disable datalogger

I've tried "Globals.DataLogger1.IsEnabled = false;"
but is shows a syntax error with the '='.
by hans gerritsen
Mon Apr 15, 2013 2:12 pm
Forum: Scripting
Topic: disable datalogger
Replies: 5
Views: 8275

Re: disable datalogger

Thanks a lot!
by hans gerritsen
Mon Apr 15, 2013 2:11 pm
Forum: Scripting
Topic: diable alarmserver group
Replies: 5
Views: 8094

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...
by hans gerritsen
Mon Apr 15, 2013 3:20 am
Forum: Scripting
Topic: diable alarmserver group
Replies: 5
Views: 8094

diable alarmserver group

Hi,

Is it possible to disable a group in the alarm server in runtime/via a tag?

Regards

Hans