AnsweredAssumed Answered

VRf - Sequencer and multithreading

Question asked by VRFuser on Sep 4, 1997
Hello Marco,
        It sounds as if you are using a 3.x version.  That was indeed the action
     in 3.x - only one FUNCTION can run at a time, and the SEQUENCER can only
     run FUNCTIONS.  Once I had figured that out, I never did bother with the
     SEQUENCER, since I was always in a dynamic environment.  It seems that the
     SEQUENCER is more designed for an environment where you are running
     discrete tests that will begin and complete before doing another test.
        If you need to use the sequencer, you might try making your data
     acquisition thread a USER OBJECT and including that in each of the
     FUNCTIONS you are calling with the SEQUENCER.  I don't know what kind of
     additional processing you will need to do to get the acquisition re-started
     in each FUNCTION, but it's the only way I know of.
    
     Tom Groleau
     HMSC, Tucson, Az


______________________________ Reply Separator _________________________________
Subject: VRf - Sequencer and multithreading
Author:  "Marco Barbieri" <proart@tin.it> at CCGATE
Date:    9/4/97 11:21 PM


Hi all,

it's seems to me that while running the sequencer object no other thread
can be run in parallel.
Is it true?
I mean that I left a user function running acquiring data from the field
but as soon as I started a user function containing the sequencer object
the acquisition thread stopped running.
If this is true the usefulness of the sequencer is incredibly limited.
How can I overcome this situation?

Thanks all (Greg maybe?).

Marco Barbieri
Proart Srl
Italy
proart@tin.it



Outcomes