This is for acquiring data with NI DAQ  card