08-09-2012 09:59 AM
I'm trying to use labview to communicate with phoenix connect's universal power supply. I have used the NI Modbus library to try and connect to the Quint AC-UPS, but it times out or doesn't connect properly. I'm new to using modbus and would like some help communicating with it.
Baud Rate: 115200
Parity: Even
Slave Add: 192
Mode: RTU
Using LabVIEW 2011
Thanks
Solved! Go to Solution.
08-09-2012 04:52 PM
I might also mention that the error i seem to receive is the 6101 "time out error". Though i don't think the Init VI is working, because it passes through whether or not the com port is pluged in.
08-09-2012 05:15 PM
The init function is certainly working since you do not get an error out of it. There is no way for the init function to know whether or not you have anything connected to a serial port or whether or not you have the correct serial cable or whether or not your settings for the pc's com port match the device. All that the init function does is setup the com port of the pc.
08-10-2012 08:18 AM
So then what do i need to fix the timeout error. I could use the help.
08-10-2012 10:04 AM
I solved this by running the MB query in a while loop. Apparently the query was timing out the first couple of iterations.