DIG_Change_Message_Config Returns Improper HandleHardware: Digital I/O (DIO)>>Isolated>>PCI-6527
Problem: I have the NI PCI-6527 and I am programming in Visual Basic. I am trying to use change notification, but the NI-DAQ function DIG_Change_Message_Control is not working properly. I have already seen the KnowledgeBase on using Change Notification with the NI 6527 in Visual Basic (see link below), but now the handle being returned by DIG_Change_Message_Config is a 32-bit long int instead of the needed 16-bit short int. How can I get this functionality to work in Visual Basic? Solution: A simple edit in the nidaq32.bas file is all that is needed to fix the handle return. Open nidaq32.bas and in the fifth parameter, replace the % with an & to change the handle return from a long to short int. Related Links: KnowledgeBase 27F9MMQT: Using Change Notification with the NI 6527 in Visual Basic Attachments:
Report Date: 12/13/2002 Last Updated: 01/02/2003 Document ID: 2SCDK759 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
