chache
August 6, 2014, 5:29pm
1
Hi all,
Anyone know what the GUID property in the exported XML for transaction groups is used for? Does it have to be unique? What happens if I import the same file to different paths with the same GUID? Or what happens if I export, make a few changes, then reimport to the same path with a different GUID? If it is required to be unique are there any restrictions on it, or can I just trivially generate simple yet unique ones?
Regards,
Charles
Hi,
Where are you seeing this? From Export>To XML? What is the actual property name called?
I exported groups both to xml and “to binary” (which is really just a different type of xml), and didn’t see a GUID included.
Whatever it is, I’m fairly certain it won’t hurt to import it as-is multiple times, but I’m curious what you’re seeing.
Regards,
chache
August 26, 2014, 6:57pm
3
Hi there,
I exported a historical transaction group. Here is an example:
<Project>
<Groups>
<GroupConfig typeKey="historical" name="SomeSite" path="SomeSite">
<Property name="STORE_TIMESTAMP">true</Property>
<Property name="GUID">f7516c5d-497a-4b2f-97eb-52d992e8d6b9</Property>
<Property name="AUTO_CREATE_TABLE">true</Property>
<Property name="QUALITY_COLUMN">quality_code</Property>
<Property name="TRIGGER_MODE">0</Property>
<Property name="TRIGGER_PATH"/>
<Property name="HANDSHAKE_PATH"/>
<Property name="EXECUTION_ENABLED">true</Property>
<Property name="TRIGGER_INACTIVE_COMPARE">0</Property>
<Property name="TRIGGER_VALUE">0.0</Property>
<Property name="CONFIGURED_ITEMS" isComplex="true">
<ItemConfig name="Contactor_Enable_Signal_Engine_A" typeId="0">
<Property name="ITEM_EXEC_FLAGS">0</Property>
<Property name="RAWHIGH">0.0</Property>
<Property name="SCALEMODE">0</Property>
<Property name="ALERTMESSAGE"></Property>
<Property name="ALERTMESSAGESUBJECT"></Property>
<Property name="SCALEDLOW">0.0</Property>
<Property name="RAWLOW">0.0</Property>
<Property name="EXPRESSIONTYPE">0</Property>
<Property name="ALERTDEADBAND">0.0</Property>
<Property name="DEADBAND">0.0</Property>
<Property name="OPCSERVER">Kepserver</Property>
<Property name="ALERTTIMESTAMPSOURCE">0</Property>
<Property name="ALERTMESSAGEMODE">0</Property>
<Property name="ALERTNOTES"></Property>
<Property name="VALUE"></Property>
<Property name="ALERTMODE">0</Property>
<Property name="CLAMPMODE">0</Property>
<Property name="EXPRESSION"></Property>
<Property name="SCALEDHIGH">0.0</Property>
<Property name="ALERTACKMODE">1</Property>
<Property name="OPCITEMPATH">ns=2:s=SomePath.SomeSite.Signal</Property>
<Property name="VALUE_PROPERTY">0</Property>
<Property name="TARGET_NAME">Contactor_Enable_Signal_Engine_A</Property>
<Property name="TARGET_DATA_TYPE">6</Property>
<Property name="TARGET_TYPE">1</Property>
</ItemConfig>
<Property name="TABLE_NAME">somesite</Property>
<Property name="STORE_QUALITY">false</Property>
<Property name="DELETE_RECORDS_TIME">0.0</Property>
<Property name="DELETE_RECORDS_UNITS">4</Property>
<Property name="HANDSHAKE_VALUE">0.0</Property>
<Property name="TRIGGER_RESET_VALUE">0.0</Property>
<Property name="TRIGGER_ACTIVE_COMPARE">0</Property>
<Property name="UPDATE_UNITS">2</Property>
<Property name="DELETE_OLD_RECORDS">false</Property>
<Property name="UPDATE_RATE">10.0</Property>
<Property name="TIMESTAMP_COLUMN">t_stamp</Property>
<Property name="GROUP_EXECUTION_FLAGS">0</Property>
<Property name="INDEX_COLUMN">somesite_ndx</Property>
<Property name="DATA_SOURCE">PMCS_DataSource</Property>
</GroupConfig>
</Groups>
</Project>
Maybe it’s only for historical groups? I haven’t played around with it too much yet - just got back from vacation.
Regards,
Charles
Was this originally created in FactorySQL and then upgraded? At any rate, it doesn’t appear that that property is actually used, so I wouldn’t worry about it.
Regards,
chache
August 26, 2014, 11:20pm
5
Aha, yes, this was originally all configured in FSQL and then run through the ignition upgrader.
Good to hear its not important!
Thanks,
Charles