08-09-2024 03:06 AM
float64 data[200000]={0};
DAQmxReadAnalogF64(taskHandle,-1,-1,DAQmx_Val_GroupByChannel,data,200000,&read,NULL);
The function will crash if it has more than 20k parameters or an array of more than 20k, is there an upper limit to this parameter, or is there a better way to receive a signal and extract 80k data
Thanks for the reply
06-24-2025 07:28 AM - edited 06-24-2025 07:28 AM
@astffsfffff wrote:
float64 data[200000]={0};
DAQmxReadAnalogF64(taskHandle,-1,-1,DAQmx_Val_GroupByChannel,data,200000,&read,NULL);
The function will crash if it has more than 20k parameters or an array of more than 20k, is there an upper limit to this parameter, or is there a better way to receive a signal and extract 80k data
Use dynamically allocated buffers (malloc) instead of stack allocated ones!