Post Reply 
can you detect virtual vs physical calculator in a program?
03-05-2024, 03:33 AM (This post was last modified: 03-05-2024 06:05 AM by dmh.)
Post: #1
can you detect virtual vs physical calculator in a program?
I have a Python program that runs much faster on the virtual Prime cf the physical Prime so I was hoping there was some programmatical way to detect one vs the other, either natively in Python or via hpprime.eval().

I note that Help, About shows "Hardware: Emu" but I can't find this in a variable.

Is this possible?

Calculator Clique on YouTube
Visit this user's website Find all posts by this user
Quote this message in a reply
03-05-2024, 04:02 AM
Post: #2
RE: can you detect virtual vs physical calculator in a program?
Try the command VERSION(2). It returns the hardware version ("A", "C", or "D") on physical calculators. It might return "Emu" on your virtual machine.

<0|ΙΈ|0>
-Joe-
Visit this user's website Find all posts by this user
Quote this message in a reply
03-05-2024, 04:44 AM
Post: #3
RE: can you detect virtual vs physical calculator in a program?
Perfect - it works :-)

Thank you!

(03-05-2024 04:02 AM)Joe Horn Wrote:  Try the command VERSION(2). It returns the hardware version ("A", "C", or "D") on physical calculators. It might return "Emu" on your virtual machine.

Calculator Clique on YouTube
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)