Can I call a labview VI from a batch file?

2004-05-17 Thread Scott Serlin
With much frustration, I cannot seem to get my labview vi to run from a
batch file.  Everything appears ok in terms of the directory and
filename but I keep getting a bad filename error message.  Anyone have
any ideas around this?  I also tried using the call command with no such
luck.  Windows 98 is the OS run lv 6.1.




Programming guide for Amplifier research 30W1000B

2004-04-08 Thread Scott Serlin

Does anyone have the programming guide for an AR 30W1000B amplifier?
Their website link is does not provide the manual and their customer
service reps are out to lunch?




RE: Uniquely identifying computers

2004-04-08 Thread Scott Serlin
A simple method that I use is to use the system exec command and issue the set 
command from the dos prompt in win2k.  From there you can pick off the username logged 
into the computer.  You can try this manually by going into the start and then run 
menus of windows.  Next, type command at the pop-up box.  Once the dos shell name 
comes up, type set.  Look for username and you can do a match pattern off 
username. I just tried this a moment ago and noticed that you can also see the 
computer name as well.  If command does not work with your version of windows, try 
using cmd.

Scott

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Craig Graham
Sent: Wednesday, April 07, 2004 2:32 P
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Uniquely identifying computers


- Original Message - 
From: Michael Porter [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, April 07, 2004 6:52 PM
Subject: Uniquely identifying computers


 Is there a way to read from a LabVIEW executable any sort of value that
will
 uniquely identify one particular computer? The computers will be from
 unknown vendors, but all running some version of Windows.

MAC address of the ethernet card? Try ipconfig /all from a command prompt.
Obviously won't work if the ethernet card is swapped out at some point, so
whether it's useful or not depends on what you're actually wanting to do.

--
Dr. Craig Graham, Software Engineer
Advanced Analysis and Integration Limited, UK. http://www.aail.co.uk/




RE: Infrared Cameras

2004-04-08 Thread Scott Serlin
I'm using a FLIR P40 camera for measuring power amplifiers.  I don't
have the firewire connection so I cannot tell you how labview could
integrate with it.  They are very, very expensive BTW.  This unit was
about $30k.  For another 5k I believe you get better software and the
firewire connection.  Mikron or Micron (I forgot whether a c or a k
in the spelling of their name also has a good equivalent camera to the
FLIR but FLIR's software is much easier to work with.  I had salesmen
from both companies into our facility to show us the benefits of each of
their cameras.  I have been very please with the ease of use of the FLIR
camera and software.  Believe me, you do not want a complicated camera
to work with.  I have used very complicated ones and you always ended up
doubting your measurements because of the complexity of the software
switches.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Charles Lasnier
Sent: Tuesday, April 06, 2004 4:07 PM
To: Info-LabVIEW Mailing List
Subject: Infrared Cameras


Simon,
  It seems like there is a new model of IR camera on the market 
every couple of weeks from someone. Most IR cameras are about 320 x 
240 pixels, and a few are 640 x 480. You need to figure out exactly 
what size object you need to resolve and whether this is enough 
pixels if used to view your large target- from your description I 
doubt it. IR cameras are available from a lot of companies including 
FLIR, Indigo (now part of FLIR), Electrophysics, Raytheon and others.
   It also depends on the temperature of your target, the minimum 
temperature difference you need to detect, and the type of material 
which will determine the emissivity. The cooler it is, the more you 
require longer-wavelength sensitivity, such as 8-12 microns. If it is 
very hot, the target will emit sufficient infrared around 1 micron. 
Ordinary CCD cameras with no filter have some sensitivity at that 
wavelength, and larger pixel counts are available.  In many cameras 
there is a serial port for camera control but it is not usually used 
for downloading images. You most likely will need an analog or 
digital frame grabber.
   It's hard to make a recommendation without knowing more details 
about your problem and the money you are willing to spend. Do you 
need to measure actual temperatures, or just find hot spots? 
Radiometric cameras which put out temperatures are more expensive.
-Charles Lasnier

Subject: Infrared Cameras
From: simon kelly [EMAIL PROTECTED]
Date: Mon, 5 Apr 2004 20:45:43 +0100 (BST)

Does anybody have any suggestions for an infrared
camera that can scan large areas (2m*3m) with good
resolution and serial comms?

Thanks in advance

Simon





RE: request from an experienced newbie.

2004-03-21 Thread Scott Serlin
You might look into National Instrument's teststand v3.0.  It's somewhat expensive but 
would fit in very nicely with your automated testing environment.  Otherwise, you will 
need to come up with the code for your own test executive which would govern your 
tests (initializing equipement, setting up test cases and test sequences, controlling 
the execution of the test, obtaining and storing results, logging results to a 
database, and finally reporting.  There's a lot more involved.  Take a look at NI's 
webpage for more info.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of [EMAIL PROTECTED]
Sent: Friday, March 19, 2004 9:10 AM
To: Info-LabVIEW Mailing List
Subject: request from an experienced newbie.


Hello Group,

Please could someone suggest how to approach  begin creating the 
 following in LabView?...  I've already done lots of procedural and 
 event-driven programming, and have worked my way through the most part of 
 the main LabView 7 evaluation tutorial.

Background: We're about to start using LabView to create an automated 
 test environment. We have chosen LabView over Visual Basic as we think 
 that LV ought to manage comms and file handling more easily, and allow 
 later modifications to be made more simply (by non-programmers) than 
 having to wade through reams of hostile-looking code! --- Right or wrong??

Basically, we need to:

1) have on-screen buttons to let the user select different sequences of 
 GPIB commands which are sent to a remote test instrument;
2) display messages to the user, depending on certain conditions (e.g. 
 comms success/failure, reaching a certain point in the execution of the 
 GPIB commands, etc.);
3) branch to and/or loop around the different blocks of required command 
 sequences;
