05-20-2005 12:43 PM
05-20-2005 12:53 PM
05-20-2005 12:56 PM - edited 05-20-2005 12:56 PM
Message Edited by John Rich on 05-20-2005 12:57 PM
05-20-2005 02:27 PM

Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.05-21-2005 03:08 PM
05-23-2005 08:22 AM
05-23-2005
09:17 AM
- last edited on
01-31-2025
11:19 AM
by
Content Cleaner
I can also tell you that if I were to write such a book, it would be organized in a very different sort of way. The first chapter, for example, would discuss data reprentational forms in Labview (binary trees, flat strings, and so forth. I don't see how anyone could begin to understand Labview without knowing that). And the first example I'd give wouldn't be anything like anyn of Bishops. Instead, I would start with some simple application anyone can relate to--- like a VI that converted Farenheit to Centegrade. I would start by saying something like this: "Do solve this problem, first you have to give the user a means of entering a temperature to be converted, and a way of reading the result. You this in the Front Panel mode by... etc etc. Then, you have to create a function that actually does the conversion. That you do in Block Diagram mode by... Now, suppose you want to save the result in a file? That you do by..." In essence, this first example would be paradigmatic of the Labview design process-- one which more or less would be a simplified model for all designs.
The way you say you would write a book on the subject is pretty much how the LabVIEW Basics 1&2 classes are setup. We start out by introducing the basic parts of LabVIEW (front panel, block diagram, controls and indicators, data types, etc..) then start with a simple exercise. Then throughout the class, we build on the original exercise to eventually build an entire application that really does something.
The bigger point I was trying to make was that Labview simply isn't designed for a "logic designer's" point of view. Fine. How then *is* it designed? Actually I hoped I might get an answer to that question out of my initial post. Perhaps I still will. Perhaps I might even figuring out the answer to that question myself.
I think you missed my point. You're correct that LabVIEW isn't designed from "logic designer's" point of view. But I don't think it's advertised as such either. LabVIEW is a programming language just as C++ or Visual Basic is. It gives you all the pieces you need to do what need to do. Your job is to figure out which ones you need and what order to put them in. If it was designed to be a logic designers tool, then the person using it to build a vision inspection system for an assembly line would have a really hard time. Look at it this way, if C++ were written from a "word processors" writer point of view, a person trying to write a spreadsheet application would have a hard time. LabVIEW is no different except in how you create your application. Instead of lines of code, you use graphic symbols.
LabVIEW is a tool that anyone can use to build an application. There's a learning curve involved for the new user and we've all been there. When I started with LabVIEW about 5 years ago, I had the exact same problem you had with the boolean controls. How do I make a momentary switch? Like you I figured it out by asking the question. I eventually discovered that the LabVIEW Help is really one of the better Help systems that applications ship with. It's not perfect, none of them are. But there is a wealth of information in there if you look. And if you think something is missing, posting it here will get the attention of the folks at NI (yes, they do monitor this forum. Anybody whose name and participation bar appears in blue works at NI) that write the Help files and there's a good chance your suggestion will be implemented.
I hope that clears up your "How is it designed" question a bit. LabVIEW is used for many different types of applications. Just look at the number of addon packages available for LabVIEW and you'll get an idea of it capabilities.
Ed

Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.05-23-2005 11:44 AM
05-23-2005 01:34 PM
05-23-2005 01:35 PM