08-20-2015 04:36 PM
It did give me the Popup Menu "Create Missing Endpoint", but nothing happens when I choose that option. But that's certainly progress ...
Wow! I just created a Snippet to show you, and when I did that, the missing Endpoints appeared! Magic. Was I supposed to open or close something? I swear that I had two big square VIs with grey Question Marks at the point I selected and said "Create Snippet ...".
So I'll play a bit more, and will report any failures. If I figure out the "trick" step I need to take, I'll also mention it.
BS
08-20-2015 04:38 PM
Bob_Schor wrote:
It did give me the Popup Menu "Create Missing Endpoint", but nothing happens when I choose that option. But that's certainly progress ...
We just found that bug too. It'll be included in the next fix.
08-20-2015 04:39 PM
There is a bug in the redraw code in LabVIEW where VI calls that get re-linked don't always redraw their icon properly. It happens even without Channels, but for some reason with Channel Endpoints it seems to happen much more often. Usually if you wave your mouse around the endpoint you can get it to redraw, but if that still doesn't work just closing and opening the VI should do it. Also, the run arrow will unbreak even if the drawing issues are there.
I'm working on a fix that will work for Mac as well.
08-21-2015 03:49 PM
Here's the fix that works on all platforms, handles the snippets right when they come from other people's machines, and handles the case where the endpoints are already generated but at a different path than the last saved path (because of a different user name). 🙂
Save the first attached file to here:
resource\Channels\_ChannelXNodeSupport\FindOrMakeChannelLibrary.vi
Save the second attached file to here:
resource\plugins\PopupMenus\edit time panel and diagram\ConfigureChannelEndpoint.llb
Thanks for y'all's patience while we work out the kinks.
08-21-2015 04:34 PM
Thanks for getting this done so quickly. If I am still waiting for windows to reboot and install LV toolkits and versions I will ahve a bunch of time next week but I may be deep in FPGA timing digrams.
Wonder what happens if I drop a channel on an FPGA.... Haven't even installed it on my windows VM system to test. But I assume that is just duplicating the FIFO primitives.
08-21-2015 05:14 PM
sth wrote:
Wonder what happens if I drop a channel on an FPGA.... Haven't even installed it on my windows VM system to test. But I assume that is just duplicating the FIFO primitives.
Channels are, unfortunately, not currently supported on FPGA.
08-21-2015 05:30 PM
Dragis wrote:
Channels are, unfortunately, not currently supported on FPGA.
Key word: currently. 🙂
08-21-2015 07:14 PM
I downloaded and installed the two replacement LLBs. The simple "Replace Missing Endpoint" example I tried which worked before works better now. However, my saved copy of Sth's Snippet still doesn't have a right-click option to fix the endpoints for any of the four missing endpoints.
PC. Win 7 (x64), LabVIEW 2015 32-bit (downloaded from NI two weeks ago).
BS
08-22-2015 08:27 PM
The FIndOrMake Channel uses the old "Search and Replace Pattern.vi"! I hadn't seen that icon in a long time. Some of my older code still has that but I stopped using that when the modern "Search and Replace String" came out with the Regexp option! Just a nice trip in the "WABAC (wayback) Machine".
Both of those VIs downloaded with a July 25th date. Not sure what is up with that but since installing them everything is a bit wonky and I can't create channel reader nodes at all of any type. I'll put the FindOrMakeChannel back to the original and see if that fixes things.
08-22-2015 09:55 PM
I just duplicated the original issue. I can have 2 channels of different or same in a loop communicating to differnet loops. But if one of them is changed to a "AQ Favorite CHannel" then the VI will not compile for an undisclosed reason.
This doesn't work even if there are 2 AQ Favorite Channels. For some reason, two channels through a loop boundary leds to a compile error if one or more are an AQ Favorite Channel.