下载
文件 | 描述 |
---|---|
STU-540-测试实用程序.zip | 测试实用程序 |
STU 540 测试实用程序 src.zip | C++ 源代码 |
STU-540 可用于标准 USB HID 模式或更改为串行虚拟 Com 端口 (VCP) 设备(USB 串行连接)。
当需要远程连接并且不可能进行完整的 USB 传输时,可以使用串行模式。串行接口比 HID 慢得多,图像传输需要很长时间。
这意味着正常操作是不切实际的,因为在上传图像数据时显示更新之间存在很长的延迟。
为了克服这个问题,STU-540 有许多增强模式,图像被预加载到设备的非易失性存储器中并在运行时显示 - 这消除了在操作期间上传图像的需要。
测试实用程序在 HID 和串行模式下演示了这些功能。
要为 USB 或串行操作配置 STU-540,请参阅:
STU 串行连接
将测试实用程序从 STU-540-Test-Utilities.zip 解压缩到一个文件夹:
公用事业 | 描述 |
---|---|
演示按钮.exe | 演示签名模式 |
演示键盘.exe | 演示键盘模式 |
DemoPinPad.exe | 演示密码键盘模式 |
演示幻灯片.exe | 演示幻灯片放映 |
删除RomImages.exe | 删除预加载的图像 |
注意:为避免上传图像出现延迟,请在尝试使用串行模式之前使用 USB HID 连接运行测试。**
演示按钮
签名模式
The ‘Use Signature Mode’ option is used to switch between the conventional and on-board signature capture methods. The on-board Signature Mode is intended for use with slow serial connections.
Click [ Signature ] - this will start signature capture using the STU-540 signature capture mode (over HID):
The first time DemoButtons runs, the images it needs for signature capture mode will be uploaded to the tablet. Since they are stored in ROM they will not be uploaded again.
It is advisable to use HID mode to upload the images. To exit, press a button on the STU display (not Windows).
Signature Capture over Serial
Run DemoButtons.exe and select the following:
- Select ‘Use serial connection’
- Select Port to match the Virtual Port used in query.exe
- Set Baud rate to 128000
- Select ‘Use Signature Mode’
- Click [ Signature ] to start signature capture
Because the images were uploaded in the HID test they are immediately available and there is no delay in signing or clearing the screen etc.
To emphasise the effectiveness of the signature capture mode, deselect ‘Use Signature Mode’. This method uses the conventional image upload method and takes a considerable time to start because the full screen image is uploaded at runtime:
DemoKeyPad
The demo uses the Key Pad mode to make a graphic user selection. The first time the program runs it uploads the images it needs.
DemoPinPad
The demo uses the PIN Pad mode to enter a PIN code. The first time the program runs it uploads the images it needs.
DemoSlideShow
该演示使用幻灯片放映模式来显示多个图像。程序第一次运行时会上传它需要的图像。图像在平板电脑上持续显示,直到停止。
删除RomImages
该实用程序会删除存储在 STU 平板电脑上的所有图像。
使用STU Serial Connection中的 query.exe查看存储在 ROM 中的图像的哈希值。这些值表示图像的存储状态,例如:
RomImageHash[Signature,1,normal] = 6686b765cb00bcdefd40a0f53c58d46a
RomImageHash[Signature,1,pushed] = 1b4bf1afd08396de7fd8715749bd9274
RomImageHash[Signature,2,normal] = not stored
RomImageHash[Signature,2,pushed] = not stored