04-20-2018 02:17 PM
A colegue is having fit trying to build an application that uses channel wires. He has whacked away everything and he can build OK if the channel wires are "diagram disabled" out.
Anyone else seen issues?
Ben
04-21-2018 12:51 AM - edited 04-21-2018 12:52 AM
In my recent application i have 7 modules each with one Stream Channel. I build it regularly, and it works always ok.
04-24-2018 04:47 PM
I've got an application that "spawns clones". Each Clone includes three independent VIs that communicate among themselves and with each other, not to mention with the "Mother Ship", using Channel Wires. I would estimate that a Clone has on the order of 10 Channel Wires, and at full strength, we designed this to run up to 24 Clones (turns out we tend to saturate our 100-Base-T line at around 12 Clones). So conservatively-speaking, I've got an executable that runs fine with on the order of 100 Channel Wires (mainly Messenger Channels).
Bob "Channel" Schor
04-25-2018 07:38 AM
I should update to close out this query.
We moved the code to another machine and it built just fine. So I am calling this an isolated issue for now.
Thanks for your replies!
Ben
05-18-2018 11:02 AM - edited 05-18-2018 11:04 AM
I have an application that won't build as long as it has a tag channel in it. Builds fine without. Tested trying to build an application with only the tag channel (used the same way) and it builds just fine. I'm clueless.
FYI. It worked just fine in 2016. Only became a problem with 2017
05-18-2018 11:09 AM
On the surface it sounds like the issue my associate had.
Moved to another machine and it built OK.
Ben
05-18-2018 11:52 AM
Since that application is part of a larger project, on a whim I copied that file and it's dependencies to a new project to test it. Built the executable just fine. So bizarre
05-18-2018 11:58 AM - edited 05-18-2018 11:59 AM
@Mancho00 wrote:
Since that application is part of a larger project, on a whim I copied that file and it's dependencies to a new project to test it. Built the executable just fine. So bizarre
After upgrading from 2016 to 2017, did you open your top level vi? Also did you try to rebuild all VIs in the project, before attempting to build the project? I guess you did, but if not, the new LabVIEW version might not created all of the Channel definitions for your old project...
05-18-2018 12:08 PM
@Blokk wrote:
@Mancho00After upgrading from 2016 to 2017, did you open your top level vi? Also did you try to rebuild all VIs in the project, before attempting to build the project? I guess you did, but if not, the new LabVIEW version might not created all of the Channel definitions for your old project...
Yes, I opened the top level VI. Even tried force recompile (<Ctrl> + <Shift> + Run Button). Everything works in development; it just won't finish build.
05-18-2018 05:43 PM
For what it is worth, I have an application that uses a lot of Channel Wires (it "spawns clones", each of which consists of an Asynchronous Loop having 1 Tag and 3 Messenger Channels itself, and containing three parallel "internal" loops that have a total of 8 Messenger Channels interconnecting them with their "parent" clone + 1 Stream Channel for file streaming. I've tested this with 10 such spawned clones (it's collecting behavior data, including video, from 10 stations). In LabVIEW 2016, it builds fine and runs like a top. In LabVIEW 2017 (which I've not been able to safely install on my own PCs, but have running on a test system in the IT Support Shop), it is difficult to load in Development Mode without "broken wires". This has been reported to NI, and a CAR has been filed (it's apparently something to do with the Messenger Channel, my Favorite Channel Wire).
So I have to say that while I am a strong believer in and proponent of Channel Wires, and use them a lot, I've seen problems "introduced" in LabVIEW 2017, and feel somewhat responsible for not having spotted them earlier. I was first alerted to the problem when I presented my Project to some colleagues, one of whom tried to load it in LabVIEW 2017 and found the broken arrows. This happened about three months ago, which is when I managed to build a test system running LabVIEW 2017 on a Lab PC. At that time, I notified NI about the problem, and they were able to duplicate it and file a CAR.
You might consider saving your Project for LabVIEW 2016 and seeing if you can build an Executable with that version.
Bob Schor