[simpits-tech] F4memreader from "Pegasus"

Mark Doran simpits-tech@simpits.org
Sun, 8 Jun 2003 09:28:27 -0700


This is a multi-part message in MIME format.

------=_NextPart_000_000B_01C32DA0.51086DB0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

OK, you made me look it up! ;-)

=20

It looks to me from the Microcockpit web site that you have the R&R
(Ralph=92s) module for hooking up encoders.  I think my brain was out to =
lunch
a bit yesterday: ignore he type =933=94 comment, that was bogus.

=20

The Rotary module=92s address is =937=94 so you have that bit right but =
it is good
for 20 encoders each with 2 input switch bits so that=92s:

=20

  definemodule(7, FASTSCAN, 0, 5) // only need 5 rows to cover 20x2 bits

=20

You can make them FASTSCAN if you want but you may not need to do that =
if
you are short on FASTSCAN rows=85it=92s no big loss if you miss the odd =
click on
the encoder knob (this is a bit dependent on the type of encoder you =
have I
guess).  FWIW, I=92m just using FASTSCAN for HOTAS, ICP mostly since =
those are
the most used.

=20

However, you also need to set the type of encoder you have for each one
connected.  That requires you also to define the output side of module 7
thus:

=20

  definemodule(7, OUTPUT, 0, 3)  // one bit per, last 4 in row 2 not =
used

=20

With these you can then use setpoint() (in the INIT() function is =
probably
good) to CW/CCW or 2 phase depending on the devices that you have hooked =
up.
In general if you have CW/CCW devices (the assumed default) you can =
actually
get away without programming the type bit using setpoint() but if you =
have 2
phase devices then you have to put a =931=94 into the corresponding bit =
position
in module 7=92s rows, like this:

=20

  setpoint(7, 1, 0b00000001) // encoder #8 on mod 7 is a 2 phase

=20

Hope that helps.  See if you can find a copy of =93rotary.pdf=94 which =
is the
docs file for the R&R Rotary module =96 it has all this stuff and a few =
more
examples in it besides.

=20

Cheers,

=20

Mark.

=20

=20

-----Original Message-----
From: simpits-tech-admin@simpits.org =
[mailto:simpits-tech-admin@simpits.org]
On Behalf Of Frank Riedel
Sent: Sunday, June 08, 2003 1:49 AM
To: simpits-tech@simpits.org
Subject: Re: [simpits-tech] F4memreader from "Pegasus"

=20

Thanks Mark - vervy helpfull !

=20

My Rotary module is from Microcockpit

will the code then be ok !

=20

#define FASTSCAN 0
#define SLOWSCAN  1
#define OUTPUT   2

DefineModule(0, FASTSCAN, 0, 8) // EPICUSBmodule //
DefineModule(1, SLOWSCAN,  0, 16) // 64BTNmodule //
DefineModule(2, SLOWSCAN,  0, 16) // 64BTNmodule //

DefineModule(7, FASTSCAN, 0, 8) // ROTARYmodule //

DefineModule(0, OUTPUT, 0, 16) // OUTPUTmodule //

=20

I'll try the trick with the EPICIO.DLL later to day

and let you and other now... then, if it's not working

i'll concat Martin direct. !

=20

Frank

----- Original Message -----=20

From: Mark <mailto:mark_s_doran@hotmail.com>  Doran=20

To: simpits-tech@simpits.org=20

Sent: Sunday, June 08, 2003 2:57 AM

Subject: RE: [simpits-tech] F4memreader from "Pegasus"

=20

Hi all !

I have a prob. with F=A4memreader...

It says that it can't find EPIC... what do i do wrong...

a follow Martins inst. instruction ???

=20

