From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

rs232

When I run basic write and read.vi , I use a virtual com port for my PC doesn't have it. The program can run without any error,but the string indicator can't show what I write.  I want to know why ,thanks !

0 Kudos
Message 1 of 4
(5,353 Views)
Its not supposed to. Are you trying to create an echo? You have the command in the string control so why have it twice?
0 Kudos
Message 2 of 4
(5,349 Views)

I  want to echo what I write in the first string control, for example "abcd",and I expect to recieve "abcd" in the string indicator below.

0 Kudos
Message 3 of 4
(5,342 Views)
Then just use the concatenate string function.
0 Kudos
Message 4 of 4
(5,333 Views)