dt3k_readsingle
data[i] = dt3k_readsingle(dev, DPR_SUBSYS_AI, chan, gain);
data[1] = dt3k_readsingle(dev, DPR_SUBSYS_DIN, 0, 0);