Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TI-nspire CX CAS: Leaving Press-to-Test #343

Closed
cgloeckner opened this issue Sep 29, 2024 · 16 comments · Fixed by #352
Closed

TI-nspire CX CAS: Leaving Press-to-Test #343

cgloeckner opened this issue Sep 29, 2024 · 16 comments · Fixed by #352

Comments

@cgloeckner
Copy link

Hi,

great software! But is there a way to simulate connecting the calculator to another one? I've tried entering the Press-to-Test mode but have no option of leaving (instead restarting the software and loading a snapshot from before entering Press-to-Test).

Cheers
glocke

@adriweb
Copy link
Member

adriweb commented Sep 29, 2024

You can also just exit PTT by creating a "Press-to-test" folder (exactly named that way), then transfer in it a dummy/empty .tns file named "Exit Test Mode.tns" (exactly named that way).

@Vogtinator
Copy link
Member

Correct. We could also add a button for that in the UI I suppose. Firebird only implements the PC interface, not sure if it's possible to use the calc-to-calc method of leaving PTT.

@adriweb
Copy link
Member

adriweb commented Sep 30, 2024

Yeah it's just a NN command anyway, so should be easier

@cgloeckner
Copy link
Author

cgloeckner commented Sep 30, 2024

I'd welcome a button just like @Vogtinator suggested.
My use case for the emulator is using it on a Linux-based computer during class to show my students how to work with their handhelds - including entering/leaving the test mode.

Btw did @adriweb's suggestion not work for me: I could not transfer a dummy file (it just says Fehlgeschlagen! / failed) when transfering a file). Saving a document with the suggested filename (as a mean to get a file with that name) leads to a long loading animation, followed by a connection error (as if someone tries to leave PTT without connecting the handheld).

@Vogtinator
Copy link
Member

Vogtinator commented Sep 30, 2024

Btw did @adriweb's suggestion not work for me: I could not transfer a dummy file (it just says Fehlgeschlagen! / failed) when transfering a file).

I just tried it here - works. In PTT mode the "Press-to-Test" folder (@adriweb used the wrong capitalization) already exists, so just sending a file "Exit Test Mode.tns" works.

@adriweb
Copy link
Member

adriweb commented Sep 30, 2024

Ah well, I copied TI's instructions lol, guess they were wrong 🤡

@cgloeckner
Copy link
Author

cgloeckner commented Sep 30, 2024

@Vogtinator: My tests above relate to the Android Version (not able to send a file): it continus to output Status: Fehlgeschlagen! (status: failed!)
Screenshot_20240930-105729

On my Ubuntu Computer I'm able to transfer the Exit Test Mode.tns but I'm getting the same error.
Bildschirmfoto vom 2024-09-30 10-54-47
Bildschirmfoto vom 2024-09-30 10-56-05

btw both firebird-emus are v1.6 (Android: via apk from latest release, Ubuntu: via repository)

@Vogtinator
Copy link
Member

For the issue on Android I see that you're sending the file into the /ndless folder, not /Press-To-Test.

On desktop you're probably doing the same. Try using the file transfer ("Dateiübertragung") tab, press the refresh button and drop it into the folder. You might have to delete the preexisting document on the calc first.

@cgloeckner
Copy link
Author

cgloeckner commented Sep 30, 2024

Thanks for the info. On Android this led to a broken filename Exit%20Test%20Mode with masked whitespaces after transfering. Renaming manually afterwards to Exit Test Mode does let me leave PTT either.

On Computer, I manually moved the file to the PTT-folder because (see screenshot, the file is indented within the PTT-Folder).

Let me know when you've got more things to try :-) btw v4.4.0.532 as handheld version

@Vogtinator
Copy link
Member

Thanks for the info. On Android this led to a broken filename Exit%20Test%20Mode with masked whitespaces after transfering. Renaming manually afterwards to Exit Test Mode does let me leave PTT either.

Hm, right. There is a WIP fix in #258, but not quite ready for merge yet.

On Computer, I manually moved the file to the PTT-folder because (see screenshot, the file is indented within the PTT-Folder).

That won't work, it has to be transferred directly into the PTT folder using drag-and-drop in the file transfer tab.

@cgloeckner
Copy link
Author

cgloeckner commented Sep 30, 2024

Hm, right. There is a WIP fix in #258, but not quite ready for merge yet.

Ok :)

That won't work, it has to be transferred directly into the PTT folder using drag-and-drop in the file transfer tab.

How do I specify the target folder? When I drag and drop the .tns file from my computer's file browser into the file transfer window, it's automatically uploaded to the calc's root folder. nevermind, found it

@cgloeckner
Copy link
Author

cgloeckner commented Sep 30, 2024

Here's what worked for me on Ubuntu:

  1. Enter Emulation > Configuration
  2. Configure the destination folder to /Press-to-Test
  3. Send the Exit Test Mode.tns file via the button
    This automatically restarts the handheld and leaves the PTT without any additional keypresses.

This also works in "mobile view" mode on Computer
(And will probably work on Mobile once #258 is merged - I assume)

@Vogtinator
Copy link
Member

That way drag-and-drop onto the calc screen will also transfer into that folder which can be annoying. I recommend to drag-and-drop onto the folder in the file transfer tab instead.

Let's keep this open for adding a button.

@Vogtinator Vogtinator reopened this Sep 30, 2024
@cgloeckner cgloeckner changed the title TI-nspire CX CAS: Press-to-Test TI-nspire CX CAS: Leaving Press-to-Test Oct 4, 2024
@Vogtinator
Copy link
Member

Let's keep this open for adding a button.

Please try #352.

@cgloeckner
Copy link
Author

cgloeckner commented Oct 13, 2024

Please try #352.

The button works fine on my Linux machine in both modes: desktop and mobile view. ✔️

@Vogtinator
Copy link
Member

Thanks for the info. On Android this led to a broken filename Exit%20Test%20Mode with masked whitespaces after transfering. Renaming manually afterwards to Exit Test Mode does let me leave PTT either.

Hm, right. There is a WIP fix in #258, but not quite ready for merge yet.

#355

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants