Jump to content

Relink to all...?


psychomanu

Recommended Posts

Hi guys,

I'm new to this forum, but already thrilled with what I saw. I was amazed by the scripting possibilities. My question : has anyone cursed at the "relink to subVI" feature when there were many instances of the subVI that changed? Especially in big projects this can be annoying. There doen't seem to be a "relink to all" option.

Maybe someone here can do this using scripting?

Thanks for the ideas,

Manu

Link to comment
Hi guys,

I'm new to this forum, but already thrilled with what I saw. I was amazed by the scripting possibilities. My question : has anyone cursed at the "relink to subVI" feature when there were many instances of the subVI that changed? Especially in big projects this can be annoying. There doen't seem to be a "relink to all" option.

Maybe someone here can do this using scripting?

Thanks for the ideas,

Manu

2217[/snapback]

Here you go

PJM

Download File:post-121-1097506860.llb

Link to comment
  • 1 year later...
  • 4 months later...
Ahh.. this is just what I needed. I did need to revise your top-level VI just a bit to get it to stop err'ing out on the vi's without block diagrams or those from vi.lib that were password protected but otherwise it worked like a champ! Thanks!

FWIW, I've attached my modified version of your tool.

WMassey, just needed to relink a hundred VI's and I did a LAVA search and found this thread. Good work to all! This is what LAVA is all about :thumbup:
Link to comment
  • 1 month later...
Here you go

PJM

Dear PJM

RealinkAll llb not function correctly in labview 8,

because in labview 8 the class CaseSelector is renamed in CaseStructure.

the vi with this are :

Get Container Objects.vi

Container Class Name to Enum.vi

i have correct this proplem and it work prperly.

PSDV

Link to comment
Dear PJM

RealinkAll llb not function correctly in labview 8,

because in labview 8 the class CaseSelector is renamed in CaseStructure.

the vi with this are :

Get Container Objects.vi

Container Class Name to Enum.vi

i have correct this proplem and it work prperly.

PSDV

Yes, I am aware of the issue. Actually if you dig around in this scripting forum you will find a lot of utilities suffering from the same problem. NI Changed the class Name. The easiest solution, in the case of utilities I wrote, is to add casestructure to the list in Get Container Objects.vi and in Get Container Objects.vi [if you want it to remain usable in previous LV version (like 7.0 or 7.1)]. Attached below is an untest version with these changes.

PJM

Download File:post-121-1152027991.llb

Link to comment
Yes, I am aware of the issue. Actually if you dig around in this scripting forum you will find a lot of utilities suffering from the same problem. NI Changed the class Name. The easiest solution, in the case of utilities I wrote, is to add casestructure to the list in Get Container Objects.vi and in Get Container Objects.vi [if you want it to remain usable in previous LV version (like 7.0 or 7.1)]. Attached below is an untest version with these changes.

PJM

Dear Pjm

your utility like OpenBlockDiagram Refnum it's very interesting..

you can send me the library with all vi.

thanks

PSDV

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.