"Lisa" wrote:
>>Hi-->I am trying to turn a stepper using a series of pulses from my DIO-32HS.>The
program was modeled after "Continuous Pattern Output" in labview 5.1.>I send
in a large array of 1's and 0's into the DIO write VI. However, I>need to
spilt up the array into eighths because the array is too large. So,>I was
wondering what I should set my buffer size to in the DIO config VI.>I think
my problem is that I initially set the size of the buffer to half>the size
of the entire array. This is due to the fact that I am using two>ports and
I am writing the entire array at first. However, then I am putting>in an
array which is one-eighth the size of the original into a DIO Write.>I think
that the problem is that it is reading the first eighth, but no
t>changing
the size of the buffer so there is a lot of extra data to write.>However,
I tried changing the size of the buffer so that it is always one-eighth>of
the array, however that doesn't work either.>>Please advise,>Lisa
I am having a similar problem Lisa. There is an example in the C:\Program
Files\Labview\Examples\DAQ\Digital\digio.llb that steps 2 ports worth of
data to the DIO card and reads it back. This example may help you in your
stepping of data.
I know that the Buffers have to be on 256 byte boundaries due to DMA transfers,
but am
not sure if you are running into that issue as well. Please email me when
you get a chance.
Thankx,
bri