4) have LV interrogate the instrument for the resulting data;
5) perform operations on the data, including arrays of complex (real  
 imaginary) numbers;
6) re-arrange the array/s and save as a .csv (comma-separated variable) 
 flat file for use by Excel etc.

As I said above, just knowing the local descriptions of the required 
 building blocks would be a good start.

Many thanks in advance,

Matt Rhys-Roberts
Electronics  IT Engineer,
UK

PS. Furthermore, does anyone here ever chat online about LabView matters, 
 e.g. on IRC, MSN, whatever?

(I hope my enquiry hasn't come at a bad political time for this group!)




RE: 'cheap' DAQ units for private use

2004-02-16 Thread Scott Serlin
Uwe,

You stated:  allmost all
others use some of those last-second-bet-tools.  

Can you elaborate on what you meant by this?  Do you mean that the
sellers are using some sort of autoprogram to bid up the auction at the
last minute or that people like me are waiting to the last minute to bid
and thus driving up the cost of the item? 


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Uwe Frenz
Sent: Monday, February 16, 2004 2:24 AM
To: LV-Info, list
Subject: RE: 'cheap' DAQ units for private use


Hi all,

thank you all soo much for that overwhelming response. Can't  answer all
responders individually!

There have been some very interesting hints among them - I'll check it
out
soon. 
As to the Ebay-posters: Have tried to get some interesting parts two or
three times but with no success. Seems those sellers do send a quote on
their own product if the best bet is'nt good enough for 'em. OR allmost
all
others use some of those last-second-bet-tools. 
So at least _I_ am done with ebay for the next future.

I'll post a summary of my experience in about two weeks when I got more
detailled infos.

Thx again and 
Greetings from Germany!
-- 
Uwe Frenz


~
Dr. Uwe Frenz
Entwicklung
getemed Medizin- und Informationtechnik AG
Oderstr. 59
D-14513 Teltow

Tel.  +49 3328 39 42 0
Fax   +49 3328 39 42 99
[EMAIL PROTECTED]
WWW.Getemed.de




RE: Dual monitors for labview use

2004-02-13 Thread Scott Serlin
What is the difference in performance I could see between running two
separate pci cards, one pci card and one agp card, or one dual-monitor
card?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Simon Whitaker
Sent: Friday, February 13, 2004 2:59 AM
To: [EMAIL PROTECTED]
Subject: Re: Dual monitors for labview use


Hi Scott,

 Can anyone tell me what graphic cards work well with respect to using
 dual monitors and labview?  How does the graphic card handle moving
the
 display data from one monitor to another. I was considering the ATI
 Radeon 9800XT.  Great for gaming as well. I remember someone talking
 about having the diagram window on one machine and the panel window on
 another.  No more fussing around with the windows to do your work
 faster.

We use dual monitors here, using a variety of different graphics cards.
I have an nVidia GeForce FX5200 (great card, but take care if you buy
one because they do single- and dual-monitor varieties), my boss has a
Matrox card of some description, and one of our machines just uses two
separate single-display cards. That machine runs XP, which has
dual-monitor support built in, so you can use two separate
single-display cards instead of a single dual-display card.

In all cases, LabVIEW works just fine with them. The software we develop
uses a subVI to retain the screen position of VIs and put them back in
the same place next time they're launched (using the VI's Windows.Bounds
property), and that has no problem coping with the dual display setup.
As someone else has noted, XP and Windows 2000 treat dual monitors as
one large desktop, so software doesn't need to be aware of which monitor
it's running on, it just runs somewhere on that large desktop and
neither knows nor cares whether that happens to be on monitor 1 or
monitor 2.

