LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Need help with Daqpad 6052 and Labwindows/CVI

Hello,

Can anyone direct me to (or send me), a functional
example of continuous AI with a DAQPad-6052E
(Firewire) and Labwindows CVI.

My hardware appears okay, in that it successfully
samples and displays a signal with the Measurement
and Automation Wizard.

I know Labwindows came with many examples,
but I can't seem to find one that I can
get to work with the hardware.

I'm running XP on a Dell P4, 2.6 Gig.

Thanks!
Steve Chapman
Arkansas Children's Hospital
chapmanstephend@uams.edu
0 Kudos
Message 1 of 4
(3,191 Views)
Steve,

It is strange that none of the installed examples are functioning correctly with your DAQPad-6052E. Specifically, the DAQdoubleBuf.PRJ performs a continuous, single-channel analog input acquisition. Below, I have attached an example I created some time back that performs a continuous, multi-channel analog input acquisition. Additionally, the example has a user interface.

Good luck with your application.

Spencer S.
0 Kudos
Message 2 of 4
(3,191 Views)
Thanks for the help, Spencer!!

I have some questions about your example, the board
itself, and the DAQ library functions:

The user manual for the 6052 says that
the polarity and range are programmable, but
I don't see any function calls that set either
of those paramaters. I'm I just not seeing them
in the code, or are you simply using the defaults
for the board? If you wanted to set the polarity
and range what library function would you use?
AI_Configure is the call that we used on our
old board. Can it be used with the DAQPad-6052E?
If so, does the InputMode argument do anything?

Thanks for the support!!
Steve Chapman
Arkansas Children's Hospital
0 Kudos
Message 3 of 4
(3,191 Views)
Hey Steve,

You are correct in assuming that this program uses the default settings in MAX for the input mode and range. If you added the AI_Configure function to this code you could also set the mode and range. The Input mode would override the default settings in MAX for that specific operation.

I hope this helps out.

Joshua P.
Application Engineering
National Instruments
0 Kudos
Message 4 of 4
(3,191 Views)