Hi all,
I have been tried to connect the Keithley 6517B to PC using RS232-to-USB cable.
I would like to get continuous currents as a function of time from the 6517B.
I set up the parameters of both 6517b and PC COM port are the same; RS232 mode, 9600 baud rate, CR, NONE flow control, RDG=y, RDG#=y, UNIT=y, 8 data bits, 1 stop bits. I also tried several COM ports from 1 to 4.
This is my cable and RS232 extension: Ugreen RS232-to-USB (https://www.ugreen.com.cn/products/usb-2-0-to-rs232-serial-cable?variant=15398911737901)
Cable extension: iCan RS232 straight-through extension cable (https://www.canadacomputers.com/product_info.php?cPath=5_1340_1418_1450&item_id=005367)
I got a 6517b for RS232 example (RS232_6517BtracedataRS232_example 1.vi, attached), but the timeout expired error appeared at VISA Read. Before reading the data, the 6517B works well. (e.g., voltage set 1.0V, changed the mode as current measurement, and others).
Here are the error code and diagram for mine
Possible reason(s): VISA: (Hex 0xBFFF0015) Timeout expired before operation completed.
![Steven_H_0-1576868365806.png Steven_H_0-1576868365806.png]()
I also got another example of 6517B for RS232 (RS232_6517BRS232_example 2.vi, attached). it indicated the same error as above.
Possible reason(s): VISA: (Hex 0xBFFF0015) Timeout expired before operation completed.
![Steven_H_1-1576868783966.png Steven_H_1-1576868783966.png]()
IDN*? or other simple SCPI based commands work well, but I think only VISA Read part is not working.
It would be appreciated if you could advise me.
Is the cable (RS232-to-USB) issue?, the LabView programming issue?, or the parameter (baud rate, CR, or others) issue?
If the cable issue, we also consider the purchase of the Prologix GPIB-to-USB adapter.
Happy holiday and I hope you all the best. Thank you.