Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW Control of Valco/VICI Universal Actuator EUTB (USB)

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:

 

http://forums.ni.com/t5/Instrument-Control-GPIB-Serial/Serial-Commands/m-p/566678/highlight/true#M25...

 

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

0 Kudos
Message 1 of 10
(6,816 Views)

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.

 

 

0 Kudos
Message 2 of 10
(6,811 Views)

Unfortunately they don't provide any LabVIEW support.

0 Kudos
Message 3 of 10
(6,808 Views)
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.
0 Kudos
Message 4 of 10
(6,788 Views)

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.

 

VISA test panels I/O

0 Kudos
Message 5 of 10
(6,766 Views)

@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

 

0 Kudos
Message 6 of 10
(6,753 Views)

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.

0 Kudos
Message 7 of 10
(6,746 Views)
Yes, its a problem. You deleted the correct serial driver. Remove the driver you created and reinstall the original.
0 Kudos
Message 8 of 10
(6,738 Views)

@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?

0 Kudos
Message 9 of 10
(6,733 Views)
You can try that but typically a USB-Rs232 converter needs a windows driver. If you see a new com port on MAX, then you can try the LabVIEW driver.
0 Kudos
Message 10 of 10
(6,730 Views)