LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Momentary switches and sequential logic--- seeminly not available in Labview



@Ed Dickens wrote:
Good thing you don't use a squirrel for your icon. I'd be having flashbacks from many years ago. 😉


Ed, who's fearless leader?
Dennis?

Have you ever seen True Lies?

___________________
Try to take over the world!
0 Kudos
Message 21 of 63
(2,715 Views)


So, what is the Programming Model of Labview? Is it a place/transition net? A colored Petri Net? What? This is the queation I have been asking for some number of days now.




The programming model is data flow. Data flow means that an output will not be generated until all of its inputs are present. If you are trying to understand the under lying execution model of a vi in terms of its parallelism through the concept of nets, you might refer to the list of patents in the 'about' menu selection and investigate those.
0 Kudos
Message 22 of 63
(2,644 Views)

Ed, who's fearless leader?

He's Pottsylvanias Dictator.;)


Dennis? Have you ever seen True Lies?

I've seen it, but must have missed where it was referenced in his notes

OK, now we've really strayed. 🙂

Ed


Ed Dickens - Certified LabVIEW Architect
Lockheed Martin Space
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
0 Kudos
Message 23 of 63
(2,640 Views)
The thread is rather long now but I would like to make sure the Moose Man get one last tidbit.

"Design Pattern" search on this site should reveal some of the designs that are often used in LV.

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 24 of 63
(2,630 Views)
Although we strayed, just let me put this in, since it's a great line.
When Jamie Lee Curtis is recruited by Arnie's people, her handler tells her:
"My code name will be Boris, and yours will be"
Jamie (barging in, very excited and hopefull): "Natasha?".
Handler (still very cool and unexcited, completes the sentence): "Doris".
You just have to see it. It's much better on screen, especially in the context of the movie.

___________________
Try to take over the world!
0 Kudos
Message 25 of 63
(2,623 Views)

@tst wrote:
Although we strayed, just let me put this in, since it's a great line.
When Jamie Lee Curtis is recruited by Arnie's people, her handler tells her:
"My code name will be Boris, and yours will be"
Jamie (barging in, very excited and hopefull): "Natasha?".
Handler (still very cool and unexcited, completes the sentence): "Doris".
You just have to see it. It's much better on screen, especially in the context of the movie.


I remember now.

It was late when I posted that last night and I just finished some headache producing homework (working on another degree). I'm surprised I rememberd who Fearless Leader was 😛


Ed Dickens - Certified LabVIEW Architect
Lockheed Martin Space
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
0 Kudos
Message 26 of 63
(2,611 Views)
OK,

but who owned the Way-back Machine" and what was his assistants name?

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 27 of 63
(2,605 Views)
Mr. Peabody and Sherman. What did I win? A moose and a squirrel?
- tbob

Inventor of the WORM Global
Message 28 of 63
(2,618 Views)
DOH!!! You beat me to it 😞


Ed Dickens - Certified LabVIEW Architect
Lockheed Martin Space
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
Message 29 of 63
(2,600 Views)
Dennis Knutson
Proven Enthusiastic Veteran


Dennis Knutson

Reply 13 of 29

Viewed 220 times
I'm still not sure how to quote posts here, so I just did a cut and paste.
Since the time of your response, I've basically given up on Labview. The book I have is absolutely horrible, and as far as local NI support goes, in 4 days the local rep couldn't find time to tell me the location of a user group meeting. In several messages, he's defended his non-response, but still not told me where the meeting are held (My hunch is that they are a prohibitively large distance away anyway, 40 miles of bumper to bumper traffic).
Had I read your post earlier, I might not have given up so readily. Part of the problem, I now know, is that I am working with an evaluation copy of 7.0, and do not have this very crucial document you cite. Also, I've sine figured out on my own that "Event-Driven Programming" was the short answer (maybe even the complete answer) to the question I originally posed in this thread. The main reason I never suspected this is because event-driven programming, which should be mentioned in the first chapter of any good book on Labviewe, isn't mentioned until the last chapter of this utterly horrible book I have. And then, on top of that, the author got particularly lazy in this chapter, and admittedly covered the material in less detail--- not even including a singe example of an event-driven programming. (Since he only allots a single page of text to it, perhaps he rationalized that it wasn't worth the trouble of writing a vi to illustrate it). In any case, Professor Bishop really threw me off here.


1 rating - 5.0 average

The "sequential logic design paradigm" is not the paradigm that LabVIEW or NI represents at all. The paradigm presented is dataflow with graphical programming elements. Data flow is much more than data flows in and data flows out. Put simply, data flow means a function does not execute until it's data is present. Unlike text based languages where you control the order of execution by the order of statements or goto's or function calls, execution order is determined by when data is present. This allows for inhereent parallel tasks in that if you don't connect functions with some sort of data, the functions will execute in parallel. LabVIEW is not so specialized that it only supports logic design. A logic design program can be created with LabVIEW just as you can create a logic design program in C++ or VB. A computer science class is much more applicable to thinking about LabVIEW than a digital design course.

It's unfortunate that you've found the book and the tutorials lacking. I can't comment on any because I've never read a beginners book or tried any of the tutorials. I firmly believe that there is no replacing a class with a real, live instructor. Many cities have classes so I would encourage you to try that route. If that's not possible, then try to find a local user group and of course, make use of this forum.

Lastly, let me point out a couple of things. LabVIEW ships with a document called the LabVIEW Development Guidelines. It discusses top-down and bottom-up design approaches and includes a style guide that should be read by everyone. And, since you mention state machines, this architecture is covered in a couple of shipping examples. There is also an add-on for LabVIEW in which you can graphically draw a state machine and then generate the code.
0 Kudos
Message 30 of 63
(2,539 Views)