Red Lion Crimson 3.0 – Local variables - Array?

Dyslexicbloke

Member
Join Date
Jul 2011
Location
Leek, ST13 7ER
Posts
34
Hi folks.
I am currently working on a little program that needs to index files in several directories and decide which ones need to be emailed out.
The semantics aren’t important but I want to make my code portable, so it can be dropped into some existing devices we have deployed.

What I really need to do is dimension, and preferably re-dimension, a cstring array within a program block but I cant find any reference to how this might be done.

Is this possible? (Have I just missed something)

I know about TAG arrays and the fact that strings can be indexed as if they were character arrays, and will use those structures if I cant fins d a better way.

Thanks
Al
 
Hello,

Unfortunately you can't declare an array in a program. You will need to declare any arrays in the Data Tags section.

Thanks
Jeremy
 

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
103
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
666
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,119
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,014
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,662
Back
Top Bottom