08-16-2005 07:48 AM
08-22-2005 09:30 AM
08-23-2005 04:09 AM
Hello Robert,
I tried the program with other commands, and it behaves the same way like yours. I only get a timeout when I send "*RST\n".
I use following port settings (with Agilent E4419B EPM Series Power Meter):
Baud rate: 9600
Data bits: 8
Parity: NONE
Stop bits: 1
Flow control: NONE
I tried the program with some other instruments, and I could not reproduce the timeout. So with the following instruments the program works fine:
With which instrument(s) did you work?
Maybe it's an instrument depending problem?
Regards,
Matthias Brosig
08-24-2005
02:11 AM
- last edited on
11-13-2025
03:24 PM
by
Content Cleaner
hello matthias,
i had only an instrument simulator, which reacts on the common commands.
as i read from this tutorial, the "*RST" command doesn't clear the status register. so it might be different from instrument to intrument, how it reacts, if the status byte is not cleared.
regards,
robert h
national instruments
08-24-2005 04:06 AM
08-30-2005 08:18 AM
08-30-2005 11:13 AM
08-31-2005 03:32 AM
Hello!
That sounds plausible. So in theory, using a query with "*STB?\n" under GPIB and Serial should cause the same timeout. But performing this query under GPIB causes no timeout, it works fine. Does instrument firmware process commands under GPIB or serial in different ways?
Regards, M. Brosig