Multifunction DAQ

annuler
Affichage des résultats de 
Rechercher plutôt 
Vouliez-vous dire : 

How to set a timer for a function call

Dear friends,

 

Suppose I have to read digital channel output from the hardware connected to my UI for every 100msec. Is there a way so that I can create a timer for it?

By the way I am using the below function for reading from the hardware:

DAQmxErrChk (DAQmxReadDigitalLines(taskHandle,1,10.0,DAQmx_Val_GroupByChannel,data,100,&read,&bytesPerSamp,NULL)); 

 

Thanks,

Raunak 

0 Compliments
Message 1 sur 1
3 429 Visites