INFO: Dieses Forum nutzt Cookies...
Cookies sind für den Betrieb des Forums unverzichtbar. Mit der Nutzung des Forums erklärst Du dich damit einverstanden, dass wir Cookies verwenden.

Es wird in jedem Fall ein Cookie gesetzt um diesen Hinweis nicht mehr zu erhalten. Desweiteren setzen wir Google Adsense und Google Analytics ein.


Antwort schreiben 

Ansteuerung eines LeCroy Oszilloskop



Wenn dein Problem oder deine Frage geklärt worden ist, markiere den Beitrag als "Lösung",
indem du auf den "Lösung" Button rechts unter dem entsprechenden Beitrag klickst. Vielen Dank!

07.01.2011, 09:18
Beitrag #1

esz_team Offline
LVF-Grünschnabel
*


Beiträge: 13
Registriert seit: Jun 2009

2009
2007
de

82223
Deutschland
Ansteuerung eines LeCroy Oszilloskop
Hallo,

ich wünsche euch ein gutes Neues Jahr.

Ich habe hier ein kleines Problem mit der Ansteuerung eines Oszilloskopes. Ich habe mir die Treiber Software auf der NI Homepage runtergeladen und bereits installiert.
Problem: Ich habe aber keine GBIP Schnittstelle am Gerät sondern nur LAN Anschluss.
Ansatz: Daher habe ich mein Lecroy im MAX mit einem Netzwerk bereits hinzugefügt und Labview erkennt es auch als solches an.

Möchte jetzt nichts besonderes machen als diesen anzusteuern.

Im Visa Testpanel habe ich bereits mal was ausprobiert und er liest den Befehl der Identifikation aus. Jedoch habe ich bemerkt, das der Befehl *IDN?n mit einem zusatz versehen sein muss sonst gibt er einen FEhler heraus.

Nun habe ich mein kleines Programm gestartet und bekomme folgende Fehlermeldung:

Possible reason(s):

Error 85 occurred at lcwave Read Command Error.vi

Scan From String (arg 1) in lcwave Read Command Error.vi->lcwave Error Query.vi->lcwave Reset.vi->lcwave Initialize.vi->Untitled 1

The format of the CMR? response is not as expected. Make sure that the Command Header is not being reprogrammed from the value configured in the Default Instrument Setup VI, where it is configured to OFF with the command CHDR OFF. (Default Instrument Setup.VI is called from Initialize.vi.)


Complete call chain:
lcwave Read Command Error.vi
lcwave Error Query.vi
lcwave Reset.vi
lcwave Initialize.vi
Untitled 1


Danke im Vorraus.

MFG

Saqib Inam


Angehängte Datei(en) Thumbnail(s)
       
Alle Beiträge dieses Benutzers finden
Diese Nachricht in einer Antwort zitieren to top
Anzeige
07.01.2011, 10:36
Beitrag #2

Y-P Offline
☻ᴥᴥᴥ☻ᴥᴥᴥ☻
LVF-Team

Beiträge: 12.612
Registriert seit: Feb 2006

Developer Suite Core -> LabVIEW 2015 Prof.
2006
EN

71083
Deutschland
Ansteuerung eines LeCroy Oszilloskop
Du solltest mal die betroffenen VIs hochladen.
Laut Fehlermeldung erwartet Deine Software auf den Befehl "CMR?" eine andere Antwort. Du solltest mal schauen, was da zurückkommt und wenn das richtig ist, wieso da ein Fehler generiert wird. Ohne VIs kann ich Dir leider nicht mehr sagen.

Gruß Markus

--------------------------------------------------------------------------
Bitte stellt mir keine Fragen über PM, dafür ist das Forum da - andere haben vielleicht auch Interesse an der Antwort !!
--------------------------------------------------------------------------
Alle Beiträge dieses Benutzers finden
Diese Nachricht in einer Antwort zitieren to top
07.01.2011, 13:09
Beitrag #3

esz_team Offline
LVF-Grünschnabel
*


Beiträge: 13
Registriert seit: Jun 2009

2009
2007
de

82223
Deutschland
Ansteuerung eines LeCroy Oszilloskop
Hallo Markus,

danke ersteinmal!

Was bedeutet CMR?

Meine VI sorry ganz vergessen, im Anhang nun vorhanden. Habe auch den Treiber hochgeladen.

Arbeite mit LV 2009


Angehängte Datei(en)
Sonstige .vi  Test.vi (Größe: 7,22 KB / Downloads: 419)
Alle Beiträge dieses Benutzers finden
Diese Nachricht in einer Antwort zitieren to top
07.01.2011, 13:45
Beitrag #4

esz_team Offline
LVF-Grünschnabel
*


Beiträge: 13
Registriert seit: Jun 2009

2009
2007
de

82223
Deutschland
Ansteuerung eines LeCroy Oszilloskop
Das mit dem Treiber war etwas schwieriger sorry nocheinmal

Danke für die Hilfe


Angehängte Datei(en)
Sonstige .zip  lcwave.zip (Größe: 1,34 MB / Downloads: 575)
Alle Beiträge dieses Benutzers finden
Diese Nachricht in einer Antwort zitieren to top
08.01.2011, 11:28
Beitrag #5

Y-P Offline
☻ᴥᴥᴥ☻ᴥᴥᴥ☻
LVF-Team

Beiträge: 12.612
Registriert seit: Feb 2006

Developer Suite Core -> LabVIEW 2015 Prof.
2006
EN

71083
Deutschland
Ansteuerung eines LeCroy Oszilloskop
Was "CMR?" bedeutet solltest Du doch wissen.... Wink
Das ist der Grund, wieso ich nie fertige Treiber verwende, sondern mir mit SCPI-Befehlen und VISA-Funktionen einen eigenen Treiber bastle. Dann weiß ich wenigstens, was wann an das Gerät geschickt wird und kann die Fehlerauswertung selbst in die Hand nehmen. Big Grin
Beispiele dazu gibt es hier ein paar im Forum.

Gruß Markus

--------------------------------------------------------------------------
Bitte stellt mir keine Fragen über PM, dafür ist das Forum da - andere haben vielleicht auch Interesse an der Antwort !!
--------------------------------------------------------------------------
Alle Beiträge dieses Benutzers finden
Diese Nachricht in einer Antwort zitieren to top
11.01.2011, 07:45
Beitrag #6

esz_team Offline
LVF-Grünschnabel
*


Beiträge: 13
Registriert seit: Jun 2009

2009
2007
de

82223
Deutschland
Ansteuerung eines LeCroy Oszilloskop
Hallo Markus,

Danke für die Hilfe. Ich habe das Problem gelöst. Das Problem scheint kein neues zu sein, ich habe es im NI Forum gefunden, wo es bereits ausführlich diskutiert wurde.

http://forums.ni.com/t5/LabVIEW/Error-85-L...ope/m-p/1076420

Jedoch war ich auch mit Herrn Blankman und Herrn Brown von Lecroy an der Sache dran. Hier der Schriftverkehr dazu:



Hello Saqib,

The error you are getting is coming from this:

(Embedded image moved to file: pic02582.gif) in the Read Command Error.vi


The "Scan from String" is looking for a decimal value and has some character (could be some text or non-printabel character etc.).

(Embedded image moved to file: pic20809.gif)


Here, I have setup my input string control to '' Codes Display so I could see spaces and carriage returns.

I get an error because I also have the words "Hello", "Find", "the", and "number" in my input string.
If I remove the printable text and leave the spaces, then I get:

(Embedded image moved to file: pic21148.gif)


Now, I see that the spaces are still there, but the letters are not. I can get my number from the input string with no errors.

There are a couple of ways to fix this.

If you already know what is causing the error in the input string, you can simply delete it from the string before the Scan.
You can use Scan from String in a loop to go through the string and filter out the number.



To setup the scope for LXI:

On the scope, go to UtilitiesUtilities Setup... from the pulldown menus.

Select the "Remote" tab and in the "Control from" area, select the "LXI (VXI11)" button.

(Embedded image moved to file: pic07120.gif)


Based on the error you are getting, it looks like you are connecting to the scope.

If you were unable to open the VISA session to the scope, you would see an error like this:

(Embedded image moved to file: pic08925.gif)


Regards,

Leonard Brown
Applications Engineer
1-800-553-2769


