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!

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
Antwort schreiben 


Nachrichten in diesem Thema
Ansteuerung eines LeCroy Oszilloskop - esz_team - 11.01.2011 07:45

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

Gehe zu: