08-29-2008 02:47 AM
08-29-2008 04:28 AM
08-29-2008 05:17 PM
Hi koray,
The 6602 only supports software-timed digital input and output. That means you cannot use hardware triggers or digital signals to time your acquisition. If you're already doing a multi-threaded application, it will be difficult to get more performance out of it. Perhaps others here can offer some suggestions from their experience.
Joe Friedchicken
NI Configuration Based Software Get with your fellow OS users
[ Linux ] [ macOS ]Principal Software Engineer :: Configuration Based Software
Senior Software Engineer :: Multifunction Instruments Applications Group (until May 2018)
Software Engineer :: Measurements RLP Group (until Mar 2014)
Applications Engineer :: High Speed Product Group (until Sep 2008)
09-01-2008 04:03 AM
09-02-2008 05:56 PM
Joe Friedchicken
NI Configuration Based Software Get with your fellow OS users
[ Linux ] [ macOS ]Principal Software Engineer :: Configuration Based Software
Senior Software Engineer :: Multifunction Instruments Applications Group (until May 2018)
Software Engineer :: Measurements RLP Group (until Mar 2014)
Applications Engineer :: High Speed Product Group (until Sep 2008)
05-29-2009 03:49 AM
06-01-2009 03:17 PM - edited 06-01-2009 03:21 PM
Hello,
I think that what Joe is referring to is something like the following pseudo-code:
// Create the task
CNiDAQmxTask digitalReadTask;
<CONFIGURATION>
//Start the Task
StartTask();
for (int i = 0; i < samples; i++){
// Read the data
data = reader.ReadSingleSamplePortUInt32();
}
//Stop the Task
StopTask();
This is not working code, FYI. Just an idea of the point I think Joe is meaning to get across.
Chris W