Experimental Physics and
| |||||||||||||||||
|
At 10:26 AM 3/8/2004, Brian Tieman wrote: Ned, I haven't used the ActiveX interface to epics, but there are events, which are called occurences, and threads available in LabVIEW itself. It's pretty straightforward to set up a parallel structure in a vi that sits and waits for events from other areas of the diagram, or to launch a vi that sits and waits for events from other vis. There are also semaphores, queues, and some other types of synchronization. There is also support for threads, but not very flexible. There are about 5 threads to which vis can be assigned ahead of time. Within each thread LabVIEW does cooperative multitasking, to which there are limitations (for example I think any called dll takes over its thread until it's finished). I've used the LabVIEW "datasocket" server, which I think is based on activeX. Basically I have a small server application that launches a few subvis executing in separate threads and waiting for new values in some datasocket items, which are passed off to queues in other subvis that handle the input. This is a pretty small scale server. dale brewe ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dale L. Brewe PNC-CAT/U. of Washington ph: 630 252 0582 fax: 630 252 0580 Mail: Argonne National Laboratory Bldg 435E sector 20 9700 S. Cass Ave. Argonne, IL 60439 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| ||||||||||||||||
ANJ, 10 Aug 2010 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |