LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I got my Labview 6.1 yesterday - AWESOME

The most clever change has been added to Labview. I have just started
playing with it, but you programmers that write state machine programs
are gonna love this! There's a new structure called the Event
Structure. It's similar to a case structure, but the case is selected
based on an event message. It's got a built in default case that is
the "Timeout Case" and a timer. The timer is an input node to which
you wire a millisecond timeout value. When the structure executes, it
waits for user defined events to occur, one case for each event. If
none of the defined events occur, then the default timeout case
executes. If an event occurs, then the defined event case executes.
It's Labview messaging! The strucure also has an ou
tput node that
gives you access to the selected case value and the timer value. The
list of events for which you can define cases includes mouse actions
and value changes on front panel controls (no more shift register
comparisons or "value changed" subVI's to detect GUI events!!!).

I haven't written a full blown program yet, as I've only had it
installed for a few hours and only played with it for a few minutes.
It's pretty intuitive, though. I can see already that I'm goint to be
able to restructure many of my state machines and do away with a lot
of wiring.

It's also got some fully interactive web contol built in, but I
haven't had time to play with it. Just wanted to give my kudo's to NI
for supplying a badly needed new tool.


sm
0 Kudos
Message 1 of 2
(2,497 Views)
sm

I've gotta say that I haven't tried 6.1 yet but by your description it sounds like LabView has finally caught up with the rest of the programming languages.

I've been using Delphi and some C++ for a number of years now and the sort of things you are describing with windows event driven functions (mouse clicks etc.) have been possible for all this time.

I started using LabView 6.0 about 10 months ago and I couldn't believe how difficult it was to detect windows events such as button presses. I am still not very happy with having to create all these shift registers to compare last values etc.

Now that the new version is available I can't believe that NI expect us to pay a not insignificant amount of money for these 'extra' functions when they are in ess
ence a fundamental part of all modern operating systems.
0 Kudos
Message 2 of 2
(2,497 Views)