Microsoft Visual Basic 6.0 Wrappers for NI Sync, NI TClk, and NI HWS Hardware: Modular Instruments
Problem: I am trying to write an application in Microsoft Visual Basic 6.0 that uses NI modular instruments and PXI products. There is no Visual Basic 6.0 programming interface available for NI-Sync, NI-TClk, and NI-HWS. How can I use these drivers from VB 6.0? Solution: National Instruments currently does not offer a native Visual Basic 6.0 programming interface for the NI-SYNC, NI-TClk, and NI-HWS drivers. However, the attached wrappers can be used to access the functions within these drivers from Visual Basic 6.0. The wrappers are based on ANSI C support which is included with each of the drivers.
Drivers supported by Visual Basic 6.0 wrappers are as follows:
To use the wrappers attached below from an existing project, add them to the solution by right-clicking on the project name in the Solutions Explorer. Select Add»Module, and in the Existing Item tab, browse to the location of the .bas file for the driver of your choice. Click OK to add the wrapper to your project. Related Links: KnowledgeBase 3WA8DDLE: Using NI-HSDIO with Microsoft Visual Basic 6.0 KnowledgeBase 1USF95DM: Using NI-SCOPE with Microsoft Visual Basic 6.0 KnowledgeBase 4IADEPDE: Using NI-FGEN with Microsoft Visual Basic 6.0 Developer Zone Example: VB6 NI-SCOPE - Synchronization of Multiple High-Speed Digitizers Using NI-TClk Developer Zone Example: Writing and Reading NI Hierarchical Waveform Storage (NI-HWS) Files in Visual Basic 6.0 Attachments:
Report Date: 10/11/2006 Last Updated: 05/15/2008 Document ID: 42AIQMX1 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