The only noticable difference between the various solutions we use is
the facilities offered by the driver software that comes with the video
card(s). My nVidia card comes with an app called nView that allows you
to do all sorts of fancy things with your dual monitors, such as
enabling window spanning across desktops, choosing which monitor
specific apps open on, setting different wallpapers for each monitor and
so on. The machine that uses two separate cards and relies on the dual
monitor support built into XP lacks these advanced features, although
it's still perfectly usable.

If you have an XP machine with a spare PCI slot, a spare PCI graphics
card and a spare monitor, try plugging the card into the PC and giving
it a go - won't cost you anything, and you'll see it first-hand. Try
before you buy! :-)

 One other off topic question.  Have you guys/gals been buying
 and using LCD monitors?  Anyone running them for a long time?  I keep
 seeing used monitors show up on ebay that have a few/many lcds burnt
out
 or broken in the display.  How hard and expensive are they to repair
if
 this is the case? I can solder as I'm a EE by nature.

I've got an LCD monitor as my 2nd display - a fairly cheap 15
(1024x768)
model that I have pivoted through 90 degrees (another feature supported
by the nVidia software), making it great for working on documents. I've
had it for about 4 months and haven't had any problems so far with dead
pixels. We've got another LCD display that we've had for about a year,
again no problems with dead pixels. Not sure how feasible it is to
repair a dead pixel. Note that even new LCD monitors may ship with some
dead pixels, and most manufacturers specify a tolerance level for dead
pixels below which they won't replace a panel.

All the best,


Simon Whitaker [EMAIL PROTECTED]
Software developer, Tiab Ltd
tel: +44 (0)1295 714046
fax: +44 (0)1295 712334
web: http://www.tiab.co.uk/




RE: Dual monitors for labview use

2004-02-13 Thread Scott Serlin
Can this feature, two independent desktops be implemented in win2k or
winXP?  Also, regarding the potential invisible area on the screen,
can't you just go to a small resolution on the larger screen so that the
two screen match?  I have to commend this list as I would never have
thought about a dual-monitor setup if one poster (who I have
forgot-sorry) had not mentioned it. I was on a website recently and they
had a rack to set up multiple LCD screens on one monitor rack.  I wonder
what the video card would look like if trying to drive 3 or more
monitors.  What's out there just for grins?  How expensive?  I could
have my labview diagram on one screen, panel on the other, dvd video
playing on a third, etc.  I just need to install more eyes into my head
to view all of this.  8-)

On Win9x however there will be just two independend desktops

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Uwe Frenz
Sent: Friday, February 13, 2004 1:50 AM
To: Scott Serlin
Cc: LV-Info, list
Subject: Re: Dual monitors for labview use


Scott,

you asked on Thu, 12 Feb 2004 13:26:27 -0600:
 Can anyone tell me what graphic cards work well with respect to using
 dual monitors and labview?  How does the graphic card handle moving
