Resetting Slate from App

Solved!
Posted in General by Benjamin Budzak Fri May 04 2018 22:26:48 GMT+0000 (Coordinated Universal Time)·8·Viewed 624 times

Hi, what is the method for triggering the two button magnet reset from software in the SDK? I found the EventLocQuality to detect magnetic interference, but in imagink there is a button to perform the two button magnet sensor reset. How do I do this? Please let me know, thanks!
Rabeb Aloui
May 18, 2018

Hello ,

You can use the refresh function of the Device class to reset the Slate from the API.
you can start by declaring a Device attribute like below :
Device *device;
Then you can retrieve the Device instance from the SlateManager :
device = &slateManager->getDevice();
After that you can call the refresh function: device->refresh();
Make sure to place magnetic objects at least 20 centimeters / 8 inches away (other iskn pen or ring, magnets, metal objects,etc) before starting the reset of the Slate.

Rabeb for the ISKN team.


Rabeb Aloui marked this as solved
Benjamin Budzak
May 19, 2018

ok, can i also trigger the pink light/button 2 pen calibration from my app, or is that not possible?

Rabeb Aloui
May 22, 2018

Hi,
The pen calibration is not possible from the API.
Rabeb for the ISKN team.

Benjamin Budzak
May 24, 2018

cool ty man

Rabeb Aloui
May 25, 2018

woman :)

Benjamin Budzak
May 25, 2018

man wasnt meant to be gender specific, but thank you either way :)

Rabeb Aloui
May 25, 2018

:D

Markdown is allowed