Live Control Tag/Module

what a long day...

So, now i have finally created my brand new custom GEM and i take it online and nothing works right. To start, the DATALINK i created for the module name is NULL on OOB GEMS and ???????? on my new GEM. 
I created the Control Tag the same as the Emerson GEMs so that I have a Gem.Tag to link to for the Expression in the Datalink. 

I notice that my scripts that reference Gem.Tag or even Gem.Link.FB can not resolve:
I created a PV and an SP parameter in the Design window and gave it a default:


DLSYS[Gem.Tag+'/'+Gem.Link.FB+'/PV_D.CV']

It says it can't resolve either of those Gem parameters. 

So, it seems there is something going on with my created GEM, but the parameters are the same as the Emerson ones, the difference for the PV and SP is that I gave them a default.. 

But, even using the Emerson GEMs, online it doesn't seem to want to link to my Module name. I created PUMP_TEST in Explorer. Assigned it to the workstation and downloaded it. I have it open in control studio and it's fine. So, IDK if maybe there is also and issue with Live and the path to the module. Everything works perfectly in Operate.

Thanks again.

11 Replies

  • Can you show a screen shot of a GEM instance configuration and the design configuration? The GEM design configuration is where you should have setup the Tag and Link items for your GEM.
  • Look at the online error report(heart icon in banner). That should shed some light on the underlying issue

    Andre Dicaire

  • In reply to Andre Dicaire:

    Andre,

    No errors found. Or so it says..

    Matt, will do.

  • In reply to TreyB:

    Try changing to use format of DLSYS.Read(Gem.Tag+'/'+Gem.Link.FB+'/PV_D.CV').Value

    What version are you using and what Workstation Hotfix is installed?

    • You can find this by doing Help About on DeltaV explorer in the box below the version as all the hotfixes installed (you may have to go down) and it will be DeltaV_VerNo_WS##_CSS where ## is the hotfix number.

    If you have the latest installed and want you can log a call unless the above resolves your issue and happy with it

  • In reply to Matt Stoner:

    We don't typically install hotfixes on our development systems unless a problem arises.. so maybe this is a first. I'll get the newest installed.

    As far as using the Read. Doesn't like that either, but for different reason. 

  • In reply to Matt Stoner:

    Hi TreyB,

    What is the intent of resolving PV and SP in the configuration pane for the new GEM you are creating?

    I think you may need to include those parameters in the GEM canvas and use either form (DLSYS or DLSYS.Read) to get the parameter value, but I am not sure solving the PV and SP in the configuration pane is the intent.

    When a datalink is added to the GEM canvas and linked to the properties (variables) defined in the GEM configuration, the system will properly resolve them:

    In this example, I left PV and SP out from the configuration properties on the GEM on purpose, as I want to show those parameters in the canvas, not in the configuration pane when the GEM instance is added to a given graphic.

    Camilo

    Camilo Fadul | DeltaV Solution Marketing Director

    https://www.linkedin.com/in/cfadul

  • In reply to TreyB:

    Don't worry about that Verify error...see if the GEM works now
  • In reply to Camilo Fadul:

    The intent is that I don't want to configure those properties ever when adding this GEM. It's always the same. Basically I'm needing the PV and SP for a given module to pass to a color function that will do some color fill animation.

    Maybe the best thing to do is create a variable instead. I just need something to pass to the function, i suppose it doesn't need to be a Gem parameter.
  • In reply to TreyB:

    Yes if you are not "configuring" that, then it's easier to use a parameter of just animate the datalink directly
  • In reply to Matt Stoner:

    Variable...not parameter ugh
  • In reply to Matt Stoner:

    Seems that the variable is probably okay now.. but nothing on that GEM is reading still. Seems like a continuing issue with the communication between control studio and Live though. My OOB GEM is still showing eerror "POET_TEST/DC1/PV_D.CV' not found... But, i have to yet install the hotfix.. Being that this is a development system.. i need to do some workarounds to get the hotfix done. That will be for tomorrow.