03-12-2009 07:07 AM
Hi all,
I have a labview program that reads a single parameter and I am trying to modify it to read multiple parameters. I am very new to Labview and I am struggling. can anybody help I can email you ther program i have, on request. If anybody wants to contact me dirrectly u can at rcarscadden@hotmail.com.
Thank You,
RayC
03-12-2009 07:11 AM
03-12-2009 07:41 AM
i have attached screenshoots of the Vi
thank you
RayC
03-12-2009 10:28 AM
One issue I see in your code is that you are using commands 4 and 6 to read or write registers. But you are getting the data out from the "Discrete" element of the cluster rather than the registers.
If you are reading booleans, AKA "coils", you should be using codes 1, 5, or 15.
Also, rather than using a 0 or 1 numeric control and a case selector to define read or write, why not use the Enum that is part of the Modbus Data Cluster?
03-13-2009 10:01 AM