Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

lecroy 6030 LAN communication

Hi, i'm pretty much a newb with LAN communicating and labview...done some GPIB thought and understands some principles....anyway
 
I'm trying to get data from an LeCroy waverunner 6030 via LAN.....I think I set things kinda right....
 
1- I connected the oscilloscope and checked it's IP adresse, then changed some settings on the card to fit the IP. Then i tried to ping the oscilloscope adresse and it worked
 
2- next, I went into MAX and created a new VISA TCP/IP ressource, and chose manual entry/raw socket since the LeCroy is not "VXI-11" compliant or something...i entered the ip adress and port 21, and it worked
 
But, i've downloaded the LeCroy drivers and when i tried to run the all-made Lecroy examples, setting the Visa source to "oscilloscope" (the name i've given in VISA alias)....i get an error :
 
Error -1073807194 occurred at VISA Read in lcwave Read.vi->lcwave Initialize.vi->lcwave Acquire Waveform.vi
 
Possible reason(s):
 
VISA:  (Hex 0xBFFF00A6) The connection for the given session has been lost
 
When i try to send commands via VISA test pannel, i also get BFFF00A6 in return satus field
 
 
If someone has any ideas please help me out...tx
0 Kudos
Message 1 of 10
(5,598 Views)
Hi anbere,
 
Alan from LeCroy Tech Support here!
 
To use the lcwave driver, you should not setup a VISA TCP/IP resource in MAX.  You don't need to use MAX at all!  Install the VICP Passport on the remote PC, and in LabVIEW use the connection string VICP::<ip address> (ex. VICP::172.28.14.55). You can also use the syntax VICP::<hostname> if the scope is on a nameserver (ex. VICP::LCRY0611M23456). 
 
You can download the VICP Passport from the LeCroy website here: http://www.lecroy.com/tm/Library/Software/LabView/VICP.asp?menuid=8
 
Best Regards,
Alan
 
--------------------

Alan Blankman, Software Engineer
Teledyne LeCroy
800-425-2000
http://www.teledynelecroy.com
alan.blankman@teledyne.com
0 Kudos
Message 2 of 10
(5,597 Views)
tx for the quick response
 
I'm not quite sure where i should enter the string VICP::<myipadress>....in visa ressource name in the labview example?
 
If i do this i get
 
Error -1073807343 occurred at VISA Open in lcwave Initialize.vi->lcwave Acquire Waveform In Loop.vi
 
VISA:  (Hex 0xBFFF0011) Insufficient location information or the device or resource is not present in the system.


Message Edited by anbere on 05-27-2008 03:09 PM
0 Kudos
Message 3 of 10
(5,595 Views)
Hi Anbere,
 
You would enter it directly into the "VISA Resource Name" control.  Have you installed the VICP Passport? If not, then you will definitely get an error.
 
Best Regards,
Alan
--------------------

Alan Blankman, Software Engineer
Teledyne LeCroy
800-425-2000
http://www.teledynelecroy.com
alan.blankman@teledyne.com
0 Kudos
Message 4 of 10
(5,588 Views)
yes, I installed it.
0 Kudos
Message 5 of 10
(5,586 Views)
allright, seems i had to restart Labview completely for it to work
 
Thank you very much for your help.
0 Kudos
Message 6 of 10
(5,585 Views)
You're welcome!  By the way - I am working on the next revision of the lcwave driver, and intend to have submitted to NI later in June.
 
Best Regards,
Alan
 
--------------------

Alan Blankman, Software Engineer
Teledyne LeCroy
800-425-2000
http://www.teledynelecroy.com
alan.blankman@teledyne.com
0 Kudos
Message 7 of 10
(5,582 Views)
Hi Alan

If you need testers for the new version, yuo know my email address
greetings from the Netherlands
0 Kudos
Message 8 of 10
(5,580 Views)
Is there a way to know the oscilloscope is waiting for a trigger?? right now im trying to set up the oscilloscope, send a trigger to a source, get the data.
 
my problem is that the oscilloscope wait for a trigger for 10 sec...then send an error, then my source send the trigger
 
can't get any sequence working...is the answer in the timed structure? haven't use it much before, but a few tries and context help(there's no detailled help) reading about that did not solve the problem.
 
Anyway, If it is possible, it would be nice if you could set up the oscilloscope, get a bolean TRUE thats its waiting, and use that to trigger whats needs to be while it is waiting.
It would be pretty simple and efficient imo. Is that possible with the current version of lcwave?


Message Edited by anbere on 05-27-2008 04:23 PM
0 Kudos
Message 9 of 10
(5,574 Views)
Hi anbere,
 
lcwave includes a vi called "Wait for Acquisition Complete" that polls the scope to determine whether it's finished acquiring data.  This VI has a timeout that you can wire into it so that it doesn't timeout after the default time.  It also has a boolean output called "Complete".
 
 I recommend using Initiate.vi to initiate a trigger, and then Wait for Acquisition Complete.vi to determine if the scope has not yet completed it's acquisition.  These VI's are in the Data / Low-level function palette.
 
Best Regards,
Alan
--------------------

Alan Blankman, Software Engineer
Teledyne LeCroy
800-425-2000
http://www.teledynelecroy.com
alan.blankman@teledyne.com
0 Kudos
Message 10 of 10
(5,524 Views)