09-26-2011 02:05 PM
Hello,
I am looking for documentation that explains the details of the calling statements in the VB 6 code examples.
I refer to the expression "DAQmxReadAnalogF64" as the calling statement, if this is not correct please advise me what NI uses to refer to this expression.
I refer to the expression:
( taskHandle, numSampsPerChannel, 10#, _
fillMode, data(0), arraySizeInSamps, sampsPerChanRead, ByVal 0&)
as the arguments of the calling function, and if this is not correct please advise me what NI uses to refer to these variables.
In the VB 6 code examples there is the statement:
DAQmxReadAnalogF64(taskHandle, numSampsPerChannel, 10#, _
fillMode, data(0), arraySizeInSamps, sampsPerChanRead, ByVal 0&)
I assume that this statement is device specific.
So I am interested in the details of what the arguments are, and what they accomplish when used with the NI 9201 8 Channel Analog Input Module used in the cDAQ 9174 backplane chassis.
I assume this information is available on your ni.com web site, so please direct me to the appropriate location on the site.
Thank you,
George Benedict
BPI President and Owner
Solved! Go to Solution.
09-26-2011 06:01 PM - edited 09-26-2011 06:03 PM
Hi George,
The DAQmx VB6 API is documented in the NI-DAQmx C Reference Help, which should be installed on your computer. Look on the Start Menu under All Programs >> National Instruments >> NI-DAQ >> Text-Based Code Support >> NI-DAQmx C Reference Help. It's not available on the web at this time. (But there is a somewhat related idea exchange posting that you can vote for: Post the NI-DAQmx base C Function Reference Help pages on your fora somewhere. Voting helps show that there is customer demand for DAQ documentation on the web.)
Why look in the C help instead of a VB6-specific help file? The DAQmx VB6 API is actually just a type library that allows you to access the DAQmx ANSI C API directly from VB6.
Brad
09-28-2011 10:15 AM
Thank you Brad.
This is clear to me now.