LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to duplicate items in a OPC server that have same function but work individually?

I want to test my OPC application using a simulation server such as "National Instruments.OPCLabVIEW", but I have about 50 read/write independent I/O items needed to be simulated at a same time. Does anybody know how to duplicate the item in a simulation server?

(1) I used "browse to OPC item.vi" and found the items of the server "National Instruments.OPCLabVIEW" installed in two computers were different. One computer had 40 items listed as "Value 00", "value 01"..."Value 39" (which is good, but I don't know why is that :).), however the server in the other computer only had one item called "waveform". How can I duplicate the waveform item in the other computer that has a same functi
on as the "waveform" but can work individually?
(2)I have tried with "Server Explorer" to create a group and added (duplicated) more items of "waveform". But (a) when I tested them by writing one data to one item all the other items were changed to the same data which means they are not independent; and (b)these items created by "server explorer" can not be found by the "browse to item.vi"
0 Kudos
Message 1 of 3
(3,117 Views)
You can use the "Tag configuration Editor" tool to modify the SCF file to add more tags. It works for National Instruments opc servers, but I don't know whether it works for other server such as Matrikon simulation opc servers.
0 Kudos
Message 2 of 3
(3,117 Views)
The OPCLabVIEW server will show all tags configured and running in the Tag Engine. You can either duplicate items directly through the Tag Configuration Editor (TCE), or you can export the Tags to Excel, duplicate items there (names must be unique), and import the tags back into the TCE.

Server Explorer is simply an OPC client used for troubleshooting. Any changes made to the viewing options in Server Explorer will not affect which tags are exposed to other OPC clients.

Please post a reply if you still have questions.

Regards,

Kristi H
Applications Engineer
National Instruments
0 Kudos
Message 3 of 3
(3,117 Views)