comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Data acquisition with IDL...
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Data acquisition with IDL... [message #44838] Mon, 18 July 2005 06:50
Haje Korth is currently offline  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 Go to previous message
Ricardo Bugalho is currently offline  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.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Data acquisition with IDL...
Next Topic: Transparency for IDLgrVolume in IDL 6.1

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Oct 19 01:12:32 PDT 2025

Total time taken to generate the page: 2.16174 seconds