the
 display data from one monitor to another. I was considering the ATI
 Radeon 9800XT.  Great for gaming as well. I remember someone talking
 about having the diagram window on one machine and the panel window on
 another.  No more fussing around with the windows to do your work
 faster.  
Well, here at getemed most of the devellopers have now a dual monitor
system. Most of us have matrox G550s, but almost all dual monitor cards
should work well too.

I had a project where the customer even wanted three large monitors. So
I
added two graphics cards, an ATI and a Matrox dualhead into the machine.
All worked well, allthough (because of the 3 monitors) I had to use
Win98
at that time.

Here we come to a big caution:
Win NT  2k (no knowledge on XP yet) handle multiple monitors as two
windows to a large and unique desktop, whereas Win9x used to have
multiple
independend desktops that just had to share one side with each other.
This
might be important, because almost all dualhead cards I know of have an
excellent head as primary head, supporting  video bandwidth of up to
250
MHz (and resolutions of up to 1600*1200). The secondary head is propably
less capabal, supportimg only smaller resolutions. This may result in
some
area on the desktop that is not displayed on any of the screens in W2k.
Example: One screen with 1600*1200 left and another with 1280*1024 right
aligned at bottom. The desktop will be (1600+1280)*1200 and there will
be
an area of (1600, 1199) to (2879, 1024) that will be invisibel.
On Win9x however there will be just two independend desktops.

 Also, how about those kvm monitor switches?  Anyone used those
 in conjunction with the dual monitor graphic cards?  Is going with an
 extra PCI board as well as the ATI Radeon 9800XT AGP board the better
 route than running both monitors off of the same card?  Thoughts?
 Comments?  
Monitor switches have to support the high video bandwidth in order not
to
damage signal quality. Try it out for the equipment and resolution you
are
trying to use. 

 One other off topic question.  Have you guys/gals been buying
 and using LCD monitors?  Anyone running them for a long time?  I keep
 seeing used monitors show up on ebay that have a few/many lcds burnt
out
 or broken in the display.  How hard and expensive are they to repair
if
 this is the case? I can solder as I'm a EE by nature.
AFAIK this is an internal damage that can't be repaired and never ever
with
a 'burning iron'.
Nothing to say about your 'natural' solder art crafting.
(Hope this is got as that joke it is intended to be. Joking in a foreigh
language is not so easy.)

The LCD producers have even defined a level of defective pixels that are
considered as OK according to the production standards. Otherwise they
would get too few panels being OK out of their production lines and
those
would be too expensive for mass market.

Greetings from Germany!
-- 
Uwe Frenz


~
Dr. Uwe Frenz
Entwicklung
getemed Medizin- und Informationtechnik AG
Oderstr. 59
D-14513 Teltow

Tel.  +49 3328 39 42 0
Fax   +49 3328 39 42 99
[EMAIL PROTECTED]
WWW.Getemed.de




RE: 'cheap' DAQ units for private use

2004-02-12 Thread Scott Serlin
Have you tried ebay?  I've bought a number of NI daq cards for pennies
on the dollar.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Uwe Frenz
Sent: Thursday, February 12, 2004 3:15 AM
To: LV-Info, list
Subject: 'cheap' DAQ units for private use


Hi all,

I am interested in doing some LV-based DAQ experiments in my home
environment. Nothing important, just to check out some ideas.
For that I'd need some inexpensive (not necessarily cheap) DAQ HW, that
could be used in connection with LabVIEW, maybe later even with the
student
edn. 
I have done a search on searchview.net, but there was no recent posting.
'Googling' for DAQ inexpensive results in about 2k findings, but I
have
no clue on their quality and accessability from LabVIEW.

Anyone of you with more knowledge and/or some hints, links etc.?

TIA   and
Greetings from Germany!
-- 
Uwe Frenz


~
Dr. Uwe Frenz
Entwicklung
getemed Medizin- und Informationtechnik AG
Oderstr. 59
D-14513 Teltow

Tel.  +49 3328 39 42 0
Fax   +49 3328 39 42 99
[EMAIL PROTECTED]
WWW.Getemed.de




