Error in pda load image file performanc​e in PDA
hello
i am using Windows CE with labview mobile module 8.6 in evaluation version. When trying to use "pda load imege file.vi" i get an error code 1, regardless of loading a .bmp, .gif or .jpg, of only 80kb (no diference in the color depth i use). I have tryed the same program in the windows mobile 5 emulator with the same error code. When i use "pda load bmp.vi" to load a .bmp, everything is OK. Some hints about this error?
some hints about missing dll are provided here
http://forums.ni.com/ni/board/message?board.id=170&message.id=185995&query.id=129565#M185995 -> can that be my problem? but then, why same error in the emulator?
Aditionally, if .gif or .jpg have to be "flatened" to pixmap for opeation inside my VI , is there any difference (in terms of speed and memory allocation) in loading .gif .jpg or .bmp? i have to operate with the raw pixmap data in "real time", and flatened .bmp images (320x220) do not load and update fast enough... any advice for that?
Michiel
acording to the info provided
LabVIEW 8.6 Mobile Module
The
LabVIEW 8.6 Mobile Module includes the necessary Microsoft tools. The
Mobile Module installs ARM Pocket PC and Windows Mobile targets. You
only need to download and install the following additional Microsoft
tools (linked below) if you need x86 emulator targets:
Microsoft eMbedded Visual C++ 4.0
Microsoft eMbedded Visual C++ SP 4 or later
SDK for Windows Mobile 2003-based Pocket PCs
Note: If you are upgrading from version 8.0 or later of the PDA Module, you probably already have the additional tools.
Since
i have an ARM pocket PC, i understand from the above that no extra
software is needed. Anyhow, i will try to install the recomended tools.
About the VI, well, basically not even the library examples work in my
pocket PC, so, you may try those to see if they work on your devices. I
am afraid that the pocket PC i got (it is actually a PNA and not a PDA)
has a reduced version of WINDOWS CE 5.0 installed and that can be the
reason for the error...
regards
regards
Similar Messages
-
Failed to load image file-manager
Hello everybody,
I've recently install ArchLinux (0.6) on my machine. Then do a pacman -Sy and pacman -Su and fresh install xfree86, gnome and gnome-extra but when I run into gnome a window error appears:
error
Failed to load image file-manager
Details: file not found
I can't see mostly of the icons, like the foot of gnome in applications, the icon of file browser, the show desktop ..
what can it be?
well, thanks in advance.
Ps: xscreensaver should be added as a dependency when pacman -S gnome
Ps2: sorry my poor englishBlaasvis wrote:i am aware, this was caused by the gtk2 update
Yes, you're right.
To solve (until a next release) I done:
pacman -Rcd gtk2
pacman -A /var/cache/pacman/pkg/gtk2-2.4.0-1.pkg.tar.gz
And avoid to do pacman -Su ...
Thanks and bye. -
Error -11003:Menu-Fail loading Image file
HI:
addMenus XML File:
<Application>
<Menus>
<action type="add">
<Menu Checked="0" Enabled="1" FatherUID="43520" Image="title.bmp" Position="14" String="Menus" Type="2" UniqueID="Menus">
<Menus>
<action type="add">
<Menu Checked="0" Enabled="1" FatherUID="Menus" Image="" Position="0" String="Menu_1" Type="1" UniqueID="Menu_1" />
</action>
</Menus>
</Menu>
</action>
</Menus>
</Application>
when add the Image property , but continue error Error -11003:Menu-Fail loading Image file.
<h2>How to add images by using XML inside a B1DE project ? </h2>
Hope it helps
Jimmy.lHi
在你的xml文件中,image 属性设置错误,应该填写你所加的image的绝对路径
比如:
<Application>
<Menus>
<action type="add">
<Menu Checked="0" Enabled="0" FatherUID="43520" String="MyMenu1" Type="2" UniqueID="MyMenu1" Image="C:/MyPic.bmp">
<Menus>
<action type="add">
<Menu Checked="1" Enabled="0" FatherUID="MyMenu1" String="MySub1" Type="1" UniqueID="MySub1" />
</action>
</Menus>
</Menu>
<Menu Checked="0" Enabled="1" FatherUID="43520" String="MyMenu2" Type="2" UniqueID="MyMenu2" >
<Menus>
<action type="add">
<Menu Checked="0" Enabled="0" Position="0" FatherUID="MyMenu2" String="MySub21" Type="1" UniqueID="MySub21" />
</action>
</Menus>
</Menu>
</action>
</Menus>
</Application> -
Error in Component Loading the File
Dear Expert,
Good Morning!
I tried to import license but error message "Error in component loading the file" appear. Can anyone help me on this?
Thankshi Sandra,
please make sure that your License file is correct and also take note of your SBO version and PL. this maybe the cause.
i.e
your SBO is 8.81 PL: 04, then your should use a license file that is for 8.81 version and not the older version of License file.
regards,
Fidel -
Script editor was working find when I last used it last week. Tried to open a script today to make some changes and now I'm getting this error message. I have uninstalled and re-installed editor, checked the compatibility mode and it wont open the script. any ideas out there what the problem could be? need some trouble shooting help.
Error:
failed to load script file: java.lang.ArrayIndexOutOfBound.Expception: 3184
Thanks
LoraHmmm.... I haven't seen that, but I can tell you what I would do if I were you. This is kind of drastic, but the alternative may be a workstation reimage.
Open the windows control panel, and open the add/remove programs snap in.
Uninstall the CRS editor.
Uninstall all the JRE instances you have. They may be listed as something like Java (TM) update.... or they may appear as J2SE Runtime.... Check in the J's (it's alphabetical) and uninstall all of them.
Reboot the machine.
Download and reinstall Java 1.6.0.17 (This is what's running on my workstation right now, and it works with the editor).
Reinstall the CRS editor
Reboot the machine
Try it and see if it behaves. If it doesn't, you may need to rebuild the whole thing. -
Error: Failed to load xml file
Hi,
I have a multiple project output using RobohHelp HTML 9. In the online help system, when I search for certain terms, I encounter this message "Error: Failed to load xml file"
could anyone let me know if you have encountered the same and how you dealt with this?Hi Jeff..i resolved the issue..
Given that i use merged webhelp, I checked the output of multiple projects. One of the online outputs from one of the projects was having this problem. So I cleared the Webhelp output folder and regenerated this project. This was the fix.
Now I encounter one more problem. When I search for information, the search bar shows 100% complete but the results would'nt show. Can you let me know if you have come across such a problem? -
RapidMarts - "Open file error" R3C-150607 loading from file
Hello experts.
We are installing RapidMarts for the SA-module, but when executing the main workflow in Data services we get an error trying to load the file dates.dat.
The generated ABAP looks just fine, and the file exists where it should be (in SAP working directory), but still not able to load it.
This is the error msg:
Data flow DF TimeDim SAP - Execute ABAP program <E:/RM generated ABAP dir/TimeDim.aba> error > Open File Error -- E:/RM Working directory/dates.dat>.
We have the following setup:
Windows server
MS SQLserver 2005 database
SAP BO Dataservices v12.2.9.0
SAP BO RapidMarts for v12.2.0
Any good ideas on how to fix this?
Thanks in advance!
Best regards,
IngAHi again.
The problem is solved.
When configuring the R3 datastore in Dataservices we assigned the different directories (working dir, generated ABAP dir etc.) on a server that's NOT our R3-server.
When we changed this to use folders on our SAP-server it works just fine (for this at least)
Cheers, IngA -
Error: Could not load login file
Since upgrading from Panther to Tiger (10.4.4) I have these error messages and windows that come up when I boot up my computer. They appear in the following order:
Error: Could not load login file
Looking up 192.168.0.2
The application diagnostics quit unexpectedly
Connection failed - The server may not exist...etc
Internet still works OK, btw. but the IP address of my connection is 192.168.0.4, not the address it's trying to look up.
Do I have a setting somewhere which is programmed to look up an old IP address? - ie 192.168.0.2Problem solved
I ran the uninstaller for the old Speedtouch USB modem's drivers. (Now use a Netgear wireless router).
The uninstaller was in Applications/Speedtouch etc -
Error -11003 Menu falied loading image file - B1DE - AddMenu.xml
Hi I am using B1DE to develop a add-on.
I ran into error message as above when tried to add the "UI2.bmp" - an image file for the popup menu.
Can someone advise on this ?
<Application>
<Menus>
<action type="add">
<Menu Checked="0" Enabled="1" FatherUID="43520" Image="ui2.bmp" Position="13" String="&Transport System" Type="2" UniqueID="AFON_00">
<Menus>Lai,
While Calling main menu u also apply tha following code
Dim menuitem As SAPbouiCOM.MenuItem
menuitem = v_app.Menus.Item("FAST_Costing")
menuitem.Image = Application.StartupPath & "\Costing.Jpg"
Satisfy reward points,
Regards,
Anitha -
TextureLoader: Error loading image file
Hello,
I am trying to load a .gif file to texture map a plane. Well I keep running into a problem loading the .gif file. It just does not load. I get a NullPointerException at the TextureLoader theLoader = new TextureLoader(fileName, observer); I have the .gif file in a folder named TextureImages which is in the same directory as the class that tries to load the file. I have loaded the same .gif file in a different simple test program. But in this program I am having no luck. If anyone has the answer. Please Help.
Here is the class that tries to load the .gif file
package roomPackages.shapes;
//----Import statements
import javax.media.j3d.Texture2D;
import java.awt.Component;
import javax.media.j3d.*;
import javax.vecmath.*;
import com.sun.j3d.utils.image.TextureLoader;
public class CabnetFloorKSD extends Shape3D
//----Member objects and varibles
private double WIDTH; //Cabnet width scaled down by 12
private Appearance theAppearance; //The cabnet appearance
private PolygonAttributes poly_attributes; //Polygon attributes "normal vectors"
private static Component observer;
//----Constructor
// ---------------------------------------------------------- CabnetFloorKSD
// This constructor function builds the Shape3D by using the addGeometry
// function to "glue" together all the QuadArrays. Which represent a
// specfic face of the kitchen floor single door cabnet.
public CabnetFloorKSD(double width, Canvas3D theCanvas)
//----Varibles and objects
this.WIDTH = width; //Getting the width value
theAppearance = new Appearance(); //Cabnet appearance
observer = theCanvas;
loadTextureImage();
//----Building the cabnet functions are here
//----Setting the shapes appearance here
}//end CabnetFloorKSD(double width)
// --------------------------------------------------------- loadTexureImage
// This is where the problem is
public void loadTextureImage()
//----Local varibles and objects
String fileName = "TextureImages/OAK.GIF";
//---- This line is where the NullPointerException happens
TextureLoader theLoader = new TextureLoader(fileName, observer);
/*ImageComponent2D theImage = theLoader.getImage();
Texture2D theTexture = new Texture2D(Texture.BASE_LEVEL, Texture.RGB, 128, 128 );
theTexture.setImage(0, theImage);
theAppearance.setTexture(theTexture);
}//end loadTextureImage()Hi,
Instead of passing string argument to ImageLoader pass (URL,observer)
ImageLoader(new URL("file:./img.gif",observer);
Regards,
shi -
Load image file into a LONG RAW column via SQL*Loader
Does anyone know how to load a image file into a LONG RAW column via SQL*Loader?
Thanks
-Hsing-Hua-Are you trying to import the image on the client into Oracle lite, or from the server end into the main oracle database for download to the client?
On our system images are loaded into the the oracle lite database (10g R1 at the moment) on the client (DELL X50 PDA's) into a BLOB (Not LONG RAW) column using Java (relatively standard functionality in Java) as this is what our application software is written in.
From the server end, we do not at the moment load images as such, but we do load the application software into the database for deployment of new versions to the clients (the DMC/DMS updates we have found very unreliable), and the technique should be the same for images. Again the file is imported into a BLOB column.
NOTE a column defined as BLOB on the main Oracle database appears as a LONG VARBINARY on the client Oracle lite database, but the synchronisation process handles the conversion with no problem.
To import into a BLOB column on the server try the following
1) you will need to create a DIRECTORY (CREATE DIRECTORY command) within the database, pointing at a directory on the database server (or accessible from it). This is needed for the file location.
CREATE OR REPLACE DIRECTORY PDA_FILE_UPLOAD AS '/pdaapps/jar/'
NOTE create directory needs to be run as SYSTEM
2) define your table to hold the image and other data. Our tables is
SQL> desc pda_applications
Name Null? Type
ID NOT NULL NUMBER(12)
PDAAT_CODE NOT NULL VARCHAR2(10)
VERSION NOT NULL NUMBER(5,2)
PART_NO NOT NULL NUMBER(3)
FILE_OBJECT BLOB
DEPLOY_APPLICATION_YN NOT NULL VARCHAR2(1)
3) copy the image (or in our case a .jar file) to the database server directory specified in step 1
4) the actual import is done using a DBMB_LOB procedure
PROCEDURE pr_load_file
Module Name : pr_load_file
Description : Main call. Create a new pda_applications record, and import the specified file into it
Version History:
Vers. Author Date Reason
1.0 G Wilkinson 03/02/2006 Initial Version.
(PA_VERSION IN NUMBER
,PA_FILENAME IN VARCHAR2
,PA_PDAAT_CODE IN VARCHAR2
,PA_PART_NO IN NUMBER DEFAULT 1
,PA_DEPLOY IN VARCHAR2 DEFAULT 'Y')
IS
l_FileLocator BFILE;
l_blobLocator BLOB;
l_seq NUMBER;
l_location VARCHAR2(20);
no_params EXCEPTION;
call_fail EXCEPTION;
BEGIN
-- Throw error if required details not present
IF pa_version IS NULL
OR pa_filename IS NULL
OR pa_pdaat_code IS NULL THEN
RAISE no_params;
END IF;
-- Initialize the BLOB locator for writing. Note that we have
-- to import a blob into a table as part of a SELECT FOR UPDATE. This locks the row,
-- and is a requirement for LOADFROMFILE.
SELECT pdaa_id_seq.nextval
INTO l_seq
FROM dual;
-- First create the application record (file is imported by update, not insert
INSERT INTO pda_applications
(ID,PDAAT_CODE,VERSION,PART_NO,FILE_OBJECT,DEPLOY_APPLICATION_YN)
VALUES (l_seq,pa_pdaat_code,pa_version,pa_part_no,EMPTY_BLOB(),pa_deploy);
-- Lock record for update to import the file
SELECT file_object INTO l_blobLocator
FROM pda_applications
WHERE id=l_seq
FOR UPDATE;
-- Initialize the BFILE locator for reading.
l_FileLocator := BFILENAME('PDA_FILE_UPLOAD', pa_filename);
DBMS_LOB.FILEOPEN(l_FileLocator, DBMS_LOB.FILE_READONLY);
-- Load the entire file into the character LOB.
-- This is necessary so that we have the data in
-- character rather than RAW variables.
DBMS_LOB.LOADFROMFILE(l_blobLocator, l_FileLocator
,DBMS_LOB.GETLENGTH(l_FileLocator)
,src_offset => 1);
-- Clean up.
DBMS_LOB.FILECLOSE(l_FileLocator);
-- Create download records for each user associated with the application for sending to the PDA's
-- to install the software
IF pa_deploy = 'Y' then
IF fn_deploy (pa_pdaa_id => l_seq
,pa_pdaat_code => pa_pdaat_code) != 'SUCCESS' THEN
RAISE call_fail;
END IF;
END IF;
EXCEPTION
WHEN no_params THEN
pkg_appm.pr_log_message( pa_mdl_name => g_module_name
, pa_mdl_version => fn_get_body_version
, pa_error_code => SQLCODE
, pa_location => l_location
, pa_text => 'Missing parameters'
, pa_severity => 'E'
WHEN OTHERS THEN
DBMS_LOB.FILECLOSE(l_FileLocator);
pkg_appm.pr_log_message( pa_mdl_name => g_module_name
, pa_mdl_version => fn_get_body_version
, pa_error_code => SQLCODE
, pa_location => l_location
, pa_text => SQLERRM
, pa_severity => 'E'
END pr_load_file;
I hope this may be of some help -
How to delete a jar file after loading image files from it
Hi,
How can I delete a jar file after some image files have been loaded? For example, say, I have "a.jar" which contains an image "a.gif" in the root directory of the c drive. I would like to get the image size and then delete the jar file. Here is the code snippet:
URL url = new URL("jar:file:/C:\\a.jar!/a.gif");
Icon icon = new ImageIcon(url);
System.out.println("icon size ? " + icon.getIconHeight());
File file = new File("c:\\a.jar");
while(file.exists())
file.delete();
try
Thread.sleep(100);
catch (InterruptedException ignored)
System.out.println("file deleted.");I get the image size correctly but just can not delete the jar file. Apparently the file handle is not released, but how to close it? Any hint will be appreciated.
Justin JanI am sure the URLConnection.defaultUseCaches is set before it is connected otherwise I should catch an IllegalStateException on conn.setUseCaches(false).
try
URL url = new URL("jar:file:/C:\\a.jar!/a.gif");
URLConnection conn = url.openConnection();
conn.setDefaultUseCaches(false);
conn.setUseCaches(false);
Icon icon = new ImageIcon(url);
System.out.println("icon size ? " + icon.getIconHeight());
url.openConnection().getInputStream().close();
System.gc();
System.runFinalization();
File file = new File("c:\\a.jar");
while (file.exists())
file.delete();
try
Thread.sleep(10);
catch (InterruptedException ignored)
System.out.println("file deleted.");
catch (Throwable t)
t.printStackTrace(); -
Error 1 when loading flat file in BW 7.0
Hi,
The flat file structure is same as the transfer structure. Its a csv file and i also checked about the delimiters and stuff.The flat is not open and it is closed while i am loading it. The same file gets loaded if i try in another laptop with my id.If i use my colleague's id on my system also...it doest work...so, the basic problem is with my laptop. I know its nor related to type of data or transfer structure. Its some settings on my laptop which got changed automatically. If i install some other softwares like mozilla firefox or yahoo msg-will that create a problem? I am not at all understanding why its like this. Please help.The error msgs i get when i try to load the flat file -
Error 1 when loading external data
Diagnosis
Error number 1 occurred when loading external data:
1. Error when reading the file (access rights, file name, ...)
2. File size or number of records does not correspond to the data in the control file
3. Error when generating the IDoc
4. File contains invalid data (errors with an arithmetic operation or data conversion)
Procedure
Check whether you have the required access rights and whether the data in the control file is correct (file names, record length, number of records, ...). Correct the data in the control file if necessary and check the data file for invalid data (values of the wrong type, values in the wrong format for conversion exit,...). Check whether the file has headers that have not been specified.
Error when opening the data file C:\vikki1.csv (origin C)
Message no.
Diagnosis
File C:\ vikki1.csv (origin C) could not be opened.
Origin:
A : Application server
C : Client workstation
Procedure
Check whether the file entered exists and is not been used by other applications.Hi! Vikki,
Error 1 means your flat file is open while uploading the data..
your flat file should be closed while uploading data in BW.
that is why it is saying "Error when opening the file..".
first close that file n then upload..it will work.
rest of the things are ok!..
I hope this will help you.
Regards,
khyati. -
Error handling when loading flate files
Hi
We have a Process Chain loading flate files from a server into a ODS. We want to create a routine to avoid errors in the ODS when no files is found.
The error we want to handle is
Error 1 when loading external data
Message no. RSAR234
We want to handle this error message as OK to avoid red request in the ODS
Please help
Kind regards
Ola Einar LangenHi, and thanks for your hints.
We ended up with the following codes. It's will mark the prosess chain red (but this is as wanted) but we have implemented that the prosess chain will proceed even with error in the loading process
The code for the routine implemented in the infopackage in "External data" tab.
p_filename = 'filename.txt.
OPEN DATASET p_filename FOR INPUT IN BINARY MODE.
If file could not be open
IF SY-SUBRC NE 0.
p_subrc = SY-SUBRC.
delete the current request
CALL FUNCTION 'RSSM_DELETE_REQUEST'.
ENDIF.
close the file if OK
CLOSE DATASET p_filename.
p_subrc = 0.
The solution is no OK for us
Kind regards
Ola Einar Langen -
Error #2148 when loading image from ByteArray (not network or file)
Hi!
When I try to access bitmap data of Image loaded from ByteArray, I receive the following error:
Error #2148: SWF file file:///C|/blablabla..../MyFlash.swf cannot access local resource file:///C|/blablabla..../MyFlash.swf/[[DYNAMIC]]/2. Only local-with-filesystem and trusted local SWF files may access local resources.
I'm on Flash, not on AIR. And ByteArray contains PNG data which I prepare myself
I tried to do it with Image.load and loader.loadBytes - the error is the same. I tried to use Flex SDK 3.4, 3.5 & 3.6 - nothing helps.
When I add this image to my stage, it is displayed absolutely OK, but I still can't access bitmapData of this image - always got the same error.
Flash Player 10
Here are the samples of my code:
public function onLoadComplete(event:Event):void
var loader:LoaderInfo = event.target as LoaderInfo;
var bmp:Bitmap = loader.loader.content as Bitmap; <-- here I received the error
var bmpDat:BitmapData = bmp.bitmapData;
this.bitmapData.copyPixels(bmpDat,new Rectangle(0,0,width,height), new Point(0,0));
var loader:Loader = new Loader();
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, onLoadComplete);
loader.loadBytes(byteArray);
And another try
var image: Image = new Image()
this.addChild(image);
image.addEventListener(FlexEvent.UPDATE_COMPLETE, onCompleteLoad2 );
image.load(byteArray);
public function onCompleteLoad2 (e:flash.events.Event):void
var image:Image=e.target as Image;
var bitmapData:BitmapData;
bitmapData=new BitmapData(image.width,image.height,true,0);
bitmapData.draw(image); <-- here I received the error, while image is correctly added to the stage and displayed
What's wrong? It seems, the image loaded from byteArray is treated as local resource. How can I overcome it inside the code? Because this .swf is
run on different computers and I can't just add a flash security exception on every of them....
Please, help I spent, maybe 20 hours and still can't find the solutionI had the same problem, except I was reading in the image from the local disk using FileReference. Anyway, my issue was resolved by using the
-use-network=false option on the command line of my compiler (I do all my development in the shell using 'vi' to edit and mxmlc to compile).
Ttry "-use-network=false" and see if that helps...
...bob...
Maybe you are looking for
-
Mac OS 10.8.2 (Mountain Lion) Set Up Issues
Downloaded and Installed CS6 onto my Mac (OSX 10.8.2) but a few errors have made it unusable. Each time I open any of the CS6 applications, a blank Adobe Service License Agreement now appears. Apparently, I need to agree to move forward; however,
-
I having trouble with ARD 3.1 generating reports. I select a remote computer to run a report on and then it queues. The report than hangs in the process of generating. In activity monitor ARD shoots up to 145% use of CPU when the report tries to gene
-
How can I delete all songs from iCloud library?
Hi, I have a strange issue and couldn't really find any information about this on Google, so I thought I would try here. I'm kind of surprised this hasn't come up for other users yet (or maybe it has and I'm just missing it.) I matched my iTunes libr
-
Signal recovery 7225 lock-in - Dumping curve buffer issue
Hi there I am programming an experiment that requires me to take data fast using the curve buffer of my lock-in amplifier (Signal Recovery 7225). I have been using the supplied vi files in labview, but seem to be having a problem with the read buffe
-
Creating Powerpoint files with java
Hi, I'm working on an existing web app. Our customer wants to have a download link to a powerpoint file that is filled dynamically with data from the SAP system. All user use the IE-browser. So I am facing three possibilities, but all are not really