Welcome Guest ( Login | Register )



All times are UTC - 7 hours [ DST ]



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Always Active / .Read()
PostPosted: Mon Feb 25, 2013 1:31 am 

Joined: Thu May 03, 2012 11:06 am
Posts: 22

Offline
Hi,

I would like to know when it's necessary to use the function "Always Active" for a Tag?

When using scripting, when is it necessary to use the method "Read()" ?
Globals.Tags.Tag1.Read();

For the moment, these functions are not clear. Can you give me some explanations?

Thank you
Philippe


Attachments:
Always active.PNG
Always active.PNG [ 11.29 KiB | Viewed 1502 times ]
 Profile  
 
 Post subject: Re: Always Active / .Read()
PostPosted: Mon Feb 25, 2013 8:46 am 
User avatar

Joined: Thu Nov 29, 2012 2:27 pm
Posts: 92

Offline
Once I had a project with a script that was running every minute and calculated some values.

It was using 3 tag values, and everything works just as it should until the user navigated to a page were the tags was not in any use.

iX will only read the tags if they are in use in the native controls (not in scripts), unless they been set to "Always Active".

So I had to call the Read() function before I used the value or just set them to always active.

_________________
Edmund Andersson

AITECH AB

Part of Beijer Integrator Group


 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 7 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: