Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to communicate to the device

Hi,

I have been unable to communicate to my Photometer PR-525 from Photoresearch. The device shows up in the VISA Interactive control. In the VI I get a timeout error. The photometer emulates RS-232 via a 5-pin Type B Mini USB cable. The driver was provided by Photoresearch. The device work fine when I use Hyper Terminal. Please find attached the VI. Any comments/suggestions will be of great help.

Thanks
Regards,
Jimmy

0 Kudos
Message 1 of 3
(3,146 Views)
If the device emulates a serial device, why are you setting the baud rate. If you set the buad rate then VISA will check the baud rate and in most cases devices that emulate serial ports, do not return the baud rate and this causes VISA to error out.

In addition, I would recommand placing a VISA Set I/O Buffer Size VI, prior to calling the VISA Write.

-Josh
0 Kudos
Message 2 of 3
(3,122 Views)
You might also want to try using NI-VISA 3.4 or higher, because there were a few modifications made to improve compatibility with emulated devices.

-Josh
0 Kudos
Message 3 of 3
(3,121 Views)