Jump to content



Photo
- - - - -

Some Way To Send A Picture From A Program?


  • Please log in to reply
19 replies to this topic

#1 kralikb

kralikb

    Newbie

  • Members
  • Pip
  • 11 posts

  • Calculators:
    CFX 9850 GB Plus

Posted 23 September 2005 - 06:49 PM

Hello,
Is there some way to send a picture file from a program? I just thought about making some kind of "terminal program" for the cfx9850GB plus. (Just proof-of-concept) I calculated that around 2 fps can be achieved (because of the 4-color mode :( imagine, 8 fps on a black-and-white model! :)). I checked the menus, but didn't find an option.

Thanks in advance.
Barnab

#2 huhn_m

huhn_m

    Casio Maniac

  • [Legends]
  • PipPipPipPipPipPipPipPip
  • 1957 posts
  • Gender:Male
  • Location:Germany / Dresden
  • Interests:Assembler(!!!)
    Computers and Programming
    Operating Systems
    Programmable Calculators
    Maths and everything arround it

  • Calculators:
    FX-82SX / AFX 2.0+ (ROM 1.03) / FX 1.0+ (ROM 1.03)

Posted 23 September 2005 - 11:02 PM

it is possible. However you need the protocoll. I remember that it was on th net somewhere but I don't know exactly where.

It is also not the easiest thing to do.

