To download NI software, including the products shown below, visit ni.com/downloads.
Inspired from Serial Port Forwarding Example code. Then enhenced it into not only snif/forwarding 1 way communication from 1st Port to 2nd Port, but also viseversa that is snif/forward the response from 2nd Port to 1st Port.
This is useful when we are interested in sniffing the communication between Host/Master <-> Slave Device in two way communication (aka Command - Response).
Description-Separate-2You can also view the communication protocol/data in different format: Text/char, '\' code, as well as Hex
Additional-Separate-2
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.