Can Calibrate lock in iFix

Guys,

I would like to create a visibility condition for an object in iFix, similar to the one which is looking for the user key "CAN CONFIGURE".

DeltaV Explorer is animated in function of this

DVSYS.THISUSER\CAN_CONFIGURE.F_CV

(Somebody who has no config user locks, won't be able to open DV Explorer).

What I would like is to set a similar condition with the Can Calibrate user lock.

DeltaV iFix help states that there is an expression:

DVSYS.THISUSER\USER_CAN[AREA_NAME][LOCK_NAME].F_CV

I've tried to use

DVSYS.THISUSER\USER_CAN[REPLACE_DEVICE].F_CV

and

DVSYS.THISUSER\USER_CAN[CHANGE_DEVICE_DB].F_CV

which are Can Calibrate locks, but it didn't work.

Did somebody use this before?

Many thanks!

2 Replies

  • Barka -

    I've used this before for toolbar button visibility with the following syntax:

    DVSYS.THISUSER/USER_CAN.B_CV[AREA_NAME][LOCK_NAME]

    The Lock Name should be one of the locks listed in User Manager, so the lock name you would use is [CAN CALIBRATE], unless you have specific locks named "Replace_Device" or "Change_Device_DB" which I do not have.

    There is a KBA out there regarding the specific syntax.  Hope this is helpful.

    Kathy

    Kathy Pate

    Toray Carbon Fibers America

    Decatur, AL 35601

    kathy.pate@toraycma.com

  • There are three things that you need to tweak in your visibility condition:
    1) The slash after THISUSER needs to be a forward slash (/) instead of a backslash (\)
    2) Use .B_CV immediately after USER_CAN instead of .F_CV at the end
    3) Include the Area Name in addition to your lock name.

    DVSYS.THISUSER/USER_CAN.B_CV[AREA_A][REPLACE_DEVICE]

    The KB article that Kathy mentioned in her response is AP-0800-0121 (published 18 Sep 2008)



    From:        "barka" <bounce-barka@community.emerson.com>
    To:        <DeltaV@community.emerson.com>
    Date:        02/14/2013 08:21 AM
    Subject:        [EE365 DeltaV Track] Can Calibrate lock in iFix




    Guys,

    I would like to create a visibility condition for an object in iFix, similar to the one which is looking for the user key "CAN CONFIGURE".

    DeltaV Explorer is animated in function of this

    DVSYS.THISUSER\CAN_CONFIGURE.F_CV

    (Somebody who has no config user locks, won't be able to open DV Explorer).

    What I would like is to set a similar condition with the Can Calibrate user lock.

    DeltaV iFix help states that there is an expression:

    DVSYS.THISUSER\USER_CAN[AREA_NAME][LOCK_NAME].F_CV

    I've tried to use

    DVSYS.THISUSER\USER_CAN[REPLACE_DEVICE].F_CV

    and

    DVSYS.THISUSER\USER_CAN[CHANGE_DEVICE_DB].F_CV

    which are Can Calibrate locks, but it didn't work.

    Did somebody use this before?

    Many thanks!