What's the real advantage to LabView?

Hi
I just started working with LabView to evaluate it's potential for
controlling an experimental apparatus I'm building, and I'm trying to
decide between it and C++. I've heard many recommendations of LabView,
but I've been disappointed with it so far.
My chief objection is program control. LabView to be sure does have nice
GUI control objects that are easy to implement, but the lack of
event-driven control structures is frustrating. After looking things over
and experimenting a lot, I figured out a way to do GUI events with
Synchronization VIs and a Case Structure, basically building my own
message loop, but then I started to think - isn't this what I used have to
do 10 years ago before the days of C++ class
libraries? Sure, I'm saving
a little time with my basic GUI controls, but to really customize controls
I have to use ActiveX (LabView's "custom" control facility is pretty
weak) too ,and if I used C++ I could get away with plain old child
windows. I know LabView couldn't be as popular as it is if it didn't
offer more advantages, so what is it I'm missing here? Is it just that
LabView is easier for non-programmers?
I'm also a bit shocked that the only While Structure (which perhaps should
have been called the "Until" Structure) is execute-and-test. There's a
reason why most other programming languages give you both
execute-test-loop and test-execute-loop control structures. That seems
like a big oversight that should have been easily correctable. I know I
can fix it by adding some more logic to it, but once again I find myself
paying for slightly easier GUI control object implementation by having to
jump through all sorts of program control hoops.
Thanks,
Ben Buckner

> I just started working with LabView to evaluate it's potential for
> controlling an experimental apparatus I'm building, and I'm trying to
> decide between it and C++. I've heard many recommendations of LabView,
> but I've been disappointed with it so far.
>
> My chief objection is program control. LabView to be sure does have nice
> GUI control objects that are easy to implement, but the lack of
> event-driven control structures is frustrating. After looking things over
> and experimenting a lot, I figured out a way to do GUI events with
> Synchronization VIs and a Case Structure, basically building my own
> message loop, but then I started to think - isn't this what I used have to
> do 10 years ago before the days of C++ class libraries? Sure, I'm saving
> a little time with my basic GUI controls, but to really customize controls
> I have to use ActiveX (LabView's "custom" control facility is pretty
> weak) too ,and if I used C++ I could get away with plain old child
> windows. I know LabView couldn't be as popular as it is if it didn't
> offer more advantages, so what is it I'm missing here? Is it just that
> LabView is easier for non-programmers?
>
> I'm also a bit shocked that the only While Structure (which perhaps should
> have been called the "Until" Structure) is execute-and-test. There's a
> reason why most other programming languages give you both
> execute-test-loop and test-execute-loop control structures. That seems
> like a big oversight that should have been easily correctable. I know I
> can fix it by adding some more logic to it, but once again I find myself
> paying for slightly easier GUI control object implementation by having to
> jump through all sorts of program control hoops.
First off, note that I'm not the typical user as I work for NI, on LV. One
of the biggest advantages to LV is that it is a dataflow language that works
largely by value. This means very few side-effects in a language that
supports fine grained parallelism. The other features that stem from these
are garbage collection, easy to build/test code modules, and lots of public
domain SW in the instrumentation and analysis areas. Also, LV is very open.
Since most of its driver integration is done through DLLs and CINs, that
means that you can too. You can call DLLs, automation servers, integrate
ActiveX controls, communicate over TCP, and lots of other protocols; so your
hands are rarely tied to just what NI ships with LV.
The UI elements make many instrumentation programs easy and simple to write.
They don't give as much flexibility as a framework written in C++, but they
perform the 80% case with much less effort.
If you are comfortable with C++, and aren't looking to simplify your
programming tasks, then you might want to look towards the Visual Studio
plug-ins NI sells like Componentworks or Measurement Studio. NI doesn't
attempt to limit your options to just LV. They will offer more flexibility
than LV, but will not have some of the advantages that LV brings to the table.
As for how many loop types are built in, again, the goal was more one of
simplicity than of flexibility. In reality, I almost never use a do loop
or a while loop in C/C++. I also rarely need to add anything to a LV
loop to make it pre-test. I also don't write very complicated UI's in LV.
If I do, I build a state-machine that takes care of UI transitions. True,
LV could build this stuff in, and it probably will in a future release, but
in the meantime it has lots to offer. Is it what you are looking for?
Greg McKaskle

