02-24-2014 10:19 AM
Hi,
I was wondering if this would be the correct syntax to allow sampling a channel twice in a scan list:
for (row = 1; row < numrows; row++)
{
strRow = getstring(row);
DAQmxCreateAIVoltageChan(task, phychan, strRow, .......);
}
DAQmxAddGlobalChansToTask(task, "1"); // adding row=1 channel to end of scan list
Note that we only need to add one virtual 'row' to task.
Thank you.
02-25-2014 11:29 AM - edited 02-25-2014 11:30 AM
Hi jharris66,
It looks like you are on the right track. Try referencing this KnowledgeBase Article http://digital.ni.com/public.nsf/websearch/EDF8932AC018CC8A86256E20006D768F?OpenDocument