ReadLecroyBinary() - An IGOR Pro 3 Macro We have developed a "poor man's" (maybe "simple man's" is better) method for getting LeCroy digital oscilloscope data into Igor. Specifically, the late model LeCroy scopes will write binary data to a PC floppy (3.5'') which can then be accessed by a program supplied by LeCroy. Also, LeCroy's "Scope Explorer" (Wintel only) can write a binary file from scope data which has been transferred to the PC by GPIB. We have written a simple Igor Macro which reads the important header information and the binary data directly from one of these binary files using the GBLoadwave XOP. It runs on either a Mac or PC and will read the binary files directly from the PC disk or those moved to a Mac over a network. It will handle both 8 bit waveforms and 16 bit (processed) waveforms and writes the most important scope parameters in the Wave Note for that wave. It only handles single-trigger waveforms so will not handle "sequential" data. It was written with Igor Pro 3. It's not as nice as a custom XOP, but it's reasonably fast and very easily modified. This Procedure file is pretty simple to use. It puts a menu item under the "Data" -> "Load Waves" Menu which says "Load LeCroy Binary File". The user then selects the binary file to read and an Igor wave is created with the same name as the binary file. The waves created are single precision but this is easily modified. If you don't like the user interface, you can easily modify it. This routine has been tested with a number of LeCroy scopes but if you're not sure, just try it and look at the data. Usually, you either get the correct waveform or you get garbage. Charlie DeJoseph and Peter Bletzinger U. S. Air Force Research Laboratory AFRL/PRPE, Bldg. 450 Wright-Patterson, A.F.B. OH 45433-7919 charles.dejoseph@wpafb.af.mil