Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Realtime Waveform Acquisition LeCroy wavesurfer 44xs

Hello,

im pretty new to LV and my task is to write a program for a LeCroy Waversurfer 44Xs. The Program should acquire the data measured by the scope in relatime (if this is possible). When the signal acquired reaches a certain level (trigger) the program should save the acquired data to a file including some pre-samples.

My problem by now is that the example VIs included with the drivers from LeCroy only allow acquisition of a short period. i.e. the VI waits for the scope to measure data and thus returns a waveform of certain length.

 

Is it somehow possible to create a program as described above?

 

hope somebody can help me

0 Kudos
Message 1 of 15
(6,181 Views)
Which maximum delay will you accept from the triggering event to the complete WF acquisition by PC? Is it ok to wait for the complete WF to be acquired (and displayed) by your scope, and the transferred to your PC?
0 Kudos
Message 2 of 15
(6,171 Views)
it's supposed to be a long time continous measurement, where only the data of the event (including some presamples) are of interest. most of the time the scope/the VI should only monitor the signal.
0 Kudos
Message 3 of 15
(6,166 Views)
If you don't need to display the traces until triggering event happens, you may set trigger mode to "single", create a loop that continously reads trigger mode, and acquire the waveform as the result becomes "stop". Remember to reset trigger mode to "single" after storing waveform.
0 Kudos
Message 4 of 15
(6,159 Views)

Hi aelray,

 

Alan from LeCroy Tech Support here... 

 

Please describe further what you mean by "long time continuous". What's your application?  How often are you needing to readout data, and with what sample rate requirement?

 

Best Regards,

Alan

--------------------

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

hi alan,

it should monitor the signal for like an hour. The only data relevant is when it reaches the trigger level including some presamples and a sample rate of 1 ks/s should be absolutely sufficent.

0 Kudos
Message 6 of 15
(6,130 Views)

Typically, all you would do is set the trigger condition on the scope and then just monitor the scope to see if it's been triggered. You can usually set the scope to generate an interupt when it's been triggered. There is no need to transfer any data to the pc until it has been triggered. While if varies by scope and I have not used this model, it's somewhat unusual to be able to continuously transfer data and really no need to generate so much bus traffic anyway.

0 Kudos
Message 7 of 15
(6,124 Views)
can i confgure the scope to do that through a labview program? If yes, is there an example how it is done?
0 Kudos
Message 8 of 15
(6,077 Views)

There's an example that uses an edge triggered acquisition and waits. You set the timeout in msec and every msec, an INR? command is issued to see if the scope has triggered. The example is with the rest of them in the driver.

Message Edited by Dennis Knutson on 12-21-2009 01:19 PM
0 Kudos
Message 9 of 15
(6,072 Views)

Hi aelray,

 

Alan from LeCroy Tech Support here...  i agree with Dennis 100% - see the examples that are included with the driver.  Feel free to modify them to create simple examples for your specific application (but save the modified versions with a new name.)  Let me point out a subVI that you'll want to use:  "Configure Sample Mode", which is in the "Configure" subpalette of the driver.  This would be used to put the scope into Roll mode, which is what you'll want to since you have a very long acquisition. 

 

Best Regards,

Alan

--------------------

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