Resetting Slate from App

Posted in General by Benjamin Budzak Fri May 04 2018 22:26:48 GMT+0000 (Coordinated Universal Time)·8·Viewed 1,057 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!
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.

marked this as solved
May 19, 2018

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

May 22, 2018

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

May 24, 2018

cool ty man

May 25, 2018

woman :)

May 25, 2018

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

May 25, 2018


Markdown is allowed