Imaq string to image

Hi guys i am facing problem in converting an imaq string into image. i am transmitting an imaq image via datasocket by flattening into string. now at the receiver how do i convert this string back into image.

Maybe the following screenshot with help:
-FraggerFox!
Certified LabVIEW Architect, Certified TestStand Developer
"What you think today is what you live tomorrow"

Similar Messages

  • IMAQ FFT destination image, help!

    Hello,
    I am new to using LabVIEW so please bear with me!
    I am reading/working my way through the IMAQ user manual for LabVIEW and I am trying to get IMAQ FFT working.  But I have trouble finding the VI that the destination image of IMAQ FFT VI should be connected to. At the second it gives me an error when I try and run the program.
    At the second I am really struggling to find the correct VI
    Also I am little unclear what the destination image is for, does the image need to be saved?
    Many thanks,
    Jack

    Hi,
    For IMAQ FFT Destination Image should be connected and must be complex:
    Andrey.
    PS
    Forum for Vision-related questions here
    Message Edited by Andrey Dmitriev on 01-28-2009 12:52 PM
    Attachments:
    FFT Sample.png ‏24 KB
    FFT Sample.vi ‏41 KB

  • Error -1074396077 (IMAQ Vision: Incompatible image type) after running IMAQ Mask

    I am attempting to process color picture of pellet. I want to exclude any particle that touches the edges of the color images. I created mask from original image and used this mask on the original color image to retain only the color particles that don't touch the boundary. The error occured  when I ran the IMAQ Mask. The error message is “Error -1074396077 (IMAQ Vision:  Incompatible image type)”. How can I fix it ?
    I have picture and program as attached.
    Attachments:
    color sorter 01f.vi ‏87 KB
    Red01a1.jpg ‏30 KB

    Hi XuanThuy,
    The IMAQ Cast function is part of the Vision Development Module (VDM), under the Image Management Palette, as indicated by this document: http://zone.ni.com/reference/en-XX/help/370281P-01/imaqvision/imaq_cast_image/. If you can't locate it and you indeed have the VDM, there may be an issue with the installation of this module. A similar issue has been encountered and resolved in this forum post: http://forums.ni.com/t5/Machine-Vision/can-t-find-IMAQ-cast-image-vi/td-p/340157. What version of the vision software are you using?

  • IMAQ resample invalid image type

    Hi,
    I am rewriting an old non-versatile version of a VI. I don't have much experience but I have the old VI as sort of a template for what I need to do. It's weird but although I try to do things exactly the same way, they don't work.
    I acquire a high resolution image from the camera (IMAQ Acquire) which is too big (1280x1024). I want to resample (IMAQ Resample) it to 256x320px.
    I get the error message: Error -1074396080 occurred at IMAQ Resample Invalid image type.
    The probe I put in to read the Image Src shows the image correctly and tells me it is an unsigned 16 bit image. This should be a valid image type, right?
    Dennis
    P.S. I use LabView 2009
    Solved!
    Go to Solution.

    Deneck wrote:
    I get the error message: Error -1074396080 occurred at IMAQ Resample Invalid image type.
    The probe I put in to read the Image Src shows the image correctly and tells me it is an unsigned 16 bit image. This should be a valid image type, right?
    No, not right. IMAQ Resample doesn't support U16 type (at least up to VDM2011). Refer to Help.
    Convert your image to I16 (if possible) prior to resampling.
    Andrey.

  • I really want to get IMAQ Case Image and IMAQ Arry to Image.vi files

    Hello!
    Although I already installed LabVIEW8.2 and NI-IMAQ, I do not have  IMAQ Case Image and IMAQ Arry to Image.vi files.
    To use infrared camera, I need them.
    I really want to get IMAQ Case Image and IMAQ Arry to Image.vi files.
    How can I get these files?
    Please, let me know the methods.
    Sincerely!
    Solved!
    Go to Solution.

    Please stick to a single thread for same type of questions. continue in your original post here.

  • How to replace string with image( Say Smiley).........????

    Hello To All Experts !!
    I wanna looking for some help in displaying image in my text area when should i type ":)" in text field.....
    I got some program through forums....
    import java.util.*;
    import javax.swing.ImageIcon;
    public class TokenizeSmiley {
        private static final HashMap SMILEYS;
        static {
            SMILEYS = new HashMap();
            SMILEYS.put(":)", new ImageIcon("images/1.gif"));
            SMILEYS.put(";)", "<wink>");
        public static void main(String[] args) {
            String text = "Hello!! :) How are you ;)";
            StringTokenizer st = new StringTokenizer(text);
            String token;
            while (st.hasMoreTokens()) {
                token = st.nextToken();
                if (SMILEYS.containsKey(token))
                    token = (String)SMILEYS.get(token);
                System.out.print(token + " ");
    }but it is showing <smile> and <wink> as it is given...i tried to give path of image ...but it is nt fetching then also.....
    Plz help in this....
    Message was edited by:
    Damz@del

    So your data is stored in XML. So what? You haven't asked a question about the XML or how to format it or how to access it. You asked a question that had nothing to do with XML at all. It's as if you said "My data is stored on a Windows computer so I will call Microsoft's support line to ask them this question."
    And I can't even suggest a suitable forum because a "text area" could be an AWT component or an HTML component. But I do suggest you ask in the right place.

  • How to replace string with image( Say Emoticons )??

    Hello Friends !!
    I am working on chat messenger and want some help in "How to access Emoticons when somebody typed :), ;), :)) and many more strings.....?"
    Is there any sample code to do that job or any function to perform such task??
    Thanks in Advance....

    use event listener... found match, load image instead of text on the fly.

  • IMAQ clipboard to image is slow

    I programmatically make print screen commands, but conversion with the IMAQ function "clipboard to image" takes too long, 580 ms each time to be precise. More than half a second, and this on P4 2Ghz with 1 GB of RIMM, 1280*1024 pixels true color.
    Is there a way to get the screendump in an RGB array maybe by calling user32.dll directly?
    I need the screendump as an IMAQ image or 2D-array.
    Thanks in advance,
    Manu.
    Certified LabVIEW Developer (CLD)

    Andrew,
    I have put together a small VI that should accomplish what you are after.  I am attaching both the VI and a sample image that I used to test the code.  Before running the VI, be sure to copy an image to your clipboard.  The 3 2D array indicators on the front panel should correspond to the red, green, and blue components of each pixel in the original image. 
    Respectfully,
    Message Edited by Jeffrey P on 10-13-2006 09:12 AM
    Jeffrey P.
    LabVIEW Product Management
    National Instruments
    Attachments:
    ClipboardtoRGB.vi ‏57 KB
    color.JPG ‏17 KB

  • String to image field..

    Hello all,
         shortly,   this is what i need:
         does anyone have an idea how to show string in an image field????
         now for the long story..:
         I have a table, that all cells are image fields.
         I send to some of them a xstring of a picture, and they  are showing me the pictures (works fine).
         Now, i've got a demeand -
              if i have an indicator - i need to put this thing:
              "date: xx/xx/xxxx time xx:xx"
              this date and time can be changed every run.
         I though to make something like that:
              data: lv_string type string.
              lv_string = 'date 22/12/2012'
         then convert it to XSTRING with the fm 'scms_string_to_xstring'.
         but even then - when i send this xstring, the image field won't show the text. Actually it won't show anything.
         does anyone have an idea how to show string in an image field????

    Um ...
    ... maybe.
    I remember a custom solution from John Brinkman to continue text entries in the text field when the current field is full.
    http://blogs.adobe.com/formfeed/2009/04/field_tab_on_full.html
    This solution will propably work in a table too, but it's not a 5 minutes job to be realized.

  • IMAQ Vision - Writing Image Files: File Format

    Hi,
    I want to save some images in LabView 5.1.1 - IMAQ Vision 2.2.1 acquired by
    a camera. Several file formats are supported:
    BMP, JPEG, PNG and TIFF
    For me the PNG format seems to the most attractive one as it provides
    lossy-less compression and platform independentness. But, in the manual
    there is a comment which I don't understand: It says that the PNG format is
    not recommend for precise gauging or inspection measurements - and that is
    exactly what I want to do.
    I always thought that once an image file is loaded into LabView there is no
    difference regarding to the file format the images were saved in. Can anyone
    explain me, what the problem of the PNG format is? Which format can you
    recommend for preci
    se gauging instead (BMP?)?
    Thanks,
    Gerd Simons

    one correction:
    I use IMAQ Vision 5.0 and NI-IMAQ 2.2.1.
    Gerd Simons
    "Gerd Simons" wrote in message
    news:[email protected]..
    > Hi,
    >
    > I want to save some images in LabView 5.1.1 - IMAQ Vision 2.2.1 acquired
    by
    > a camera. Several file formats are supported:
    >
    > BMP, JPEG, PNG and TIFF
    >
    > For me the PNG format seems to the most attractive one as it provides
    > lossy-less compression and platform independentness. But, in the manual
    > there is a comment which I don't understand: It says that the PNG format
    is
    > not recommend for precise gauging or inspection measurements - and that is
    > exactly what I want to do.
    > I always thought that once an image file is loaded into LabView there is
    no
    > difference regarding to the fil
    e format the images were saved in. Can
    anyone
    > explain me, what the problem of the PNG format is? Which format can you
    > recommend for precise gauging instead (BMP?)?
    >
    >
    > Thanks,
    > Gerd Simons
    >
    >

  • Working with Coreco, I get error 1074396072: imaq morphlogy invalid image border

    the morphology gets input from threshold, which send o.k in error out. I work with Coreco, which I heard has some problems in defining the camera type or something

    The morphology function requires some blank space at the edges of the image, which is called a border. You can set the size of the border when you create the image buffer, and you can adjust the size of the border using IMAQ ImageBorderSize.
    Bruce
    Bruce Ammons
    Ammons Engineering

  • IMAQ Error in Image Acquiring Loop

    Hey,
    I've been trying to develop a control for a USB camera that needs to take many images per run. I'm using the IMAQ-USB commands. The problem I'm getting is that after about 180 images I get the following error:
    -1074396030
    There are too many classification sessions open. You must close a session before you can open another one.
    After I get this once, I continue to receive the error any time I try to use the program untill I unplug and replug the power to the camera. 
    The camera I'm running is a FLIR IR camera, Labview version 8.5 on windows 7.
    If you guys have any idea whats causing this or how to fix it I'm all ears.
    I've attached the program below.
    Attachments:
    MultiImage.vi ‏31 KB

    Use shift registers on all your references, and use grab instead of snap.  I don't have older version installed, so I cannot test this further.  What camera model from FLIR are you using?
    Machine Vision, Robotics, Embedded Systems, Surveillance
    www.movimed.com - Custom Imaging Solutions

  • Converting string to image

    hi all
    i m facing a problem while converting a string in to an image.
    Here is my code......
    String s=new String(" Report ");
    byte []raw=s.getBytes();
    Image image = Image.createImage(raw, 0, raw.length);
    but it is not creating an image....
    but if we use the returning byte[] of the getSnapshot() method then it will create an image......why this happens...
    how can i covert my string into an image???????plz help
    ritwik

    I need to convert a string to an image, I went throuth the topics in Sun forums but it's still not crear!!!
    Please give a sample code to solve the simple task:
    convert the string to an image (no applet) off-screen so that this image can be downloaded later !
    I try to do this (as advised by some one on this forum)
    BufferedImage bi = new BufferedImage(100, 100, 1);
    Graphics2D g = bi.createGraphics();
    g.drawString("test", 80, 80);
    ImageWriter iw = ImageIO.getImageWriter(imageReader R);
    iw.setOutput(new FileImageOutputStream(File outputFile));
    iw.write(bi);
    but only first row works , the rest couses exeptions!!!

  • Error-1074396074 IMAQ vision: Incompatible imag size

    Hi everybody,
    I need your help because I have a big problem and I don`t understand why...... But I hope it is easy to resolve.
    I searched but found nothing.
    I have this kind of error
    But I don`t understand because I have two software, the first works very well, So I just copy this code to put in the second software, just to record one video.
    Everything it`s the same but with the second there is this error message.
    this software works very, whitout problem.
    And this software, you cansee it is the same code, doesn`t work
    I can`t understand why really..... I try to change the format of the imaq, or use IMAQ cast imag, but whitout results.....
    If someone can help me
    Thanks a lot in advance

    Hi!
    It is strange that if you used the same code, one time it works and another time it doesnt. To be able to see good if there is an error it would be great if you could submit your VI. But first try to take a look at this KB: http://digital.ni.com/public.nsf/allkb/4FAC615B62919BA5C1256ED00046997A
    This explains the error and I hope you will understand which steps to take as there are also other links inside this KB for more information. So please verify the KB mentioned above and the settings you are doing in your code. 
    Please let me know how the progress is going. 
    Collin de Wit
    National Instruments
    Applications Engineering

  • Hexa String to Image

    Hi all,
    I have two cases
    i . Convert Image to Hex String
    ii . Convert the Hex Sting to Image
    Case i is done, is Case ii is Possible in Oracle 11g Rel 2..? Can anyone guide me for Case ii..?
    Thanks & Regards
    Senthil

    Sen wrote:
    Hi all,
    I have two cases
    i . Convert Image to Hex String
    ii . Convert the Hex Sting to Image
    Case i is done, is Case ii is Possible in Oracle 11g Rel 2..? Can anyone guide me for Case ii..?It'll be the reverse of what you did for Case i.
    Without more details of what you've done e.g. example data, existing code etc., we're going to struggle to help you any more.

Maybe you are looking for

  • Table Link between Equipment and Sub-equipment

    Hi all My requirement is this I have one mobile set with a serial number. for that mobile set i have one battery with a serial number, now i want to link both the serial numbers, one as main and another as sub item I tried by maintaining the battery

  • Broweser freezing working with Mailforms in HTML View

    Hi CRM Experts, we have a Problem with CRM WebUI creating emails or emailforms with HTML If you switch from "only Text" to "HTML" the browser window is freezing and it's only possible to open a new WebUI window. After that HTML View is the Standard v

  • PDF version conversion throught IAC

    Hi all, i'm trying to write a vb script for lovering the version of a big number of pdf. I need to assicure that the converted pdf will be compliant with iphone ibook application. Its seems that with "acrobat 5.0" compability it's works. I've tried t

  • My iPhone 4s shows flashing red will not charge

    Hi I have my new iphone 4s it lost all its charge as I spent a lot of time on it, it then showed a flashing red line with a plug and zig zag, saying connect to a power source, I have used several different iphone chargers i have.....none have given a

  • Security Question Answers NOT SENT?

    So here is a common scenario- I am messing around on the App Store or ITunes and I try to buy an app. Verification Questions are of course required, so I try them and I forgot the answers. I navigate to the site to send them to me- But they aren't se