GALIL DMC-1880

Hello,

I am working with Galil DMC-1880 control card under QNX. I am using the
device driver code supplied by Galil for Qnx 6.2. The driver is working well
but is using an incredible amount of time to perform a control command
(around 20 miliseconds). We have an identical card running under Windows and
it takes 2 miliseconds to perform the same command.
Umm, this is surelly not nice. Any one with experience using these cards
under QNX?

Thanks.

Carlos Beltran

Carlos Beltran wrote:

Hello,

I am working with Galil DMC-1880 control card under QNX. I am using the
device driver code supplied by Galil for Qnx 6.2. The driver is working well
but is using an incredible amount of time to perform a control command
(around 20 miliseconds). We have an identical card running under Windows and
it takes 2 miliseconds to perform the same command.
Umm, this is surelly not nice. Any one with experience using these cards
under QNX?

You’ll probably have to ask Galil about that, I can assure you that
drivers can most definately be written under QNX with latencies under
2ms :slight_smile:

Yeah, I know that. We have a guy here that did so with Qnx 4, doing the same
kind of control I am trying to do. But he was using a MEI control card.
Well, really, Galil is supplying the driver code in his web page but I just
wanted to know if someone was using it so I could save some time…but, I
think I will have to play a little with it to see where is wasting the
precious time…

Carlos.

“Rennie Allen” <rallen@csical.com> wrote in message
news:bn8u7b$buk$1@inn.qnx.com

Carlos Beltran wrote:
Hello,

I am working with Galil DMC-1880 control card under QNX. I am using the
device driver code supplied by Galil for Qnx 6.2. The driver is working
well
but is using an incredible amount of time to perform a control command
(around 20 miliseconds). We have an identical card running under Windows
and
it takes 2 miliseconds to perform the same command.
Umm, this is surelly not nice. Any one with experience using these cards
under QNX?

You’ll probably have to ask Galil about that, I can assure you that
drivers can most definately be written under QNX with latencies under
2ms > :slight_smile:

Carlos Beltran wrote:

Hey, hey , I found it!. Just for the posterity: There is a delay(10)
intruction in the PCIBUSCharAvailableInput function inside dmcpci.c .
I removed it and now I get the commands in 1 milisecond. A good improvement

Doh ! Sounds like some leftover debug code (of course, I’ve never done
anything like that :wink:

Hey, hey , I found it!. Just for the posterity: There is a delay(10)
intruction in the PCIBUSCharAvailableInput function inside dmcpci.c .
I removed it and now I get the commands in 1 milisecond. A good improvement
:wink:.
Carlos

“Carlos Beltran” <cbeltran@dist.unige.it> wrote in message
news:bn923c$ees$1@inn.qnx.com

Yeah, I know that. We have a guy here that did so with Qnx 4, doing the
same
kind of control I am trying to do. But he was using a MEI control card.
Well, really, Galil is supplying the driver code in his web page but I
just
wanted to know if someone was using it so I could save some time…but, I
think I will have to play a little with it to see where is wasting the
precious time…

Carlos.

“Rennie Allen” <> rallen@csical.com> > wrote in message
news:bn8u7b$buk$> 1@inn.qnx.com> …
Carlos Beltran wrote:
Hello,

I am working with Galil DMC-1880 control card under QNX. I am using
the
device driver code supplied by Galil for Qnx 6.2. The driver is
working
well
but is using an incredible amount of time to perform a control command
(around 20 miliseconds). We have an identical card running under
Windows
and
it takes 2 miliseconds to perform the same command.
Umm, this is surelly not nice. Any one with experience using these
cards
under QNX?

You’ll probably have to ask Galil about that, I can assure you that
drivers can most definately be written under QNX with latencies under
2ms > :slight_smile:

LOL :slight_smile:

“Carlos Beltran” <cbeltran@dist.unige.it> wrote in message
news:bnbcad$3nj$1@inn.qnx.com

Hey, hey , I found it!. Just for the posterity: There is a delay(10)
intruction in the PCIBUSCharAvailableInput function inside dmcpci.c .
I removed it and now I get the commands in 1 milisecond. A good
improvement
:wink:> .
Carlos

“Carlos Beltran” <> cbeltran@dist.unige.it> > wrote in message
news:bn923c$ees$> 1@inn.qnx.com> …

Yeah, I know that. We have a guy here that did so with Qnx 4, doing the
same
kind of control I am trying to do. But he was using a MEI control card.
Well, really, Galil is supplying the driver code in his web page but I
just
wanted to know if someone was using it so I could save some time…but,
I
think I will have to play a little with it to see where is wasting the
precious time…

Carlos.

“Rennie Allen” <> rallen@csical.com> > wrote in message
news:bn8u7b$buk$> 1@inn.qnx.com> …
Carlos Beltran wrote:
Hello,

I am working with Galil DMC-1880 control card under QNX. I am using
the
device driver code supplied by Galil for Qnx 6.2. The driver is
working
well
but is using an incredible amount of time to perform a control
command
(around 20 miliseconds). We have an identical card running under
Windows
and
it takes 2 miliseconds to perform the same command.
Umm, this is surelly not nice. Any one with experience using these
cards
under QNX?

You’ll probably have to ask Galil about that, I can assure you that
drivers can most definately be written under QNX with latencies under
2ms > :slight_smile:

\