ni.com is currently undergoing scheduled maintenance.
Some services may be unavailable at this time. Please contact us for help or try again later.
12-11-2006 04:12 PM
12-11-2006
08:00 PM
- last edited on
04-29-2024
01:06 PM
by
Content Cleaner
12-12-2006
09:48 AM
- last edited on
04-29-2024
01:08 PM
by
Content Cleaner
Hi jarra,
The USB-6008 does not have any correlated I/O, which means that any triggering or timing used to generate digital outputs is going to be software timed. Therefore, the operating system handles all of the resources necessary to perform your I/O, and you’re bound to have much slower data rates than with hardware timed I/O.
National Instruments has an entire product line of motion controllers that could be used to drive a motor.
However, if you’re looking for something more versatile, I would suggest a device from our M Series multifunction data acquisition line. These devices contain digital I/O, analog I/O, and counters that can be used for synchronization and other advanced I/O operations.
With a better idea of your application (required number of analog/digital I/O lines, price, etc.), I could recommend a specific M Series device. Post back if you have further questions.
I hope this helps!
Ed W.
Applications Engineer
National Instruments
12-12-2006 11:37 AM
12-12-2006 11:38 AM
12-13-2006
10:00 AM
- last edited on
04-29-2024
01:08 PM
by
Content Cleaner
Hi jarra,
I would expect the C++ to run faster than Visual Basic, but I couldn’t give you any specifications on the speed differences between the two languages.
Otherwise, the NI PCI-6221 looks like a good choice for your application. It is part of our M Series product line, and it meets most of the requirements that you’ve listed in your last post. There is also a USB M Series line, but these devices tend to be higher priced than their PCI counterparts.
Ed W.
Applications Engineer
National Instruments
12-13-2006 03:37 PM
12-14-2006 08:49 AM
12-14-2006 10:28 AM
Hi jarra,
Dennis is exactly right about the hardware timing.
However, if you still want to try using Visual C++, there are plenty of C examples in the following folder.
\Program Files\National Instruments\NI-DAQ\Examples\VisualC
The examples just use the C programming language, but you could simply add the user interface manually. On the other hand, since Windows tends to give high priority to visual processes, adding the visual components to the code may end up slowing down the data acquisition.
All in all, if you want any kind of deterministic digital output timing, you will need a device with hardware timing like the ones I suggested in the previous post.
Ed W.
Applications Engineer
National Instruments
12-19-2006 09:35 AM
Hi Guys,
Just to close this thread, I did the experiment with Visual c++ and it was 3 times faster i.e. achieved 2ms period with VC++ rather than 6ms period with VB. i.e. no great improvement as you were indicating. I am going to evaluate whether I can live with the slower speed and in parallel look further into the more suitable products mentioned.
Thanks for your help.