07-27-2006 08:06 AM
07-27-2006 09:22 AM
I have used several USB-RS232 converters with KE2000 DMMs, some successfully & some not. It all depends on how well they obey the protocol. I generally disable flow control and do my own handshaking which I have found to be the most reliable.
Have you tried communicating with the instrument in MAX or with Hyperterminal? An *IDN? will give you a good indication of what is going on.
07-27-2006 10:08 AM
07-27-2006 10:24 AM
The fact that the VISA Write returns the number of bytes written doesn't really tell if the instrument has received them correctly. You say that the instrument responds but the fact that Hyperterminal doesn't work is suspicious. I would assume that vendors of USB-RS232 converters test their products with Hyperterminal as a minimum. Make sure that your rx line in the serial cable is wired correctly. Try talking to the instrument with a regular com port.
I have a 8-port USB-RS232 converter from VScom that works perfectly.
07-28-2006 02:40 AM
@Phoonzang wrote:
Hi Tim,
i used Hyperterm and the MAX, but neither got a response, but did send the Commands. Do you know what Converters are best to use? Is USB1.1 or 2.0 better? And what do you mean by "own Handshake"? I just have "none" as Flow Control. Would there be any other way to have 8 COM-Ports on one Computer?
Dave
What I meant was that I check the number of bytes available and read only that many. To aviod overflowing the input buffer on the K2000, I keep the length of the strings sent relatively short ( ~100 bytes) and insert a 1mS delay between them. I don't have exact details of how big the buffer is but I've found that the above works reliably.
If you're not getting a response from Hyperterminal it's as Dennis has said; check the RX and TX lines are correctly wired. Also check that Flow Control is disabled on the K2000.
You can test if the USB-232 converter is working correctly by using a loop-back connector with TX connected to RX and RTS to CTS. Then if you type something in Hyperterminal you should get the same message back.
One other thing to chack. By default the K2000 is set to use GPIB, check to see that the RS232 is enabled. I'm sure you'e tried this already, but I'ts caught me more that once.
I've used both multiport converters and multiple single port converters without any problems, other than the fact that Windows changes the Serial Port number depending on which USB port they're connected to.
Tim Norris
07-28-2006 07:11 AM
07-31-2006 04:19 AM
@Phoonzang wrote:
Hi,
I built that connector an checked the port. In Hyperterm, I get a perfect feedback (every byte sent is received) so there seems to be a porblem wit hthe KE2000. I double checked everything on the DMM as well as the port settings under windows, they are correct. The USB-Converter allows me to specify the Latency time and the size of the send/receive-"Packages", however I really don't know what these sizes mean (and the documentation of the converters is quite bad).
When I send a ":MEAS?"-Command, the DMM behaves like doing a Measurement, but nothing is received.
Thanks everyone for the help, but I don't think I'll go on trying with these converters but just do something else...
Dave
I'm afraid I've never had to play around with the latency/package size settings, so I can't help you there. In fact the converters I've used haven't let me change them.
I hope your other methods work out.
If you do find anything else out I would be interested in knowing.
Tim Norris
07-31-2006 08:50 AM
07-31-2006 11:54 AM
08-01-2006 03:17 AM