Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

USB 6212 and TxD and RxD signals

Hello, 

 

I am relatively new to LabView.

 

We have a USB-6212 and I want to use it to read outputs from a digital newtonmeter. 

The newtonmeter has serial port. From the newtonmeter manual I have the following pinout (here I have attached a couple of screenshots, hope they show up correct)

 

Lawaetz_0-1666602934990.png

Lawaetz_1-1666602948566.png

 

My question is:

How do I handle TxD and RxD signals in Labview? Can it be done with the hardware (computer, NI USB-6212, newtonmeter with serial port)? 

 

The application does not need to log at high speed - 100 Hz is more than enough

 

Thanks in advance, 

 

Jacob Lawaetz 

Copenhagen, Denmark

 

 

0 Kudos
Message 1 of 4
(1,392 Views)

You can save a lot of time and money by purchasing a USB-RS232 adapter like https://www.ni.com/en-us/support/model.usb-232.html 

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 2 of 4
(1,356 Views)

Thanks for the reply.

I see you recommend a new piece of hardware

 

However, we want to connect some other items simultaneously, where the USB-6212 is well-suited

Is there a way I can use the USB-6212 directly?

 

/Jacob

0 Kudos
Message 3 of 4
(1,334 Views)

Not inherently, because all that you've is just a generic DIO, you've to implement the UART protocol in your application by using bit-bang.

 

You can still use the 6212 for the other items in your setup and use a USB-RS232 convertor for this TxD and RxD signals.

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 4 of 4
(1,311 Views)