01-11-2008 11:19 PM
01-12-2008 03:46 AM - edited 01-12-2008 03:52 AM
01-12-2008 03:59 AM
01-12-2008 04:50 PM
01-14-2008 03:44 AM
Hi,
From your NISpy capture, you seem to be addressing the instrument using ASRL2::INSTR, from your initial post you said you successfully addressed the instrument in MAX using ASRL1::INSTR. So why are you not using ASRL1::INSTR?
Regards
Ray Farmer
01-14-2008 08:20 AM
Hate to be the bearer of bad news but this driver was never tested with RS232 (probably GPIB only). The driver is sending commands that are not terminated with linefeed. On GPIB this is ok because it has EOI but on RS232 the instrument has to know when it has successfully received a command (*idn?). It does this on serial buses like RS232 and TCPIP::SOCKET by waiting for the linefeed.
Where did you get the driver from? NI or Keithley?
01-14-2008 09:42 PM
Hello,
Thanks for your detailed answer. I received it from Keithley website. I couldnot find any other driver for 2015. Do I need to write my own driver for achieving this or do I go back to GPIB? Problem is driver is not sending CRLF characters at the end. I experimented with various RS232 settings with 2015. No Use......
Any help to resolve the problem is highly appreciated.
Best Regards,
Vijay
01-15-2008 09:14 AM
The release notes for the Keithley Ke2015 driver says it doesn't support RS232. So you have several options:
1. Use Keithley driver with GPIB
2. Request source code form Keithley and add "\n" to all the commands in the driver. I see you have LabWindows so you can compile the source from Keithley.
3. Try the NI version of this driver. I know they used to have one. Maybe it supports RS232.