Btw. I got 12 fps on my AFX with my remote control Program which was able to show the contents of the PC screen on the calc and control the mouse cursor. Sadly I seem to have lost the sources ... :(

#3 kralikb

kralikb

    Newbie

  • Members
  • Pip
  • 11 posts

  • Calculators:
    CFX 9850 GB Plus

Posted 24 September 2005 - 06:27 AM

it is possible. However you need the protocoll. I remember that it was on th net somewhere but I don't know exactly where.

It is also not the easiest thing to do.

Btw. I got 12 fps on my AFX with my remote control Program which was able to show the contents of the PC screen on the calc and control the mouse cursor. Sadly I seem to have lost the sources ... :(


Oooh great. Is this a correct protocol description? http://users.pandora.be/gp/casio/
And what BASIC command can be used?

Thanks for your help,
Barnab

#4 huhn_m

huhn_m

    Casio Maniac

  • [Legends]
  • PipPipPipPipPipPipPipPip
  • 1957 posts
  • Gender:Male
  • Location:Germany / Dresden
  • Interests:Assembler(!!!)
    Computers and Programming
    Operating Systems
    Programmable Calculators
    Maths and everything arround it

  • Calculators:
    FX-82SX / AFX 2.0+ (ROM 1.03) / FX 1.0+ (ROM 1.03)

Posted 24 September 2005 - 06:58 AM

Yes this is the one I meantioned ... it is a little difficult but nearly complete!

Have fun :D

#5 kralikb

kralikb

    Newbie

  • Members
  • Pip
  • 11 posts

  • Calculators:
    CFX 9850 GB Plus

Posted 24 September 2005 - 07:12 AM

Yes this is the one I meantioned ... it is a little difficult but nearly complete!

Have fun :D


Thanks, but is there a BASIC command that may be used to receive a picture?
Otherwise I woldn't be able to achieve even 0.001 FPSes :D

#6 huhn_m

huhn_m

    Casio Maniac

  • [Legends]
  • PipPipPipPipPipPipPipPip
  • 1957 posts
  • Gender:Male
  • Location:Germany / Dresden
  • Interests:Assembler(!!!)
    Computers and Programming
    Operating Systems
    Programmable Calculators
    Maths and everything arround it

  • Calculators:
    FX-82SX / AFX 2.0+ (ROM 1.03) / FX 1.0+ (ROM 1.03)

Posted 24 September 2005 - 11:53 AM

... what about trying the receive( command

#7 R00KIE

R00KIE

    Casio Freak

  • Members
  • PipPipPipPip
  • 155 posts
  • Location:Portugal
  • Interests:Electronics, games, programming

  • Calculators:
    HP49G ROM 1.24; CASIO CFX-9850GB PLUS;CASIO FX-6300G; CASIO FX-82TL

Posted 24 September 2005 - 08:30 PM

I would like to add that the black and white models "emulate" the colors correctly, so they should give the same fps unless they are older (and have more bugs) than the color models.

#8 kralikb

kralikb

    Newbie

  • Members
  • Pip
  • 11 posts

  • Calculators:
    CFX 9850 GB Plus

Posted 26 September 2005 - 12:21 PM

... what about trying the receive( command


It's okay with the Receive( command, but how do I tell the calc to receive e.g. Picture 1 ?

#9 huhn_m

huhn_m

    Casio Maniac

  • [Legends]
  • PipPipPipPipPipPipPipPip
  • 1957 posts
  • Gender:Male
  • Location:Germany / Dresden
  • Interests:Assembler(!!!)
    Computers and Programming
    Operating Systems
    Programmable Calculators
    Maths and everything arround it

  • Calculators:
    FX-82SX / AFX 2.0+ (ROM 1.03) / FX 1.0+ (ROM 1.03)

Posted 26 September 2005 - 12:38 PM

well, write "Picture 1" in the brackets? (without the quotes, picture as command, not typed)

btw. there is also info on this in the manual

#10 kralikb

kralikb

    Newbie

  • Members
  • Pip
  • 11 posts

  • Calculators:
    CFX 9850 GB Plus

Posted 30 September 2005 - 06:06 PM

well, write "Picture 1" in the brackets? (without the quotes, picture as command, not typed)

btw. there is also info on this in the manual

Oh, my real question has ever been that: how do I write "Picture 1" as a command? (Sorry for not composing the question as this in the first turn.)

#11 Orwell

Orwell

    Casio Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 777 posts
  • Gender:Male
  • Location:Paris - France

  • Calculators:
    Casio AFX 1.02 / Casio ClassPad 300

Posted 01 October 2005 - 08:23 AM

I'm sorry but this will never work. The Receive( function was not designed for communication between 2 calculators or with a computer, it's only for some other casio tools (data aquisitions etc); plus you can only send variables or matrices with it.

huhn_m, he's speaking about the CFX models... What's the point speaking about AFX's possibilities? It's only confusing.

Btw, the framerate of such a program would be mainly limited by the transmission speed... (on AFX I mean!)
(and another point: if it runs at 2 fps in 4 colors mode, then it "should" run at only 4 fps (not 8) in 2 colors mode.)

#12 huhn_m

huhn_m

    Casio Maniac

  • [Legends]
  • PipPipPipPipPipPipPipPip
  • 1957 posts
  • Gender:Male
  • Location:Germany / Dresden
  • Interests:Assembler(!!!)
    Computers and Programming
    Operating Systems
    Programmable Calculators
    Maths and everything arround it

  • Calculators:
    FX-82SX / AFX 2.0+ (ROM 1.03) / FX 1.0+ (ROM 1.03)

Posted 01 October 2005 - 08:56 AM

of course you can communicate between CFX and the computer...

The computer can communicate with EVERY comport device as long as it knows the protocoll.

All I said reffered to the CFX (except the program I wrote) but it IS possible to communicate between CFX and computer (though not between 2 CFX).

If you've nerver had a CFX don't talk as if you'd know ... I had one and I WAS able to send variables to the calc and recive some from it. So no arguing about that :D

#13 Orwell

Orwell

    Casio Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 777 posts
  • Gender:Male
  • Location:Paris - France

  • Calculators:
    Casio AFX 1.02 / Casio ClassPad 300

Posted 01 October 2005 - 09:07 AM

I still have my own CFX.
You're right, it's possible to establish the communication with the computer, as long as you know the protocol. And I'm afraid that we don't have its details :(
But there is still the problem concerning the transmission of a picture; you can only send matrices or variables.

#14 huhn_m

huhn_m

    Casio Maniac

  • [Legends]
  • PipPipPipPipPipPipPipPip
  • 1957 posts
  • Gender:Male
  • Location:Germany / Dresden
  • Interests:Assembler(!!!)
    Computers and Programming
    Operating Systems
    Programmable Calculators
    Maths and everything arround it

  • Calculators:
    FX-82SX / AFX 2.0+ (ROM 1.03) / FX 1.0+ (ROM 1.03)

Posted 01 October 2005 - 12:34 PM

Well, we do have the protocoll here: http://users.pandora...ioio/about.html

#15 liquid

liquid

    Wannabe Casio God

  • Members
  • PipPipPip
  • 66 posts
  • Gender:Male
  • Location:NZ

  • Calculators:
    fx 9750 Plus

Posted 02 October 2005 - 01:27 AM

(and another point: if it runs at 2 fps in 4 colors mode, then it "should" run at only 4 fps (not 8) in 2 colors mode.)


wrong again,,,,the black and white calcs use the same amount of memory as the color ones for the pictures, ie the black and white calcs DO have 4 colors, but they display 3 of them as black, so you will have exactly the same framerate with them.

#16 huhn_m

huhn_m

    Casio Maniac

  • [Legends]
  • PipPipPipPipPipPipPipPip
  • 1957 posts
  • Gender:Male
  • Location:Germany / Dresden
  • Interests:Assembler(!!!)
    Computers and Programming
    Operating Systems
    Programmable Calculators
    Maths and everything arround it

  • Calculators:
    FX-82SX / AFX 2.0+ (ROM 1.03) / FX 1.0+ (ROM 1.03)

Posted 02 October 2005 - 07:56 AM

This is wrong at least for the AFX / FX series.

They take up less memory for pictures than the color ones.

#17 Orwell

Orwell

    Casio Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 777 posts
  • Gender:Male
  • Location:Paris - France

  • Calculators:
    Casio AFX 1.02 / Casio ClassPad 300

Posted 02 October 2005 - 08:21 AM

wrong again,,,,the black and white calcs use the same amount of memory as the color ones for the pictures, ie the black and white calcs DO have 4 colors, but they display 3 of them as black, so you will have exactly the same framerate with them.

:nonono:
Like huhn_m said, this is wrong on the AFX series at least

#18 liquid

liquid

    Wannabe Casio God

  • Members
  • PipPipPip
  • 66 posts
  • Gender:Male
  • Location:NZ

  • Calculators:
    fx 9750 Plus

Posted 03 October 2005 - 03:41 AM

huhn_m, he's speaking about the CFX models... What's the point speaking about AFX's possibilities? It's only confusing.


He is right. Enougth with the afx's, this topic is about the cfx's, and i was refering to the black and white fx-9750 ones, as thay are exacly the same as the cfx's except for colour screen.
so by black and white calcs, i mean the fx-9750

#19 huhn_m

huhn_m

    Casio Maniac

  • [Legends]
  • PipPipPipPipPipPipPipPip
  • 1957 posts
  • Gender:Male
  • Location:Germany / Dresden
  • Interests:Assembler(!!!)
    Computers and Programming
    Operating Systems
    Programmable Calculators
    Maths and everything arround it

  • Calculators:
    FX-82SX / AFX 2.0+ (ROM 1.03) / FX 1.0+ (ROM 1.03)

Posted 03 October 2005 - 08:02 AM

Damnit! All except this last comment about b/w screens was related to the CFX!!! Why do you bash me?
I just said this with the b/w screens on FX since they are the only B/w models I have and I cannot imagine that it is another way on the other b/w models (e.g. old 9xxx series).
Why should they need 4 bit to store a boolean?

Also this is not the point. You are REALLY off-topic!!! This is about sending pictures and not about the b/w calcs in ANY way so you'd better stop bashing me for naming the AFX when you come with you silly b/w CFX calcs.

and orwell, you bash me and say we should not speak about the AFX and then you mention AFX specific features? Where am I here? In Kindergarten?

#20 Orwell

Orwell

    Casio Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 777 posts
  • Gender:Male
  • Location:Paris - France

  • Calculators:
    Casio AFX 1.02 / Casio ClassPad 300

Posted 03 October 2005 - 03:03 PM

Okay, my bad, sorry.

If I have nothing to say then I would just have to say nothing. But this is valuable for me like for the others.




2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users