Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

PCI 6534 DIG_Grp_Config Problem

Using the NIDAQ driver and Visual C++ there is a problem with 32 bit output for the PCI 6534. When configuring the PCI 6534 card for double buffered pattern generation setting the group size equal to 4 (i.e. a 32 bit group) in the NIDAQ function:

status = DIG_Grp_Config (deviceNumber, group, groupSize, port, dir)

results in corrupted bit outputs. I see this with my own software and by modifying the example program :
DOdoubleBufPatternGen653x.C to output a periodic waveform (i.e. toggling a bit and watching it on an oscilliscope). Buffer alignment using the function :

status = Align_DMA_Buffer (deviceNumber, resource, buffer, count, bufferSize, alignIndex)

has the appropriate setting for the resource parameter.

Setting th
e groupSize equal to 2 (16 bit groups) results in correct output. This is a sufficient work around for me but I thought I would report the problem.
0 Kudos
Message 1 of 2
(3,240 Views)
Hello;

Thank you very much for your feedback.
I'll report the issue so that can be fixed or documented properly.
Regards
Filipe
0 Kudos
Message 2 of 2
(3,240 Views)