LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI USB 6210 commands

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.

0 Kudos
Message 1 of 5
(2,766 Views)

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

http://www.ni.com/nisearch/app/main/p/bot/no/ap/tech/lang/en/pg/1/sn/catnav:du,n8:3478.41.181.5495,s...

 

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,

Tom L.
Message 2 of 5
(2,759 Views)

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?

0 Kudos
Message 3 of 5
(2,723 Views)

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,

 

 

Tom L.
Message 4 of 5
(2,711 Views)

@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.

Message 5 of 5
(2,703 Views)