10-09-2012 03:10 PM
Hello all,
Thank you in advance for your help. I am updating a project that originally was developed in an earlier version of labview that used the Tag Engine. I am manually going through the code and finding these links to the Tags and replacing them with shared variables. I've run into a few issues and would love to have some feedback.
First one, the Tag Engine grouped tags by name, so for example, some tags were under R1, others under R2, etc. The tag function had one that was called "Get Tag List" that functioned by making a list of the tags in a particular group. I've tried to find an equivalent function for shared variables but have come up short. First question, am I missing a shared variable function that is equivalent?
Second, in an effort to start this process, I created a few libraries of shared variables named R1, R2, etc. equivalent to the tag groups and dragged my shared variables from my original library into the new libraries. Now, some of the shared variables that I dragged have an error. It says the shared variable is "broken." I'm not sure how to fix it. I tried deleting the shared variable and dragging it back onto the vi, but that did nothing.
I'm sure there will be more questions, but these are my main ones now.
Any help would be appreciated!
Thank you,
Matt
10-10-2012 04:10 PM
Hi Matt,
What version of LabVIEW was your project originally developed in? Also, where did you download or acquire the Tag Engine? Is it related to DSC Tag Servers? We'll need a little more information on the Tag Engine since this might be from a 3rd party.
10-16-2012 08:02 PM
The project was originally developed in LabView 7.1. You are correct that the shared variables are related to the DSC Tag Server and not a third party software.
Thank you for the help,
Matt
10-17-2012 01:25 AM
@I_3_LV wrote:
Hello all,
Thank you in advance for your help. I am updating a project that originally was developed in an earlier version of labview that used the Tag Engine. I am manually going through the code and finding these links to the Tags and replacing them with shared variables. I've run into a few issues and would love to have some feedback.
First one, the Tag Engine grouped tags by name, so for example, some tags were under R1, others under R2, etc. The tag function had one that was called "Get Tag List" that functioned by making a list of the tags in a particular group. I've tried to find an equivalent function for shared variables but have come up short. First question, am I missing a shared variable function that is equivalent?
Second, in an effort to start this process, I created a few libraries of shared variables named R1, R2, etc. equivalent to the tag groups and dragged my shared variables from my original library into the new libraries. Now, some of the shared variables that I dragged have an error. It says the shared variable is "broken." I'm not sure how to fix it. I tried deleting the shared variable and dragging it back onto the vi, but that did nothing.
I'm sure there will be more questions, but these are my main ones now.
Any help would be appreciated!
Thank you,
Matt
Hi Matt, I'm assuming you are/have been using the DSC module. If not, ignore the rest.
Have you tried this: Tools >> DSC Module >> Migrate >> Configuration.
That is if you have a .scf file in your project?
Br,
/Roger
10-17-2012 09:10 AM - edited 10-17-2012 09:14 AM
@The_Hunt wrote:
Hi Matt,
What version of LabVIEW was your project originally developed in? Also, where did you download or acquire the Tag Engine? Is it related to DSC Tag Servers? We'll need a little more information on the Tag Engine since this might be from a 3rd party.
"Get Published Tag Names.vi" may help.
Also please note that Datasocket fnctions can be used to access SV data and since they will accept an URL they are very handy for programic redirection of tags.
Ben