cancelar
Mostrando resultados para 
Pesquisar então 
Você quer dizer: 

Monitoring RS232 Communication

Resolvido!
Ir para a solução

 

Please is there a way to monitor RS232 communication traffic via VI? 

0 Kudos
Mensagem 1 de 6
5.706Exibições

The NI-VISA VIs work very well for this.

0 Kudos
Mensagem 2 de 6
5.700Exibições

@aderogba wrote:

 

Please is there a way to monitor RS232 communication traffic via VI? 


Put a VISA Read inside of a loop.  You will likely need to setup the port before the loop to make sure you have the right baud rate and other settings.  Look in the LabVIEW Example Finder (Help->Find Examples) for Simple Serial.vi for a decent place to start.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Mensagem 3 de 6
5.675Exibições

What I am really looking for is somehting that works similiar to hardware loop back. Using only software, I need to be able to monitor what is being sent out as well as what is being received. Thanks.

0 Kudos
Mensagem 4 de 6
5.634Exibições
Solução
Aceita pelo autor do tópico aderogba

Ot sounds like you want to "see" what the serial port is doing while another program is using the port like a port sniffer?

 

If so LabView will not do that as LabView and Ni-VISA must have access to the serial port.

If another program is using the port NI-VISA and LabView will be locked out.

If you start a LabView porgram first NI-VISA will lock the port so no other program can access it.

 

I believe you need a program like PortMon part of the Sysinternals Suite from MS Technet.

 

 

 

========================
=== Engineer Ambiguously ===
========================
Mensagem 5 de 6
5.626Exibições

Or NI IO Trace (NI-Spy), which is probably already installed on the machine...

http://www.ni.com/download/ni-io-trace-3.1.1/4285/en/  if it's not.

Mensagem 6 de 6
5.607Exibições