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.
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?
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.
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 Camilo Fadul: