Screen capture of Tektronix MSO4104B using LabVIEW

I am trying to acquire a screen capture from a Tektronix MSO4104B oscilloscope using LabVIEW. I currently am able to collect data from the device, and have a waveform displayed on my VI front panel. However for various reasons, our preference is to capture the actual screen shot from the scope.
I have reviewed the programmers reference for this device, and have made countless searches on Google for an answer, but haven't been able to find a solution. It appears that a few people have been able to accomplish this on OTHER Tek scopes by sending a hardcopy through the communications port (GPIB, USB, Ethernet, etc...) however according to the programmers reference for this particular device, it appears that it will only send a hard copy to an installed printer, rather than simply as a data stream to the port that can be read using VISA commands.
The other solution I have seen is to save the screen shot to a flash drive, then copy the file through the port to the PC. However, neither of these solutions seem to be available on this device...this is one of the most advanced scopes that Tek makes...I can't believe this is so difficult!? Please help!
Solved!
Go to Solution.

I used a TDS3000 series scope from Tek and had success using the Hardcopy command.  Note that I used the GPIB.  Here are the commands I used.
HARDC:PORT GPIB;
HARDC:INKS ON;
HARDC:FORM PNG;
HARDC START
 I also had fun because I had to recieve the data in chunks since an entire png file could not be transfered in one chunk due to buffer limitations.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Attachments:
tek screen capture.png ‏19 KB

