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.



当部署包含RT调试字符串VI的LabVIEW可执行程序时发生错误



主要软件: LabVIEW Modules>>LabVIEW Real-Time Module
主要软件版本: 8.6
主要软件修正版本: N/A
次要软件: N/A

问题: 我想部署LabVIEW Real-Time 可执行文件(RT EXE)时遇到了错误。当我查看RT目标控制台时,我看到这样的消息: Error loading 'ole32.dll': Missing export 'RegQueryValueA' from 'ADVAPI32.DLL'. 为什么会出现这个错误,我能做些什么来解决呢?



解答: 当RT Debug String VI (RT调试字符串VI)用于LabVIEW Real-Time构建应用时会出现此错误。 当使用该VI时,请确保您已经选中下述选项:Remove unused members of project libraries(移除项目库的未使用成员)。该选项在您的RTEXE的Build Specifications的Additional Exclusions分类下。




相关链接:

LabVIEW 2011 Help: RT Debug String VI
KnowledgeBase 3EK88SOH: Can I Use the RT Debug String In My Time-Critical Loop?
KnowledgeBase 31481JOH: Can I Erase Characters Written Using Debug String?



附件:






报告日期: 07/02/2012
最近更新: 08/17/2015
文档编号: 5Z1A55GI