RE: Dual monitors for labview use

2004-02-12 Thread Scott Serlin

One clarification about the kvm switch.  My second monitor is being
shared with another machine via this switch since I already have a
second computer.  No need to buy a new monitor if this works out well. I
wonder how well the switch would work with a DAQ card being routed
through the SVGA monitor connections and a homemade cable.  I can only
imagine that the switch is just that, a switch and nothing more.  I
might have to make sure I do not exceed some voltage/current/power
threshold. Two daqs for the price of one?




RE: Associate a type of file with a LV7 app

2004-02-11 Thread Scott Serlin
yes.  In windows, hold down the shift key and at the same time right click on the 
file.  Choose open with and then set the program that you always want windows to 
open your file with.  I hope this is the info you were looking for.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Dany Allard
Sent: Wednesday, February 11, 2004 10:07 AM
To: [EMAIL PROTECTED]
Subject: Associate a type of file with a LV7 app 


Hi,
 
Is it possible to associate a type of file, like *.txt with Notepad.exe,
with a LV7 app.
I know that LV7 have a new feature that permit to retrieve the command line
used to call the app.
But I don't think that would be useful for what I want to do. 
I want to Double-Click on my file and my LV7 app start automatically and the
file is read and displayed.
 
Thanks
 
Dany Allard
[EMAIL PROTECTED]

 
 
 




Labview and windows 2000 Arggggh!!!

2004-02-05 Thread Scott Serlin
Has anyone had any problems copying VIs on a network from one machine to another in 
Windows 2k?  I have rebooted both machines and keep getting this irritating message 
from windows that it cannot copy the VI because the VI is already in use.  Why, oh 
why, is this happening?  The permissions look ok on the machine.  How do I get labview 
to fix the right path to its files?




Teststand help

2004-02-04 Thread Scott Serlin
Can anyone help me pass variables from my VI into teststand to run the
pass/fail test?  I'm able to get my VI to run but cannot get the info
out of my VI and into teststand after the VI runs.  How do I do this?
How do I  also pass that info into the pass/fail test?  Any other
teststand tips would be appreciate.

Thanks.

Scott




RE: Teststand 3.0 question

2004-01-30 Thread Scott Serlin
Thanks for the info Uwe.  I'm still debating whether to use this tool or
not.  I do like many aspects of it but with only 30-days to evaluate it
and being pressed for time on my other projects, I just can't tell.
Since one has to have certain variables coming out of the VI in order
for teststand to communicate with the VI, I have to modify a lot of my
previously written code.  Also very time consuming.  Can you elaborate
more on this statement of yours below.  So if I understand you
correctly, I cannot use LV6.1 to do this?   I have some old machines
that don't have the harddrive space to accomodate LV7.1.  I would have
to update their harddrives which is simple to do but do I want to pump
more money into an ailing machine or just go out and get a few new ones.
After a while, it doesn't make sense to put money into an outdated
machine.

2. You can define locals, parameters and different types of globals in
TS
and 'connect' those with fitting data types on the connector pane of the
VI. This works only in the cooperation of TS3 and LV7, AFAIK.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Uwe Frenz
Sent: Friday, January 30, 2004 3:25 AM
To: Scott Serlin
Cc: LV-Info, list
Subject: Re: Teststand 3.0 question


Scott,

You wrote:
 Does anyone know how to set up teststand in order to pass parameters
into and out of a VI? I just evaluating it
 right now to see if it is worth buying.  I have a lot of VIs that I
wrote previously and wanted to try to insert
 them into teststand with a minimum amount of effort.  Any suggestions?

I'm trying and working with TS3 since about a year. Constantly switching
between 'Woow, what a great product' and 'What the heck do they mean
with
that' resp. 'What was the name of that damned variable?'.

It is quite easy to call a VI and to pass data between both sides.
There are two ways.
1. You can pass an activeX ref to the VI and use SubVIS to pass data
between LV  TS. There are several examples in TS.
2. You can define locals, parameters and different types of globals in
TS
and 'connect' those with fitting data types on the connector pane of the
VI. This works only in the cooperation of TS3 and LV7, AFAIK. 
But an update to Dev Suite Test Edn is higly recommended as it costs not
soo much more than simply buying TS alone and you get amoung others a
one
year SSP.

