LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Does labview have a "GO TO" function?

Google Translate:


... I am pressed for time and I need fast, accurate answers ...

The most concise answer is the link that for(imstuck) posted back in July 2011, linking to the state machine tutorial. The paper describes enums, shift registers, case structures, and loops. 

 

I cannot think of a more accurate way to answer questions, than linking to reading material which has been peer-reviewed.

_____________________________
- Cheers, Ed
Message 21 of 34
(3,118 Views)

Google Translate:

 


Well here I mud so I'll answer you in French as I stop the balls to answer you in English it's getting!!

If you have no better answer than "Takes courses", "Read the tutorials" .... does not reduce your strawberry on the forum for questions / answers from person to person!! I have all my time I'm happy to read all your tutorials as you con me good advice but here I am pressed for time and I need fast, accurate answers. Then your actions all you moldy guards!
rdes !
So this person is "pressed for time" and needs "fast, accurate answers".  Meanwhile we should waste our time explaining the most basic levels of LabVIEW knowledge from someone who should have taken the basic LabVIEW tutorials before starting their project.
0 Kudos
Message 22 of 34
(3,107 Views)

So crovax goes on the list of people who I will never answer under any circumstances. Ignorance and rude behavior in two languages. That must be some sort of record.

0 Kudos
Message 23 of 34
(3,097 Views)

@smercurio_fc wrote:

Hmmm... I'm thinking something got lost in translation. I know I can get grumpy if my strawberry gets reduced.


Indeed!

Google actually softened the message a lot. I could give a translation but clearly there is no need for it.


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

Epictetus

Antoine Chalons

0 Kudos
Message 24 of 34
(3,074 Views)

@TiTou wrote:

@smercurio_fc wrote:

Hmmm... I'm thinking something got lost in translation. I know I can get grumpy if my strawberry gets reduced.


Indeed!

Google actually softened the message a lot. I could give a translation but clearly there is no need for it.


I figured as much. Maybe I should have responded in Italian. There's a few Italian words I know that don't have "adequate" English transalations. Smiley Very Happy

0 Kudos
Message 25 of 34
(3,066 Views)

Ben wrote:

 

I view that post as a gift given freely and without string attached.

 

Ben

 



Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.

Message 26 of 34
(3,060 Views)

@for(imstuck) wrote:

Ben wrote:

 

I view that post as a gift given freely and without string attached.

 

Ben

 



Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.


Give a man a strawberry and you feed him for a day. Reduce a man's strawberry and make no friend.

 

Wait. Are we on Breakpoint? And isn't a strawberry reduction some kind of dessert?

=====================
LabVIEW 2012


Message 27 of 34
(3,052 Views)

@crovax39 wrote:

Sorry for mistakes, I'm french ^^


That explains a lot.

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 28 of 34
(3,020 Views)

@dav2010 wrote:

When I took Fortran in college many years ago, there was a feature where you could call a sub-routine by using this command "GO TO" and the complete syntax was something like "GO TO 100" and that would take you to line 100 and start executing line 100 and beyond (pardon me if I am not remembering it exactly correct).



The GOTO statement does not call a subroutine, it simply goes to a given statement in the same program. It is one of the few early statements that are considered harmful by many from a modern programming perspective.

 

This is pretty language independent and trying to translate it into LabVIEW obviously won't result is reasonable code there too. This is just my opinion. In a dataflow language, there are typically many hard data dependecies, so jumping to a different place in the code will typically not be able to keep dependencies intact and thus will not make a lot of sense.

 

If you feel that LabVIEW lacks a GOTO mechanism and really needs one, you could suggest it in the LabVIEW idea exchange. See how far it gets. Make sure to be very precise describing how it should look like and how it should function, as well as including some use cases. 😄

 

Not being able to identify code elements from a picture is a common forum problem (but typically not with basic primitives :o), that's why I typically insist that VIs or snippets be posted instead of images. Many primitives look similar (e.g. many array operations) and they can even change their design and shape depending on how they are wired. Thus you might see an icon that cannot be found (pixel by pixel) in the palettes at all. Having actual code makes it trivially easy: Just press ctrl+H for the context help and hover over the element in question. Easy as that!

 

I am happy you kept your quote in french to keep it in context of cultural stereotypes. 😄

Message 29 of 34
(3,010 Views)

Ctrl+H is your friend, the popup help and the linked descriptions basically makes all programming into included tutorial!

/Y 

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 30 of 34
(2,999 Views)