Register

fxMouse - Control your pc with casio fx9860

Topics on released projects. Only the author of a program should start a topic on it.
Senior Member
Posts: 369
Joined: Tue Jan 03, 2012 11:24 pm
Calculators: Casio Afx 1.0, Casio fx-9860GII SD, Casio Classpad 330, Casio fx-CG20, Casio Classpad fx-CP400

Re: fxMouse - Control your pc with casio fx9860

Postby helder7 » Tue Feb 26, 2013 7:23 pm

happy wrote:Pressed hard until it wouldn't go in any further. It's loose for both calcs. May be the cable is the issue. Waiting for my 3pin to serial cable to arrive to test again.

I suggest you do the following test:
1-Turn on the calculator
2-Go to: Link menu and change the settings:
Cable Type: 3pin
Wakeup:On
Capture: Memory
3-Turn off the calculator
4-Connect the cable 3pins, if the serial port is intact, the calculator should turn on alone (without pressing any key)
SiO2 + CaCO3 ----------> CaSiO3 + CO2

Senior Member
User avatar
Posts: 605
Joined: Sat Sep 15, 2012 6:59 am
Location: Krautland ****
Calculators: Casio fx-7400GII, Casio fx-7400GII (SH4), Casio fx-9750GII, Casio fx-9750GII (SH4), Casio fx-9860G, Casio fx-9860G SD, Casio fx-9860G Slim, Casio fx-9860GII SD, Casio fx-9860GII SD Power Graphic 2, Casio Classpad 330 plus, Casio fx-CG20, Casio fx-CG50, Casio Classpad fx-CP400

Re: fxMouse - Control your pc with casio fx9860

Postby SimonLothar » Tue Feb 26, 2013 7:31 pm

happy wrote:I am trying to connect two FX9860GII's together using a cable that I took from the box of a brand new FX9860GII-2. Could that be the problem?
You could check the cable jack's diameter with a slide gauge.
Every now and then I encountered this issue with some of my calculators, too. Could be mended by adjusting the tension of the contact's spring. But to do that, the calculator has to be opened!
I'll be back!

Senior Member
Posts: 68
Joined: Tue May 08, 2012 5:40 pm

Re: fxMouse - Control your pc with casio fx9860

Postby happy » Wed Feb 27, 2013 5:06 am

helder7 wrote:I suggest you do the following test:


Ah, that worked! But still couldn't transfer a file between the two calcs (from "Link" using the trans/recv buttons). Got 'transmit error'. I was trying to send a G1A though, could that be a problem? Flourish also didn't work.

Senior Member
Posts: 68
Joined: Tue May 08, 2012 5:40 pm

Re: fxMouse - Control your pc with casio fx9860

Postby happy » Wed Feb 27, 2013 9:06 am


Senior Member
Posts: 369
Joined: Tue Jan 03, 2012 11:24 pm
Calculators: Casio Afx 1.0, Casio fx-9860GII SD, Casio Classpad 330, Casio fx-CG20, Casio Classpad fx-CP400

Re: fxMouse - Control your pc with casio fx9860

Postby helder7 » Sun Apr 14, 2013 10:54 pm

@SimonLothar, the device name is something like?

Code: Select all
\\\\?\\USB#VID_07CF&PID_6101#5&15a1c23b&0&1#{a5dcbf10-6530-11d2-901f-00c04fb951ed}


eventghost returns this name when I open the add-in (oncalc) compiled with Comm_ Syscalls.

I have the following code in python (that eventghost can run), I'm in the right way?

Code: Select all
    import win32file
    import win32con
    import binascii

    print "starting"

    name = "\\\\?\\USB#VID_07CF&PID_6101#5&15a1c23b&0&1#{a5dcbf10-6530-11d2-901f-00c04fb951ed}"

    handle = win32file.CreateFile(
        name,
        win32con.GENERIC_READ|win32con.GENERIC_WRITE,
        win32con.FILE_SHARE_READ | win32con.FILE_SHARE_WRITE,
        None, # no security
        win32con.OPEN_EXISTING,
        0,
        0
    )

    buffer = win32file.AllocateReadBuffer(2)

    err, data = win32file.ReadFile(handle, buffer)
    if err == 0:
        print binascii.hexlify(data)
    else:
        eg.PrintError("Error")
       
    win32file.CloseHandle(handle)

    print "finished"
SiO2 + CaCO3 ----------> CaSiO3 + CO2

Senior Member
User avatar
Posts: 605
Joined: Sat Sep 15, 2012 6:59 am
Location: Krautland ****
Calculators: Casio fx-7400GII, Casio fx-7400GII (SH4), Casio fx-9750GII, Casio fx-9750GII (SH4), Casio fx-9860G, Casio fx-9860G SD, Casio fx-9860G Slim, Casio fx-9860GII SD, Casio fx-9860GII SD Power Graphic 2, Casio Classpad 330 plus, Casio fx-CG20, Casio fx-CG50, Casio Classpad fx-CP400

Re: fxMouse - Control your pc with casio fx9860

Postby SimonLothar » Fri Apr 19, 2013 3:06 pm

helder7 wrote:@SimonLothar, the device name is something like?

Code: Select all
\\\\?\\USB#VID_07CF&PID_6101#5&15a1c23b&0&1#{a5dcbf10-6530-11d2-901f-00c04fb951ed}


eventghost returns this name when I open the add-in (oncalc) compiled with Comm_ Syscalls.

I have the following code in python (that eventghost can run), I'm in the right way?

Code: Select all
    import win32file
    import win32con
    import binascii

    print "starting"

    name = "\\\\?\\USB#VID_07CF&PID_6101#5&15a1c23b&0&1#{a5dcbf10-6530-11d2-901f-00c04fb951ed}"

    handle = win32file.CreateFile(
        name,
        win32con.GENERIC_READ|win32con.GENERIC_WRITE,
        win32con.FILE_SHARE_READ | win32con.FILE_SHARE_WRITE,
        None, # no security
        win32con.OPEN_EXISTING,
        0,
        0
    )

    buffer = win32file.AllocateReadBuffer(2)

    err, data = win32file.ReadFile(handle, buffer)
    if err == 0:
        print binascii.hexlify(data)
    else:
        eg.PrintError("Error")
       
    win32file.CloseHandle(handle)

    print "finished"

Sorry for the delay. I've been on some other, non-CASIO projects.

For my fx-9860 types I get
\\?\USB#VID_07CF&PID_6101#5&33C53628&0&1#{A5DCBF10-6530-11D2-901F-00C04FB951ED}
when I use Setup-API to enumerate VID=07CF and PID=6101.

The CLASSPAD communication DLL prefers CLSID {CDE970E0-E265-11D5-8E17-0000C0CBB2F3}, which yields
\\?\USB#VID_07CF&PID_6101#5&33C53628&0&1#{CDE970E0-E265-11D5-8E17-0000C0CBB2F3} as device name on my system.

The complete device name depends on the individual system.
If you have a program, which outputs the device name, you can use this name for your system. But you cannot use this name on a different system.
I'll be back!

Senior Member
Posts: 369
Joined: Tue Jan 03, 2012 11:24 pm
Calculators: Casio Afx 1.0, Casio fx-9860GII SD, Casio Classpad 330, Casio fx-CG20, Casio Classpad fx-CP400

Re: fxMouse - Control your pc with casio fx9860

Postby helder7 » Sat Apr 20, 2013 1:45 am

Thanks for the info.
SiO2 + CaCO3 ----------> CaSiO3 + CO2

Previous

Return to Released Projects

Who is online

Users browsing this forum: No registered users and 15 guests