WOLFRAM SYSTEM MODELER
addItemAdds an item to an OPC group for reading or writing |
SystemModel["OPCClassic.ExternalFunctions.addItem"]
This function is used in Sampler and TriggeredSampler. It dictates that for the OPC server identified with serverID, the OPC item itemName should be used for reading/writing.
addItem(serverID, itemName)
serverID |
Type: Integer Description: The unique ID of the server the block is connected to |
---|---|
itemName |
Type: String Description: The name of item to add to the OPC group |
index |
Type: Integer Description: The index of the added item |
---|