Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

USB-6008 / control via Excel VBA

Dear NI Experts,

 

I'm try to control my USB-6008 by Excel (VBA).  I already found an Excel example how to write to the digital output.

 

Does anyone could provide a most simple Excel-VBA code example how to read the analog input / write the analog output? Answers are very appreciated, many thanks in advance for help. Dirk

0 Kudos
Message 1 of 3
(5,944 Views)

Hi DirkI,

 

I have some links with examples for you:

 

http://zone.ni.com/devzone/cda/epd/p/id/2470

 

http://zone.ni.com/devzone/cda/epd/p/id/305

 

I hope this examples are useful for you.

 

Best Regards Lam.

0 Kudos
Message 2 of 3
(5,918 Views)

Hi Lam,

thank you for your help.

Unfortunately this stuff didn't moved me forward: The first excel-spreadsheet works -I assume- not with my USB-6008. A submacro "DAQ" is neccessary which probably my 6008 does not assist.

The second file is the identical file I already work with - unfortunately "only" writing the I/O-port.

Anyhow - many thanks - I will investigate further.

Best Regards Dirk

0 Kudos
Message 3 of 3
(5,908 Views)