[Mark Doran] This is almost certainly a problem with the version of
EPICIO.dll you have on the system.  There=92s an unpredictable =
combination
that you have to find between the ROM load (checksum determines which it
is), the version number of the EPICIO.dll, and the version of Martin=92s =
code
that you have.  Not all combinations work.  I=92ve had to work at it =
each time
I upgrade the EPIC USB ROM load to find a combo that works.  And =
frankly,
I=92m still have a number of problems with analog data and pigeon holes =
that
make me think the only answer is going to a model of rebuilding =
Martin=92s
code with each version of the EPICIO.dll that there is; this is not a =
good
thing but may be unavoidable :-( :-(

=20

One quick trick to try: as I recall, when you unpack Martin=92s code =
there=92s a
version of EPICIO.dll in the directory with the F4Reader.exe.  This =
takes
precedence over the one in your \windows\blahblah directory from the =
EPIC
install process.  Try changing the name of the copy of EPICIO.dll in the
f4Reader directory (martins_epicio.dll or something) =96 that should =
force the
system to give you the one you installed with the EPIC =96 that might be
enough right there.

=20

I would recommend sending Martin an email direct if you can=92t crack =
the
problem by switching EPICIO.dll versions: he=92s incredibly helpful!

=20

My system:

Windows XP

EPICUSB

EXPANSION module

ABA with 5x 64BTN module

4x 32OUTPUT module

1x ROTARY module

=20

and now that we are on it ;o)

=20

Please confirm that the following code is correct for my system:

=20

#define FASTSCAN 0
#define SLOWSCAN  1
#define OUTPUT   2

DefineModule(0, FASTSCAN, 0, 8)
DefineModule(1, SLOWSCAN,  0, 16)
DefineModule(2, SLOWSCAN,  0, 16)

DefineModule(7, FASTSCAN, 0, 16)

=20

DefineModule(0, OUTPUT, 0, 16)

=20

[Mark Doran] There=92s one bug.  You can=92t have more than 16 rows =
designated
as FASTSCAN; you have 24 above.  Also, who=92s rotary module are you =
using??
If it=92s one of Ralph=92s you need a type =933=94 define module for it. =
 We=92re
using a different type that just wires in as a regular pair of switch =
throws
so it uses type 1 or 0=85if that=92s what you have too then you are =
probably ok.

=20

Cheers,

=20

Mark.

=20


------=_NextPart_000_000B_01C32DA0.51086DB0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">


<meta name=3DGenerator content=3D"Microsoft Word 10 (filtered)">

<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:"Lucida Console";
	panose-1:2 11 6 9 4 5 4 2 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
span.emailstyle17
	{font-family:"Lucida Console";
	color:blue;
	font-weight:normal;
	font-style:normal;
	text-decoration:none none;}
span.emailstyle18
	{font-family:Arial;}
span.EmailStyle19
	{font-family:"Lucida Console";
	color:blue;
	font-weight:normal;
	font-style:normal;
	text-decoration:none none;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body bgcolor=3Dwhite lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3D"Lucida =
Console"><span
style=3D'font-size:10.0pt;font-family:"Lucida Console";color:blue'>OK, =
you made
me look it up! ;-)</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3D"Lucida =
Console"><span
style=3D'font-size:10.0pt;font-family:"Lucida =
Console";color:blue'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3D"Lucida =
Console"><span
style=3D'font-size:10.0pt;font-family:"Lucida Console";color:blue'>It =
looks to me
from the Microcockpit web site that you have the R&amp;R (Ralph&#8217;s) =
module
for hooking up encoders. =A0I think my brain was out to lunch a bit =
yesterday: ignore
he type &#8220;3&#8221; comment, that was bogus.</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3D"Lucida =
Console"><span
style=3D'font-size:10.0pt;font-family:"Lucida =
Console";color:blue'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3D"Lucida =
Console"><span
style=3D'font-size:10.0pt;font-family:"Lucida Console";color:blue'>The =
Rotary
module&#8217;s address is &#8220;7&#8221; so you have that bit right but =
it is
good for 20 encoders each with 2 input switch bits so =
that&#8217;s:</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3D"Lucida =
Console"><span
style=3D'font-size:10.0pt;font-family:"Lucida =
Console";color:blue'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3D"Lucida =
Console"><span
style=3D'font-size:10.0pt;font-family:"Lucida Console";color:blue'>=A0 =
definemodule(7,
FASTSCAN, 0, 5) // only need 5 rows to cover 20x2 bits</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3D"Lucida =
Console"><span
style=3D'font-size:10.0pt;font-family:"Lucida =
Console";color:blue'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3D"Lucida =
Console"><span
style=3D'font-size:10.0pt;font-family:"Lucida Console";color:blue'>You =
can make
them FASTSCAN if you want but you may not need to do that if you are =
short on FASTSCAN
rows&#8230;it&#8217;s no big loss if you miss the odd click on the =
encoder knob
(this is a bit dependent on the type of encoder you have I guess).=A0 =
FWIW, I&#8217;m
just using FASTSCAN for HOTAS, ICP mostly since those are the most =
used.</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3D"Lucida =
Console"><span
style=3D'font-size:10.0pt;font-family:"Lucida =
Console";color:blue'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3D"Lucida =
Console"><span
style=3D'font-size:10.0pt;font-family:"Lucida =
Console";color:blue'>However, you
also need to set the type of encoder you have for each one connected.=A0 =
That
requires you also to define the output side of module 7 =
thus:</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3D"Lucida =
Console"><span
style=3D'font-size:10.0pt;font-family:"Lucida =
Console";color:blue'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3D"Lucida =
Console"><span
style=3D'font-size:10.0pt;font-family:"Lucida Console";color:blue'>=A0 =
definemodule(7,
OUTPUT, 0, 3)=A0 // one bit per, last 4 in row 2 not =
used</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3D"Lucida =
Console"><span
style=3D'font-size:10.0pt;font-family:"Lucida =
Console";color:blue'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3D"Lucida =
Console"><span
style=3D'font-size:10.0pt;font-family:"Lucida Console";color:blue'>With =
these you
can then use setpoint() (in the INIT() function is probably good) to =
CW/CCW or
2 phase depending on the devices that you have hooked up.=A0 In general =
if you
have CW/CCW devices (the assumed default) you can actually get away =
without
programming the type bit using setpoint() but if you have 2 phase =
devices then
you have to put a &#8220;1&#8221; into the corresponding bit position in =
module
7&#8217;s rows, like this:</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3D"Lucida =
Console"><span
style=3D'font-size:10.0pt;font-family:"Lucida =
Console";color:blue'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3D"Lucida =
Console"><span
style=3D'font-size:10.0pt;font-family:"Lucida Console";color:blue'>=A0 =
setpoint(7,
1, 0b00000001) // encoder #8 on mod 7 is a 2 phase</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3D"Lucida =
Console"><span
style=3D'font-size:10.0pt;font-family:"Lucida =
Console";color:blue'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3D"Lucida =
Console"><span
style=3D'font-size:10.0pt;font-family:"Lucida Console";color:blue'>Hope =
that
helps.=A0 See if you can find a copy of &#8220;rotary.pdf&#8221; which =
is the
docs file for the R&amp;R Rotary module &#8211; it has all this stuff =
and a few
more examples in it besides.</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3D"Lucida =
Console"><span
style=3D'font-size:10.0pt;font-family:"Lucida =
Console";color:blue'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3D"Lucida =
Console"><span
style=3D'font-size:10.0pt;font-family:"Lucida =
Console";color:blue'>Cheers,</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3D"Lucida =
Console"><span
style=3D'font-size:10.0pt;font-family:"Lucida =
Console";color:blue'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3D"Lucida =
Console"><span
style=3D'font-size:10.0pt;font-family:"Lucida =
Console";color:blue'>Mark.</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3D"Lucida =
Console"><span
style=3D'font-size:10.0pt;font-family:"Lucida =
Console";color:blue'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3D"Lucida =
Console"><span
style=3D'font-size:10.0pt;font-family:"Lucida =
Console";color:blue'>&nbsp;</span></font></p>

<div style=3D'border:none;border-left:solid blue 1.5pt;padding:0in 0in =
0in 4.0pt'>

<p class=3DMsoNormal><font size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;
font-family:Tahoma'>-----Original Message-----<br>
<b><span style=3D'font-weight:bold'>From:</span></b>
simpits-tech-admin@simpits.org [mailto:simpits-tech-admin@simpits.org] =
<b><span
style=3D'font-weight:bold'>On Behalf Of </span></b>Frank Riedel<br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Sunday, June 08, =
2003 1:49
AM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> =
simpits-tech@simpits.org<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> Re: =
[simpits-tech]
F4memreader from &quot;Pegasus&quot;</span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;</span></font></p>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Thanks Mark - vervy helpfull !</span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;</span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>My Rotary module is from =
Microcockpit</span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>will the code then be ok !</span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;</span></font></p>

</div>

<div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>#define FASTSCAN 0<br>
#define SLOWSCAN&nbsp;&nbsp;1<br>
#define OUTPUT&nbsp;&nbsp;&nbsp;2<br>
<br>
DefineModule(0, FASTSCAN, 0, 8) // EPICUSBmodule //<br>
DefineModule(1, SLOWSCAN,&nbsp;&nbsp;0, 16) // 64BTNmodule //<br>
DefineModule(2, SLOWSCAN,&nbsp;&nbsp;0, 16) // 64BTNmodule =
//</span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>DefineModule(7, FASTSCAN, 0, 8) // ROTARYmodule =
//</span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>DefineModule(0, OUTPUT, 0, 16) // OUTPUTmodule =
//</span></font></p>

</div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;</span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I'll try the trick with the EPICIO.DLL later to =
day</span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>and let you and other now... then, if it's not =
working</span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>i'll concat Martin direct. !</span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;</span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Frank</span></font></p>

</div>

<blockquote style=3D'border:none;border-left:solid black =
1.5pt;padding:0in 0in 0in 4.0pt;
margin-left:3.75pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt'=
>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>----- Original Message ----- </span></font></p>

</div>

<div style=3D'font-color:black'>

<p class=3DMsoNormal style=3D'background:#E4E4E4'><b><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;font-weight:bold'>From:</span=
></font></b><font
size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'> <a
href=3D"mailto:mark_s_doran@hotmail.com" =
title=3D"mark_s_doran@hotmail.com">Mark
Doran</a> </span></font></p>

</div>

<div>

<p class=3DMsoNormal><b><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial;font-weight:bold'>To:</span></font></b><font size=3D2
face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'> <a
href=3D"mailto:simpits-tech@simpits.org" =
title=3D"simpits-tech@simpits.org">simpits-tech@simpits.org</a>
</span></font></p>

</div>

<div>

<p class=3DMsoNormal><b><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial;font-weight:bold'>Sent:</span></font></b><font =
size=3D2
face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'> Sunday, =
June 08,
2003 2:57 AM</span></font></p>

</div>

<div>

<p class=3DMsoNormal><b><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial;font-weight:bold'>Subject:</span></font></b><font =
size=3D2
face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'> RE: =
[simpits-tech]
F4memreader from &quot;Pegasus&quot;</span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;</span></font></p>

</div>

<div style=3D'border:none;border-left:solid blue 1.5pt;padding:0in 0in =
0in 4.0pt'>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Hi all !</span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I have a prob. with =
F=A4memreader...</span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>It says that it can't find EPIC... what do i do =
wrong...</span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>a follow Martins inst. instruction =
???</span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3D"Lucida =
Console"><span
style=3D'font-size:10.0pt;font-family:"Lucida Console";color:blue'>[Mark =
Doran]
This is almost certainly a problem with the version of EPICIO.dll you =
have on
the system.&nbsp; There&#8217;s an unpredictable combination that you =
have to
find between the ROM load (checksum determines which it is), the version =
number
of the EPICIO.dll, and the version of Martin&#8217;s code that you =
have.&nbsp;
Not all combinations work.&nbsp; I&#8217;ve had to work at it each time =
I
upgrade the EPIC USB ROM load to find a combo that works.&nbsp; And =
frankly,
I&#8217;m still have a number of problems with analog data and pigeon =
holes
that make me think the only answer is going to a model of rebuilding
Martin&#8217;s code with each version of the EPICIO.dll that there is; =
this is
not a good thing but may be unavoidable </span></font><font size=3D2 =
color=3Dblue
face=3DWingdings><span =
style=3D'font-size:10.0pt;font-family:Wingdings;color:blue'>L</span></fon=
t><font
size=3D2 color=3Dblue face=3D"Lucida Console"><span =
style=3D'font-size:10.0pt;
font-family:"Lucida Console";color:blue'> </span></font><font size=3D2
color=3Dblue face=3DWingdings><span =
style=3D'font-size:10.0pt;font-family:Wingdings;
color:blue'>L</span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3D"Lucida =
Console"><span
style=3D'font-size:10.0pt;font-family:"Lucida Console";color:blue'>One =
quick
trick to try: as I recall, when you unpack Martin&#8217;s code =
there&#8217;s a
version of EPICIO.dll in the directory with the F4Reader.exe.&nbsp; This =
takes
precedence over the one in your \windows\blahblah directory from the =
EPIC
install process.&nbsp; Try changing the name of the copy of EPICIO.dll =
in the
f4Reader directory (martins_epicio.dll or something) &#8211; that should =
force
the system to give you the one you installed with the EPIC &#8211; that =
might
be enough right there.</span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3D"Lucida =
Console"><span
style=3D'font-size:10.0pt;font-family:"Lucida Console";color:blue'>I =
would
recommend sending Martin an email direct if you can&#8217;t crack the =
problem
by switching EPICIO.dll versions: he&#8217;s incredibly =
helpful!</span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;</span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>My system:</span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Windows XP</span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>EPICUSB</span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>EXPANSION module</span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>ABA with 5x 64BTN module</span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>4x 32OUTPUT module</span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>1x ROTARY module</span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;</span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>and now that we are on it ;o)</span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;</span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Please confirm that the following code is correct for =
my
system:</span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;</span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>#define FASTSCAN 0<br>
#define SLOWSCAN&nbsp;&nbsp;1<br>
#define OUTPUT&nbsp;&nbsp;&nbsp;2<br>
<br>
DefineModule(0, FASTSCAN, 0, 8)<br>
DefineModule(1, SLOWSCAN,&nbsp;&nbsp;0, 16)<br>
DefineModule(2, SLOWSCAN,&nbsp;&nbsp;0, 16)</span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>DefineModule(7, FASTSCAN, 0, 16)</span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;</span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>DefineModule(0, OUTPUT, 0, 16)</span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3D"Lucida =
Console"><span
style=3D'font-size:10.0pt;font-family:"Lucida Console";color:blue'>[Mark =
Doran]
There&#8217;s one bug.&nbsp; You can&#8217;t have more than 16 rows =
designated
as FASTSCAN; you have 24 above.&nbsp; Also, who&#8217;s rotary module =
are you
using??&nbsp; If it&#8217;s one of Ralph&#8217;s you need a type
&#8220;3&#8221; define module for it.&nbsp; We&#8217;re using a =
different type
that just wires in as a regular pair of switch throws so it uses type 1 =
or
0&#8230;if that&#8217;s what you have too then you are probably =
ok.</span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3D"Lucida =
Console"><span
style=3D'font-size:10.0pt;font-family:"Lucida =
Console";color:blue'>Cheers,</span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3D"Lucida =
Console"><span
style=3D'font-size:10.0pt;font-family:"Lucida =
Console";color:blue'>Mark.</span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;</span></font></p>

</div>

</div>

</blockquote>

</div>

</div>

</body>

</html>

------=_NextPart_000_000B_01C32DA0.51086DB0--