Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

event callbacks in Visual Basic 6.0 (VB6) with NI-DAQmx C-API crashes VB environment when exiting example app

Went from 8.9.5 to 8.6.0 and the problem went away.

XP,SP3, VS6, VBSP5

Message 11 of 14
(5,329 Views)

Hi,

 

I've just installed the DAQmx 9.1.1 and so far Excel hasn't crashed. System: XP,SP3, Office 2003

 

Regards, Alex

0 Kudos
Message 12 of 14
(5,166 Views)

Hi Chapashop,

 

 I'm trying to use DAQmx events in VB6.0 (old style...). I I found the code for 'NI-DAQmx: Continuous Analog Acquisition with NI-DAQmx Events in Visual Basic 6.0'. I can't find this example. Can you please post this link or if you prefer just the zip file?

 

Tahnk you,

p.

 

0 Kudos
Message 13 of 14
(4,389 Views)

Hi,

 

I've attached the Basic File I use in Excel (VBA). There you can see how to initialize the DAQ-Device and how to assign the event. This is for VBA, maybe you will have to modify it to meet your needs. I hope, this is, what you ment.

 

Regards, Alex

 

 

0 Kudos
Message 14 of 14
(4,385 Views)