From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.



哪个CVI格式和输入输出库函数会引起标准输入输出(stdio)窗口出现?



主要软件: LabWindows/CVI Development Systems>>LabWindows/CVI Full Development System
主要软件版本: 4.0.1
主要软件修正版本: N/A
次要软件: N/A

问题: 如果您使用下面任何的函数,将会导致标准输入输出窗口跳出:

SetStdioWindowVisibility
KeyHit
GetKey
FmtOut
ScanIn
Any ot the folllowing using 0 or 1 as the file handle:
FmtFile
ScanFile
WriteFile
WriteLine
ReadFile
ReadLine
read
write

此外,调用单元库(Utility Library)中的GetStdioWindowOptions函数,并以0作为第二个参数,将会阻止窗口跳出。

解答:



相关链接: KnowledgeBase 0ZMI74TL: Why Must the CVI Utility and Format I/O Library Header Files Appear after windows.h?
KnowledgeBase 17O9DT52: When does a LabWindows/CVI Scan function call (containing repetition codes) return a value of 1 formatted item per modifier?
KnowledgeBase 2LLFGCNK: How Do I Format My ANSI C Time String?


附件:





报告日期: 11/15/2006
最近更新: 11/22/2006
文档编号: 172FQ7NU