LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Single Buffered DAQ with 6533

I'm an RF test engineer who has been thrust into a DSP project.
I'm working with a 6533 board to do some simple digital data acquistion.
I want to single buffer my input for 4K of serial data set up as an 8-bit
group. In other words, I have 8 lines connected connect to DIOA0-7
and I'm interested in 4K of serial data over each of thos lines. I keep
getting an error when I run my program. The error occurs at the
"DIG_Block_In" function. I want to acquire 38000 points. The run-time
error that tells me to set the array buffer to some ridiculously large amount

(4 billion bytes?). Any thoughts on where I might be going wrong or
on how one would setup a buffer to acquire data in the manner that
I wish?

Mark Dietrich
R
aytheon Electronic Systems
0 Kudos
Message 1 of 2
(2,683 Views)
Did you set all the parameters for the board?

DIG_Grp_Config(iDevice,iGroup,iGroupSize,iPort,iDir);

DIG_Block_PG_Config(iDevice, iGroup, iPgConfig, iReqSource, iPgTB, iReqInt, iExtGate);

Align_DMA_Buffer(iDevice, iGroup, piBuffer, ulCount, ulCount*2, &ulAlignIndex);

//Set a trigger if you want
DIG_Trigger_Config(iDevice, iGroup,
StartTrig, StartPol,
StopTrig, StopPol,
ptsAfterTrig,
uPattern, uPatMask);

DIG_Block_In(iDevice, iGroup, piBuffer, ulCount);

Should work. I am using this routine for an digital oscilloscope and works perfect.
0 Kudos
Message 2 of 2
(2,683 Views)