LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Serial Communication Problem

Solved!
Go to solution

Here's a print screen of the PortMon of a command that I send, the front panel and diagram of my modified Serial Communication.

 

I get the right answer from the query, but you can see that the timeout came at the reading.

 

Have you ever see something like that?

 

Thanks,

 

Francis

0 Kudos
Message 11 of 16
(780 Views)

Don't set 'enable termination character' to False. The property that is being set only applies to reads. You want to stop the VISA Read when it sees the LF character. Otherwise, you need to moify your program to see how many bytes are available and pass that to the VISA Read.

0 Kudos
Message 12 of 16
(769 Views)

 


@Dennis Knutson wrote:

Don't set 'enable termination character' to False.


Indeed. StarFiber: I explicitly said to set the "write" one, not the "read" one.

 

0 Kudos
Message 13 of 16
(759 Views)

Hi,

 

It works fine now.

 

Thanks

 

Francis

0 Kudos
Message 14 of 16
(745 Views)

my god, why i can not lauch a topic?

Amanda
0 Kudos
Message 15 of 16
(685 Views)

Well, you did but you did not post a question. Have you tried clicking on Help (same line as your user id)?

0 Kudos
Message 16 of 16
(675 Views)