From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
|
LabWindows/CVI并没有任何内置的函数来和屏幕上的键盘进行通信。控制键盘的方法是调用可执行的系统函数,相当于从命令行启动程序。
一种方法是使用类似于如下所述的LabWindows/CVI函数:
static int g_exeHandle;
LaunchExecutableEx ("osk.exe", LE_SHOWNORMAL, &g_exeHandle);
TerminateExecutable (g_exeHandle);
另一种方法是通过调用WinAPI,参考相关链接中的外部链接。你可以在LabWindows/CVI中通过如下的帮助文档所描述的方法使用WinAPI: LabWindows/CVI Help: Interface to Win32 Application Programmatic Interface (API) Include Files
|