[Python-de] ctypes Fehlermeldung beim Auslesen eines GPIB Gerätes

Wagner, Frank F.Wagner at wika.de
Do Nov 19 11:15:49 CET 2009


Hallo,

 

ich greife mittels GPIB/488 Schnittstelle und pyvisa auf ein Agilent 34401A zu.

Es funktioniert so weit ganz gut nur beim Auslesen des Messwertes mittels Agilent34401A.read() kommt folgende Fehlermeldung

obgleich mir aber auch der richtige Messwert geliefert wird:

 

Exception ctypes.ArgumentError: "argument 2: <type 'exceptions.TypeError'>: wrong type" in

 

Ich muss gestehen, dass ich etwas ratlos bin was die Lösung dieses Problems betrifft. 

In ähnlicher Art und Weise verwende ich diese Funktionen mit einem Keithley2000 Multimeter und dort ist mir der Fehler noch nicht aufgellen. 

 

Bin für jede Anregung dankbar.

 

Mit freundlichen Grüßen / Kind regards

 

Frank Wagner

--
Bevor Sie diese E-Mail ausdrucken, überlegen Sie bitte, ob dies wirklich erforderlich ist. Please think before you print.
--
WIKA Alexander Wiegand SE & Co. KG
Alexander-Wiegand-Straße 30 - 63911 Klingenberg - Germany
Kommanditgesellschaft: Sitz Klingenberg - Amtsgericht Aschaffenburg HRA 1819
Komplementärin: WIKA Verwaltungs SE & Co. KG - Sitz Klingenberg -
Amtsgericht Aschaffenburg HRA 4685
Komplementärin: WIKA International SE - Sitz Klingenberg -
Amtsgericht Aschaffenburg HRB 10505
Vorstand: Alexander Wiegand
Vorsitzender des Aufsichtsrats: Dr. Max Egli
Telefon: (09372) 132-0
Internet: www.wika.com
-- 
The information contained in this E-Mail and any attached files are strictly confidential and may be subject to legal privilege. If you are not the intended recipient, his representative or the person responsible for delivering the message to the intended recipient, be advised that you have received this message in error and that any dissemination, copying or use of this message or attachment is strictly forbidden, as is the disclosure of the information therein. If you have received this E-Mail in error, please notify us immediately by E-Mail or telephone and delete this message and all its attachments subsequently. All reasonable precautions have been taken to ensure no viruses are present in this E-Mail.
-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: <http://mail.python.org/pipermail/python-de/attachments/20091119/6bf9e2e9/attachment.html>
-------------- nächster Teil --------------
Ein Dateianhang mit Binärdaten wurde abgetrennt...
Dateiname   : Agilent.py
Dateityp    : application/octet-stream
Dateigröße  : 1275 bytes
Beschreibung: Agilent.py
URL         : <http://mail.python.org/pipermail/python-de/attachments/20091119/6bf9e2e9/attachment.obj>


Mehr Informationen über die Mailingliste python-de