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.
To implement Modbus over TCP you need to have the device you want to communicat with on the TCP/IP network and then you can use our toolkit http://www.saphir.fr/en/produits/gmodbus-over-tcp-6.html to connect it with a LabVIEW application.
Concerning ModBus over a serila link, you need to use the right cable and the right RS485 device (PCIcard or USB/serial converter) in order to connect your device. THis is definetly the most difficult part of the job because pin connector assignment could be different from the different manufacturer. You need to refer to the documentation to check this. On the LabVIEW side you can use this toolkit http://www.saphir.fr/en/produits/gmodbus-over-serial-line-8.html
If you want to continue to use ModBus TCP you can also glance at a modbus gateway. This will allow you to adress your serial device throug a TCP network.
Hope this will help you to success in your project.