Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I write to a single line (output) using VB6 and DAQmx

I am using a PCI6024 and have to upgrade the driver to DAQmx so that my application is compatable with windows7. 

The card configuration is set to lines 0,1 and 4 as inputs, 2, 3, 5, 6, 7 as outputs.  I'm not sure how to write to a single output using vb6. Anyone have any ideas?

0 Kudos
Message 1 of 3
(3,126 Views)

Hi;

 

Have you tried any of the examples for VB6 that come with DAQmx. Here is how you can find them:

 

http://digital.ni.com/public.nsf/allkb/735848148B5B4964862571F5004692C7?OpenDocument

 

And if you don’t have them install yet you can follow these instructions and add the support for VB6:

 

http://digital.ni.com/public.nsf/websearch/BA4DF79463C884BD86256E0B00813E1E?OpenDocument

0 Kudos
Message 2 of 3
(3,118 Views)

Thanks you for the reply. The only commands I found so far are reading and writing to a byte array.  Unless I missed it I didn't see an offset of where to start the array. 

0 Kudos
Message 3 of 3
(3,086 Views)