148U can run much faster than 240 s/s
NewData event is fired when there at least <EventLevel> amount of
data, you may be getting 50-60 events, but each event has more than 1
data point
--- In ultimaserial_group@yahoogroups.com, "drake_ns" <drake_ns@...>
wrote:
>
> Hello everyone. I'm currently using UltimaSerial 3 in VB.Net with my
> DI-148U, and am running into a bit of trouble. Now, I'm not a
> programmer by any stretch of the imagination, so I'm sure my methods
> could be done simpler and shorter, but anyways…
>
> Long story short, I want to read in Analog samples as fast as
> possible. The strange thing is, even though my ChannelCount is set to
> 1, the EventLevel is set to 1, and the SampleRate set to 240 (which I
> am assuming is maximum for the DI-148U box), I appear to only be
> getting 50-60 samples per second.
>
> Even using the very straight-forward sample VB.Net project from the
> UltimaSerial website, that is as fast as it will go. Any ideas on
> what may be causing the slowdown? Or am I wrong in assuming that the
> NewData sub starts every time a new data point is read in when the
> EventLevel is set to 1?
>
> Thanks again for your time!
>