Herunterladen Inhalt Inhalt Diese Seite drucken

Remote Program Examples Using Gpib Interface; Example Using Quick Basic - COSINUS ESCORT 3145A Bedienungsanleitung

Inhaltsverzeichnis

Werbung

ESCORT 3145A / 3146A
Command
:CONTinuous
:CONTinuous?
READ?
READ??
SYSTem
:ERRor?
:VERSion?
Note:
"Std" commands means defined in SCPI standard and "New" commands are not
defined.
7.6

Remote Program Examples using GPIB interface

7.6.1 Example Using Quick BASIC

'
GPIBEXAMPLE.BAS
'
' This sample program is for reference only. It can only be expected to
' function with a Digital Multimeter.
'
' This program reads 10 measurements from the meter and averages
' the sum.
'
' The status variables IBSTA%, IBERR%, and IBCNT% are defined in QBDECL.BAS.
' Each bit of IBSTA% and each value of IBERR% are defined in QBDECL.BAS as
' a mnemonic constant for easy recognition in application programs. In this
' example, these mnemonic definitions are logically ANDed with the variable
' IBSTA% to determine if a particular bit has been set. The mnemonic
' definitions are equated with the variable IBERR% to determine the error
' code.
'
' The subroutine GPIBERR is called when a NI-488 function fails. The
' error message is printed along with the status variables IBSTA%, IBERR%,
' and IBCNT%. The subroutine DVMERR is called when the serial poll response
Cosinus Computermesstechnik GmbH • Tel. 089-665594-0 • www.cosinus.de
Parameter
Std/New
<Boolean>
Std
New
[[,@1]|,@2]
Std
New
Std
Std
Std
Explanation
Set the meter at free run or data hold operation
mode.
Query the operation mode.
Read the display value.
Read the both display values.
Subsystem
Read the error message.
Return the firmware version.
Seite 7-101

Quicklinks ausblenden:

Werbung

Inhaltsverzeichnis
loading

Verwandte Produkte für COSINUS ESCORT 3145A

Diese Anleitung auch für:

Escort 3146a

Inhaltsverzeichnis