Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Document Type: Example Program
NI Supported: Yes
Publish Date: Sep 6, 2006


Feedback


Yes No

Related Categories

Related Links - Developer Zone

Related Links - Products and Services

6527 change detection using Visual Basic

2 ratings | 4.50 out of 5
Print

Downloads

Filename: 6527example.zip
Requirements: View

This example shows one way to use the 6527 with change detection in Visual Basic. There is an incompatibility between calling conventions that do not allow you to use the typical callback routine in the DIG_Change_Message_Config function call. NI-DAQ uses the cdecl calling convention and Visual Basic supports the stdcall calling convention. One way to use the DIG_Change_Message_Config function call in Visual Basic is to use windows messaging, which this example illustrates. As of NI-DAQ 6.9 there is no Active X control for VB that does change detection with the 6527.

This is just one workaround to using the DIG_Change_Message_Config function call in Visual Basic.

Requirements


Filename: 6527example.zip

Software Requirements


Language(s): Visual Basic

Hardware Requirements


Hardware Group: Multifunction DAQ (MIO)
Driver: Traditional NI-DAQ (Legacy) 6.8.0

 
2 ratings | 4.50 out of 5
Print

Reader Comments | Submit a comment »

 

Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).