LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Use of tunnels vs. shift register for queue ID

There is one advantage of the shift register over the tunnel. If the loop has the possibility of running zero times, the shift register will pass the input value directly to the output value. If you wire the refnum into the loop via a tunnel, and then back out via a tunnel, the output tunnel will be uninitialized if the loop executes zero times. This is good to keep in mind if you are, for instance, performing one operation on the queue before the loop, performing N operations in the loop, and then performing several after the loop. It spares one from having to wire around the loop for the purpose of handling the zero iteration case.

Jason
Message 11 of 23
(3,716 Views)

Here is a picture of my example:

Message Edited by tbob on 03-23-200602:33 PM

- tbob

Inventor of the WORM Global
Message 12 of 23
(3,712 Views)
Thanks tbob,

Having just started work and suffering from caffiene drawback, I just had an idea.  I know experience tells me that such ideas should be kept in a dark place and preferably buried within a strong metal box, but anyway.....

How about a 3D-view of the objects on the block diagram to enable us to look "under" structures to see what's hiding there?  Or maybe just layers which we can then scroll through.  Man, just think of the mess we could produce with something like that!

You *were* warned.

Shane.
Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)
Message 13 of 23
(3,704 Views)

Hi Shane,

You wrote,

"

How about a 3D-view of the objects on the block diagram to enable us to look "under" structures to see what's hiding there?  Or maybe just layers which we can then scroll through.  Man, just think of the mess we could produce with something like that!
"

NI already has a patent on the 3D LabVIEW block diagram.

The link I have for that discussion is now invalid because of the Exchange update.

Maybe Molly can find it.

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 14 of 23
(3,688 Views)
Hi Shane, Hi Ben,

The idea of 3D view on a diagram should not be rejected without thinking/discussing a little bit more about it... Of course that would let developers draw huge "gaz turbines"* but scroll bars on the diagram also allow to draw 10-square-screen diagrams...
That comes back to the point of having rules and only break them under strict/well-known conditions.

There is, I think, potential wise uses for 3D view... they just have to be defined, no ?



* french expression 😉 "une usine à gaz" (litteraly : "a gaz factory")

Message Edité par TiTou le 03-24-2006 02:54 PM


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

Message 15 of 23
(3,686 Views)

There certainly are precedents to the basic idea.  CAD for mechanical design has handled the idea of visible vs. hidden lines for decades.  I suspect there are similar viewing options for electrical layouts of multi-layer boards.

Hidden wires could be dotted and/or partially transparent.  Not directly selectable unless clicking on a visible portion.   Hmmmm...   I kinda like it!   But oh! the mess we could make!

-Kevin P.

ALERT! LabVIEW's subscription-only policy came to an end (finally!). Unfortunately, pricing favors the captured and committed over new adopters -- so tread carefully.
Message 16 of 23
(3,673 Views)
Here is yet another template for queued state machines.  By having two separate error threads, the code isn't intefered by the queue wires.  No local variables, and the queue reference can be propagated across all state cases.

Message Edited by tbob on 03-24-200612:33 PM

- tbob

Inventor of the WORM Global
Message 17 of 23
(3,654 Views)

JPD found what I was after.

http://messages.info-labview.org/2000/07/27/20.html

3D LabVIEW.

Ben

 

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 18 of 23
(3,637 Views)
You mean something like this?


Message Edité par JeanPierre le 03-25-200609:35 PM



LabVIEW, C'est LabVIEW

Message 19 of 23
(3,631 Views)

Anyone know where you can buy 3d glasses these days? Smiley Wink

I was imagining something a little different. I was thinking a network fo icon faced cubes floating in 3-space connected via wires.

If I find time, I'll post an example.

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 20 of 23
(3,593 Views)