Ahmedstx

Cicode Warning : possible missing operand between tags

2 posts in this topic

Hi ... Everyone 

I have this warning Cicode message :

" possible missing operand between tags"

when compile below code ūüĎá

****************************************

STRING sTagName = "EG01" ;

sTagName+"_START" = sTagName+"STATUS"

****************************************

Share this post


Link to post
Share on other sites

I wrote the CiCode a bunch of years ago..

from what i remember you had to use the read tag function to make a changing prefix work

I put the tags in buffers with tag read    did my scaling    then TagWrite for the output.

This was done in ciCode not CiCode Object

//////////// put DB tags in buffer variables for Manipulation    
    net_amp_act_1_buff = TagRead(prefix_buff_const+"_current_1");
    net_amp_act_2_buff = TagRead(prefix_buff_const+"_current_2");
    net_amp_act_3_buff = TagRead(prefix_buff_const+"_current_3");

 

////// write reslults the Data Base
    TagWrite(prefix_buff_const+"_current_1_cal", current_1_cal_buff);
    TagWrite(prefix_buff_const+"_current_2_cal", current_2_cal_buff);
    TagWrite(prefix_buff_const+"_current_3_cal", current_3_cal_buff);

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now