Saragon
2007-09-06 07:10:14 UTC
Hello,
I'm trying to generate multiple static digital signals using the USB 6259 and C# (VS2005).
The problem is that the speed I get seems very slow.
I used the WriteDig sample from the NI sample set for VS2005, and I timed the WriteSingleSampleMultiLine command like this:
double start = System.DateTime.Now.Millisecond;
writer.WriteSingleSampleMultiLine(true,dataArray);
double end = System.DateTime.Now.Millisecond;
double total = end - start;
writeButton.Text = total.ToString();
The time I am getting is 15ms or 30ms. Is there any way to speed up the static generation of digital signals?
Thanks, Andrei.
I'm trying to generate multiple static digital signals using the USB 6259 and C# (VS2005).
The problem is that the speed I get seems very slow.
I used the WriteDig sample from the NI sample set for VS2005, and I timed the WriteSingleSampleMultiLine command like this:
double start = System.DateTime.Now.Millisecond;
writer.WriteSingleSampleMultiLine(true,dataArray);
double end = System.DateTime.Now.Millisecond;
double total = end - start;
writeButton.Text = total.ToString();
The time I am getting is 15ms or 30ms. Is there any way to speed up the static generation of digital signals?
Thanks, Andrei.