LabVIEW Channel Wires

cancel
Showing results for 
Search instead for 
Did you mean: 

Aristos Queue's Favorite Channel

There are a number of channels that ship with LabVIEW 2015. And in the office, we have built many channels, experimenting with different options and requirements. The channel attached to this post is my personal favorite channel. It is fast -- only slightly slower than the raw queue refnums, but comes with functionality the raw queues do not (directly) give me, so the small (1.3x) speed loss is acceptable (remember that the queues are blazing fast and even 15.0x slower is not even noticeable in most applications). This channel covers the bulk of use cases that come up in my personal work, including all the weird cases for stopping both ends of the pipe, signaling the reader without actually providing data, and so on.

This channel does not permit forking. It is meant for point-to-point delivery of data.

To install, unzip the contents of the attached file into this directory:

           resource\Channels\AQ Favorite HS Pipe

An already-built demo VI can be found here:

           resource\Channels\AQ Favorite HS Pipe\DEMO of AQ Favorite HS Pipe.vi

As usual with channels, the specific type of the channel will not already be on your machine. You will need to right-click on the left-most missing subVI and choose the menu item to re-create the missing subVIs.

Note: The 1.3x performance number is not grid tested and may represent the low end of the variance range instead of the average. Still, even wide error bars should be fine for most users.

0 Kudos
Message 1 of 32
(10,094 Views)

Here is an example panel/diagram that may give you some insight into the flexibility of this channel. Note the ability to do an abort from the consumer. JeffK has another approach to stopping from the consumer that is useful for comparison. I will ask him to post it.

Untitled1.png

Untitled2.png

0 Kudos
Message 2 of 32
(8,462 Views)

Was the Demo supposed to be in that ZIP file?  [It wasn't in mine ...]

BS

0 Kudos
Message 3 of 32
(8,462 Views)

No. I just posted the images yesterday to show usage pattern.

0 Kudos
Message 4 of 32
(8,462 Views)

The Demo is mentioned in the message as being in the zip file but I don't see it.

I unpacked this and installed it, but when I attempted a very simple hookup I get a "VI failed to compile" message.  I wil try to recreate your demo above.

Note this is an attempt to run it on LV 15, 64 bit, Mac OS X which could be an issue? 🙂  Everything inside looks cross platform and none of the components that I have found have broken arrows so it should be good.

It appears very useful with the stopping from both ends of the pipe.

I have all sorts of questions now....  I duplicated the demo, which nicely shows the pipe accumulating values as time goes on and when the producer stops the values keep coming through until the pipe is drained.

This may be a new LV 15 unexpected feature, but the front panel graph stops updating when the BD window size is adjusted.  The data continues, but the graph freezes and jumps to an update while that window is being changed in size!

LabVIEW ChampionLabVIEW Channel Wires

0 Kudos
Message 5 of 32
(8,462 Views)

sth wrote:

Note this is an attempt to run it on LV 15, 64 bit, Mac OS X which could be an issue? 🙂 

Sorry to crush your theory... this channel originated on my Mac. 64-bit even. Not sure what the issue would be. Did you send in the crash log?

0 Kudos
Message 6 of 32
(8,462 Views)

Not feeling crushed..  Just used to clarifying that I am not following the usual assumption. (and your example above is certainly the more common platform)

There was no crash log.  The "Error Log" window pops up and tells me that it failed to compile.  I was doing something with both lossy pipes and the AQ channel.

(hmm, pasting graphics looks good in the editing window but doesn't actually post)

Screen Shot 2015-08-19 at 08-19 14.07.35.png

LabVIEW ChampionLabVIEW Channel Wires

0 Kudos
Message 7 of 32
(8,462 Views)

I can't attach files, but here is a screen shot of the BD

Screen Shot 2015-08-19 at 08-19 14.10.29.png

LabVIEW ChampionLabVIEW Channel Wires

0 Kudos
Message 8 of 32
(8,462 Views)

Sth,

     To what is the channel in (what I assume is) Loop 2 connected?  It doesn't seem to be a Snippet (and why not?  If you "Snippetted" it, forgive the made-up word, we could play with it immediately and wouldn't have to ask silly questions like mine).

Bob Schor

0 Kudos
Message 9 of 32
(8,462 Views)

Hmmm....   Lithium made me log out and back in...

Loop 2 is just displaying the other end of the channel.  Sorry I didn't have that displayed, but for my sins here is the results of my snippeting....

Jeffs Wire Demo Snippit.png

LabVIEW ChampionLabVIEW Channel Wires

0 Kudos
Message 10 of 32
(8,462 Views)