11-22-2009 02:55 PM

Solved! Go to Solution.
11-23-2009 10:44 AM
Hi LV_Pro,
That is strange...as long as your version contains LabVIEW 8.6 and the Readme says 1.2 from January 2008, as far as I know you have the 1.2 version.
11-23-2009 10:51 AM
Hi,
Could you post the two links to the different files, because I was just able to find the one containing the "nimodbus121.zip".
Christian
11-24-2009 08:08 AM
Well it appears that some how I saw an old page (which I now can't find) and a newly updated one. I may have left a tab open in my browser to the old one, then opened a new search, I've have done that before. I do find reference in the new page that make reference in the text to the old zip, "Version 1.2 (ni_modbus_1_2.zip) of the MODBUS LabVIEW Library is backward compatible" even though the clickable link is for the nimodbus121.zip. Both zip files are on the ftp site so I guess that my using the "Wayback machine" may have caused my confusion.

11-24-2009 08:46 AM
Is there any listing of what has been changed between the 1.2 version of the library and version 1.1? I didn't see anything in its readme file.
One thing that jumps out at me is that it appears to be using polymorphic VI's.
Are there any other differences? Any bug fixes to be aware of ?
11-24-2009 08:54 AM
Hi Putnam,
I just want to pass a long a possible "heads up". One of my co-workers used a modbus library he found on the NI site a while ago. It functioned but was implemented without any waits in the loops so it ended up starving the CPU when run on a cFP unit.
So check for waits in loops if the CPU is being pounded.
Take care,
Ben
11-24-2009 09:01 AM
In a recent thread, a user noticed a problem with the way MB Serial Init was programmed. It has to to with the way it configures the data bits, stop bits, and parity depending on the Modbus mode you are using, and those settings do not match the modbus guide and may not match the device you are working with.
11-24-2009 09:15 AM

11-24-2009 09:29 AM
LV_Pro wrote:
Thanks, all. Guess I will spending this week going through the modbus "stuff". Saw a thread, which I didn't tag, which talked about a problem with a timing problem that might be the cause of an issue of getting random timeouts from an instrument (Lighthouse mini-manifold, a 6 port air sampling manifold), where I ended up putting in code to clear the timeout error 6101 and retry, up to a preset retry limit. Unfortunately the customer decided to send the unit back today, so I'm dead in the water for trying out changes. I noticed, in digging down into it, that the modbus stuff is stacked sequences, etc. Would probably fail the CLD exam!
Yes that sounds familiar. Find all For and While loops and make sure there is at least a "0 ms Wait" in all.
Ben