10-19-2012 02:29 PM - edited 10-19-2012 02:33 PM
Hello,
I am trying to automate control of a Valco/VICI Universal Actuator EUTB (USB) using LabVIEW. The manual for for this product can be found here:
http://www.vici.com/support/manuals/universal-actuator.pdf
with a list of commands on page 3 (page 6 of the PDF). LabVIEW automation of this device has been discussed to some extent in this topic although I am still having trouble:
I am able to see the device in MAX, but I have tried sending command to it both via the VISA test panel and the Serial Read and Write and USB Raw examples and have been unable to get any response. I've tried commands such as:
/?
/?\n
/?\s\n
/?\r
/?\s\r
/?\s\r\n
/?\s\n\r
/?\s\r\s\n
/?\s\n\s\r
and similarly for GO1 instead of /?.
It would be great if someone could give me some advice about how to get this to work?
Thanks,
Dan
10-19-2012 02:49 PM
Have you tried contacting their tech support if there is one?
LabVIEW and NI is very common, so they might already have anwers for you.
10-19-2012 03:21 PM
Unfortunately they don't provide any LabVIEW support.
10-20-2012 05:32 PM
10-22-2012 10:42 AM
Did you try sending the serial commands that are in the manual (see page 7). For example ID* in the VISA test panels. If you don't have a response you might want to change be sure that you are configuring the test panels as follows (page 3 of your manual)
-9600 baud,
-no parity,
-8 data bits,
-1 stop bit,
-no hardware or software handshaking.
If still doesn’t work, try changing the I/O Settings in VISA test panels, you might need to change the Termination character for example and see if it works with \n or \r or \r\n.
10-22-2012 02:14 PM
@Dennis_Knutson wrote:
How are you seeing the device in MAX? You should only see a com port. Hopefully, you didn't run the VISA wizard to create USB driver.
I'm afraid I did. Is that going to be a problem?
Diego, thanks for the suggestion, I believe they were all set correctly but I will double check...
Dan
10-22-2012 03:36 PM
If you want to talk with your device over the serial (RS232 - RS485) you won't see your hardware in MAX, thats how it works. If you are using any other interface (GPIB, USB, network) you will be able to see your hardware listed in MAX.
10-22-2012 09:31 PM
10-22-2012 10:38 PM
@Dennis_Knutson wrote:
Yes, its a problem. You deleted the correct serial driver. Remove the driver you created and reinstall the original.
I see. There wasn't a disc supplied with the hardware though, and no manufacturer driver that I'm aware of. Do I just need to remove the VISA driver and then try controlling it using one of the example VIs?
10-22-2012 11:06 PM