Red Lion Crimson 3.0 – Referencing array TAG's

Dyslexicbloke

Member
Join Date
Jul 2011
Location
Leek, ST13 7ER
Posts
34
Hi folks ...
I am trying to put together a list manager popup, in this instance for a single string array tag that holds phone numbers for an SMS sending routine.

However it would make far more sense if the list it was managing could be passed in as a parameter so that the same popup could be utilised to view/modify data in any string array.

To do this I would need to be refering to elliments of an array TAG by index ... I cant work out how to do this.

FindTagIndex("TagName") returns an index for an array TAG that coresponds to the first element and will therfoer work in SetStringTag() but I cant fine a way to referemce subsiquent elliments other than hard coding IE TagName[1]:=

Any suggestions or help would be much apriciated.
Thanks
Al
 
Once you've designed your popup for one list you could copy it for as many different list as you have and simply rename the array on each copy of the popup accordingly.

You could then design your control to select which popup to open depending on which array you want to view.

Hope this makes sense.
 

Similar Topics

How do you install update on Red Lion Crimson ver 3.1. Do I just need to run the exe file on the host server?
Replies
1
Views
107
Hi, I am trying to increase the size of the user login pop up using a Red Lion CR1000 7” HMI with Crimson 3.1 software. The login pop up is very...
Replies
2
Views
668
Hello, We are currently running a bunch of g310's connected to their SLC5 PLCs through ethernet. I've attempted to upgrade the program from 2.0...
Replies
1
Views
1,121
Hi I have been using Red Lion products for some time, I had a thought over the bank holiday weekend, As you do. It would be nice if whenever a...
Replies
4
Views
1,015
Well, I have yet another question for the great minds on this forum! We have a red lion HMI for one of our machines and every time I hook my...
Replies
11
Views
1,670
Back
Top Bottom