I still can not tell you if TS is worth its costs _for_us_. It is a
really
complex product. But is is for sure not as easy to handle like NIs
marketing tells us. 
The best 'poor comparision' I have found is TS is like a helicopter - a
very powerfull tool, but one needs a lot of expertise to operate it.

And, what I am troubled most with, is, it is much more C-related than
LV-related. So often I end transfering even simple processing into a
simple
VI rather than doing it in TS, because of my missing C competence.

There is a rather dead Info-TestStand and a more frequented forum on NIs
pages for TS. 
But until now I was unable to find anyone here in Germany that is using
TS
and is willing to share competence like here on this list.
I hope for the German NI Days VIP2004 in March...

Greetings from Germany!
-- 
Uwe Frenz


~
Dr. Uwe Frenz
Entwicklung
getemed Medizin- und Informationtechnik AG
Oderstr. 59
D-14513 Teltow

Tel.  +49 3328 39 42 0
Fax   +49 3328 39 42 99
[EMAIL PROTECTED]
WWW.Getemed.de




Teststand 3.0 question

2004-01-29 Thread Scott Serlin
Does anyone know how to set up teststand in order to pass parameters into and out of a 
VI? I just evaluating it right now to see if it is worth buying.  I have a lot of VIs 
that I wrote previously and wanted to try to insert them into teststand with a minimum 
amount of effort.  Any suggestions?




RE: State machine diagram editor

2004-01-19 Thread Scott Serlin
Paul,

Can you elaborate further on where the OpenG toolkit can be found with
the Set Enum String Value VI?  Is it part of the professional
development suite?  LV7.0 or LV6.1 or both?  I have 7.0 but have not
upgraded from LV6.1 yet because I do not like to redo code that is
already working.  On that note and this will most likely spawn another
thread here, how does everyone deal with upgrades on the SSP?  Does
everyone just upgrade and fix all issues that come about from the
upgrade or do people do what I'm doing and hang back for a while until
the time is right to make the upgrade.  I usually end up leap-frogging
my versions.  I take big jumps rather than little steps.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Paul F. Sullivan
Sent: Sunday, January 18, 2004 6:11 AM
To: Mark Smith
Cc: [EMAIL PROTECTED]
Subject: RE: State machine diagram editor


Mark,

You wrote:

... I use string driven
state machines instead of enum type defs when I want to create a
scriptable
state machine.  That is, the state sequence is driven by a text file
that
has information about what order the states are executed.  This means
the
test sequence can be modified in the field using any text editor...

The OpenG toolkit has a Set Enum String Value VI that would allow a 
text script to run an enum-based sate machine. I didn't know about 
the OpenG VI when I first needed this capability so I built a Set 
Enum with String VI that works with control references. If you'd 
like that, just let me know.

-- 
EnWirementally,
Paul F. Sullivan



SULLutions  (781)769-6869
when a single discipline is not enough

visit http://www.SULLutions.com






State machine diagram editor

2004-01-16 Thread Scott Serlin

Can anyone tell me what the state machine diagram editor toolkit does
and which version of labview it is part of?  

Thanks in advance.

Scott




RE: State machine diagram editor

2004-01-16 Thread Scott Serlin
Thanks for the info.  I was hoping for a faster way to add and modify
states to the state machine.  Also, does anyone have any state machine
tips that they can share?  I typically use a string driven state
machine.  I then call out each state from other states.  I also use a
nextstate local variable so that I can reuse particular states in the
machine over and over again and not have to replicate the state
throughout the machine.  Let me and the email list know your tips.
Thanks.

Scott

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of [EMAIL PROTECTED]
Sent: Friday, January 16, 2004 7:48 AM
To: [EMAIL PROTECTED]
Cc: Info LabVIEW (E-mail); 'John'
Subject: Re: State machine diagram editor






Rolf K. wrote:
 I have looked at the State Machine Toolkit and believe that it is fine
for
 the standard state machines a lot of users usually encounter but my
