LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Program distress stop for PCI Express 6343

Try something like

uInt64 nofsamples;

void * value = (void *) (& nofsamples);

or allocate the memory  dynamically

value = malloc( sizeof(uInt64);

 

 

0 Kudos
Message 11 of 14
(1,064 Views)

 

 


 

0 Kudos
Message 12 of 14
(1,062 Views)

0 Kudos
Message 13 of 14
(1,061 Views)

Hello,

 

the solution for this problem was simply a &:

DAQmxGetWriteAttribute (taskHandle, DAQmx_Write_TotalSampPerChanGenerated, &value);

 

In the frist try I got a value of 4 but my array has 800 values. I do not know what it counts now. I have written the line after the DAQmxStartTask.

 

Best regards

0 Kudos
Message 14 of 14
(1,061 Views)