Jump to content

Cicode Warning : possible missing operand between tags


Recommended Posts

Posted

Hi ... Everyone 

I have this warning Cicode message :

" possible missing operand between tags"

when compile below code ?

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

STRING sTagName = "EG01" ;

sTagName+"_START" = sTagName+"STATUS"

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

Posted

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);

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...