在Microsoft Visual Basic 6.0下使用NI-HSDIO
硬件: Digital I/O (DIO)>>High-Speed Digital I/O>>PXI-6542, Digital I/O (DIO)>>High-Speed Digital I/O>>PXI-6551, Digital I/O (DIO)>>High-Speed Digital I/O>>PXI-6552, Digital I/O (DIO)>>High-Speed Digital I/O>>PXI-6561, Digital I/O (DIO)>>High-Speed Digital I/O>>PXI-6562, Digital I/O (DIO)>>High-Speed Digital I/O>>PCI-6541, Digital I/O (DIO)>>High-Speed Digital I/O>>PCI-6542, Digital I/O (DIO)>>High-Speed Digital I/O>>PCI-6551, Digital I/O (DIO)>>High-Speed Digital I/O>>PCI-6552, Digital I/O (DIO)>>High-Speed Digital I/O>>PCI-6561, Digital I/O (DIO)>>High-Speed Digital I/O>>PCI-6562, Digital I/O (DIO)>>High-Speed Digital I/O>>PXI-6541
问题: 如何在Microsoft Visual Basic 6.0下使用NI-HSDIO的驱动?有什么范例可以参考的么?
解答: National Instruments现在还没有提供Microsoft Visual Basic 6.0的API函数来控制HSDIO。
想要在Microsoft Visual Basic 6.0下使用NI-HSDIO的驱动您将要使用附件中的文件。这个文件使用 ANSI C API 函数进行的编写,安装在NI-HSDIO的驱动中。
文件使用NI-HSDIO的1.4.2以上版本进行编写。
为了在Visual Basic 6.0项目中使用这个文件,按照如下的步骤:
- 打开项目浏览器
- 右键点击项目名称
- 选择添加》模块
- 选择附件中的hsdio.bas文件
如果您正在寻找Visual Basic 6.0的范例,在下面的链接中可以找到。
相关链接: Developer Zone Example: VB6 niHSDIO - Static GenerationDeveloper Zone Example: VB6 niHSDIO - Static AcquisitionDeveloper Zone Example: VB6 niHSDIO - Static Generation and AcquisitionDeveloper Zone Example: VB6 niHSDIO - Dynamic Generation with ScriptDeveloper Zone Example: VB6 niHSDIO - Dynamic Acquisition Software TriggerDeveloper Zone Example: VB6 niHSDIO - Dynamic Generation and Acquisition-Source SynchronousDeveloper Zone Example: VB6 niHSDIO - Stimulus Response-Load from HWS FileKnowledgeBase 3939UN5B: Microsoft Visual C# and Visual Basic .NET Wrappers for National Instruments Modular Instruments Drivers
附件:
- niHSDIO_VB6.zip
报告日期: 04/11/2006
最近更新: 07/11/2012
文档编号: 3WA8DDLE
Other Support Options
Ask the NI Community
Collaborate with other users in our discussion forums
Request Support from an Engineer
A valid service agreement may be required, and support options vary by country.