03-05-2015 09:41 AM - edited 03-05-2015 09:42 AM
Hello,
I am attempting to control the set position of three daisy chained four-way actuator valves. They are VICI Valco and model # EUHA. I have them connected via RS-232 to USB into my computer. I was able to communicate with them when I sent some simple commands through hyperterminal and when I open MAX the devices appear and the panel says the devices are functioning properly. However, when I go into the test panel and try to run some default commands, I get the timeout error, 0xBFFF0015, when reading the command. Thank you for any help you can provide.
Solved! Go to Solution.
03-05-2015 11:42 AM
03-05-2015 01:06 PM - edited 03-05-2015 01:06 PM
Thank you! I appended \r\n and my directives written to the device are working, but I am still receiving timeout errors when I try to read back from the device.
03-05-2015 02:00 PM
03-06-2015 10:51 AM
Okay I'm running it again today and I'm noticing that its displaying results when I attempt to read from the valve but still tells me it timed out. Aside from the timeout error, both hyperterminal and visa are providing comparable results. The two commands I have been trying to read from the valves are AM (to check what mode the actuator is set to) and CP (to check what position the valve is at).
03-06-2015 11:24 AM
03-06-2015 01:51 PM
Those results are coming from the test panel so I don't have that function in place for that. As far as running it in labview goes, I have the serial configured to recognize the termination character, \r, which worked when writing to the valves in the test panel. When I run this segment of code, I don't encounter any errors, but I also don't get any response from the valves.
03-06-2015 03:53 PM
03-09-2015 10:09 AM
Thank you so much! I changed my strings to that and it's running perfectly now. Was it not reading my termination characters at all before I changed to that?
03-09-2015 11:39 AM