Modbus Palette Missing in LabVIEW

Updated Dec 29, 2022

Reported In

Software

  • LabVIEW
  • LabVIEW Real-Time Module

Issue Details

  • I recently installed the LabVIEW Datalogging and Supervisory Control Module, and I don't see the Modbus API in the Functions palette.
  • I was using the LabVIEW Modbus API with the LabVIEW Real-Time Module, and now I can't find the palette anymore.
  • I have installed the Modbus library but I'm unable to see Modbus functions in the LabVIEW palette. Also my existing /working VI gives Modbus related errors.

Solution

For a new installation that where you have never seen the functions palette, follow the steps below:
  • Since the Datalogging and Supervisory Control Module is only supported in 32-bit LabVIEW, ensure that you are using 32-bit and not 64-bit LabVIEW. 
  • Additionally, ensure that you have followed the steps listed in the Missing Icons on LabVIEW Functions or Controls Palette article.
  • Run a Repair of the Datalogging and Supervisory Control Module from NI Package Manager
Modbus palette missing or your existing/working VI giving Modbus error may be due to multiple Modbus drivers ( NI library + 3rd Party Library) installed. In this case, remove all the installed Modbus drivers and reinstall the one that is required.

If you had been using the Modbus API from the LabVIEW Real-Time Module, and are now not able to see it in your palette:

It should be noted that the Modbus palette will only appear in VIs that are under a Real-Time target in your LabVIEW project.
  • Try simulating a Real-Time target and creating a VI there to see if the palette appears.
  • You can then move the VI back under the My Computer target.
 

Figure 1. Data Communications palette under 'My Computer' target
 

Figure 2. Data Communications palette under Real-Time target