12-21-2015 05:11 AM
The LabvIEW 2015 comes packaged with a Modbus palette that works fine on Windows, but isn't listed on the palette.
I keeping having to go to a RT target and get the ModBus functions then move them over to the Windows application.
Is there a reason for this not being included?
12-22-2015 08:50 AM
It might work, but might not be fully tested on Windows. Or maybe there is some function that just doesn't work on Windows that you don't use. Or maybe NI just forgot to put it on the palette. You can probably copy the VIs from there they are (probably the vi.lib) into a place that is seen in Windows and use them. Or download one of the many modbus toolkits, some on LAVA, some here, and some on the tools network.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
12-22-2015 09:00 AM
@Hooovahh wrote:
It might work, but might not be fully tested on Windows. Or maybe there is some function that just doesn't work on Windows that you don't use. Or maybe NI just forgot to put it on the palette.
Do we know which... that's sort of why I was asking!
12-22-2015 02:13 PM
Looking at the help documentation I wouldn't expect the VIs to show up under data communications unless you have the DSC module.
http://zone.ni.com/reference/en-XX/help/370622M-01/lvmve/modbus_pal/
If you do have DSC I would try repairing it. I don't know if/how they are different but as mentioned before there are plenty of open APIs.
12-22-2015 03:19 PM
I just checked, I don't have DSC installed but do have RT in LabVIEW 2015. When my VI has a target on RT under the Data Communication there is a subpalette for Modbus, if my target for the VI is Windows that palette isn't there.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
12-22-2015 10:15 PM
From the linked help document: You must activate the LabVIEW Real-Time Module to use the Modbus VIs on a real-time target. You must activate the LabVIEW Datalogging and Supervisory Control Module to use the Modbus VIs on Windows and Windows Embedded Standard targets.