| 1 | This page is intended to document an EDF effort to provide relatively general |
| 2 | C++ support for various instruments, including LeCroy (and possibly other brand) |
| 3 | oscilloscopes, Agilent AWGs and perhaps GPIB instruments such as signal generators |
| 4 | and VOMs via a GPIB-Ethernet interface. |
| 5 | |
| 6 | == LeCroy Oscilloscopes == |
| 7 | |
| 8 | Allegedly one can communicate with LeCroy oscilloscopes over Ethernet. |
| 9 | This is "easy" if you use Windows and the DLL supplied by LeCroy, however |
| 10 | here we use mostly linux and prefer not to rely on black-box software. |
| 11 | |
| 12 | I am working with a WaveRunner 64xi-A scope. |
| 13 | |
| 14 | The scopes as it turns out support two different protocols, and you must select one |
| 15 | in the remote control configuration menu in the instrument. One protocol is VICP |
| 16 | which is proprietary to LeCroy but rather simple. The other is VXI, which is widely-used |
| 17 | but more complex. I have had some success with the sample program supplied with the |
| 18 | Linux VXI-11 driver linked below. This seems like a good approach. |
| 19 | |
| 20 | * [http://www.lecroy.com/support/techlib/registerpdf.aspx?documentID=5209 LeCroy Remote Control manual] |
| 21 | * [http://ohm.bu.edu/~hazen/DataSheets/LeCroy/lab_wm827.pdf "Understanding VICP..."] |
| 22 | * [http://ohm.bu.edu/~hazen/DataSheets/LeCroy/LeCroyVICP1.0.zip LeCroyVICP1.0.zip] |
| 23 | (see [http://lecroyvicp.sourceforge.net/ Sourceforge link] |
| 24 | * [http://ohm.bu.edu/~hazen/DataSheets/LeCroy/vxi11.tar.gz vxi11.tar.gz] |
| 25 | * [https://bitbucket.org/tlatorre/lecrunch LeCrunch!] |
| 26 | |
| 27 | == Agilent AWG == |
| 28 | |
| 29 | The Agilent AWG we have is simpler, as it responds directly to SCIP (aka GPIB) commands |
| 30 | on a TCP server with no additional protocol. Perhaps VXI is supported also, but I haven''t |
| 31 | looked in to this. |
| 32 | |
| 33 | Here is a very simple program ([http://ohm.bu.edu/~hazen/Agilent/awg_comm.c awg_comm.c] |
| 34 | opens a connection to the Agilent AWG and allows the user to enter commands. |
| 35 | |
| 36 | * [http://ohm.bu.edu/~hazen/DataSheets/Agilent/81160-91020.pdf Agilent 18860A User Manual] |
| 37 | |