I'm trying to generate a continuous periodic pattern with NI 6534. This works in principle, but my problem is that a logic 1 is not high during the whole clock cycle but falls back to low every time in the second half of the clock cycle.
i.E. if I output constant 1, the output actually is 101010...
Is it somehow possible to have the data available for the whole clock cycle?
I'm running at maximum speed, but the behaviour is the same when I reduce the output frequency.
The code I wrote is something like:
int state0=0x00,state1=0xFF;
ushort blockdata[4];
DIG_Grp_Config (BoardID, Group2, 1, PortC, 1);
DIG_Grp_Mode (BoardID, Group2, 0, 0, 0, 0, 0);
DIG_Block_PG_Config (BoardID, Group2, 2, 0, -3, 1, 0);
Set_DAQ_Device_Info(BoardID,ND_PATTERN_GENERATION_LOOP_ENABLE,ND_ON);
blockdata[0]=state1;
blockdata[1]=state1;
blockdata[2]=state1;
blockdata[3]=state1;
DIG_Block_Out (BoardID, Group2, blockdata, 4);
Any hint is highly appreciated.
Regards,
Sven