10-23-2014 03:09 PM
Does Anyone see a Problem with Using NI Modbus Lib in Labview 2014 is meant for labVIEW version 7.1-8.6. NI Directed me this way instead of the DCS Module since I am only using Modbus communication and that is just a very small part of the Module. It installed and shows up on the user pallets just fine and wires up the way you would except it to:
However when I run the program I time out in the read register vi. the example in the library does as well so I am at a loss as to what might be causing this issue.
Solved! Go to Solution.
10-23-2014 03:37 PM
It will work just fine.
You may need to resave the VI's as they compile for the newer version.
10-23-2014 03:43 PM
I Reilize I should know what you mean by that cause its sounds like somthing i have learnd before but can you explain what resave as they compile. do you mean the VI in which i called the modbus API or the vi in the Library itsself
10-23-2014 03:53 PM
Hi
Try this snippet, you must have 1 in qantity you cant read 0, and you must put in the MEAP header.
// Lars
10-23-2014 03:58 PM
Perferct Thanks for the help Guys I wasnt sure want the header meant and since it let me run the VI I assumed it was optional.
Thanks
Mark Russell
10-23-2014 04:30 PM
There is a mass compile option that can help.
Basically you are placing some older LV VI's on your PC. When you open it in LV2014, it will automatically upconvert. When you go to close the VI, it will ask if you want to save it. Later if you use other subVI's for the first time, they'll do the same thing.
The easy fix is to open everything up within the library then save. Or use the Mass Compile option on the LV menu and have it mass compile the library.