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.
|
Microsoft数据连接文件(.udl)也被称作通用数据连接文件,在使用数据库链接工具包来操作数据库的的时候会需要用到。我知道怎么去在Windows中生成这一个文件,但是不知道在LabVIEW中怎么生成?
根据以下步骤来在LabVIEW中新建一个数据连接文件:
1. 选择工具>>创建数据连接…这样会启动数据连接属性设置窗口。
2. 在Provider选项卡,选择你希望通信的数据库管理系统,并点击下一步继续。
3. 在Connection选项卡,填入具体要连接的数据库的名称、位置、用户名和密码。这些信息会对应到那个指定的数据库文件。
4. 你可以点击“测试连接”来测试你将要生成的UDL文件。
5. 你可以继续在Advance和All选项卡上分别设置超时时间和高级许可。
6. 点击确定完成设置。
7. 输入想要生成UDL的名称,点击确认来保存这个UDL文件。
要找在LabVIEW外生成UDL文件的帮助,请参考Knowledge Base 2KFB4NOU:Creating a Microsoft Data Link file (.UDL) for Connecting to a Database in LabVIEW
|