Cannot open image pgm file from the labview support's code

I use the face data base from http://cbcl.mit.edu/software-datasets/FaceData2.html
and I want to open the .pgm face image with the instructions by http://digital.ni.com/public.nsf/allkb/897F7AA54F2419CE86257377004EA947
but now it comes to the error and I don't know why.
I follow the instructions to get the header for 13bytes first using read the binary.vi
Then, I read the rest of the data using read the binary.vi
Then, I reshape the binary data to 2D-array.
Finally, I convert the array to image and using IMAQ to show.
I have bring the
1.error_message
2.source code
in the attached files. 
And the face pmg I have open it with gimp and work correctly.
The face pmg image file I testing is https://drive.google.com/file/d/0ByMlz1Uisc9ORUIxZzloQkk5UG8/view?usp=sharing
Attachments:
PGM_Error.png ‏540 KB
read_PGM.vi ‏43 KB

Looks like the biggest issue is that the datatype of the "type" integer going to the seond read from binary was not U8 and so the byte spec didn't match up. 
Attachments:
read_PGM-2.vi ‏17 KB

Similar Messages

  • I apparently got stung with the Adobe flash virus.  Now I cannot open any .pdf files from the internet.

    I apparently got stung with the Adobe flash virus and now I cannot open any Adobe .pdf files from the internet.  Fix?

    Go to F_Secure's Flashback Removal Tool web page, download their Flashback trojan detection/removal tool, and follow the instructions you find there.
    Also install the latest java update which also tries to remove these trojans.
    Java for OS X Lion 2012-003
    And only download the adobe flash plugin from the adobe site.
    Update:
    Just because you cannot download pdf may not be an indication of the trojan.  There's been a number of reports about problems like that with pdf's.  Look at the More Like This section on the right side of this page.

  • Why I cannot open camera raw files from camera Nikon 3200 through Adobe Bridge and/or Photoshop?

    Why I cannot open raw files (NEF) from camera Nikon D3200 through Adobe Bridge and/or Photoshop ?

    Thanks for the tip. It worked out perfectly.
    De: ssprengel [email protected]
    Enviada em: terça-feira, 14 de janeiro de 2014 19:14
    Para: Aecio Paes Leme
    Assunto: Why I cannot open camera raw files from camera Nikon 3200 through Adobe Bridge and/or Photoshop?
    Re: Why I cannot open camera raw files from camera Nikon 3200 through Adobe Bridge and/or Photoshop?
    created by ssprengel <http://forums.adobe.com/people/ssprengel>  in Adobe Camera Raw - View the full discussion <http://forums.adobe.com/message/6012775#6012775

  • Cannot open nikon raw files from my 3200 in elements 8

    i cannot open nikon raw files from my 3200 in elements 8

    http://helpx.adobe.com/creative-suite/kb/camera-raw-plug-supported-cameras.html
    You would need PSE11 since the 3200 requires ACR version 7.1
    Only PSE11 can have 7.1, so to be able to use your raw files with PSE9 you should download the free Adobe DNGconverter which can batch convert a whole folder of raw files into the Adobe raw DNG format which your PSE8 can open.
    http://helpx.adobe.com/x-productkb/multi/troubleshoot-camera-raw-photoshop-photoshop.html
    http://www.adobe.com/support/downloads/detail.jsp?ftpID=5486
    http://www.adobe.com/support/downloads/detail.jsp?ftpID=5518

  • Unable to view SAP Help files --Cannot Open Frameset.htm Files from 'help.s

    Unable to view SAP Help files --Cannot Open Frameset.htm Files from 'help.sap.com'
    Open Internet Explorer
    Types in http://help.sap.com/
    Click on mySAP ERP
    Click on English
    The webpage goes to
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/e1/8e51341a06084de10000009b38f83b/frameset.htm
    It shows the status done but what I see is just a blank page
    I tried going to different areas of SAP Help files but no success
    I cannot even open Help on Help http://help.sap.com/saphelp_erp2004/helpdata/en/3f/a42938955df162e10000009b38f842/frameset.htm
    None of the other users have this issue

    Hi
    I am able to open your links. I think there is some problem in your internet explorer. please check
    regards
    Srinivas

  • I have design standard with creative cloud, I have installed this on 2 computers, my office and home which I was told was allowed, I have just tried to open an indesign file from the office at home and and error message said that this was created with a n

    I have design standard with creative cloud, I have installed this on 2 computers, my office and home which I was told was allowed, I have just tried to open an indesign file from the office at home and and error message said that this was created with a newer version? they are the same versions and both are up to date, I was asked this morning to put in my adobe id email and password to connect to CC which I have never been asked to do before, can anyone help?

    what's your home version (click help>about) and was that just a warning so you were able to open the file?

  • Every time I open a New File from the File Menu and I open it all of my desktop items are in it. What's up with that?

    Every time I open a New File from the File Menu and I open it all of my desktop items are in it. What's up with that?

    This is configured in Finder preferences under the General icon. You can make some changes to that behavior.

  • Opening a pdf file from the internet.

    Everytime I try to open a pdf file from the internet a window pops up and tells me that my adobe reader has a problem or gives me a blank page.  I have ie 10, adobe reader XI and adobe acrobat 8 pro.  All this is on win 7.  When I installed the acrobat 8 pro it could not find the adobepdf.dll.  I searched the disc, and tried to direct the installation to it but it would not accept it.  What can I do to correct this issue?

    Yes, unlike earlier IE versions, IE10 has only one executable, but it can run in 32-bit or 64-bit mode.
    Some details: http://www.sevenforums.com/tutorials/280434-internet-explorer-10-enable-32-bit-64-bit-ie10 -windows-7-a.html

  • Opening a rft file from the jsp

    hi all,
    i want to open an rtf file from the jsp. i need to call a rtf file present in some location and convert the file to bytes thereby writing these bytes to output stream and so.. can anyone suggest me here.
    it should be something like this :
    String sFileName = "/kli/terms&conditions/TermsandConditionsLitigation.rtf";
                  File nameOfFile = new File(sFileName);
                  FileOutputStream fout = new FileOutputStream(nameOfFile);
                  response.setContentType("application/rtf");
                  response.setHeader("Content-disposition","attachment;filename=\"" +sFileName+ "\"");
                  ServletOutputStream outs = response.getOutputStream();
                  outs.write(fout);
                  outs.flush();
                  outs.close();satish.
    Message was edited by:
    bobz
    Message was edited by:
    bobz

    Yes, unlike earlier IE versions, IE10 has only one executable, but it can run in 32-bit or 64-bit mode.
    Some details: http://www.sevenforums.com/tutorials/280434-internet-explorer-10-enable-32-bit-64-bit-ie10 -windows-7-a.html

  • Hi. I have Lightroom 4 installed. I cannot download my CR2 files from the Canon 5D Mark III camera. I have downloaded Lightroom 5 thinking it was an update but it appears I have to pay for the program. Any ideas how I can get lightroom 4 to accept my CR2

    I have Lightroom 4 installed. I cannot download my CR2 files from the Canon 5D Mark III camera. I have downloaded Lightroom 5 thinking it was an update but it appears I have to pay for the program. Any ideas how I can get lightroom 4 to accept my CR2 files ?

    The Canon 5D Mk 111 was supported from LR 4.1, see the link below. Just update LR to the latest version. See link below
    Camera Raw plug-in | Supported cameras
    Adobe - Lightroom : For Windows
    Adobe - Lightroom : For Macintosh

  • Will I be able to open InDesign CS6 files from the latest CC version?

    Considering Cloud purchase and want to check compatibility. Will I be able to open InDesign CS6 files from the latest CC version? Thanks for any advice on this.

    You can open files in CC from CS6 and earlier.
    Due to updates to the text engines you might notice a text reflow - note that text won't reflow until it's interacted with.

  • I cannot open a .mov file from MAC on a PC

    I have a Mac Dual G5 with Mac Os X 10.4.8 and I was making a short HDV movie(only 4Giga) in FCExpress.
    I export the movie in H264 1920 X1080 in the QT Conversion window and save them in a .mov file (with blue QT label).
    After saving I can open and view the movie with the Mac, no problem.
    I make a copy on a DVD for mine friend.
    I will open the movie on his PC but it don't work.
    He had a Pentium Dual 840 3.2 Ghz Window XP Pro service pack 1 and 2, 2wDirectx9 2 giga Ram 256 nVidia Ge Force 6800
    On the PC we install also Quick Time Pro 7.1 for Windows with register number.
    When we activate the .mov file on the PC(.mov file from the Mac) we see the Quick Time window in black or white without image.
    We try many times but we cannot find a solution..
    To day we buy by the Apple Store QT MPEG 2-Playback Component for PC.
    After installation we have every time the same problem, no image in the QT windown.
    What can I do?
    Thanks for assistance
    Rudy
    Pentium   Windows XP Pro   Dell Dimension Dual 840 3.2 Ghz
    Pentium   Windows XP Pro   Dell Dimension Dual 840 3.2 Ghz

    Dear Sir
    I find a solution for the problem.
    What you say is correct, it is a codex problem.
    I download a other program Cineform Aspect HD.199 U$.
    Now I can open easy everyone .mov file on the PC(.mov files from the MAC).
    Mine conclusion: QuickTime Pro for Windows don’t support H264 codex,
    and don’t support any .mov file from the MAC !
    Apple make big publicity on their website for QT Pro 7 for Windowns.
    They say “QT Pro 7 for Windows support H264 codex”.
    I try many days with Apple Support team, they don’t find a solution.
    Good evening and thank you for assistance,
    Rudy

  • Unable to open large PDF file from the Attachment list.

    Hi Gurus,
    Users had attached 10 PDF file in the work order attachment list and his supervisor is trying to open the PDF file from the work order attachment list and he is able to open 9 PDF files without any issue, but 1 PDF file is giving the error message as "Database error for <GET DATA FROM KPRO>" and then select ok, we are getting the below message.
    Window cannot find u201CC/Documents and Settings/b2m/SaoworkDir/5015851 Vendor data sheets B&P 2010 SDown XXX .PDFu2019. Make sure you typed the name correctly, and then try again. To search for a file, click the start button, and then click serch.
    Looks like this particular file is not transferring to the SAP work directory.
    Could you please check and suggest us as to how to fix it.
    Thanks & Regards,
    Srivas

    Hi,
    Thanks for your reply.
    We verified  your OSS notes it's not relevant to us Because our issue is while opening the PDF aatchement it is not transferring to my SAP Work Directory because of that reason we are getting the KPRO error. When I'm opening the other PDF files it's transferring to my SAP Work Directory and it's automatically open without any issue.
    Please check and suggest.
    Thanks,
    Srivas

  • Cannot open a raw file from my Nikon D800,,,i have downloaded every and i mean every version of raw

    i am up to raw 8.3,,still getting an error message,,,frustrated,,,but still shooting in Tiff,,,would love to see a raw file open

    Unreadable on my computer. I also use a D800, so I know my computer can read them.
    Opening it up in a binary editor, I see the magic words "Nikon Transfer 1.1", which you've already been asked about twice.
    You need to update this software, or use something else. Old versions of Nikon Transfer are known to corrupt recent Nikon cameras' files.
    Read these:
    https://nikoneurope-en.custhelp.com/app/answers/detail/a_id/53027
    https://nikoneurope-en.custhelp.com/app/answers/detail/a_id/50878
    for info on updating or disabling it.
    You will need to download the raw files from the cards again, once you've fixed the problem.
    Personally, I stick my cards in a card reader and use Adobe Photodownloader, which is part of Bridge (which comes with Photoshop).

  • When I open an html file from the desktop all I see is source code rather than webpage.

    I have tried clearing the cache and reading other questions similar. I have a mac and am opening these files from the desktop, not a server or anything so It's incredibly annoying that firefox wont open them as html files even though that is what they are saved as. Also there is no .txt after them. They are purely .html files.

    Try to delete the mimeTypes.rdf file in the Firefox profile folder to reset all file actions.
    *http://kb.mozillazine.org/mimeTypes.rdf
    *http://kb.mozillazine.org/File_types_and_download_actions#Resetting_download_actions
    Firefox 16.0.2 is the last version that works on an Intel Mac with the OS X 10.5 operating system.
    * https://ftp.mozilla.org/pub/mozilla.org/firefox/releases/16.0.2/mac/
    Another option to consider is to install the last Firefox 10.0.x ESR version as that version is more recent than the Firefox 16.0.2 version.
    * https://ftp.mozilla.org/pub/mozilla.org/firefox/releases/10.0.12esr/

Maybe you are looking for

  • Connect to Oracle 8i from Forms 6

    I have installed Personal Oracle 8i and developper 6 in a NT. I got the error when tried to connect to the Oracle 8i from Form Builder. "could not resolve service name". I did enter the database name. Any ideas?

  • Creating a library and use it

    Hi all, I'm new in Java (but not with other programming languages). I have created some util classes, compiled them successfully and put them in a jar file. suppose i'm writing a program that call some classes of that compiled library. What do i must

  • What RAID setups work for each setup?

    Can anyone point me to a source that can give me detailed information about what RAID setups are best for each situation. Our current situation is that we have: 2x Xserve RAID running on Xsan with two Xserve G5 servers, one for media and the other fo

  • What is the main diff between the IDOC, RFC,PROXY

    HI,   May i know in witch situation we will go for : 1) Idoc            2) RFC                3) Proxy. i hope we use above three are for posting data in R3 system. can any one please clarify when exactly we use witch adapter. regards

  • How to change the element of container in the task

    Hello,all.   I am new for workflow,today i find a new problem:when i finish a activity in the template,the element of container in the task can not be changed. Why? And how to change?   Thanx,