Similar Messages

  • Specifying screen coordinate​s in printf using LabView RT 2009

    According to the help documentation in LabView 2011 "Printf (LabVIEW Manager Function)", the conversion character of 'q' is supposed to reference a point. The actual help text is "q Point (passed by value) as %d,%d representing horizontal, vertical coordinates". Is this a valid conversion character for LabView RT 2009? If so, then does anyone have an example of using these characters to print at row 10, column 1 on the console? I'm tried many combinations like: printf("%dqTest Row",(10,1)), etc.
    Solved!
    Go to Solution.

    LabVIEW Real-Time does not inherently have a "console" - it has an "output stream".  There is no published API to allow you to jump around on the console natively (don't cross the streams) - you can't even do it with the LabVIEW Manager functions (it literally prints a dot in that pixel location, not text).  
    Now, I didn't tell you this, but if you happen to have a target with video memory (like a PXI system, definitely NOT a cRIO or cFP) and you happen to know the address of where video memory sits on your system <cough> 0x0B8000 </cough>, you can directly write ascii characters to specific areas on the screen - just like they did back in the DOS days.  
    #include <iostream>
    #include <windows.h>
    void VGAChar(unsigned int row, unsigned int col, char c, unsigned char attr) {
    static volatile char *video_mem = (char *)0x0B8000;
    unsigned int pos = ((row * 80) + col)*2;
    video_mem[pos] = c;
    video_mem[pos+1] = attr;
    void VGAString( unsigned int row, unsigned int col, char * str, unsigned char attr) {
    int i = 0;
    while (str[i] != '\0')
    VGAChar(row+(col+i)/80, (col+i)%80, str[i], attr); /* print each character */
    i++;
    int main (void)
    char buffer[ 100 ];
    sprintf( buffer, "Hello, my DOS world!" );
    VGAString( 10, 10, buffer, FOREGROUND_BLUE | FOREGROUND_RED ); // prints in PURPLE at ROW 10, COL 10.
    return 0;
     Of course I don't condone this, and it's definitely NOT supported (and only works on PharLap-based targets with a video console), but it IS a lot of fun.  
    -Danny

  • How to Silence ICS Built-In Screen Capture?

    I just learned from reading in a forum that ICS on the Bionic comes with the ability to screen capture, which is very useful for backing up my home screens in case of a FDR.  To do this, press Volume Down and Power button at the same time and hold momentarily until a camera sound.  The camera sound is loud, and regardless whether I have every volume setting to zero, it still makes the sound, and loudly.  Is there a way to mute that?  Or is it a safety/privacy issue forced by Verizon/Android/Motorola?
    On another topic, when I installed the ICS update (after clearing system cache), I experienced slowness, apps timing out, and phone freezing.  This was even after 4 days of allowing the ICS update to settle in.  So, I ended up doing a FDR.  Then, I couldn't install apps from Google Play. It would just show the Downloading progress bar, but no icon in the notification bar.  So I FDR a couple of more times. Still no avail. Then I installed some backed up .apk files from my SD card and that worked. Also, I pushed an install from my PC to my phone.  And after quite a while of starting and stopping the app install attempts, Google Play finally started to download.  Not sure what the cause was, or if it was a waiting game, but all is well now. 
    Results: Speedy phone, battery lasting longer, and super fast boot up (for me, compared to Android 2.3 which took forever for my phone).
    Was not happy at all at first, but now I am after biting the bullet and performing a FDR which I always dislike due to the hassle.  Took me a good 3-4 hours to install all of my apps, in addition to the Google Play issues I had to work through.

    I have discovered that the system volume of the phone is sometimes different from the phone and media volume that you can access in the phone's settings. Try downloading the sound manager that can access all of the volume settings. Once installed, see if you can control the system volume separately from the other volume levels and try the screenshot again.

  • I can insert images in gmail. However, I cannot insert a screen capture on one computer when I can on another. So I think its the way I have Firefox setup...but I don't know how to change it.

    In gmail I enabled insert images. I can now copy/paste an image....but not a screen capture. I'm using the same process to capture the screen shot and paste as I do in Word. It works on one computer...but not another.

    Move the cursor to the very top of the screen, maybe push up a bit. The main menubar should then appear. All the way to the right should be a bright blue icon - click it, and the Safari window should revert to 'normal' size.
    Pressing Command-Control-F should accomplish the same thing.
    Once it is back to normal size, click and hold on the top portion of the Safari window and drag to left or right to place it where you want it to be. Once you leave it there, the next time you open Safari it should open its window in normal size at that place.
    If you need to re-size the window a bit, you can click-and-hold on the bottom-right corner of the window and drag to resize it.

  • Screen Capture Color Matching between Apple & Windows

    I'm doing screen captures on my iMac (using iShowU) in lossless apple animation mode, editing in FCP 2 and outputting to H.264 files. When I play the rendered files back on a Windows PC monitor all the color values have shifted to a seemingly lighter gamma setting and look washed out. How do I compensate for this in FCP (as all of my renders are destined for playback on a website)? i tried using the ColorSync filter during render but it didn't seem to make any difference. Is there a "PC Monitor" setting to use in ColorSync?

    The gamma filter is where you will end up. This entire gamma situation is very confusing for all of us. In addition to the standard gamma differences between Macs and PCs, the different codecs have different assumed gammas. Animation works in a 1.8 gamma space, ProRes, and DV in 2.2. FCP expects a 2.2 color space from the video, but displays it correctly in a 1.8 space.
    All of this assumes that your computer monitor is correctly calibrated for both color and gamma.

  • Problem recording sound during screen capture

    Hi
    I'm having a problem when recording screen captures in Windows XP SP3 in Boot Camp.
    There is almost no sound. There is a very low sound level being picked up from the microphone.
    The screen capture software I'm using is Capture Solution by SProsoft. I get the same result when using Windows Media Encoder, so I don't think it is a problem with the capturing program.
    There is no problem with Windows XP making the sounds as I use it. It is just that I cannot record those sounds.
    Thank you for any assistance you can give.

    Hi ya I solved it..... I brought it back to the shop I got my phone in and they gave me a brand new one.
    I had it for 11 months when I returned it  and it was still covered by warranty hope this helps :)

  • Strange small glyph in the middle of the screen when using LabVIEW 8.2.1

    I've started noticing a strange small glyph in the middle of the screen when I am using LabVIEW 8.2.1.
    Sometimes it is there, sometimes it isn't. Has anyone else seen this? Why is it there? Can I get rid of it?
    (Just in case you think I am going crazy from too much LabVIEW I'll include a screen capture of it...)
    Well that's it. I barely noticed it on my blue/ background picture. It seems to be there on my XP machine but not my Win2K machine.
    Message Edited by Troy K on 10-11-2007 10:49 AM
    Troy
    CLDEach snowflake in an avalanche pleads not guilty. - Stanislaw J. Lec
    I haven't failed, I've found 10,000 ways that don't work - Thomas Edison
    Beware of the man who won't be bothered with details. - William Feather
    The greatest of faults is to be conscious of none. - Thomas Carlyle
    Attachments:
    strange glyph.PNG ‏1 KB

    It's something from your video driver (If I recall correctly an NVIDIA).
    LabVIEW creates somewhere off-screen a window with  a size of 0,0. The driver detects this and as som sort of anti-spam moves it on-screen.
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • Strange behavior when using Labview to collect data from Tektronix tds8200 oscillosco​pe

    I have hit a wall in trying to figure this one out. The problem I am having is that my program does not start the oscilloscope when it should.
    I am using a Tektronix TDS8200 oscilloscope. My goal is to collect waveform data from the oscilloscope using Labview. My program first initializes and configures the oscilloscope; this part of the program runs fine.
    The second part of the program begins the data aquisition using the  'tktds8k Start or Stop Aquisitions.vi' function, which is equivalent to pressing the Run button on the scope. The 'tktds8k Get Waveform.vi' function is then used and should ideally return the data, which I have connected to a waveform graph for visualization.
    When I run my program, the first part executes without issue, but as soon as the program gets to the Get Waveform function, the Run button on the scope, which is green when running, turns off; the program then times out, and no data is collected.
    Here's where it gets weird. I went through some debugging to try and figure this out, and I put breakpoints on both the Start and Get Waveform functions so that I could step through the later part of the program. The program continues through the Start function, and the Run button on the scope is green. The breakpoint for the Get Waveform function is reached, and when I press continue, the Run button turns off and then turns back on almost immediately; the data is collected, the waveform graph is displayed, and the program exits without an error.
    I thought timing might be the issue, so I made the program wait as long as 5 seconds between the Start and Get Waveform functions, and that did not work. I also tried moving the Start function to before the configuration functions, and removing the Start function altogether; neither method worked.
    Are there any thoughts on why the program works when I have the breakpoints enabled and doesn't when the breakpoints are disabled? I am sure that there is an easy fix, but I haven't been able to find a solution.
    I have attached a pdf containg information on the Oscilloscope functions (tktds8k.pdf), and I have also attached my program.
    Solved!
    Go to Solution.
    Attachments:
    tktds8k.pdf ‏1424 KB
    set_up_osc.vi ‏32 KB

    Thank you for the swift replies.
    After Bill asked about the ID Query, I decided to try a few things that I had already gone over just to double check. I was suspspicious that timing was the source of the error. Using a timed while loop, I set the wait time to 10 seconds and got results. As it turns out, 5 seconds is not long enough, but 8 seconds is a sufficient wait time for the program to work. With the problem solved, I am still mystified as to why waiting 8 seconds is required.
    I think that the oscilloscope must be given sufficient time to display the signal on-screen before the Start Aquistion or Get Waveform functions are used. With this logic in mind, the breakpoints were acting as a sort of wait, allowing the signal to be displayed before continuing through the program.
    In response to Jeff, I am indeed using an external direct trigger. The hardware is sound, but apparently, my coding could use some work.
    I have attached the modified code. I am certain that there is a more elegant solution to the timing than simply slapping a timed while loop on the code. Any suggestions?

  • I have a 17" Macbook pro with flickering red and cyan(blue) lines across the screen. The issue disappears temporarily when I tap on the computer, and the problem does not occur when I use external display or try to screen capture the problem.

    I purchased my Macbook (17") through a certified apple tecnition in August 2012, it was refurbished and the motherboard was completely replaced. I do a lot of photo editing, but I have been unable to do so because of the red vibrating lines that interrupt my screen. The issue disappears temporarily when I tap on the computer, and the problem does not occur when I use external display or try to screen capture the problem. I brought the computer back to the technition I purchased it from and he said that it was a problem with my fan, so I have two new fans but the issue is still occuring. He says he doesnt know whats wrong. Does anyone have any information on this issue?
    Here is an image of the issue
    http://www.flickr.com/photos/67839707@N08/8884847081/

    I recommend having your Mac serviced by someone competent. A force sufficient to "blow apart" the fans was clearly excessive and may have damaged the display cable, as well as any number of other problems.
    Dust is properly cleaned with a vacuum, preferably one designed for computer service, and they are not cheap.
    Compressed air should never be used. It just blows dust everywhere, often into places where it can no longer be removed.

  • How to take the screen shot of my computer page by using Labview.... is there any funtions available in Labview?

    How to take the screen shot of my computer page by using Labview.... is there any funtions available in Labview?

    Another thread about this theme.
    Waldemar
    Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
    Don't forget to give Kudos to good answers and/or questions

  • Best screen capture for using with premiere elements?

    i have been scouring the net to figure out how to get better results than what i'm getting with the camstudio (love the program, and it looks great until i pull it into premiere). I have read that it can be a codec issue or an fps issue, but before i follow those trails, i was wondering if there is a screen capture software that works well with premiere, without a lot of hassle. (not necessarily free, just reliable and hassle free with good quality in premiere elements) Anyone have experience with this?
    thanks in advance!

    Steve Grisetti wrote:
    Well, we've used Camtasia and Adobe's Captivate to make tutorials for http://www.muvipix.com. They're both excellent, and I've never had a problem with either.
    Chuck Engels is really the expert on both those program though. You can find him on the Muvipix forum daily.
    Steve.
    Would you please provide an update to the process of screen capture?  What does muvipix.com and lynda.com use?  I'm considering a project where my granddaughters create a couple of training videos for kids.  It's a dream, but might work!
    Thanks.
    Bill

  • Changing file type in screen capture to .jpg using Terminal

    I am having trouble changing my screen capture function to .jpg. For some reason it is set to .tiff and
    despite opening Terminal and typing in "defaults write com.apple.screencapture type jpg"
    (no quotes) hitting return and restarting, it remains a .tiff
    I have also tried: "defaults write com.apple.screencapture type jpg" (return)
    "killall SystemUIServer" (return) and restarting.(No quotes)
    Can someone tell me how to accomplish this? I use keyboard shortcut control/command/shift/4 and I'm running 10.6.4
    Thanks

    The OP here was using a keyboard shortcut, not Grabber.
    I did some further exploring. I just tried TinkerTool again, and again was able to change the file format of saved screencapture files to jpeg. TinkerTool modifies the com.apple.screencapture.plist file the same way that the Terminal command does.
    This clearly works for command-shift-3 and command-shift-4, which save the screencapture image as a file. However, on looking more closely at the O.P.s initial post in this thread, he/she actually said
    I use keyboard shortcut control/command/shift/4
    When you include the control key in the command, the screencapture image gets saved to the clipboard instead of to a file, and you wouldn't normally be aware of its format until you pasted the clipboard contents somewhere else. I don't know where the OP was pasting it, but as was noted in the thread cited above by Baltwo, pasting a sceencapture image from the clipboard into a mail.app message results in a .tiff file being pasted. I also find this to be true in my system - perhaps this is what the OP was doing all along.
    However this is an issue caused by the receiving app, not by the screencapture function. It's possible to look directly at the contents of the clipboard via:
    Finder>Edit Menu>Show Clipboard
    With my screenshot format set to jpeg by TinkerTool, I used control-command-shift-4 to save a screenshot to the clipboard. Looking directly at the clipboard in Finder as above, the clipboard image was a jpeg. When I then pasted the clipboard contents into a mail message and used Mail>File Menu>QuickLook Attachments, the pasted graphic in the mail message was a .tiff.

  • Screen Capture (file format) used to be pdf

    Is there a way to change the default file format for a screen capture. The file format in OS 10.3 used to capture as a PDF. Now the format is PNG. I know you can open the file in preview and resave it.
    I just want to see if there is someway to change preferences or something so it will default as a pdf file.
    thanks

    Hi, amantia and costicladop —
    amantia, welcome to Apple Discussions!
    There are various options to accomplish your objective.
    OnyX 1.6.5 (a free utility) and Cocktail 3.6.5 ($14.95 shareware utility) offer the option to change graphic file format with a "single click" — in OnyX »» Appearance »» Screen Capture and Cocktail »» Interface »» Misc. »» Screenshot file format, respectively.
    They're both just implementing Terminal commands — which provide another option.
    bmp, gif, jpg, jpg-2000, pdf, photoshop, pict, png, sgi, tga, and tiff options are available in both utilities.
    Hope this helps . . .
    Regards,
    Dean
    p.s.  costicladop — following your link engages an automatic download. (Duh.) Wanting to read something first, I went to http://www.arenasoftware.com/ — which forwards to http://www.digitalarena.co.nz/. The software page on that site only mentions three software products, none of which is shotChoice. Could you provide a descriptive link? Thanks!

  • Screen capture error, using "ctrl command shift 4"

    when I captured the screen using "ctrl command shift 4", the captured picture is cracked. but when using "command shift 4", the captured picture is fine.
    like below
    How can I fix it?

    use CMD  Shift 4
    better still use a FREE screen capture APP like ducklink
    http://www.ducklink.com/p/free-screen-capture-tool-on-mac/
    Best one is the APP SnapNDrag I use all the time.
    http://download.cnet.com/SnapNDrag/3000-2094_4-40913.html

  • Screen Capture floating app (no multiple use)

    Hello All,
    When i tried to use Screen capture (floating small app),it closes by itslf after a single capture.
    This defies to very purpose of floating app (in my opinion)
    Am i the only one seeing it (bug in my device)? or someone else share the same condition?
    SONY:Kindly make this app available for multiple use

    Hi,
    For the moment of time, this is how the capture function works. You can also take a screenshot by holding down the ON/OFF button and choose "Take screenshot" or hold down the ON/OFF button + volume down(-). Press these buttons with a good timing and hold them down for about 2-3 seconds.
     - Official Sony Xperia Support Staff
    If you're new to our forums make sure that you have read our Discussion guidelines.
    If you want to get in touch with the local support team for your country please visit our contact page.

Maybe you are looking for

  • How to keep files from disappearing when using Dynamic link to AE from PremProCS4?

    I am at my wits end here and hope someone can offer a solution.  I use Dynamic Link in PremProCS4 to link a clip in my timeline to AfterEffects.  I follow the instructions in my book and everytime I close my files and reopen..I loose the clip along w

  • Garbage characters at the end of Caller-ID

    Hi, I've got a VPN 3000 (4.7.2j) set up to do AAA for the admin interface to my ACS server (4.1(4)). This account has a NAR on it and the NAR denies the authentication request and the reason seems to be that the Caller-ID field contains a suffix of g

  • Application does not appear

    Hello, I created a new application in BPC 7.0 for MS. Then I start BPC for Exel and try to choose my new application but there is not it. What do I have to do application will be appeared? Regards, Veronika.

  • Having problem importing midi files.

    Hello everyone, I am having trouble importing midi files in GB. Every time I do all I get is a single insrument, and not the whole midi file as it was when I downloaded it. I tried Dent du midi and cant even get that to work. It looks like it is work

  • Data Integration Management (DIM) 9.3.1 server license key is invalid

    Hi all, I am trying to install the Hyperion DIM server 9.3.1 to my Enterprise Redhat Linux 4. I run the setup program without any problem. When I when the configuration utility to configure the DIM, it asks for the connectivity keys. I just grid it f