Re: Data acquisition with IDL... [message #44838] |
Mon, 18 July 2005 06:50 |
Haje Korth
Messages: 651 Registered: May 1997
|
Senior Member |
|
|
Ricardo,
Perfect, the timer events is exactly what I need. (I did not even know they
exist until now.) Regarding A2, I guess my minimum data spacing depends on
the execution time of the event handler, which I can simply test. However,
for slow rates of 1/s this should be sufficient. For burst rates I can use
other features of the DAQcard.
Thanks,
Haje
"Ricardo Bugalho" <rbugalho@ibili.uc.pt> wrote in message
news:pan.2005.07.18.13.19.12.109518@ibili.uc.pt...
> On Mon, 18 Jul 2005 08:36:26 -0400, Haje Korth wrote:
>
>
>> occurred. However, when I actually tested the code, I found out that the
>> event handler only executes when an event happened so that I have to hit
>> the sample button for every single measurement.
>>
>> So, the questions I have are:
>> 1. Can I make the event handler execute continuously somehow? And if not,
>> can I and how do I handle the events myself (without XMANAGER)? 2. Since
>> spacing of data point is kind of important (regular intervals are always
>> preferred), can I rely on the timing in IDL? My goal is to take a
>> measurement across three channels every second.
>
> A1: I think what you need are widget timer events.
> A2: Depends on your actual needs, but nay.
>
|
|
|
Re: Data acquisition with IDL... [message #44839 is a reply to message #44838] |
Mon, 18 July 2005 06:19  |
Ricardo Bugalho
Messages: 22 Registered: March 2005
|
Junior Member |
|
|
On Mon, 18 Jul 2005 08:36:26 -0400, Haje Korth wrote:
> occurred. However, when I actually tested the code, I found out that the
> event handler only executes when an event happened so that I have to hit
> the sample button for every single measurement.
>
> So, the questions I have are:
> 1. Can I make the event handler execute continuously somehow? And if not,
> can I and how do I handle the events myself (without XMANAGER)? 2. Since
> spacing of data point is kind of important (regular intervals are always
> preferred), can I rely on the timing in IDL? My goal is to take a
> measurement across three channels every second.
A1: I think what you need are widget timer events.
A2: Depends on your actual needs, but nay.
|
|
|