10-14-2013 02:39 PM
I have an RS232 and the NI USB-6210 and I was wanting to know how would I go by getting the commands for the USB-6210. I was thinking about writing a program and was wanting to know the serial ports for it.
10-14-2013 02:45 PM
Hello Word505,
The 6210 is an M-Series USB DAQ device and there is no RS-232 interface available. The DAQmx drivers required to use it should have been included with the device, or an appropriate version for your development environment can be found here:
ni.com/drivers search: NI-DAQmx
I would also recommend reading through the getting started tutorials available here:
Getting Started with NI-DAQmx: Main Page
http://www.ni.com/white-paper/5434/en
Regards,
10-15-2013 07:31 AM
So to clarify what you just said, If I had an embedded system I could not configure the USB-6210 commands to run program using a RS232?
10-15-2013 09:18 AM
Hi Word505,
Your phrasing is a little ambiguous, so there are two ways to interpret your question:
1) Can I configure the DAQ device, affect its output, or interpret data coming into the 6210 by way of RS232 serial communication?
-No
2) Can I use the 6210's digital input/output channels to communicate with an RS232 serial interface?
-Yes, this is theoretically possible, but I wouldn't recommend it. The biggest reason for this is that you cannot buffer digital I/O, so you would have to send/receive symbols one bit at a time using software timing. I've not tried it, but I believe that this would lead to all sorts of problems.
Regards,
10-15-2013 12:32 PM
@0utlaw wrote:
-Yes, this is theoretically possible, but I wouldn't recommend it. The biggest reason for this is that you cannot buffer digital I/O, so you would have to send/receive symbols one bit at a time using software timing. I've not tried it, but I believe that this would lead to all sorts of problems.
I have, and as mentioned ^^, it's not worth it. Use a CP2102 or other USB-UART and talk to it that way. MUCH easier.