10-24-2022 04:28 AM
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)
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
10-24-2022 12:42 PM
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
10-26-2022 03:19 AM
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
10-26-2022 10:50 PM
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.