|------------>
| From: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|"Saqib Inam" <s.inam@esz-ag.de> |
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| To: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|<Alan.Blankman@lecroy.com> |
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Cc: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|<Leonard.Brown@lecroy.com>, <Honam.Kwak@lecroy.com> |
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Date: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|01/10/2011 07:56 AM |
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Subject: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|AW: Labview Problem |
>--------------------------------------------------------------------------------------------------------------------------------------------------|





Hello Mr. Blankman,

first of all I would like to thank you for your help, I really appreciate that.

I always get the error message:

Error 85 occurred at lcwave Read Command Error.vi

Possible reason(s):

Scan From String (arg 1) in lcwave Read Command Error.vi->lcwave Error Query.vi->lcwave Reset.vi->lcwave Initialize.vi->Untitled 1

The format of the CMR? response is not as expected. Make sure that the Command Header is not being reprogrammed from the value configured in the Default Instrument Setup VI, where it is configured to OFF with the command CHDR OFF. (Default Instrument Setup.VI is called from Initialize.vi.)


Complete call chain:
lcwave Read Command Error.vi
lcwave Error Query.vi
lcwave Reset.vi
lcwave Initialize.vi
Untitled 1


How do I set my scope to LXI Connection?

Mit freundlichen Grüßen / Best Regards

Saqib Inam
Dipl. Ing. (FH)

Laborleiter HF & Optik / laboratory manager RF & Optics

Phone: +49-8141-88887-79
Fax: +49-8141-88887-77
mailto: s.inam@esz-ag.de
http://www.esz-ag.de

____________________________________________________________________________

esz AG calibration & metrology - Max-Planck-Strasse 16 - D-82223 Eichenau Aufsichtsratsvorsitzender / Chairman Supervisory Board of Directors:
Dipl.-Ing. Siegfried Fleischmann
Vorstand / Managing Board of Directors: Dipl.-Kfm. Oliver T. Fleischmann, Dipl.-Ing. Philip M. Fleischmann, Bodo Seewald Registergericht München / Registration Court Munich: HRB 179122 Sitz der Gesellschaft / Registered Office: Eichenau

CONFIDENTIALITY NOTICE
It is confidential and may be legally privileged and protected by law. The unauthorized use, copying or disclosure of this communication or any part of it is prohibited and may be unlawful. If you have received this communication in error, please notify us and discard and/or delete the communication. Thank you. It is possible for emails to be intercepted or affected by viruses. Whilst we maintain virus checks on our emails, we accept no liability for viruses or other material which might introduced with this message.

-----Ursprüngliche Nachricht-----
Von: Alan.Blankman@lecroy.com [mailto:Alan.Blankman@lecroy.com]
Gesendet: Freitag, 7. Januar 2011 16:51
An: Saqib Inam
Cc: Leonard.Brown@lecroy.com; Honam.Kwak@lecroy.com
Betreff: Re: Labview Problem

HI Saqib -

Can you send us a screenshot of the error that you are seeing? This doesn't get saved in the attachments you sent me. Also, please confirm that you have the scope set for the LXI connection type since it looks like you are using an LXI connection string. If the scope is set to VICP instead, then you can have problems.

I've CC'd Leonard and Ho on this email... I'll also forward them your attachments.

Best Regards,
Alan

----------
Alan Blankman, Ph.D.
Technical Product Marketing Manager, Signal Integrity LeCroy Corporation 700 Chestnut Ridge Rd Chestnut Ridge, NY 10977
845-578-4412
alan.blankman@lecroy.com





|------------>
| From: |
|------------>

>-----------------------------------------------------------------------
>----

-----------------------------------------------------------------------|
|"Saqib Inam" <s.inam@esz-ag.de>
|

>-----------------------------------------------------------------------
>----

-----------------------------------------------------------------------|
|------------>
| To: |
|------------>

>-----------------------------------------------------------------------
>----

-----------------------------------------------------------------------|
|<alan.blankman@lecroy.com>
|

>-----------------------------------------------------------------------
>----

-----------------------------------------------------------------------|
|------------>
| Date: |
|------------>

>-----------------------------------------------------------------------
>----

-----------------------------------------------------------------------|
|01/07/2011 10:24 AM
|

>-----------------------------------------------------------------------
>----

-----------------------------------------------------------------------|
|------------>
| Subject: |
|------------>

>-----------------------------------------------------------------------
>----

-----------------------------------------------------------------------|
|Labview Problem
|

>-----------------------------------------------------------------------
>----