Similar Messages

  • What are the real advantages of ultilizing Teststand test engine as opposed to stand-alone Labview programming

    The real problem that i am having is trying to keep open the VI that is called by Teststand for the user to enter values. Sometimes the window does not even appear to be open. Do i need to add delays.

    hi,
    I guess you do have a while loop in your VI to allow for user input!!
    It might be that the VI front panel is going behind the main panel. In which case you need to make the VI behave as a modal dialog. If you have TestStand 2 then there is an example ModalDialog in the examples folder. If you are still using Teststand 1.0.x then you can get the same example in the Resource Library. Do a search for Modal Dialog.
    Hope this helps
    Ray Farmer
    Regards
    Ray Farmer

  • SSD: What's the Real Advantage?

    I am planning to but a new iMac and was thinking about getting a SSD. But I'm curious as to what the advantages really are? If its just speed, then IMO it's not worth the extra $500.00. I always though that SSD drives are more stable and had a longer lifespan. I'm reading things to the contrary though.

    Don't know where your information is coming from. They run faster, cooler and have no moving parts to wear out. The drives at Crucial and OWC have an estimated 10 million cycle life and are gaurnteed for 3 years. My boot time went from a couple of minutes to about 25 seconds, Applications launch in a flash. If you have Pageouts due to not having enough RAM this too is faster and less demanding on the Drive (no moving parts). For me it was the best investment I could make in my machine. I wouldn't buy a SSD that will store everything as they are still pricey but for all my Applications and enough room for project data is a must, IMHO.

  • What are the limitations of using labview 8.5.1 developers suite verses a real-time module in field point applications?

    What are the limitations of using labview 8.5.1 developers suite verses a real-time module in field point applications? Can an exe. be loaded onto a field point controller or does the controlling program have to reside on a PC for example?

    centerbolt is correct, you can't load a .exe or even run a program on the fieldPoint controller unless you have the Real Time module.  However, that does not mean you can't use your FieldPoint bank without the Real Time module. 
    From LabVIEW for windows you can make calls to the fieldpoint IO using the fieldpoint read/write functions. 
    This program runs on the PC not the FieldPoint controller.  If you loose network connection to the fieldpoint, your program will loose connection to the IO.  For many data logging applications this type of arrangement can work just fine.  However, if this is the only type of application you are ever going to run, then you may as well not buy the Real Time controller for your fieldpoint but the network controller only. 
    If your application requires more reliability, and/or greater determinism than can be achieved by running a program on windows, then you should use the LabVIEW Real Time module and develop a program that can run down on the FieldPoint controller independent of windows.
    Message Edited by StevenA on 07-22-2008 04:14 PM
    SteveA
    CLD
    FPGA/RT/PDA/TP/DSC
    Attachments:
    fp pallet.PNG ‏6 KB

  • What is the real time use of implicit and explicit cursors in pl/sql

    what is the real time use of implicit and explicit cursors in pl/sql.............please tell me

    You can check the following link ->
    http://www.smart-soft.co.uk/Oracle/oracle-plsql-tutorial-part5.htm
    But, i've a question ->
    Are you student?
    Regards.
    Satyaki De.

  • VGA vs DVI - What's the real difference?

    Hi everyone, quick question. I currently have my 19" LCD display hooked up to my MacBook via the Apple Mini-DVI to VGA adapter. Here's my question. What is the real image quality difference between VGA and DVI-D connections?
    I don't watch videos or do any video editing, so if that's the difference, I don't need it.
    Would I notice any additional display sharpness (especially text and pictures) by upgrading to a monitor with a DVI-D input?
    Thanks!
    Dave

    Read the Overview from this:
    http://en.wikipedia.org/wiki/Dvi
    That explain a bit of the benefit of DVI.
    I also use my Samsung LCD 19" widescreen with mini DVI to VGA, and so far I'm happy with it, so if you happy with your display color, why bother to spend abnother $19.99 for new adapter.
    Good Luck

  • What is the real scm latest version ?

    What is the real scm latest version/patchset ?
    10g, 9i or 9.0.4 ??

    There is a "latest' version of 6i and 9i and 10g. Each of these uses a similar underlying repository. Each is connected to a Designer that generates a specific release of Developer (6i gens Forms 6i, 9i gens Forms 9i, etc).
    About now, the latest 10g is 9.0.4.5, while the latest 9i is 9.0.2.9, and the latest 6i is 4.11.

  • What are the real minimum requirements for Mountain Lion?

    What are the real minimum requirements for Mountain Lion. Currently running Snow Leopard. I have a late 2006 Model: iMac6,1. Specs: 2.33 GHz Core 2 Duo, 3 GB 667 MHz DDR2, and the optional nVidia GeForce 7600GT c/w 256MB GDDR2. The advertisement is stating a 2007 model as the minumum, however the fastest 2006 Gen Plastic iMac should be faster then the slowest 2007 Gen Aluminum iMac7,1?

    From a previous posting from some else, I saw it was the 32bit versus 64bit video card driver being the issue. I was wondering if the optional video card I have installed also was limited to the 32bit issue. 64bit drivers exist for the 7600 GT GPU.

  • What is the part number for labview fds cd media only

    what is the part number for labview fds cd media only - i'll purchase on line but can't find the part.

    Randy's definately right - you should talk to your local rep. before makig any purchases, but here's some numbers to start you off:
    LabVIEW FDS for Windows2000/NT/Me/9x
    776670-03 English
    776670N-0313 German
    776670N-0314 French
    LabVIEW FDS for Power Mac OS
    776690-03 English
    LabVIEW FDS for Sun Solaris
    776680-031 English
    LabVIEW FDS for HP-UX
    777010-031 English
    LabVIEW FDS for Linux
    777756-03 English
    Copyright © 2004-2015 Christopher G. Relf. Some Rights Reserved. This posting is licensed under a Creative Commons Attribution 2.5 License.

  • What is the data throughput in labview. I want to use the parallel as acheap digital i/o to drive a stepper motor.

    I am trying to use the parallel port on a win xp machine to send data a@ up to a 3k rate. This is for the the purpose of driving a stepper motor. I have tried the port.out vi and placed this vi in a loop and it on a scope it looks like I am limited to a a 200hz rate. What am I doing wrong??? Can labview do this or is it too slow ???
    Thanks

    snook wrote:
    > what is the data throughput in labview. I want to use the parallel as
    > acheap digital i/o to drive a stepper motor.
    >
    > I am trying to use the parallel port on a win xp machine to send data
    > a@ up to a 3k rate. This is for the the purpose of driving a stepper
    > motor. I have tried the port.out vi and placed this vi in a loop and
    > it on a scope it looks like I am limited to a a 200hz rate. What am I
    > doing wrong??? Can labview do this or is it too slow ???
    Basically the way the Port I/O VIs are implemented they call through a
    device driver for each port access. This slows down the maximum port
    accesses to something like 1000 times per second depending on the speed
    of your CPU.
    There is a way to do it faster but that is a little more trick
    y. The
    idea is to use a device driver to enable particular port addresses to be
    accessed directly from the application level instead of always going
    through the kernel.
    I have written such a VI library and accompagning DLL and device driver
    and made it available on OpenG. It is not yet part of the standard
    binary distribution packets so you will have to get it from the CVS
    repository.
    Go to:
    http://cvs.sourceforge.net/viewcvs.py/opengtoolkit/portIO/built/portio/
    and download all the files in there including the ones in the
    subdirectory "ogportio.llb" and if you like "docs"
    If you want the nitty gritty technical details you can also look at
    http://cvs.sourceforge.net/viewcvs.py/*checkout*/opengtoolkit/portIO/c_source/Description.htm?rev=1.5
    On my 866 MHz Pentium mobile I can increase the number of port accesses
    in this way from 440 ms for 4000 read byte port accesses (100us ms per
    access) to 20 ms for the same number of read accesses (5 us per access).
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • What is the major advantage of Repair full request?

    Hi gurus
    What is the major advantage of Repair full request?
    Thanks in advance
    Raj

    Full Repair request is used when:
    1. During delta upload you have skipped some records and want them in your data target.
    2. When the delta load was not correct and you make a selective deletion and fetch the data for the same selection without disturbing the delta update.
    3. When at times you fail to have even full upload, then mark the request as repair request and you can get the full upload..(I have faced such a scenario)
    Assign points if useful.
    Regards
    Gajendra

  • What is the real ip address to the apple server? Someone changed the host file in windows/system32/drivers/ect, and now I can't do a restore on my iPhone 3gs.

    What is the real ip address to the apple server? Someone changed the host file in windows/system32/drivers/ect, and now I can't do a restore on my iPhone 3gs

    "You have to change your router's IP address to be able to access it. It will not give you the internet."
    I'm not sure what that means Richard, but I did change the router's IP address from 192.168.1.1 to 192.168.5.1- isn't that what you meant in your first post. I know that isn't reflected in my screen capture that I took last night, but I did do that this morning after I read your post.
    "Log on to your router and change two settings.
    Change the setting in Setup from PPPoE to Automatic Configuration-DHCP and click on save.
    Click on Advance Routing and change the setting from Gateway to Router then click on save."
    I did this and still same results as far as I can tell. Can't get online through the router.
    "Click on MAC address clone under setup tab ... click enable & click clone ...click save settings ... Check the IPaddress under WAN page ....
    If getting IP in public range .... try going online ...."
    I tried this- at least to the part about checking the IP address under WAN. I assume you mean the WAN page in the modem setup- nothing looked any different after trying what you suggested, and I'm not really sure where I would be "getting IP in public range" or what that means.
    I'm about to give up and just buy a new router to see if I can get the same lack of results with a different one. My ISP maintains that everything is set up correctly on their end and really can't do anything more for me. The Modem works and is set up correctly and they can give tech support for a router.
    Here's what my basic setup looks like now:
    http://i490.photobucket.com/albums/rr270/SukarUDL/BasicSetup.png
    Here's what the advanced tab looks like now:
    http://i490.photobucket.com/albums/rr270/SukarUDL/AdvancedRouting.png
    Modem setup looks the same
    Message Edited by Writersbloc on 09-25-2008 07:05 PM

  • What is the last version of labview to support classic FieldPoint?

    what's the last version of labview to support classic FieldPoint?
    Solved!
    Go to Solution.

    In general, yes.  Others with more experience than I do might be able to help.
    I think there is a chance you can get some older versions of LabVIEW to work on Win7.  There are occasional message threads where people have asked about a particular version and others said they have been able to get them to work.  Just that official support for older versions of LabVIEW for a Win7 OS has ended.

  • What is the real use of party ? When we will go for Parties?

    Hi All
       what is party ? Why?
       when we will use this parties(ID)? where the real adv..lies ?
    Pl...explain this one detail so that i can decide we will go for party or not?
    regards
    Rakesh

    Hi Shabarish
             Thanks a lot ...it is really helpful...
           But thing is i am not getting the real use of it ...!!!
           before posting this question,i have gone through sdn but thing is where it is
           helpful to implement
           Try to provide some more information on this
    Regards
    rakesh

  • What are the main advantages of having multiple WLS_FORMS instance servers?

    Hi,
    I know it's possible to deploy multiple instance weblogic forms servers (WLS_FORMS). What are the advantages of having multiple instance of forms server?
    When we deploy forms&reports 11g the configuration process creates WLS_FORMS and WLS_REPORTS. Is there any advantage of having under the same physical server more than one WLS_FORMS server?
    Regards
    Ricardo

    The exact advantages and disadvantages will depend on exactly how you configure your environment. Remember that everything good comes with a price. So for example, you can add additional managed servers to improve scalability, but doing this means consuming more system resources. So although you may now be able to service twice as many users, it may have cost you 1gig of RAM or more (just an example).
    I would recommend taking a look at the documentation as it offers a pretty good high level view of the possible configurations and their advantages. Here is a good starting place:
    http://download.oracle.com/docs/cd/E14571_01/web.1111/e13716/understand_domains.htm
    The complete documentation set for FMw 11.1.1.3 and WLS 10.3.3 can be found here:
    http://download.oracle.com/docs/cd/E14571_01/index.htm

Maybe you are looking for

  • What is Ads Removal 1.0.0 ? Is it malware or a virus?

    When I opened firefox today, this add-on just appeared. I don't know if I can trust this or not. Is it malware? If so, how will I be able to remove it?

  • Hello, can i use the new magsafe connector on a mac pro from 2008?

    Hello, I have a mac pro 15' from 2008, and the connector just stop working, in fact I have 2 connectors, because I broke a mac pro brand new, and then I had to buy this one, so both connectors stop working all of a sudden, and now when I went to Appl

  • ISE Guest Email Notification (Guest account creation)

    When a guest user creates an account in ISE, it sends a system generated email with the username/password. It says "Welcome to the Guest Portal, your username ise xxx and password is yyy." Is there anywhere in ISE (1.2) to change this text, especiall

  • Face Recognition Problem in PSE 12

    I am having a problem with face recognition with PSE 12/Windows 8.1. It is a new install, at first all went well. I could enter names and they were immediately accepted. As faces repeated recognition was working and I could click the green arrow and

  • Problems with color quality when saving photos.

    I never used to have any problems, but just recently I have noticed that, after cropping, editing, resizing my photos, and saving....they look fine on my screen while open in photoshop, but yet when attaching them and emailing or posting them, the co