Error Messages
Capture returned 101 - Tablet Error when using the 540 in serial mode
When trying to capture a signature from the STU 540 in serial mode using the on-board ROM images the following error message appears:
Capture returned: 101 - Tablet Error
Solution
Please take into account the important factors listed below.
1. Upload the image
Before attempting to use the 540 in "Signature Mode" (i.e. on-board images) at least one capture window image must be uploaded using the Signature Mode Image Uploader.
For further details see STU-540 Operating Modes.
Please note that the DemoButtons test program uploads its own on-board images which will overwrite any that have already been uploaded.
If you upload one or more images with the uploader and then run DemoButtons in "Signature Mode" you will have to upload the original image(s) again to make your application work.
2. Licensing
"Signature Mode" cannot be used with an evaluation licence so make sure that you have specified a production licence in your code.
3. Configuration Settings
The values which you specify in your configuration file (or in the API properties) must exactly match the values which were used when the image was uploaded.
There are three ways of specifying the configuration values for "Signature Mode":
- Specify the path name of the configuration file and the image number which you want to use in the code, e.g.
dc.SetProperty("stuSigModeConfig", "D:\\Signature SDK\\HTML\\STU-config.config, 1");
- Specify each individual property relating to the image in the application code, e.g.
dc.SetProperty("stuSigModeScreenNum",1);
dc.SetProperty("stuSigModeWhen",1);
dc.SetProperty("stuSigModeOK","OK");
dc.SetProperty("stuSigModeClear","Clear");
dc.SetProperty("stuSigModeCancel","Cancel");
dc.SetProperty("stuSigModeFontName","Verdana");
dc.SetProperty("stuSigModeFontSize",10);
- Specify the path name and image number of the configuration file in the registry in a string value named stuSigModeConfig as illustrated below.
NOTE
For 32-bit applications on a 32-bit PC or 64-bit applications on a 64-bit PC the registry values should be in HKEY_LOCAL_MACHINE\SOFTWARE\Florentis\sd.
For 32-bit applications (e.g. Internet Explorer) on a 64-bit PC they should be in HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Florentis\sd.
If any doubt please put them in both locations and create the "sd" key if it doesn't already exist.