cancel
Showing results for 
Search instead for 
Did you mean: 

Characteristic Value Update by VC.

Xiaoguang
Participant
0 Kudos

When Characteristic Z_ SFT200_ BZJKJ <> 06,the Characteristic T_ FRAME_ NUM I entered 100,

When Characteristic Z_ SFT200_ BZJKJ = 06,the Characteristic T_ FRAME_ NUM is not updated to 0 according to vc code;

How do I write VC code?

my VC code:

$SELF.T_FRAME_NUM =0 IF $SELF.Z_SFT200_BZJKJ = '06'.

Accepted Solutions (0)

Answers (1)

Answers (1)

raja_ivaturi
Explorer
0 Kudos

I too noticed this behaviour. Once the value is entered in characteristic, it is not overwritten by Procedure. However you will not be able to save this selection. When you try to save you will get a pop up message indicating inconsistency. You need to change the value to value assigned by procedure (0 in your case).

If you make the value of T_ FRAME_ NUM to blank and then enter the value of 06 for Z_SFT200_BZJKJ, the procedure works correctly.

regards