I have 3 different devices that I'm trying to communicate with. There are 2 DC power supplies (0-40 VDC for lower range requirements and 0-300 VDC for higher range) and one 8845A Fluke meter. I have proven that I can communicate to each individually. What I'm trying to do is ask one of the power supplies to go to a voltage, and then I ask the fluke meter what that voltage actually is, and then I ask the fluke meter what the current is.
Everything seems to work well individually, but when I put them all together in sequence, I start to have problems with devices not connecting and other devices not closing. I ask them to close right before opening another to the device, so I know that it is being asked to close. Maybe all I need is a little more understanding of what happens when closing a connection. Do I need to add some logic to verify that the device is closed before moving on? I've read on here before that opening and closing connections can cause some problems, but I don't know what alternative I have.