08-09-2006 07:55 PM
08-09-2006 08:34 PM
08-14-2006 05:10 PM
Alan from LeCroy Tech Support here...
Collin's definitely on the right track. The missing step is to send the command SCDP, which executes the screen dump, and then to read back the response from the scope. The attached LV 7.1 VI also issues the hardcopy setup command that configures the BMP file type and routes the output to the TCP/IP port. It also saves the response to file. This VI uses the "lcwave" driver, but all that should matter to you is to send the command and to read the response
Regards,
Alan
10-12-2006 10:45 AM
10-12-2006 12:08 PM
Hello RTSLVU,
I no longer have LabVIEW 5, so instead I have attached a screenshot of the block diagram. Here's what you do:
1) send the command string "hcsu dev, bmp, port, net; scdp" This includes two commands, hcsu = hardcopy setup, and scdp=screendump. See the remote control manual for more details.
2) readback the screendump. In this example, I do it in a single read, but if this is problematic for you, you can loop over multiple reads and retrieve smaller blocks of data.
Best Regards,
Alan
10-12-2006 04:34 PM
Thanks, but I do not have that set of Labview drivers as I am using LV 5.11 and the oldest drivers either from NI or Lecroy I can find are for LV7.
So I am trying to do this manually I have been using NiSpy to see how Lecroy Scope Explorer is doing it.
I can see that Scope Explorer sends the command string:
CHDR OFF;HCSU BCKG,BLACK;HCSU DEV,BMP;HCSU PORT,GPIB;SCDP
And the scope sends back the screen dump data.
But if I send the same string using Labview VISA or low level 488.2 vi's I get no data sent back and the scope does display the "Printing" message on the screen but otherwise just locks up
What am I missing?
10-13-2006 08:07 AM
06-27-2008 09:52 PM
Hi Alan,
I also start to write the command to screen dump the screen into harddisk. Note that my machine is LT344L model and i use the latest instructment driver called "lcltxxxx_setup" Also note that the communication media is through GPIB port. Base your example, i change the subvi to be "lcltxxxx" subvi. Howvever, it is not successful to dump the screen. I think the problem is in the "Read" side as any number of bytes to read. It also goes to error. Is the Configuration error??
I had tried other command but it only print the screen to the "Int Printer". I only want to screen dump the screen image in to Harddisk.
Thanks&Regards,
Steve
06-30-2008 09:07 AM
Hi Steve,
Alan from LeCroy tech support here...
The code you are using routes the screen dump through the remote control port. Printing to the disk is much easier, and doesn't require any readback. The command to send would be something like this:
hcsu dev, bmp, port, hdd; scdp
"hcsu" is the command "hardcopy setup". There are other characteristics that can be configured with this command. The easiest way to know the command to send that will setup *all* of the hardcopy setup features is to execute the query "hcsu?" The scope will reply with the full syntax:
HCSU DEV,BMP,PORT,HDD,PFEED,OFF,PENS,2,PSIZE,A4,CMDIV,1,AUTO,OFF,FORMAT,LANDSCAPE,BCKG,BLACK
(Whether you see the "HCSU" as part of the reply to the query depends on the COMM_HEADER setup, but this is a different topic... 🙂 Some of the items in the full syntax are not used depending on the "DEV" choice.)
Best Regards,
Alan
07-02-2008 06:55 AM