state
 machines usually always tend to be just a tiny little bit more
involved
so
 that I would have to hand edit the generated state machine afterwards
 anyhow and once modified manually you can't seem to go back to
continue
 with the State Diagram Editor.

The inability to go back to the editor after you manually edit is true
of
most computer-aided wizards. The fundamental problem is that the wizard
knows how to maintain a state machine under certain conditions and how
to
modify various pieces when you change something in the editor. Once you
introduce a non-standard component, the wizard has no idea how to handle
that component as the system changes. The
once-you-manually-edit-you-can't-go-back-to-automatic problem covers the
State Machine, Express VIs, and a lot of tools built by just about every
piece of helpful software ever written on this planet. It requires
either a
sophisticated AI to recognize all the components that can be introduced
into a system by a user or a very restricted set of things the user can
introduce. Notice how HTML editors handle non-standard tags.

Pojundery,
Stephen R. Mercer
-= LabVIEW RD =-
I do not believe that Hell is a physical place. I believe that Hell is
an
hour of the morning. -- Jan 16, 2004




RE: State machine diagram editor

2004-01-16 Thread Scott Serlin
Hi John,

I  do not have any controls to access in my vi state machine.  As an
example, I control a piece of equipment that labview turns on, gets some
measurements, logs those measurements to a database, and then shuts
down.  I do not access any front panel controls to run my via.  All of
that is done through a test executive.  My state machine is set up by
placing a string in each case statement that refers to the next state.
The initial string is set outside of the while loop that makes up the
state machine. Can I still utilize the strict type def enum solution in
a similar manner or better?

Scott

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Howard, John
Sent: Friday, January 16, 2004 12:49 PM
To: [EMAIL PROTECTED]; Scott Serlin; Thorpe, R. Mark
Subject: RE: State machine diagram editor


One tip that I would offer is to consider using a Strict TypeDef Enum to
drive
your state machine rather than a string.

Part of the reason for this is to prevent accidental coding errors such
as
mis-typing a string or forgetting to implement a case.  Also, if you
further
develop your state machine into a component (based on LabVIEW Component
Oriented Design (LCOD) - see the book A Software Engineering Approach
to
LabVIEW for details) which uses a LV2 style global approach to locally
contain component information, the Enum turns into a very simple way of
accessing the components functions.  (perhaps I should have broken up
that
'sentence' a little)

One minor drawback is having to save the Strict TypeDef Enum in a
separate
.ctl file.  However, I have also taken advantage of this when
implementing
multiple components which share the same states/functions.

Anyway - just my thoughts.

John Howard

 Scott Serlin 01/16/04 12:17PM 
Thanks for the info.  I was hoping for a faster way to add and modify
states to the state machine.  Also, does anyone have any state machine
tips that they can share?  I typically use a string driven state
machine.  I then call out each state from other states.  I also use a
nextstate local variable so that I can reuse particular states in the
machine over and over again and not have to replicate the state
throughout the machine.  Let me and the email list know your tips.
Thanks.

Scott

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Behalf Of [EMAIL PROTECTED] 
Sent: Friday, January 16, 2004 7:48 AM
To: [EMAIL PROTECTED] 
Cc: Info LabVIEW (E-mail); 'John'
Subject: Re: State machine diagram editor






Rolf K. wrote:
 I have looked at the State Machine Toolkit and believe that it is fine
for
 the standard state machines a lot of users usually encounter but my
state
 machines usually always tend to be just a tiny little bit more
involved
so
 that I would have to hand edit the generated state machine afterwards
 anyhow and once modified manually you can't seem to go back to
continue
 with the State Diagram Editor.

The inability to go back to the editor after you manually edit is true
of
most computer-aided wizards. The fundamental problem is that the wizard
knows how to maintain a state machine under certain conditions and how
to
modify various pieces when you change something in the editor. Once you
introduce a non-standard component, the wizard has no idea how to handle
that component as the system changes. The
once-you-manually-edit-you-can't-go-back-to-automatic problem covers the
State Machine, Express VIs, and a lot of tools built by just about every
piece of helpful software ever written on this planet. It requires
either a
sophisticated AI to recognize all the components that can be introduced
into a system by a user or a very restricted set of things the user can
introduce. Notice how HTML editors handle non-standard tags.

