LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

PDA v8.2 Load PNG Crash Bug

Robert,

I confirmed that with the LabVIEW 8.5 PDA Module (with the attached VI) that you are able to display large jpg files using the "PDA Load Image File.vi". I tried both a 280KB and 1.3MB file, each of which worked successfully on my pocket PC 2003 device. Let me know if you have any further questions reagarding this issue.

Cheers,

Jonah
Applications Engineer
National Instruments 

Jonah Paul
Marketing Manager, NI Software
0 Kudos
Message 11 of 24
(1,214 Views)
Hi jpaul:

I tested your VI with Windows Mobile 5.0.  It does not load up a 199K GIF file.  Please try your VI on a WM5.0 OS.

Robert


0 Kudos
Message 12 of 24
(1,211 Views)
jpaul:

I also tested your attached VI with a small 50K PNG file even though the help file from v8.2 to v8.5 deleted the PNG option.  It loaded up fine using WM 5.0.

Robert
0 Kudos
Message 13 of 24
(1,210 Views)

Robert,

I was able to get a WM 5.0 PDA (sorry for the delay). I was sucessful using the LabVIEW PDA Module 8.5 (and my VI that was previously attached) in loading/displaying a 280KB JPEG and a 327KB GIF. Are you still using LabVIEW 8.2 or are you seeing this error with LabVIEW 8.5?

Cheers,

Jonah
Applications Engineer
National Instruments

Jonah Paul
Marketing Manager, NI Software
0 Kudos
Message 14 of 24
(1,169 Views)
Hi Jpaul:

Can you supply the images and tell me what mobile device you were using?

Thanks
Robert
0 Kudos
Message 15 of 24
(1,145 Views)
I'm using LV 8.5 with PDA v8.5
0 Kudos
Message 16 of 24
(1,130 Views)

Robert,

I am using LabVIEW 8.5.1 with LabVIEW PDA Module 8.5.1 with a Dell Axim X510 with Windows Mobile v5.0 OS 5.1.70. See the attached files that I used to test the PDA. Let me know if you are able to reproduce what I am seeing.

Thanks,

Jonah
Applications Engineer
National Instruments

Jonah Paul
Marketing Manager, NI Software
Download All
0 Kudos
Message 17 of 24
(1,112 Views)
Hi Jpaul:

I upgraded to PDA  v8.5.1.  I was able to reproduce your image yaaayy.  In addition I converted your jpg image into 1.4M png image & was able to load it.  yaaaaayyyyy.  I went ahead & tried your working VI with my image.  Looks like my image does not want to load.  I played around with it all night using photoshop & paint to different file formats starting with my original BMP.  No Luck.

I will conclude its my image.  I'll fiddle around & report my findings

Thanks again,
Robert
0 Kudos
Message 18 of 24
(1,100 Views)
Hello All:

Attached you will find my results for loading large PNG files.  It seems the PDA Load Image File.vi primitive is unable to allocate memory for large files.  Is this because there is not enough RAM  in my PDA device?  I don't know yet, I need you guys/gals to help me test.

In my file, I have my original image called 2116X1552.png in which I used photoshop to resize the image to & call the files 1800X1320.png and 1751X1284.png.

Run the project and build the executable into MY DOCUMENTS diretory.

On my Windows Mobile 5.0 device (Samsung SCH-I730 with the attached program running, I have 35MB of free program memory) I select the 1751X1284.png & the file loads fine.  Upon selecting the 1800X1320.png I get and error message with a long error code (it seems to be different each time) with the message stating: UNABLE TO ALLOCATE MEMORY.

I've even taken one of JPAUL'S image in a previous post in which I had success loading previously -  I resized it to make it bigger to 2000X1445.png and I got the UNABLE TO ALLOCATE MEMORY error message.

Those of you leaning towards lack of PDA RAM, there is another issue to consider.

If you right mouse click on the attached png images  - go to properties and click on the summary tab, you will see the bit depth is 8.

However, running the executable the PDA Load Image File.vi primitive gives a bit depth of 24 for all these images.  Does the wrong bit depth calculation eat up memory?  Perhaps!  Thus, I'm leaning towards a large png file bug until we get more testing from the LabVIEW PDA community.


Robert



0 Kudos
Message 19 of 24
(1,057 Views)
Robert,
 
Using the VIs and pictures from your previously attached file, I tested your VI. I used a Dell Axim X510 with Windows Mobile v5.0 OS 5.1.70. In both cases I either received an error or the VI closed. However, as I mentioned in a previous post *.png files are not supported by the "PDA Load Image File.vi" as is specified in the help (only JPG, BMP and GIF files are supported). Would it be an option for you to use one of these supported file types?
 
Cheers,
 
Jonah
Applications Engineer
National Instruments
Jonah Paul
Marketing Manager, NI Software
0 Kudos
Message 20 of 24
(1,012 Views)