Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #14983
| From | Dietmar Schwertberger <news@schwertberger.de> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Data acquisition |
| Date | 2011-10-25 23:31 +0200 |
| Organization | 1&1 Internet AG |
| Message-ID | <j879sn$gr0$1@online.de> (permalink) |
| References | <362e368f-829e-4477-bcfc-c0650d231029@j7g2000yqi.googlegroups.com> <mailman.2214.1319560789.27778.python-list@python.org> <db028e09-db69-4b64-a61d-47f14330f533@g16g2000yqa.googlegroups.com> |
Am 25.10.2011 19:22, schrieb spintronic: > On Oct 25, 6:29 pm, Nick Dokos<nicholas.do...@hp.com> wrote: >> Shot in the dark: could it be that you have to add delays to give the >> instrument time to adjust? When you do it from the python shell, line by >> line, there is a long delay between one line and the next. > Thanks! You are right but it was the first thing I thought about. So I > have tried to delay using sleep(t) from the time module (I also sent > "*OPC?" or "*WAI" commands to a device for synchronization). However, > it does not help ... RST is resetting all data and CALC is somehow calculating and returning data. Without a trigger between RST and CALC, I would not expect any data... Maybe the equipment is triggering continuously e.g. every second. When you were using the shell, you had a good chance to see a trigger between RST and CALC. With a script, it's not so likely. OPC won't help, as it would wait for completion of a measurement, but if you don't trigger, it won't wait. What kind of instrument are you using? Check for the trigger command. It may be something like INIT:IMM Regards, Dietmar
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Data acquisition spintronic <sidorenko.andrey@gmail.com> - 2011-10-25 08:51 -0700
Re: Data acquisition Jean-Michel Pichavant <jeanmichel@sequans.com> - 2011-10-25 18:15 +0200
Re: Data acquisition spintronic <sidorenko.andrey@gmail.com> - 2011-10-25 10:35 -0700
Re: Data acquisition Nick Dokos <nicholas.dokos@hp.com> - 2011-10-25 12:29 -0400
Re: Data acquisition spintronic <sidorenko.andrey@gmail.com> - 2011-10-25 10:22 -0700
Re: Data acquisition Dietmar Schwertberger <news@schwertberger.de> - 2011-10-25 23:31 +0200
Re: Data acquisition John Gordon <gordon@panix.com> - 2011-10-25 16:43 +0000
Re: Data acquisition spintronic <sidorenko.andrey@gmail.com> - 2011-10-25 10:31 -0700
Re: Data acquisition John Gordon <gordon@panix.com> - 2011-10-25 18:34 +0000
Re: Data acquisition "Paul Simon" <psimon@sonic.net> - 2011-10-25 15:06 -0700
Re: Data acquisition Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2011-10-25 17:08 -0700
Re: Data acquisition spintronic <sidorenko.andrey@gmail.com> - 2011-10-26 08:58 -0700
Re: Data acquisition Dietmar Schwertberger <news@schwertberger.de> - 2011-10-26 19:35 +0200
csiph-web