-----------------------------------------------------------------------|





Hello Mr. Blankman,

I have the same problem that is described in the forum. I would like to create a VI to control my device via TCP / IP. I have programmed a short Vi, however each time the same error and this results in the following file lcwave Read Command Error.vi occurs. How can I solve this problem. I have in attached my VI, the driver files and the settings in the Automation & Measurement.

I have also installed the Scope Expolrer but without any help.

I hope you can help me out to solve this problem.

Thank You!


Mit freundlichen Grüßen / Best Regards

Saqib Inam
Dipl. Ing. (FH)

Laborleiter HF & Optik / laboratory manager RF & Optics

Phone: +49-8141-88887-79
Fax: +49-8141-88887-77
mailto: s.inam@esz-ag.de
http://www.esz-ag.de

____________________________________________________________________________

esz AG calibration & metrology - Max-Planck-Strasse 16 - D-82223 Eichenau Aufsichtsratsvorsitzender / Chairman Supervisory Board of Directors:
Dipl.-Ing. Siegfried Fleischmann
Vorstand / Managing Board of Directors: Dipl.-Kfm. Oliver T. Fleischmann, Dipl.-Ing. Philip M. Fleischmann, Bodo Seewald Registergericht München / Registration Court Munich: HRB 179122 Sitz der Gesellschaft / Registered Office: Eichenau

CONFIDENTIALITY NOTICE
It is confidential and may be legally privileged and protected by law. The unauthorized use, copying or disclosure of this communication or any part of it is prohibited and may be unlawful. If you have received this communication in error, please notify us and discard and/or delete the communication. Thank you. It is possible for emails to be intercepted or affected by viruses. Whilst we maintain virus checks on our emails, we accept no liability for viruses or other material which might introduced with this message.
[attachment "Test.vi" deleted by Alan Blankman/NEWYORK/LECROY] [attachment "Visa Testpanel.jpg" deleted by Alan Blankman/NEWYORK/LECROY] [attachment "lcwave.zip" deleted by Alan Blankman/NEWYORK/LECROY]

[attachment "Error Message.jpg" deleted by Leonard Brown/NEWYORK/LECROY]


Angehängte Datei(en) Thumbnail(s)
               
Bild(er)
   
Alle Beiträge dieses Benutzers finden
Diese Nachricht in einer Antwort zitieren to top
Anzeige
11.01.2011, 07:49
Beitrag #7

esz_team Offline
LVF-Grünschnabel
*


Beiträge: 13
Registriert seit: Jun 2009

2009
2007
de

82223
Deutschland
Ansteuerung eines LeCroy Oszilloskop
Im Grunde muss man folgende Schritte durchführen:

1. Scope Explorer Installieren (LeCroy Homepage)
2. Unter Utilities->Utilities Einstellung-> Remote (Fernsteuerung) auf LXI umstellen.
3. Unter Measurement & Automation den Scope unter Netzwerkgeräte hinzufügen.

Dann funktioniert das ganze auch. Die Prozedur braucht nicht geändert werden, so wie es im ni forum beschrieben ist.

DAnn sollte es von selbst funktionieren.

Danke für alles!Mellow
Alle Beiträge dieses Benutzers finden
Diese Nachricht in einer Antwort zitieren to top
30
Antwort schreiben 


Möglicherweise verwandte Themen...
Themen Verfasser Antworten Views Letzter Beitrag
  Agilent Oszilloskop DSO-X 3024A xxokiehxx 9 6.092 19.02.2018 14:29
Letzter Beitrag: GerdW
  Übertragung Messwerte Oszilloskop → LabView pv-student 2 6.023 19.02.2018 08:32
Letzter Beitrag: xxokiehxx
  Tutorial zur einfachen Ansteuerung eines Motors fendt 28 28.301 13.07.2015 10:14
Letzter Beitrag: Marfa
  Treiber für das Agilent 54645d Oszilloskop Gisele 4 4.603 26.10.2012 10:32
Letzter Beitrag: Achim
  Lecroy Wavesurfer 452 ansteuern holographics 0 3.687 15.05.2012 08:39
Letzter Beitrag: holographics
  Lecroy Wavejet 354 über LabVIEW ansteuern DanielTU 2 6.795 19.04.2012 10:19
Letzter Beitrag: Criso

Gehe zu: