Crimson 3.0 Question

Radan77

Member
Join Date
Dec 2013
Location
Nottingham
Posts
4
Hi,

Quick Crimson 3 question:

If I have used a string tag to collect some data, what is the correct command to clear that string once I have used the data ?

Thanks

Radan77
 
Hi,

Quick Crimson 3 question:

If I have used a string tag to collect some data, what is the correct command to clear that string once I have used the data ?

Thanks

Radan77

Assuming that you are using an internal tag you can just use something like this (assuming that the Tagname is strTag)

strTag := ""
 
That worked. Thank you very much for your help.

Do you know of any online resource that provides basic information such as this for Crimson 3 users. The Red Lion information, in my opinion, assumes the user already has a certain level of knowledge.
 
That worked. Thank you very much for your help.

Do you know of any online resource that provides basic information such as this for Crimson 3 users. The Red Lion information, in my opinion, assumes the user already has a certain level of knowledge.

The only documents I know of are the two that come with the Software.

You can look at the c3_en.pdf starting with Writing Expressions and it should help a lot.

Note that I like to use := rather than = (both are assignment operators) to clearly differentiate it from == which is for equivalency.

In other words, both of the following set intTag to the value 7

intTag := 7
intTag = 7

However, intTag == 7 returns TRUE if intTag contains the value 7.

By the way, there are also functions to set tag values. In fact if you look at the rm.pdf you will see that there is a function called SetStringTag(INDEX, DATA). However, to use it you will need to use the FindTagIndex() to use it if you don't want to manually find the TagIndex from the Tag List.

Dig into the Crimson 3.0 software, check out the manuals, put in a reasonable amount of work on your own, and feel free to ask questions of the experts on this site (as well as contacting Redlion directly - those guys are great).
 

Similar Topics

Hi Everyone, Hope you all are safe and well. I have a question about creating a Data Log snapshot in Crimson 3.1. I have created a HMI screen...
Replies
11
Views
2,754
Can you program the Help button on the Alarm Viewer to go to a different page? I want to create a separate page with the alarm details on it.
Replies
1
Views
1,218
Hey folks, looking for a bit of help. I have a G15 HMI, I am using Crimson 3. I have created a program with contents: if (Type == 150)...
Replies
6
Views
1,696
Hello, I am trying to use the animated image core primitive on a load screen. Not sure how i display more than 2 images. I would like to display 8...
Replies
7
Views
1,763
I just started working with Crimson 3.0. I have an animated gauge and it works fine but the needle is too thin. Is it possible to make the needle...
Replies
2
Views
2,595
Back
Top Bottom