Discussion:
lecroy 6030 LAN communication
(too old to reply)
anbere
2008-05-27 20:10:12 UTC
Permalink
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
alanjb
2008-05-27 20:10:13 UTC
Permalink
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: <a href="http://www.lecroy.com/tm/Library/Software/LabView/VICP.asp?menuid=8" target="_blank">http://www.lecroy.com/tm/Library/Software/LabView/VICP.asp?menuid=8</a>
&nbsp;
Best Regards,
Alan
&nbsp;
anbere
2008-05-27 20:10:14 UTC
Permalink
tx for the quick response
&nbsp;
I'm not quite sure where i should enter the string VICP::&lt;myipadress&gt;....in visa ressource name in the labview example?
&nbsp;
If i do this i get
&nbsp;
Error -1073807343 occurred at VISA Open in lcwave Initialize.vi-&gt;lcwave Acquire Waveform In Loop.vi
&nbsp;
VISA:&nbsp; (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
alanjb
2008-05-27 20:40:16 UTC
Permalink
Hi Anbere,
&nbsp;
You would enter&nbsp;it directly into the "VISA Resource Name" control.&nbsp; Have you installed the VICP Passport? If not, then you will definitely get an error.
&nbsp;
Best Regards,
Alan
anbere
2008-05-27 20:40:16 UTC
Permalink
yes, I installed it.
anbere
2008-05-27 20:40:16 UTC
Permalink
allright, seems i had to restart Labview completely for it to work
&nbsp;
Thank you very much for your help.
alanjb
2008-05-27 20:40:17 UTC
Permalink
You're welcome!&nbsp; By the way - I am working on the next revision of the lcwave driver, and intend to have submitted to NI later in June.
&nbsp;
Best Regards,
Alan
&nbsp;
Albert Geven
2008-05-27 20:40:17 UTC
Permalink
Hi Alan If you need testers for the new version, yuo know my email address
anbere
2008-05-27 21:40:14 UTC
Permalink
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.
&nbsp;
my problem is that the oscilloscope wait for a trigger for 10 sec...then send an error, then my source send the trigger
&nbsp;
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)&nbsp;reading&nbsp;about&nbsp;that&nbsp;did not solve the problem.
&nbsp;
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
alanjb
2008-05-28 16:10:16 UTC
Permalink
Hi anbere,
&nbsp;
lcwave includes a vi called "Wait for Acquisition Complete" that polls the scope to determine whether it's finished acquiring data.&nbsp; This VI has a timeout that you can wire into it so that it doesn't timeout after the default time.&nbsp;&nbsp;It also has a boolean output called "Complete".
&nbsp;
&nbsp;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.&nbsp; These VI's are in the Data / Low-level function palette.
&nbsp;
Best Regards,
Alan

Loading...