Updating External Reference Path via String in Calc Block

Have existing control modules that are doing a bunch of environmental averaging.  They are all pathed to separate modules.  I am wanting to create a composite & a custom faceplate to display all of them together.  Not sure exactly how to write to the external path in a parameter block from a Calc Block.

So what I am wanting to do is enter a tag# 123456  Then use a calc block to write that string for the 7 individual external references that I need for the associated tag.  Ex.

AI-12345/PV.CV

AI-12345-B1S/PV.CV

AI-12345-B1M/PV.CV

AI-12345-B15M/PV.CV

AI-12345-B1H/PV.CV

ETC.  I have to do this for 180+ modules and I know I can do it with a bulkedit, but want to create a composite so I can class it & they be the same for all.

I have to code to make the string and I can write it to a parameter as the string value.  But I can't figure out how to path that string to the parameter external reference so it will go get the right data.  Thanks in advance for your help.

  • There's a special type of parameter called a Dynamic Reference parameter that you have to use for this. It has a field, "$REF", that represents the address of the parameter you're looking for. If I remember correctly, it uses the full reference syntax. Using the first example parameter you provided, referencing an external module would require you write the string "//AI-12345/PV.CV" to the dynamic reference .$REF field. There's some tips in books online if you look up dynamic references.