Save image using write file2

I am acquiring real time images using laptop web camera.
I want to save them and read them to use in another application.
I connected the vision acquisition express to imaq write file 2.
I used imaq read file to read the written image files.
When I tried I encountered the following problem."Error -1074395989 occurred at IMAQ ReadFile
Possible reason(s):
IMAQ Vision: Unable to read data"
Thank you for your help.

Hello,
Can you show the VI you are using to save and to load the image file?
Here's a little example for how to read an image from file and display it :
Hope this helps
When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"

Similar Messages

  • How to incrementally save images using a hotkey

    What I'm hoping to accomplish is as follows:
    Draw a line, then
    Press a hotkey to Play an Action.
         The action needs to save an incremental .jpeg
         and then select the previous history state.
    The goal being that everytime I try to undo a mark, I have a copy of the image with the mistake, creating a record of the process. I have absolutely no knowledge of scripting. I will basically use this as an alternative undo key.
    I am working on a project in which I need to save "snapshots" of my progress. Basically I'm working on a digital sketchbook and am trying to record the progress of every mark I make on the page. My workflow for this project entails the drawing of a line and then selecting of the previous history state, erasing the lines I do not want and layering the ones I do. The idea being that I can catologue my entire workflow and progress in a series of images to post to my sketchbook blog. This is part of a longterm project to track improvement and I'm am following this ideal for multitudes of images each day.
    I suppose all I'm asking for here is a script that will run and save a .jpeg of the current .psd, adding a "_001, _002, _003" suffix to the filename, checking to see if the current suffix is taken and changing to the next one. This way I can catalogue the "snapshots" of mutiple images in the same folder.
    Using Photoshop CS5 on OSX Snow Leopard.

    Try this....
    #target photoshop
    main();
    function main(){
    if(!documents.length) return;
    var Name = app.activeDocument.name.replace(/\.[^\.]+$/, '');
    try{
    var savePath = activeDocument.path;
    }catch(e){
        alert("You must save this document first!");
    var fileList= savePath.getFiles(Name +"*.jpg").sort().reverse();
    var Suffix = 0;
    if(fileList.length){
        Suffix = Number(fileList[0].name.replace(/\.[^\.]+$/, '').match(/\d+$/));
    Suffix= zeroPad(Suffix + 1, 3);
    var saveFile = File(savePath + "/" + Name + "_" + Suffix + ".jpg");
    SaveJPEG(saveFile, 8);
    function SaveJPEG(saveFile, jpegQuality){
    jpgSaveOptions = new JPEGSaveOptions();
    jpgSaveOptions.embedColorProfile = true;
    jpgSaveOptions.formatOptions = FormatOptions.STANDARDBASELINE;
    jpgSaveOptions.matte = MatteType.NONE;
    jpgSaveOptions.quality = jpegQuality;
    activeDocument.saveAs(saveFile, jpgSaveOptions, true,Extension.LOWERCASE);
    function zeroPad(n, s) {
       n = n.toString();
       while (n.length < s)  n = '0' + n;
       return n;

  • How to save image using an image object in servlet on web server

    I'll be very thankful to anyone who helps me in this matter.
    i developed an applet which draws on a buffered image.
    now i want to save this buffered image as a jpg image on the web server.
    i know i have to use servlets or jsp for this.
    but i want to use servlet for specific reasons.
    can anyone plz provide me the code for taking an image object from an applet and saving it thru servlet.
    i need this solution as soon as possible.
    thanks in advance.

    Take a look around for URLConnection, and Applet to Servlet communication (also check the [url http://forum.java.sun.com/forum.jsp?forum=33]Servlet forum).
    Basic concepts will be to open a URLConnection to the URL mapped on your server for the servlet, then send the image, byte by byte, to the servlet, then ask for a reply from the servlet.
    Once asked for a reply the servlet will need to take the image sent to it (hopefully via an HTTP post) and copy it to a location on disk. (You could have a parameter to the request that tells you want to name the file...)
    As for the converting buffered image to JPEG, I haven't done this before, but I know others have. You can look around (more likely to find it in the [url http://forum.java.sun.com/forum.jsp?forum=31]Java Programing[ul] forum) for the code needed.

  • Saving image using mobile into sap R/3

    We are using sap mobile platform version 2.3 and our client requirement is to save images using mobile apps.
    We already saved images in mime repository but for this we have to required client modifiable , but due  to security reason we can't do this.
    Please Help.

    Hi Nilesh ,
      I had a scenario to attach image to pr05 transaction from mobile, so that when click view attachment button in pr05 i can see the image . My code is based on that .
    it is the function module with import parameter base64 string and filename ,last three letters of the file name proceeding the . is the extension
    in your case you need to create custom object type instead of  BUS2089 .
    Do research regarding that ..
    -->Local Workare declaration.
       DATA : ls_fol_id   TYPE soodk,
              ls_obj_id   TYPE soodk,
              ls_obj_data TYPE sood1,
              ls_content  TYPE soli,
              ls_folmem_k TYPE sofmk,
              ls_note     TYPE borident,
              ls_object   TYPE borident.
    **--> Local internal table declaration.
       DATA : lt_content   TYPE STANDARD TABLE OF soli,
              lt_url_tab   TYPE STANDARD TABLE OF so_url,
              lt_objhead   TYPE STANDARD TABLE OF soli.
    **--> Local variable declaration.
       DATA : lv_filename            TYPE string,
              lv_file_name_with_path TYPE chkfile,
              lv_stripped_name       TYPE string,
              lv_name                TYPE char30,
              lv_url_tab_size        TYPE sytabix,
              lv_ep_note             TYPE borident-objkey.
       ls_object-objtype = 'BUS2089'.
       ls_object-objkey  = '001095510000020022'.
       ls_obj_data-objdes = I_FILE_NAME.
       ls_obj_data-file_ext = I_FILE_EXT.
       CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
         EXPORTING
           buffer     = I_FILE
         TABLES
           binary_tab = lt_content.
       CALL FUNCTION 'SO_CONVERT_CONTENTS_BIN'
         EXPORTING
           it_contents_bin = lt_content[]
         IMPORTING
           et_contents_bin = lt_content[].
    **--> Getting folder ID to save data
       CALL FUNCTION 'SO_FOLDER_ROOT_ID_GET'
         EXPORTING
           region                = 'B'
         IMPORTING
           folder_id             = ls_fol_id
         EXCEPTIONS
           communication_failure = 1
           owner_not_exist       = 2
           system_failure        = 3
           x_error               = 4
           OTHERS                = 5.
       IF sy-subrc = 0.
         ls_obj_data-objsns = 'O'.
         ls_obj_data-objla = sy-langu.
         ls_obj_data-objlen = LINES( lt_content ) * 255.
         CLEAR ls_content.
         CONCATENATE '&SO_FILENAME=' I_FILE_NAME '.' I_FILE_EXT INTO ls_content.
         APPEND ls_content TO lt_objhead.
    **-->To Create an Object and Move to a Folder
         CALL FUNCTION 'SO_OBJECT_INSERT'
           EXPORTING
             folder_id                  = ls_fol_id
             object_hd_change           = ls_obj_data
             object_type                = 'EXT'
           IMPORTING
             object_id                  = ls_obj_id
           TABLES
             objcont                    = lt_content
             objhead                    = lt_objhead
           EXCEPTIONS
             active_user_not_exist      = 1
             communication_failure      = 2
             component_not_available    = 3
             dl_name_exist              = 4
             folder_not_exist           = 5
             folder_no_authorization    = 6
             object_type_not_exist      = 7
             operation_no_authorization = 8
             owner_not_exist            = 9
             parameter_error            = 10
             substitute_not_active      = 11
             substitute_not_defined     = 12
             system_failure             = 13
             x_error                    = 14
             OTHERS                     = 15.
         IF sy-subrc = 0 AND ls_object-objkey IS NOT INITIAL.
    *            COMMIT WORK AND WAIT.
           ls_folmem_k-foltp = ls_fol_id-objtp.
           ls_folmem_k-folyr = ls_fol_id-objyr.
           ls_folmem_k-folno = ls_fol_id-objno.
           ls_folmem_k-doctp = ls_obj_id-objtp.
           ls_folmem_k-docyr = ls_obj_id-objyr.
           ls_folmem_k-docno = ls_obj_id-objno.
           lv_ep_note = ls_folmem_k.
           ls_note-objtype = 'MESSAGE'.
           ls_note-objkey = lv_ep_note.
    **-->Link the object ID to trip No.
           CALL FUNCTION 'BINARY_RELATION_CREATE_COMMIT'
             EXPORTING
               obj_rolea      = ls_object
               obj_roleb      = ls_note
               relationtype   = 'ATTA'
             EXCEPTIONS
               no_model       = 1
               internal_error = 2
               unknown        = 3
               OTHERS         = 4.
           IF sy-subrc = 0.
    *            COMMIT WORK AND WAIT.
           ENDIF.
         ENDIF.   " SO_OBJECT_INSERT
       ENDIF.       " SO_FOLDER_ROOT_ID_GET
    ENDFUNCTION.

  • Crashes when trying to save image

    Since upgrading to Lion I get regular crashes when trying to save images using Photoshop elements. Extract from crash report:
    "Thread 12 Crashed:: Dispatch queue: TFSVolumeInfo::GetSyncGCDQueue
    0   libsystem_c.dylib                       0x9129dc19 _spin_lock$VARIANT$mp + 9"
    Help required.

    Since upgrading to Lion I get regular crashes when trying to save images using Photoshop elements. Extract from crash report:
    "Thread 12 Crashed:: Dispatch queue: TFSVolumeInfo::GetSyncGCDQueue
    0   libsystem_c.dylib                       0x9129dc19 _spin_lock$VARIANT$mp + 9"
    Help required.

  • CS5 won't save images- help

    I just had photoshop cs5.1 installed, but when I tried to use it, I found that I can't save images using File>Save or Save As. I've tried using the short cut keys, and those don't work either. However, I can save images by closing an image and selecting 'yes' when the prompt for the image saving comes up. This is the only way I can save an image, but it is terribly inefficient. I can open images just fine, and everything else seems to work..
    I use photoshop on my acer aspireone netbook, which has windows 7 starter. The netbook itself is new as well. I don't know what might be causing this issue, but I really appreciate for some help!

    Other than [temporarily] using a higher resolution or using a larger virtual desktop or something that gives you more than 768 pixels, not that I know of. 
    It's possible you may be able to find a way to get your display driver to expose resolutions higher than 600 pixels vertically, though I can't guess how good or poor it will look on your display.
    It's always been a head shaker why Adobe's software fails in this way, rather than just putting the dialog on the screen and allowing you to use keystrokes to access buttons that may be off-screen.  For what it's worth, on my Windows 7 system, the smallest File - Save As dialog is 563 pixels width by 632 pixels height.
    Adobe really should put some effort into fixing this.
    -Noel

  • Hi I am using MAC OS Yosemite 10.10.2. I am unable to save images post processing in CC 2014. Error given - "Unable to save image Write Access not granted"

    I am a new user to the Photoshop CC 2014. I am unable to save images post processing. Error given is "Unable to save image Write access not granted". Can some one please help me with this.
    I am using Mac OS Yosemite Version 10.10.2
    Regds
    Shashi

    In a finder window highlight and right click the folder you are trying to save to and select Get Info. In the window that opens look at the bottom to see if you have Read/Write permissions. If you don't click the Plus sign and add your Admin Username to the list and give it full Read/Write permissions.
    Open Disk Utility and on the First Aid tab select Repair Permissions and let it run.

  • Using Photoshop CC I cannot save images to folder from Camera Raw as Tif. I get message 'write permission error'. I am using Widows 7 Professional.

    I have just changed to Photoshop CC from CS4 and cannot now save images from Camera Raw. I get message 'write permission error'. I assume there is some permissions setting which did not exist with CS4.
    I cannot progress unless I revert to CS4. What am I failing to do?

    See if the suggestions, here, help, although this was back with CS6-cloud, not CC, so may not apply 100%:
    http://forums.adobe.com/message/4758115
    I'd suggest that rather than deleting the file, you move it out of the folder to somewhere else, in case things get worse and you need to put it back.
    I found this by Googling the error message. 
    If you can't figure it out, you might post in the "Downloading, Installing and Set Up" or "Adobe Creative Cloud" forums  since it seems to be related to the Cloud updates, and not necessarily ACR plug-in functionality, and I've seen India support people actually tackle problems posted there, which rarely happens in the ACR forum, although an ACR engineer may sometimes pop in to answer questions, they'd be less likely to know how to fix deployment issues.

  • In an eMail message, when I attempt to save two photos by clicking the 'Save 2 Images' link, not the 'Save Image' link, the images are not saved. (I use I I apologize for the late notice, butOS7 on IPhone5). Is this feature broken?

    In an eMail message, when I attempt to save two photos by clicking the 'Save 2 Images' link, not the 'Save Image' link, the images are not saved. (I use I I apologize for the late notice, butOS7 on IPhone5). Is this feature broken?

    Please don't post the same question multiple times!

  • How to capture an image and save it using action script

    Hello,
    I need to know if is posible to capture an image or a screen region and save it using action scrip.
    Somebody know how to do it ??
    Thanks

    you can capture an image using the bitmapdata class and getPixel().  you can then save that to a bitmap using server-side code like php.

  • Firefox saves images to wrong location, but only when using "View Image"

    For a while, I have had the problem above. I can save images just fine if I don't use the "view image" function first, with the images going to the intended folders.
    Just to clarify, unlike some of similar problems I have seen described here, I am perfectly happy with Firefox remembering where I wish my pictures to go, on a site to site, or model to model (within the same site) basis.
    The problem lies in that if I use the "view image" function, either in a new tab, or in the existing one, Firefox will often prompt me to save in a random folder where I have previously saved a picture. It will even suggest folders that I have not accessed for days.
    Example:
    I save image A to folder A, by right clicking the image and selecting "save image as".
    I then (immediately after this), right click image A again, select "view image", then right click the resulting picture, and select "save image as". Now there is a fine chance that it want me to save the image to some other (previously used) image folder, even if I have not used the folder for a while, and even though I have just saved the same image to folder A.
    This problem persists with multiple image file types, on multiple sites (I just tried it with someones avatar in this forum, and it wanted me to put it with my holiday pictures from 3 weeks ago).
    I appreciate any assistance you can give - jinxie
    FYI; If I "one-click" a file (like an mp4) to download it, it goes to my main / default download folder as normal.

    This is because Firefox will track where you have saved images or other files from the website domain. Then whenever you select to save the file to your computer, Firefox will start the Save As wizard in the latest folder that you have used last time.
    Here is an example:<br>
    If you save an image from the domain <code>123.com</code> into the folder <code>123</code> it will save there. Then you save an image from the domain <code>456.com</code> to the folder <code>456</code>. Next you save a different image from the domain <code>123.com</code>. The save as wizard will assume that you want to save it with the other image from that domain and will automatically start in the <code>123</code> folder.<br>
    This can make saving files faster and more organized, however not everyone wants this feature enabled.
    To disable this feature you can do the following:
    #Go to <code>about:config</code> in Firefox
    #Locate the <code>browser.download.lastDir.savePerSite</code> string
    #Change the value to <code>false</code>
    This should fix the issue, but please report back if it doesn't.

  • Downloading images used to go automatically to the last folder used to save images, even when reopening Firefox. In just the past few days, possibly coinciding wih the most recent updates, the folder defaults to the 'Downloads' folder. This is most annoyi

    Downloading images used to go automatically to the last folder used to save images, even when reopening Firefox. In just the past few days, possibly coinciding wih the most recent updates, the folder defaults to the 'Downloads' folder. This is most annoying. What happened? Internet Explorer 8.0 did the same thing. This was one of the reasons why I started using Firefox to download all images. I went into Tools>Options and it only lets me set another folder. I dont want to set a specific folder I want it to always go to the last folder used. So what gives?
    == This happened ==
    Every time Firefox opened
    == possibly when the most recent updates were installed, a few days ago

    Thanks jscher 2000. I guess I didn't make it clear. "It restarts with all the addons activated, and resumes with the tabs that were open before closing it." IE, it's running fine now with all the extensions activated. Everything is OK now.
    So something in the Firefox code was causing the bad behavior. It's not essential that I find out what the problem was - I'm just curious. And if anybody else has this same problem, it might be nice to have it corrected at the source.

  • Can't save an image used as link

    After I updated my iPhone 3GS to iOS 5.0.1, I noticed I can no longer save images  that are being used as links on websites. Using the usual method of holding my finger on these type of images, brings up the following options: "Open", "Open in New Page", and "Add to Reading List". It doesn't seem to have the option to save this type of images any more. (I can still save images that aren't being used as links just fine.)

    Try doing a "Save As".

  • Can  I write titles of comments on the picture image using iPhoto?

    I will like to be able to write titles or labels in the pictures stored on iPhoto files without the need to go to another photo software.
    Is it a way to write descriptive titles on the image using iPhoto?
    Thank you
    g5   Mac OS X (10.4.8)  

    punkylobo:
    Welcome to the Apple Discussions. You will need a 3rd party editor like GraphicConverter or Photoshop Elements 3. Also Gimp is an open source version of Photoshop that would do it. You can find the first two at VersionTracker.com and the other thru a Google search. No matter what editor you use you set up iPhoto (in its preferences) to use that application as the editor of choice when you double click on a thumbnail. You never want to open a file directly thru the editor.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.

  • How to get image using Http and how to save in Smulator

    Hi guys,
    Am working in black berry bold. i dont know how to get image using htp connection and one more thing i need to save this image in side simulator directory............. what are the specific API i should...
    Guide me.........

    If you want the input image size you need to pass it in as parameters.
    A discussion thread on this topic is:
    http://forums.adobe.com/thread/29948
    -- Daniel R. <[email protected]> http://danielr.neophi.com/

Maybe you are looking for

  • To change the width of a Table Column

    Hai Developers.................. I have problem with the Table Column Width. When am on search state. The search results are showing in a table. At that time i want to change the width of the each column with respect to the column content. Like the j

  • Possible bug with APEX_ITEM.DATE_POPUP

    Hello, APEX 3.1 (and maybe even some previous versions). It seems like APEX_ITEM.DATE_POPUP creates all the cells in the corresponding column with the same ID. The result is that the dates returned by every date picker, in all the rows of the column,

  • Can you find my ipod?

    Im DIEGO!! I live In 208 w Madison Avondale I lose My Ipod Can you Give me TO me OR FIND??

  • CVP Call Studio Database Element

    Hi all, I got the below error when I tried to use the Database element in CVP Call Studio to connect to a MSSQL database. touch111_24-7_Database,07/08/2014 13:52:31.724, The error was: A built-in element encountered an exception of type com.audium.se

  • Rented movie, it took nearly an hour to download, but I can't  open it???

    Rented movie, it took nearly an hour to download, but I can't  open it???