Re: Highres delay help

From: Carl W (calle79_at_inorbit.com)
Date: 05/31/05


Date: 31 May 2005 05:24:07 -0700

The "something" i meant was to send a data packet.
With the "select" routine, proposed in a previous message in this
thread I still cannot get past the 100 Hz resolution limit. (Exactly
100 Hz)

This test program I am writing is for simulation only. I need to send
a small UDP data packet with different frequencies of up to 1000-1200
Hz...

> So you will effectively monopolize the system such that
> it can't even talk to its disks.

I dont need to run anything in paralell with the test and the packet
is coded as a textstring.

/Carl W

"David Schwartz" <davids@webmaster.com> wrote in message news:<d77s2u$hmn$1@nntp.webmaster.com>...
> "Carl W" <calle79@inorbit.com> wrote in message
> news:c6416781.0505270421.5ff3ef02@posting.google.com...
>
> > What I really want to do is to write a loop, which loops at a
> > predefined frequency.
> >
> > loop
> > {
> > /*Do someting*/
> > delay(~1 ms)
> > }
>
" You probably need a real-time operating system. It would help us to
> answer you better if you explained what the "something" was. The problem is
> that there is very little the system can usefully do if it must be certain
> that it can get back to you in one millisecond. So you will effectively
> monopolize the system such that it can't even talk to its disks.
>
> DS



Relevant Pages

  • Serial, com port, rs 232
    ... I need to send the same data packet in a loop via rs232 (com port) ... till the user press the stop button on a GUI. ...
    (comp.soft-sys.matlab)
  • Creating a VI to continuously read and write the same serial port
    ... This VI has to periodically send a data packet to the other PC, and at the same time listen for data packets from the other PC. ... I connected the configured serial port to two while loops, one reads, and the other one writes. ... What I found is that the read loop is able to read the data from the other PC, but the write loop is not able to send anything. ...
    (comp.lang.labview)