Measure

cancel
Showing results for 
Search instead for 
Did you mean: 

CallDAQtasksfromVisualBasic6(notVBA)

Run a DAQ task when requested from a Visual Basic 6 program. Task is read voltages and store in Excel sheet.
0 Kudos
Message 1 of 4
(7,695 Views)
Hello,

It sounds like you wish to make NI-DAQ calls in Visual Basic. You should probably post your question in one of the Data Acquisition forums in order to reach an audience more able to answer your question. This forum is for users of the National Instruments product "Measure for Windows".

Good luck,
Darren
0 Kudos
Message 2 of 4
(7,695 Views)
I am using "Measure for Windows" to set up the task. It runs correctly in Measure and from the dialoge box. How can I run it as an Automation object from Visual Basic 6 (OLE)? The objective is to run the DAQ task from Visual Basic 6 (measure voltage and store in Excel spreadsheet). The task works fine, I just want to control it from Visual Basic. Thanks for responding.
0 Kudos
Message 3 of 4
(7,695 Views)
Hello,

Thanks for clarifying your question. Unfortunately, I do not know how to set up something like that, since I do not know anything about Visual Basic. I think the best option for you is to check out the Microsoft Developer's Network, which should have some excellent resources on performing ActiveX Automation in Visual Basic.

Good luck, and have a pleasant day.

Darren
0 Kudos
Message 4 of 4
(7,695 Views)