08-07-2002 11:35 AM
08-07-2002 12:27 PM
08-07-2002 01:12 PM
08-08-2002 04:05 AM
08-08-2002 09:45 AM
08-08-2002 02:05 PM
08-08-2002 03:01 PM
08-08-2002
04:05 PM
- last edited on
07-13-2025
02:56 PM
by
Content Cleaner
Ah, the magic word, TCL! So this is possible!
Maybe a few more words about our goals... we intend to use labview to control a fairly complicated scientific
instrument. We expect that knowledgeable users will sit at the front panel of a VI, and work the instrument "by
hand". You know, fire this pneumatic, move that stepper, open the shutter, etc.
I expect this top-level VI will have many sub-VIs that use various NI boards, like motion control, DAQ, etc. A
vanilla data-flow VI driven by a human operator.
At some points, though, the operator will want to invoke a long, canned, sequence of events. He'll sit there,
watching the blinking lights and listening to the whirring motors. When the script is over, he may start
clicking away again, or may choose to run another canned sequence of events.
Now, I envision these scripts coming (somehow) from a html form. My concept, still in its infancy, is this: say
some scientist, far away, fills out a web form. He chooses to ask for 10 exposures, each 20 seconds long, with a
filter change between each. He clicks "submit", a script is generated, and inspected somehow for correctness,
approval, etc. The operator receives a queue of such scripts, and fills his day with a mix of running things "by
hand", and also from these customer-generated scripts.
So,
1. Does this concept match any of the existing scripting models?
2. Is it possible to achieve this with a VI built without internal scripting code (i.e. using the external
executive model)?
3. Can scripts for various solutions be built easily, with, say, perl or other CGI-style tools?
Thanks very much for your ideas on this.
Dennis Knutson wrote:
> Your second definition is how TestStand works. TestStand is a general
> purpose test executive. You create sequences of test steps (a script
> if you will) and the test steps can be written in any number of
> languages including LabVIEW VIs, LabWindows/CVI, DLLs, HP VEE, and
> even TCL scripts. It is extremely powerful and flexible. We converted
> from a custom LabVIEW application a couple of years ago and it was the
> smartest thing we ever did. Legacy LabVIEW code needed only small
> modifications in order to pass test results to the TestStand engine.
> You can download an evaluation copy by going > "http://digital.ni.com/demo.nsf/websearch/8420757C000CFF3D86256AB9006FDC6C?OpenDocument&node=1457_US">here
> or you can contact your local NI sales engineer.
--
Jeffrey W Percival, Senior Scientist and Associate Director
Space Astronomy Laboratory, University of Wisconsin - Madison
1150 University Ave, Madison, WI 53706 USA
608-262-8686 (fax 608-263-0361) jwp@sal.wisc.edu http://www.sal.wisc.edu/~jwp
08-08-2002 05:19 PM
08-30-2003 02:21 AM