How to capture a .gif file from a spectrum analyzer and save the file in PC

I want to capture a .gif file from a spectrum analyzer and save the file in PC, but I've got a problem when read data from the instrument. I'm not sure how to format the string got from the instrument , When I use "%s" or "%t" as the read string format the data got from the instrument is truncated.
my code are as follows, could anyone tell me where i am wrong?
char resultsArray[5000];
viPrintf(hSpectrumInstr, ":MMEMTORCR 'CICTURE.GIF'\n");
 viQueryf(hSpectrumInstr, ":MMEMATA? 'CICTURE.GIF'\n", "%t", resultsArray);
 printf("%s", resultsArray);
 getchar();       
Solved!
Go to Solution.
Attachments:
readResult.docx ‏50 KB

char resultsArray[5000];
viPrintf(hSpectrumInstr, ":MMEMTORCR 'CICTURE.GIF'\n");
viQueryf(hSpectrumInstr, ":MMEMATA? 'CICTURE.GIF'\n", "%b", resultsArray);

Similar Messages

  • How can I remove a page from a PDF document and save it as a new PDF document?

    How can I remove a page from a PDF document and save it as a new PDF document?

    Tools - Pages - Extract and tick the option to delete the extracted page from the original file.

  • How can I delete an attachment from a received email but save the message?

    Hi all, how can I delete an attachment from a received email but save the message?*

    Over the years this issue crops up again and again. Here are the cases I know about:
    Case 1 - it simply doesn't work
    I have a message in my inbox with a jpeg of about 300Mb. Select message, choose option "remove attachment" which is not greyed out, and it does not work.
    Case 2 - it works if you save the message first
    I move the message from the inbox to a mail box. Open the mailbox (select), select the message, choose option "remove attachment", result: the attachment is removed, a small text file is added and an error appears in the message "missing plug-in". The message size is reduced from 300Mb to a few bytes.
    Case 3 - the option "remove attachment" is greyed out.
    I've googled this at least 10 times and read all the advice about editing various files from the library and all the other hacks. The simple truth here is that the user should not be inconvenienced by such inappropriate behaviour. We're not used to this from Apple any more, not since OS X. Even Windows does this stuff painlessly. In fact this kind of function is something that Outlook and Exchange do incredibly well. If they didn't the corporate world would have ground to a halt.
    My point: the remove attachment option should work all the time and should be redesigned. Right-click + save as + delete in the message would be a hundred times easier.

  • How to insert a gif file into a table?

    Hi,
    I need to insert a gif file into a table. Can anyone tell me where I can find the information on how to create this kind of table, how to insert a gif file into a table and how to select?
    Thanks,
    Helen

    Hi Helen,
    You could read about that in the documentation which is available online.
    For a starter: BLOB. And I bet there are many examples to be found on the web.
    Good luck. :)
    Regards,
    Guido

  • I'm using OSX 10.7.4 how do I convert gif files to jpeg? Preview does not have a "save as" choice.

    I'm using OSX 10.7.4 how do I convert gif files to jpeg? Preview does not have a "save as" choice.

    GraphicConverter (the best shareware ever devised for the Mac) will do this for you:
    http://www.lemkesoft.com/

  • HT1918 hee guys how do u delete a creditcard from your apple id? in the summer a friend of mine connected his own creditcard details to my apple id now i want to disconnect that again but i have no idea how? i just want my own apple id without a creditcar

    hee guys how do u delete a creditcard from your apple id? in the summer a friend of mine connected his own creditcard details to my apple id now i want to disconnect that again but i have no idea how? i just want my own apple id without a creditcard connected to it

    I own the movies and I want them to stay in my iTunes library basically forever.
    But in both cases the file name no longer shows in the movie list, so I don't know how to re-download it from the Cloud.
    iTunes prefs > Store > Show iTunes in the Cloud purchases.
    This will show all your iTunes purchases in your library with a cloud icon down arrow. Click the icon to redownload or click on Play to stream without downloading.
    Also see this , -> Download past purchases
    and techncially, you don't "own" the movie, You simply have a license to use it.
    Yet the first thing iTunes does when you hit the delete key is tell you that it will remove the movie forever from all devices and the library.
    Actually, no it does not tell you that.
    FYI: You should keep copies of all yoru iTnue spurahses as the labels/movie studios/copyright owners can pull their product at anytime and it won't be available to redownload.
    Suggestions here -> http://www.apple.com/feedback/

  • How can i take my music from my ipod touch and put it back on my pc?

    I had just recently got my computer cleaned and i had to start over with reinstalling itunes.  I can get all my purchased music, but I can't find all my files of music that i have cut and put back onto itunes.  I cant even find the files on the computer.  Everything including my cut music is still on my IPOD TOUCH, but how do I transfer those songs back onto my itunes? Help! =]

    Music is moved from computer to iPod and not the other way.
    Allan

  • How can I edit my website from another computer? and how can I create a new website next to the one, I have already? Can anyone help, please?

    How can I edit my website from another computer? and how can I create a new website next to the one, I already have? Can anyone help, please?

    Move the domain.sites file from one computer to the other.
    The file is located under User/Library/Application Support/iWeb/domain.sites.  Move this file to the same location on the other computer and double click and iWeb will open it.  Remember, it is your User Library that you want and not your System Library, as you will not find iWeb there.
    Just create a new site on the same domain file and it will appear below the other site.  If you want them side by side then duplicate your domain file and have one site per a domain file and they can then be side by side.

  • HT204089 I have a samsung smart TV and record free to air TV shows on my TVO I would like to purchase from iTunes a TV series called outlander but do not know how to transfer and save the episodes on my TIVO I will be using my iPad to purchase and downloa

    I Have a  samsung smart TV  and use TVO to record  free to air programmes .
    i would like to purchase from iTunes using my iPad , a TV series called outlander but do not know how to transfer and save the episodes to my TIVO
    please help

    Many videos in the iTunes store are protected so that they can only be viewed on Apple Devices signed into your iTunes account.  If that is the case then your TiVo will not be able to read the files.  If you know how to get a video file onto your TiVo from a flash drive, then just plug a flash drive into your Mac and drag one of the videos from inside the iTunes window onto the icon for the flash drive on your Desktop or in the left sidebar of a Finder window.  That will copy the actual file onto the flash drive. 

  • How can I delete an app from launchpad, that doesn't have the little cross in the left top corner. The app isn't an App Store app. The application is also not present anymore in my application's folder in finder.

    How can I delete an app from launchpad, that doesn't have the little cross in the left top corner. The app isn't an App Store app. The application is also not present anymore in my application's folder in finder.
    I tried to use the attached command through TERMINAL :
    sqlite3 ~/Library/Application\ Support/Dock/*.db "DELETE from apps WHERE title='Help';" && killall Dock
    sqlite3: Error: too many options: "DELETE from apps WHERE title='Help';"
    Use -help for a list of options.
    But i didn't work as I got the above error message.
    best regards
    Jeroen

    I'm in the same boat as you -- except that I manage both a school lab (volunteer job) and macs in the enterprise (pay job).  What I think we need is the Education Volume Purchasing Program
    http://www.apple.com/education/volume-purchase-program/faq.html
    Unfortunately this all seems a little rough around the edges -- for example, I have found updates for AppStore apps on the support.apple.com updates download site, but then when I install them via ARD they don't actually update the software.  (The AppStore icons still show as needing the updates, and the version info reports the old version.)  The documentation is also vague about which AppleID to use in which circumstance.  I think they just haven't finished thinking through the implications of the various procedures and policies upon the various kinds of customers.  When we deployed Mountain Lion on the school lab, we made an install usb and went around and installed it on each computer -- and it appears that you are on the honor system as far as paying for all of the licenses that you install.  We did!  But they appear to have no way to enforce it.
    So far, I have only deployed 9 Lion macs in my day job, and our "solution" to the AppStore showing updates problem has been to drag the AppStore icon off of the users' docks so they don't see them!

  • TS1382 i have a new computer -- how can I get my music from my 2 ipods and my iphone on to the new computer.  I have downloaded itunes but can't get my music from the devices to load on the computer !!!! Help ????

    Need a little help.. New computer !!!  How do I get my music from my 2 Ipods and my Iphone to the newly installed and authorized computer?????

    This user tip provides the steps how to sync your iPhone to your new computer. It should also work for your iPods too.
    https://discussions.apple.com/docs/DOC-3141

  • How can I stop my iPhone from synching my contacts and groups lists twice?

    How can I stop my iPhone from synching my contacts and groups lists twice....I am using iCloud but am not sure how correct this duplication.

    Go into Settings>Mail, Contacts, Calendars. Is this happening at the bottom in the signature section, or in the header of the mail where your email address is? If it is the signature, then go to the Signature area of the Mail settings. If this is in the header, then go to the account in question and edit your account information to include your name instead of Johnny.

  • How do I select a song from my ITunes Library and apply to a picture folder for a slide show?

    How do I selcet a song from my ITunes library and apply it to a picture folder for a slide show. I have a PC, not a Mac.

    Short answer:
    Click Hide Song(s), it is what you wanted to do...
    Long answer:
    iTunes in the Cloud is a feature of your iTunes store account that allows you to redownload or stream your past purchases. When you delete a purchased track that is downloaded to your computer (like the first one shown here) you are asked if you also want to hide the song from iCloud. This would remove it from the computer and also stop it showing up with the iCloud symbol as the other tracks from that album (which are not downloaded) do.
    If a track shows with the cloud symbol you can play (stream) it by double-clicking the title, or click the cloud symbol to download a local copy to your library. If you try to delete one of these tracks you get a slightly different message confirming that you want to hide the track. Clicking hide will remove the listing from the library and any other device that shows your past purchases.
    Should you want to retrieve any item hidden in this way at a later date use Store > View My Account > iTunes in the Cloud > Hidden Purchases > Manage.
    To hide all your previous purchases that are not downloaded to your computer use Edit > Preferences > Store and untick Show iTunes in the Cloud purchases.
    tt2

  • How do I select a black and white sketch from a white background and keep the filled in area of the sketch?  I want to copy it to a colored background. I amusing elements 12.

    How do I select a black and white sketch from a white background and keep the filled in area of the sketch?  I want to copy it to a colored background. I am using elements 12.

    oesrowstreasurer
    Please clarify your "Elements 12". Is that as in Photoshop Elements 12 (photo editor) or Premiere Elements 12 (video editor). And, on what computer operating system is the program running?
    Your question is pointing to Photoshop Elements 12 and that you have posted in the wrong forum. If this is a Photoshop Elements 12 question as I believe it is, please post your thread in the Adobe Premiere Elements Forum using the following link provided for your convenience
    https://forums.adobe.com/community/photoshop_elements
    The alternative is to wait for a moderator to see your thread here and move it from here to the Adobe Photoshop Elements Forum..
    We will be watching for a confirmation on what program you are using.
    ATR

  • I bought a book on itunes on my pc. I want the book on my ipad.  When I plugged in my ipad to sync it moved all my apps to my pc - useless. how do i get my apps back on my ipad and get the book from my computer to my ipad?

    I bought a book on itunes on my pc. I want the book on my ipad.  When I plugged in my ipad to sync it moved all my apps to my pc - useless. how do i get my apps back on my ipad and get the book from my computer to my ipad?

    Instructions on syncing your iPad can be found here:
    http://support.apple.com/kb/PH12311
    and in the accompanying documents linked from that page. Syncing your iPad with iTunes copies items, it doesn't move them. The only way apps would be actually removed from your iPad during syncing is if you had iTunes set to remove them on syncing, so check the appropriate settings in iTunes, set the book to sync as well, and then sync the iPad again.
    Regards.

Maybe you are looking for

  • Purchase Order Report In R12

    Hi All, I have created a purchase order report in R12,in the test instance the report is running perfectly for all the operating units but when i moved the rdf to the LIVE instance the report is running for only one operating unit(nothing is hard cod

  • Updated ipod nano is now not recognised by windows or itunes

    Hi, I am sure there would be numerous people who are in the same situation. Being computer illiterate does not help the situation i tell you. Can anyone please help?

  • Java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 200 OK

    hi all, please help me to resolve the error. i am working on a proxy to soap scenario and in SXMB_moni i am getting the following error. i had check my url,its working fine. <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> - <!--  Inbound Mes

  • 2 iPods and 1 iBook

    How can my husband and I share iTunes on one iBook to update our 2 iPods? We each have an iPod. Do we transfer our music manually or automatically? Do we need to create a log-on profile for each of us before we transfer our music to the iPods. We sha

  • Internet exporer coding, Help

    Your coding skills are needed, why is my website working on every browser except ie. http://www.kidztar.com/zcom.html <html> <head> <title>Preview Book</title> <link rel="shortcut icon" href="KIDICON.ico" /> <meta http-equiv="Content-Type" content="t