ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Using UART TX and RX at the same time

Dear,

 

I am trying to read a sensor which can communicate with TX and RX. With the code I have now it is possible to read from the sensor but not transmit data to the sensor.

What am I doing wrong?

0 Kudos
Message 1 of 6
(4,435 Views)

Sorry you also need this file

0 Kudos
Message 2 of 6
(4,432 Views)

Hi,

 

What protocol is your sensor using. Why would you use TX and RX at the same time for one device. Which probably answer to a request.

 

Kees

0 Kudos
Message 3 of 6
(4,381 Views)

Hi Kees,

 

I am using a sensor from Atlas Scientific. The sensor has a circuit that collects measurement data and sends a string to your device. It works with TX and RX (see datasheet). https://www.atlas-scientific.com/_files/_datasheets/_circuit/DO_EZO_Datasheet.pdf .

We can aqcuire data from the circuit but not send a "command" from the myRIO to the circuit.. It is possible with the TX and RX of arduino but we want to use myRIO. 

 

Regards, Omur

0 Kudos
Message 4 of 6
(4,378 Views)

I was triggered by your title 'at the same time'

I am sure the RIO can also send data. I do not have the RIO software installed anymore so can't help you with this one.

 

Kees

0 Kudos
Message 5 of 6
(4,375 Views)

I am sorry, this is not my field but it worked now.

 

Thank you for your reply.

0 Kudos
Message 6 of 6
(4,366 Views)