Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

TSX3510P read timeout

Hello,

 

I'm trying to program a DC power supply. It's a TTi instrument called the TSX3510P. I'm having problems communicating with it. I'm using it on a virtual com port rather than RS232 since I don't have the ports free. I'm trying to initialise it with the visa open command. After this I send it a query asking for its make and model and once it gets to the read vi it says the Timeout expired before operation completed. Any ideas?

 

I was using the example.vi that came with the supply but that doesn't work. It originally used the old Visa Open but I changed it to the newer one. It seems to be receiving something as it switches to remote operation once it gets to the write command. I've checked the forums for help but nothing seemed to work.

 

Any help would be great!

Thanks,

Mark.

0 Kudos
Message 1 of 8
(4,698 Views)

You don't have to use any VI to communicate with the instrument.

 

You need to verify the communication link manually by using VISA Interactive in MAX.

Have you configured the RS232 port with the proper settings?

By the way, your virtual COM port should show up in MAX before you can even do anything.

 

 

0 Kudos
Message 2 of 8
(4,694 Views)
Spoiler
 

I thought that might be the problem actually but MAX has some error on startup. I've contacted IT and they are reinstalling it at the moment. We don't have admin rights on our computers here unfortunately 😞 Once that's installed I'll make sure that it is recognised correctly.

 

Thanks

0 Kudos
Message 3 of 8
(4,690 Views)

Hello again,

 

Ok so MAX seems to recognise the device, as far as i can tell the port is configured correctly. All I can change is the baud rate and whether it uses RS232 or GPIB. The settings in MAX reflect this.

 

MAX does give some errors though, on the attributes tab when I open the VISA test panel it says the following:

 

Is port connected? VI_ATTR_ASRL_CONNECTED Invalid property value.

 

Do you think there could be an issue with the connection?

 

 

0 Kudos
Message 4 of 8
(4,684 Views)

I have Keyspan 4-port USB serial adapter. The four RS232 ports shows up in MAX in the Serial and Parallel category. When I expand that on my laptop, I see COM1, COM2, COM3, COM6, COM7, and LPT1. When I click on COM6 which is one of the serial ports on the Keyspan, I see ASRL6:INSTR and there are boxes to set the Baud rate, Data bits, Parity Stop bits, and Flow control on the Port Settings panel. At the top is a Open VISA Test Panel button. That is what I would use to communicate with the instrument.

 

max.jpg

0 Kudos
Message 5 of 8
(4,674 Views)

I've tried this already with no luck, I still couldn't query the device. I know that the TTi supply I'm using can accept the *IDN? query as it is stated explicitly in the pdf. 😞 I've tried switching cables too just in case I was using the wrong type but that doesn't seem to be the problem either. I might go in search of a GPIB-USB converter, in the the meantime I'm going to try on a different computer just in case there is some other issue at play.

 

 

0 Kudos
Message 6 of 8
(4,671 Views)

Have you tried the driver from NI (Help>Find Instrument Drivers)?

0 Kudos
Message 7 of 8
(4,665 Views)

Yep, I tried that and it hangs at the same place as the rest. I just tried it with GPIB on another computer and I had no problems. I think I'm just going to transfer the GPIB card from that one into the computer I'm using instead. Thanks for all the advice guys. Maybe someday I'll try get it working on a serial port.

0 Kudos
Message 8 of 8
(4,662 Views)