LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to adapt code for new RT target

I would like to adapt a old VI with about 20 subVI's I wrote some time ago for a cFP system to be part of a larger VI on a different cFP RT  target.  After I add the old files to the Project explorer under my RT target, is there a quick and easy way to change the target channel assigments in the old code to the new channels for the hardware the code will run on, or do I need to go into each subVI and delete the old channel assigment and then replace with the new RT target channel?

 

Thank you for the help.

 

 

Danny
0 Kudos
Message 1 of 5
(2,694 Views)

Hi Danny,

 

I came across this exact problem myself recently, and after speaking with NI Technical Support I was told there is no way to remap channel assignments in VIs. You've got to go through every VI and replace each node individually Smiley Sad

 

Thoric

Thoric (CLA, CLED, CTD and LabVIEW Champion)


0 Kudos
Message 2 of 5
(2,681 Views)

Danny,

 

I believe we have been corresponding about this same issue. I will confirm what Thoric stated and say that currently there is no way to implement what you would like to do. I have submitted a product suggestion to R&D to implement a feature like this in the future. I would also encourage you to submit a product suggestion so that R&D will see the request from an internal and external perspective.

Stephanie A.
Americas Marketing Manager
National Instruments
0 Kudos
Message 3 of 5
(2,666 Views)

StephanieO,  Yes, we did get your email about the issue.  I didn't think there was a way to do it, but I was hopeful that it there was to same me a lot of time.  Thanks again for the help.

Danny
0 Kudos
Message 4 of 5
(2,656 Views)

Just to provide another avenue for people desperately looking for a solution to this problem: I did write a wizard that will remap block diagram nodes for you. It uses LabVIEW scripting. It's far from perfect, and could use some feedback from other users, but it saved my backside so I thought I'd share it with the community.

Follow this link

Thoric (CLA, CLED, CTD and LabVIEW Champion)


0 Kudos
Message 5 of 5
(2,652 Views)