Modbus Palette Missing in LabVIEW

Updated Sep 21, 2023

Reported In

Software

  • LabVIEW
  • LabVIEW Real-Time Module

Issue Details

  • I recently installed the LabVIEW Datalogging and Supervisory Control (DSC) 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 where you have never seen the functions palette, follow the steps below: 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 have 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