LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

can tag url be programmatically changed

We have created a program that is going to be used in 5 units. Every unit have very similar tag names(about 100/unit). difference is only 3 characters in the beginning of the name. I'd like to have this thing running so that when program starts it asks user what unit and then the tag urls(where contols are attached; data socket) are automatically changed. All these units will be connected to same opc server. We have Labview and DSC 7.0.
If someone nows about this kind of thing please reply
0 Kudos
Message 1 of 3
(2,663 Views)
Have you look at using tag groups?? You could assign each set of 100 tags to a different group name. Then use the get tagnames in a group vi to tell your application which tags to read.
Message 2 of 3
(2,663 Views)
Depending on the entire application requirements... you might look as well into:
a) Datasets and
b) tag attribute (onscan) to be changed with Set Tag Attribute.vi. Or,
c) you just have for every unit an own .scf file and load it approprately when starting the DSC Engine for the specific unit.
d) To configure the similar .scf offline, you might use the export to spreadsheet (.csv) file to modify the taglist.

Good luck
Roli
0 Kudos
Message 3 of 3
(2,663 Views)