Pojundery,
Stephen R. Mercer
-= LabVIEW RD =-
I do not believe that Hell is a physical place. I believe that Hell is
an
hour of the morning. -- Jan 16, 2004




RE: bad news?

2004-01-13 Thread Scott Serlin
Looks like Microsoft is trying to get into NI's space here.

SoftWire is a graphical programming extension for Microsoft Visual
Studio .NET

Maybe NI should got after MS and Softwire on antitrust as well.  Let's
hope they all settle out of court.  I'm just starting to get comfortable
with NI.  I don't want to add Softwire to the mix.  Besides,
[EMAIL PROTECTED] would have to be set up.  8-(

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of John Howard
Sent: Tuesday, January 13, 2004 8:16 AM
To: [EMAIL PROTECTED]
Subject: Re: bad news?


I should have included the link to the original article.  Here it is:
http://email.controleng.com/cgi-bin2/DM/y/efVG0GDREC0GXT0B6Ni0An

 John Howard [EMAIL PROTECTED] 01/13/04 09:00AM 
Here is an article from a recent Control Engineering newsletter...

SoftWire's patent infringement lawsuit against NI to proceed

Middleboro, MA?Measurement Computing Corp. and SoftWire Technology
Inc. recently announced that the U.S. District Court in Boston granted
on Nov. 5, 2003, the two firms' request to allow SoftWire to charge
National Instruments (NI) in a pending lawsuit with infringing two
patents owned by SoftWire. Judge Robert Keeton delivered the ruling
over NI's objections. Subsequently, SoftWire filed an amended
complaint accusing NI's LabView product of infringing two of
SoftWire's patents. SoftWire alleges that LabView infringes on two
virtual instrument technology patents that SoftWire originally
acquired from Fluke Corp. These two patents reportedly predate the
earliest of NI's patents. SoftWire is seeking unspecified damages for
past sales of LabView. SoftWire is also seeking an order prohibiting
NI from continuing to sell LabView.




RE: Oracle database question

2004-01-12 Thread Scott Serlin

Thanks everyone for the database help.  I will work with everyone's
suggestions. 




 -Original Message-
 From: Scott Serlin [mailto:[EMAIL PROTECTED]
 Sent: Friday, January 09, 2004 2:50 PM
 To: info-labview
 Subject: FW: Oracle database question



 Can anyone tell me if it is possible to treat an Oracle
 database like a giant
 array?  More to the point, do I have to always write a
 complete record (or
 row) of data into a table or is there a way to place a piece
 of data into one
 single column within the row and come back later and place a
 different piece
 of data in the same row but different column?

 Example:
 I wrote the first piece of data like this:

 Table
 testtime  testdate  dut  serialnum  productline
 12:00


 Later on I wanted to add another data point in the same row
 but different
 column while still maintaining the data previously entered:

 Table
 testtime  testdate  dut  serialnum  productline  Can I do this?  Is it
 allowed in Oracle?
 12:00  100100

 Once the row is complete, I would move onto the next row.

 Table
 testtime  testdate  dut  serialnum  productline
 12:00  010603   1100100  widget
 1:00  010603   2100101  widget










State machines and passing references

2004-01-12 Thread Scott Serlin
Can anyone tell me if it is possible to pass a connection reference
throughout a state machine?  So far I have not had any luck.




RE: State machines and passing references

2004-01-12 Thread Scott Serlin
Hi Michael,

Let me try it.  I've been trying to right-click the case statement and
not the while loop.  This appears to be an oops on my part.

Thanks again.

Scott

-Original Message-
From: Michael Aivaliotis [mailto:[EMAIL PROTECTED]
Sent: Monday, January 12, 2004 2:14 PM
To: Scott Serlin
Cc: info-labview
Subject: RE: State machines and passing references


Should be no problem. I assume you mean through a shift register, no?

Michael Aivaliotis 

 Can anyone tell me if it is possible to pass a connection reference
 throughout a state machine?  So far I have not had any luck.