Error No 91(5b) Object variable or with block variable not set

I am trying to open the Faceplate in deltav operate installed deltav version 11.3. I am recieving the following error 

Error No 91(5b) Object variable or with block variable not set

please guide me how to troubleshoot this error.

  • Is it a standard faceplate or a custom built? Does it happen with every faceplate or just 1 type?

    Open the problem faceplate in configure mode and check VB code. Make sure it compiles ok. There might be a ".CurrentValue' missing somewhere on an object.

  • In reply to Robert Rijnders:

    It is Custom built FP...it is happening with all faceplates linked with specific dynamo, VB code is even executing fine.

  • In reply to Aniruthan:

    1 dynamo always links to 1 faceplate, so that's no surprise. The problem has to do with an object on this faceplate. Could be an empty or incomplete animation.

    A crude way to find out the problem is to create 2 copies of the faceplate to the pics/temp/faceplate folder and append a 1 and a 2. On 1 copy remove the top half of all objects and on the other 1 the bottom half of the objects. Then in run-mode open the faceplate, if it's the complete version close it and open again. The system should alternate between the different copies. If the top half works, then the problem has to do with the bottom half. Repeat the copy and delete till you get to the problem.

    Be sure to make a backup before doing anything.

  • In reply to Robert Rijnders:

    But the same faceplate can be opened with the other dynamo. The error is popping out when i use a particular dynamo linked.

  • In reply to Aniruthan:

    Ahh, I see. Then the problem comes from the dynamo. Does the VB on the main picture compile ok? Have you tried replacing the problem dynamo? In the dynamo group there is a parameter called ps_DataSource followed by a number. Is the correct module name stored in this parameter? Is the correct datasource number used in VB?

  • In reply to Robert Rijnders:

    Thanks for your suggestion , i have verified all these steps earlier and sill i am facing this error..

  • In reply to Aniruthan:

    Haven't seen this error in a long time, so I can't remember all the possible causes. But has to be something on the dynamo.

    Any 'object' type animations on the dynamo?

    Does the dynamo send more parameters to the faceplate then just the module name?

    Does the script call frszDynamoLoadIA routine?

  • I haven't worked graphics in a while, but those errors are frustrating.  Make sure named sets are downloaded to all controllers.  If that doesn't help, make a copy and start deleting small groups of objects to narrow down the problem.



    From:        "Aniruthan" <bounce-Aniruthan@community.emerson.com>
    To:        <DeltaV@community.emerson.com>
    Date:        07/16/2014 09:41 AM
    Subject:        RE: [EE365 DeltaV Track] Error No 91(5b) Object variable or with block variable not set




    It is Custom built FP...it is happening with all faceplates linked with specific dynamo, VB code is even executing fine.

  • In reply to Michael Moody:

    Is this happening anytime the faceplate opens or just when launched from the dynamo?  Meaning, when you launch the faceplate from the toolbar, does it do the same thing when launched from the dynamo?  



  • Sent from my BlackBerry 10 smartphone.
    From: Michael Moody
    Sent: Wednesday, 16 July 2014 20:24
    To: DeltaV@community.emerson.com
    Reply To: DeltaV@community.emerson.com
    Subject: RE: [EE365 DeltaV Track] Error No 91(5b) Object variable or with block variable not set

    I haven't worked graphics in a while, but those errors are frustrating.  Make sure named sets are downloaded to all controllers.  If that doesn't help, make a copy and start deleting small groups of objects to narrow down the problem.



    From:        "Aniruthan" <bounce-Aniruthan@community.emerson.com>
    To:        <DeltaV@community.emerson.com>
    Date:        07/16/2014 09:41 AM
    Subject:        RE: [EE365 DeltaV Track] Error No 91(5b) Object variable or with block variable not set




    It is Custom built FP...it is happening with all faceplates linked with specific dynamo, VB code is even executing fine.

  • In reply to lesnoba:

    Hi all, I have found out finally to rectify the error.. it was modification in the VB code of the dynamo which is customised one. Thanks for all your support.