Peter,
I'm trying to get a couple of Rotaries to talk to PM MCP via EPICINFO and the MCP_xxx_VAR variables.
I have set up two virtual Axes Z and Rx on what I think is windows joystick 3. It is the 4th joystick to appear in the windows list.
I have added the lines MCP_HDG_VAR=3,3 and MCP_ALT_VAR=3,4 to
the EPICINFO.cfg file.
The values show correctly for each of the joystick axes when
I calibrate them in windows.
However I get no response from the PM MCP and the EpicInfo.log shows this at the end :
***********************************************************
550093 AxisAction 'MCP_HDG_VAR' actioned: J3,2, was=0014, now=0013
550093 AxisAction 'MCP_ALT_VAR' actioned: J3,3, was=0001, now=0002
550984 AxisAction 'MCP_ALT_VAR' actioned: J3,3, was=0002, now=0001
560797 Joy 3 for Axes got error 167!
560859 Joy 3 Axes okay now 0!
570500 AxisAction 'MCP_HDG_VAR' actioned: J3,2, was=0013, now=0014
570500 AxisAction 'MCP_ALT_VAR' actioned: J3,3, was=0001, now=0002
570625 AxisAction 'MCP_ALT_VAR' actioned: J3,3, was=0002, now=0001
585140 Joy 3 for Axes got error 167!
585203 Joy 3 Axes okay now 0!
*********************************************************
Got any idea what's going wrong ? What is the error 167 ?
Hope you can help,