Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

generate VB events on DI lines changes

Hi,
first of all I apologize in advance for my english, considering I'm french 🙂

My application use a PCI-6503 card to control and monitor the components binary status of an automotive testbed (as inputs or outputs, depending of the kind of components).
I have to launch VB procedures when some lines changes (for example to update the status of front panel indicators destinated to the bench operator)
How can I generate VB Events when the status of one of my DI lines changes ?
Do I necessarily have to use the CWDI read method coupled to some timers events ??

thanks in avance for your answers (and keep in mind I'm french, so please use the simpliest english as possible ! 😉 )
0 Kudos
Message 1 of 2
(5,689 Views)
Hello,

The NI-6503 does not support hardware change detection. The only way to do it is by polling the line with the CWDI Read method as you suggest.

For a summery of supported features and a list of devices that do support change detection see the following web document.

NI Developer zone: Digital I/O Hardware Product-Feature Matrix
http://zone.ni.com/devzone/conceptd.nsf/webmain/E3FC49FC59594A6486256E60007E60DA

Regards,
0 Kudos
Message 2 of 2
(5,663 Views)