gavin@mit-caf.MIT.EDU (Gavin C. H. Zau) (10/03/90)
I am using a PC XT to control and acquire data from my experimental aparatus. The acquisition program is written in Turbo Pascal 4.0. I need to collect data that is (A) continuous over the time of the experiment. (B) data that is collected over a short period. Can anyone please advice me on how to achieve the background data acquisition needed when I am collecting (B) type data, so that I would not lose the (A) type data. So kind of multiasking or concurrent processing would be great. I would also like to run mutliple (B) type acquisition at the same time, which is not possible under our current data acquisition scheme. Thanks in advance. -- **************************************************************** Gavin Zau Dept of Chemical Engineering, MIT, Cambridge, MA gavin@caf.mit.edu ****************************************************************
jamesp@world.std.com (james M peterson) (10/03/90)
In article <5184@mit-caf.MIT.EDU> gavin@mit-caf.UUCP (Gavin C. H. Zau) writes: > > I am using a PC XT to control and acquire data from my >experimental aparatus. The acquisition program is written in Turbo >Pascal 4.0. I need to collect data that is > (A) continuous over the time of the experiment. > (B) data that is collected over a short period. >Can anyone please advice me on how to achieve the background data >acquisition needed when I am collecting (B) type data, so that I would not >lose the (A) type data. So kind of multiasking or concurrent processing >would be great. I would also like to run mutliple (B) type acquisition >at the same time, which is not possible under our current data acquisition >scheme. >**************************************************************** >Gavin Zau Dept of Chemical Engineering, MIT, Cambridge, MA > gavin@caf.mit.edu >**************************************************************** You mean something like a circular queue, one entry for each process? Can you read your instruments and get a code back saying no data is ready to be sent (so you don't read garbage). If so, set up a scheduler that has times you need and away you go.. Jamesp@world.std.com Reality is not an industry standard I can't spell, but APL never cared.