Streaming JPEG images via USB to a PDA

My assignment is to display JPEG images streamed to a PDA via USB at 10 frames per second or more.  Since Lab View does not provide a means of decoding JPEG data resident in memory (only files can be opened), I developed a DLL to decode the JPEG data.  The decoding of a 320x240 image takes <100 milliseconds.  Displaying that image by Draw Flattened Pixmap & "picture" requires ~400 milliseconds (?!?).  If a larger image is sent, the display time increases even though only 320x240 pixels are actually displayed.  I've attached a screenshot of the block diagram.
Is there an alternative to Draw Flattened Pixmap and "picture" that would be more efficient?
Why does Draw Flattened Pixmap require the removal of the padding byte in 32 bit aligned 24 bit image data?
Is there a way to scroll through the image if it is larger than the display?
Is there a way to hide & redisplay controls (server address, port, run, stop, exit, etc)?
Can the Windows banner be removed from the display?
Can the Windows keyboard icon be removed from the display?
Can you suggest any other optimization?
Thanks for your time,
Dan
Attachments:
StreamJPEG1.jpg ‏534 KB

Hi Dan,
There is not an alternative to Draw Flattened Pixmap on the PDA.  The only VIs available are those on the Functions Palette.  I am not sure why it requires the removal of the padding byte in 32 bit aligned 24 bit image data, that is something that I would need to ask a developer. 
To scroll through your image, you would need to use the Horizontal Scrollbar Visible or Vertical Scrollbar Visible property nodes.  These property nodes are unsupported by PDA.  To see a list of what property nodes are supported, please see this help file.  I would also suggest going to our Product Suggestion Center and creating a suggestion.
To hide and redisplay controls, you can use a property node for the control and turn the visibility on and off.  When you create a property node for a control, select "visible".  You can then set this to either true or false.
Finally, the Windows keyboard and the Windows banner cannot be removed from display.  I hope that I was able to answer your questions, please be aware that there are many limitations with the Windows Mobile operating system.  Let me know if there is anything else I can do to help, thanks Dan.

Similar Messages

  • HT204207 Sync podcasts to iPod from iTune in full via USB, no streaming, no WiFi download, good old USB sync transfer.

    I want to sync my podcast from my MacBook to my iPod via USB. I do not want to download them individually over WiFi due to a large number or podcasts.
    I do not want to stream as I listen to my podcasts offline. I want my podcasts to sync like they use to. I just want all the podcasts that are on my MacBook on my iPod, not in a list ready to stream or ready to download.  I want the actual podcast to copy to my iPod in full via USB. I don't understand why apple have chosen to take this option away. I do not want to covert all my podcasts to "music", because then I don't get the advantage of the podcast app where I can listen to podcasts a 1.5x or 2x speed, among other features.

    I want to sync my podcast from my MacBook to my iPod via USB. I do not want to download them individually over WiFi due to a large number or podcasts.
    I do not want to stream as I listen to my podcasts offline. I want my podcasts to sync like they use to. I just want all the podcasts that are on my MacBook on my iPod, not in a list ready to stream or ready to download.  I want the actual podcast to copy to my iPod in full via USB. I don't understand why apple have chosen to take this option away. I do not want to covert all my podcasts to "music", because then I don't get the advantage of the podcast app where I can listen to podcasts a 1.5x or 2x speed, among other features.

  • Syncing some songs onto iPhone hard drive via USB, but streaming the rest via iCloud?

    Hi,
    I have a lot of music, well over 50 GB. I have iCloud and iTunes Match. I recently got a 32GB iPhone 5. I was under the impression that I could sync some of my music library onto my iPhone via USB from my mac, but then still be able to access the rest of my songs via iCloud?
    1. I live out in the country where cell service and/or Wifi is not always available.
    2. I would like to have the songs I listen to most on my iPhone's hard drive, so I don't have to waste my data to stream them. However, if there's an artist that I don't listen to very often and is not on my hard drive, I would still like to be able to pull them up and stream them via iCloud.
    When I had iTunes Match turned on on my iPhone, I would press Sync on iTunes and nothing would happen. I could access all of my music on my iPhone, but none of it was actually on the hard drive, it was all just streaming from iCloud. Searching around online and on these forums, I found that the only way to actually put music onto the iPhone's hard drive is to turn iTunes Match off. However, I also read that if you turn it back on after, it will just erase your previous library?
    It seems there should be a way to do this? I can't be the only person with too many songs to fit on the iPhone that doesn't want to pay to stream every song?
    I have also heard a lot of bad things about syncing via Wifi, and that it will eat up your data plan. I would like to be able to sync my songs via USB, but then still access the rest of my library via iCloud.
    Please let me know if this is possible. Any assistance is appreciated.

    You should be seeing something like this:
    Playlist:
    Artist:
    Album:

  • Jpeg images produced by Ps CS3 won't play via DVD player

    When I burn my jpeg digital camera images to CD or DVD, they display without problems on my TV via the DVD player.
    However, when I process them using Ps CS3 (e.g. rotate, enhance etc.) then save them as jpeg images, they will not play when transferred to CD or DVD, giving a message 'jpeg decoding error'. They do display OK in the PC.
    This does not happen when the camera originals are processed using Adobe Photoshop Elements 2. They all display properly.
    Why do jpeg images created with Elements work, but those created with Ps CS3 not? Am I not setting some preference or other correctly?
    I run Windows XP SP3 on an HP Pavilion PC with 512 Ram.

    Did you set the button routing manually, or leave "Automatic" set instead?
    Try unchecking the "Route Buttons Automatically" in the menu editor, and you will see a set of icons appear with a central number & 4 extensions going Up/Down/Left/Right.
    These are the available options for navigation - just drag the pointer from the button to the button you want to link it to and all will be fine.
    Note:
    When previewing, never
    i ever
    just use the mouse. DVD players do not have mice, and navigation is done with the remote unit - so try previewing with the simulated remote control instead to avoid problems recurring!

  • Use PDA to comunicate with instrument via usb?

    Hi
    if that I have PDA with usb host, is it possible that i use it to communicate with the bench top instrument by using labview pda module?
    any PDA models recommended?
    thanks
    ~toko~

    Hi Stanley,
    I read some of your messages in threads about USB comm in PDA/Smartphones. I just wanted to confirm with you a couple of requirements, as it seems you're the right person to ask to. I am trying to communicate our device with a HTC Kaiser PDA via USB. My OS is Windows Vista 32-bit, the handset's is Windows Mobile 6 and I am using the Mobile module.
    The VI, in order to see the miniUSB port on the PDA as serial (VCP - virtual com port), you say that:
    1) The PDA has to be USB HOST (or more precisely OTG) ;
    2) The VI will see it as serial (I imagine then, there must be a sort of FTDI chip doing this translation USB-Serial - how else could this translation be implemented?)  
    Is this correct? 
    I want to test first the communication between the HTC and the PC. Other questions are then:
    1) If I write data to the mini USB using VISA to a serial port in the VI, looking at the signals on the CRO, they should look like USB NOT SERIAL correct (after the translation)?
    2) If the signals are USB then I will have to connect it to the USB port on the PC. However I quite don't see how I am going to talk to the device, as on the handset side I will have COM ports and on the USB side I will have USB endpoints, which have completely different characteristics. Any suggestions?
    3) Let's assume the USB controller on the HTC side has NOT host capabilities. Is not possible in any way that my VI could see the port still as serial and send/receive data (just waiting for a host to power up the line and start the communication)??
    4) The INF generator using the Driver Wizard for Windows Mobile 6, together with the VISA API wouldn't work for the case the VI doesn't see the port as serial? And then I could use the VISA interrupt blocks etc...?
    As I wrote many questions, if you'd like a phone call could be undertaken to ease things, as I certainly need to clarify those questions..
    Thanks for the time.
    Best regards,
    Edgar Charry  

  • Can't add jpeg signature via use an image?

    We are using Adobe XI Pro and we are unable to place a signature by "Use an Image" and browse to a .jpeg file and import that in. Is there a factory reset for the settings so that we can get that option back.  Seems like the "First time signing" never appears we even tried uninstalling the software and re-installing but still no luck, was wondering if anybody can provide some insight?

    You cannot use a jpeg image for signing.  The written signature must be within a PDF document.  Get a blank sheet of white paper (the brighter the better), and write the signature anywhere on the page.  Scan and save the page as a PDF.  Now, when you click on Use an Image and select this PDF, you'll see the signature appear in the small preview box.  Adobe Acrobat will find the signature on the page and automatically crop it out.

  • My website is accessible via Internet Explorer but not Firefox? It is a simple jpeg image being used as a home page.

    No matter whether I am using FireFox on MAC or Windows my new posted home page is not showing up when I access the domain.
    The home page in question is only a jpeg image labeled index.html in the prime directory. The jpeg or "home page" is accessible and is coming up correctly in IE. I am checking it on a desktop MAC and a Windows 7 laptop. Again the home page is only one file.
    www.2-49drycleaning.com

    hello, to me the site appears to be down no matter what browser i use (maybe it is still present in your IE's cache & that's why it's showing). please contact the support of your website's hoster to find out what's going on...

  • Printing problem linked to EXIF time data for JPEG images.

    For some years I have been using Photoshop Elements 8.0 with no problems of any kind. My computer runs on XP Professional with a system comfortably in excess of the minimum requirements to run Elements 8.0. I load my images into Elements from a card reader which is the same one since I got this version of Elements. I shoot mostly in JPEG with a Nikon D300. I print to one of 2 Epson printers, an SX100 and a PX700W. I don't use the wireless feature of the PX700W, connecting it via USB.
    About a year ago I suddenly began to experience printing problems. If I tried to print an image Elements crashed just at the point where printing would begin. By trial & error I discovered that if I adjusted the time in the EXIF data of the image in Elements, whether by advancing or retarding it by hours or days and then adjusted it back to the original time I had no problems printing that image thereafter.
    I also discoveredc that where I had shot in RAW I could print direct from the RAW image in Elements or from the JPEG I saved from an edited in RAW and had no problems.
    I saw the forum discussions about the issues about the date/time in EXIF having been changed following the import into Elements. For those images I still had on my memory cards I checked the EXIF data in Elements and compared it what was on the image on the card. They were the same. I also checked the time zone and time settings of the camera and they were correct.
    I backed up my catalog, re-formatted the computer to bring it back to its ex-factoy status, re-installed Elements and restored my catalog. I imported new images, tried to print them and the problem was still there.
    Before I might upgrade to Photoshop Elements 10 I'm hoping someone else may tell me they have had the same problem and, hopefully, be able to tell me how they fixed it. I know the workaround will bypass the problem but it really annoys me that it suddenly appeared and I seem to be stuck with it. I'm also concerned that, given I totally re-formatted my computer but the problem  is still with me, that the problem may be imbedded in my catalog and simply gets backed up to,\and restored from,  my backup.
    I'd be grateful for any ideas.

    Hi Miceal,
    Though I'm not sure, but see if Catalog repair and optimize helps resolve the issue.
    For doing this, click File >> Catalog and selec your catalog and then click "repair' button.
    Tick the checkbox for rebuilding indices in the repair workflow.
    Now perform the optimize operation on the catalog similarly.
    Let me know if that helps.
    Thanks
    andaleeb

  • Can't See Camera Connected via USB in CS2 Bridge

    I've connected a Canon PowerShot (as previously) via a USB port. When I open "My PC' in WinXP, I see the Canon along with my other drives and can view the jpeg image files. When I navigate to "My PC" in CS2 Bridge, I can see all drives except the Canon. No idea why this should be so. Help!

    Hi again, John.
    I'm feeling particularly dumb these days around PS. Hope you don't mind answering these Help Center questions (or directing me to a good resource).
    OK, so I clicked on PS Help. This resulted in an Adobe Help tab appearing in the bottom bar next to the Adobe PS tab. The screen launched by the Help tab looks exactly like the standard PS screen except all options at the top are greyed out. If I click on Flie/Edit?etc, I'm returned to the standard screen (non-greyed out).
    According to the official PS manual, I should see a Help Center window. I don't.
    I'm stumped. I've used PCs for years and never had a problem with Help features. PS is the first.

  • Backups of raw and Jpeg images

    I currently backup my iphoto library via time machine and keep a second copy of another USB HD. However the backup is the iphoto library, how do I back up the raw and jpeg images so that they are not within the library so that I could access them from a non apple pc?
    I just would like the added security.
    Thanks
    Peter

    You'll need to export them from the Library.
    Select an Event or Album in the iPhoto Window and go File -> Export
    In the resulting dialogue you have a number of options:
    From the dropdown you can select the Kind to export:
    Originals will get you exactly that: the original files. These will be the contents of the Event as per the iPhoto Window.
    Current will get you the most recent versions of the files: a mix of edited and unedited pics. Again, the contents as per the iPhoto Window.
    Tiff and Jpeg options allow you to export the current versions in those formats and you can the metadata - tiles, keywords, descriptions and locations - to the files on export.
    PnG does not have the option to write the metadata as that format has very limited support for it.
    There are other options for file size and naming and so on.
    Regards
    TD

  • Webcam capture & save as JPEG image

    Hi,
    I'm creating an application to capture image via webcam using directshow. I've managed to capture the stream using samplegrabber.
    the problem is when I save the grabbed image to a JPEG, the colors are incorrect.
    provided the link of the captured image from the webcam http://www.filefreak.com/pfiles/44160/test2.jpg
    the right hand side of the image should be brown colored, not blue as in the picture.
    I've also test to save as a bmp image, the color are ok.
    this is how i save the grabbed webcam frame into a jpeg file
    sampleGrabber->GetCurrentBuffer(&bufferSize, (long*)frameBuffer); 
    //save into jpeg 
    struct jpeg_compress_struct cinfo; 
    struct jpeg_error_mgr jerr; 
    JSAMPLE * image_buffer=NULL; 
    FILE * outfile;      
    JSAMPROW row_pointer[1];     
    int row_stride;  
    cinfo.err = jpeg_std_error(&jerr); 
    jpeg_create_compress(&cinfo); 
    if ((outfile = fopen("test2.jpg", "wb")) == NULL) { 
            fprintf(stderr, "can't open %s\n", "test2.jpg"); 
        return; 
    image_buffer = (unsigned char*)frameBuffer; 
    jpeg_stdio_dest(&cinfo, outfile); 
    cinfo.image_width = videoWidth;      
    cinfo.image_height = videoHeight; 
    cinfo.input_components = 3;      
    cinfo.in_color_space = JCS_RGB;      
    jpeg_set_defaults(&cinfo); 
    jpeg_set_quality(&cinfo, 255, TRUE ); 
    jpeg_start_compress(&cinfo, TRUE); 
    row_stride = videoWidth * 3;     
    while (cinfo.next_scanline < cinfo.image_height) { 
        row_pointer[0] = & image_buffer[cinfo.next_scanline * row_stride]; 
        (void) jpeg_write_scanlines(&cinfo, row_pointer, 1); 
    jpeg_finish_compress(&cinfo); 
    fclose(outfile); 
    jpeg_destroy_compress(&cinfo); 
    //end save jpeg 
    Thanks.
    Regards

    Hi,
    Thanks
    for participating on the MSDN Forum! I think your question is mainly related
    with DirectX, but not Visual C++ Language. Thus, I suggest you post your
    question on the microsoft.public.win32.programmer.directx.video newsgroup, there you find DirectX experts and your
    question should be answered in no time.
    The people there will have enough experience with DirectX to give you the best
    advice or answer!
    http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=microsoft.public.win32.programmer.directx.video&lang=en&cr=US
    Thanks! Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • I cannot erase alias JPeg images on a memory card so that it will not accept any more which I try to load onto it, yet there are no actual images available if I click on any of them. The error message states that one or more cannot

    Cannot delete aliases for JPeg images on a lumix camera memory card even selecting individual images anjd trying to move to trash -error35 one or more items cannot be found. No image available on clicking or if card put back into camera-"no images to disply" Yet if try to add more images, message that card is full! Any suggestions?

    Deleting from iPhoto or image capture after import should be fine and shouldn't cause any issues. Deleting from the folder view of finder, can cause issues as the camera can the image is still there. You can try emptying the trash on your mac if you deleted them via the finder, as although you've deleted it, it's only marked as trashed and not actually deleted until you empty the trash - ie it won't relieve the space taken by the files.
    If your still having issues after you try this, you may be best formating the memory card. This will wipe all data on it though, so make sure you do copy anything off that yo u want to keep! Format from the camera, so that choosing the format>erase all option from the menu of most cameras.

  • I have a canon mf5940dn, it is connected via USB to my macbook air, and yet, when i want to print smith, it says the printer is not connected. does anyone has any idea why? is there a guide to do it properly?

    I have a canon printer mf5940dn, it is connected via USB to my macbook air, and yet, when I want to print smth, it says the printer is not connected. does anyone has any idea why? is there a guide to do it properly?

    Hi,
    I am currently replying to this as it shows in the iChat Community.
    I have asked the Hosts to move it to Snow Leopard  (you should not lose contact with it through any email links you get)
    I also don't do Wirelss printing so I can't actaully help either.
    10:01 PM      Friday; July 29, 2011
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb( 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • How to insert a pdf or jpeg image into a blob column of a table

    How to insert a pdf or jpeg image into a blob column of a table

    Hi,
    Try This
    Loading an image into a BLOB column and displaying it via OAS
    The steps are as follows:
    Step 1.
    Create a table to store the blobs:
    create table blobs
    ( id varchar2(255),
    blob_col blob
    Step 2.
    Create a logical directory in the database to the physical file system:
    create or replace directory MY_FILES as 'c:\images';
    Step 3.
    Create a procedure to load the blobs from the file system using the logical
    directory. The gif "aria.gif" must exist in c:\images.
    create or replace procedure insert_img as
    f_lob bfile;
    b_lob blob;
    begin
    insert into blobs values ( 'MyGif', empty_blob() )
    return blob_col into b_lob;
    f_lob := bfilename( 'MY_FILES', 'aria.gif' );
    dbms_lob.fileopen(f_lob, dbms_lob.file_readonly);
    dbms_lob.loadfromfile( b_lob, f_lob, dbms_lob.getlength(f_lob) );
    dbms_lob.fileclose(f_lob);
    commit;
    end;
    Step 4.
    Create a procedure that is called via Oracle Application Server to display the
    image.
    create or replace procedure get_img as
    vblob blob;
    buffer raw(32000);
    buffer_size integer := 32000;
    offset integer := 1;
    length number;
    begin
    owa_util.mime_header('image/gif');
    select blob_col into vblob from blobs where id = 'MyGif';
    length := dbms_lob.getlength(vblob);
    while offset < length loop
    dbms_lob.read(vblob, buffer_size, offset, buffer);
    htp.prn(utl_raw.cast_to_varchar2(buffer));
    offset := offset + buffer_size;
    end loop;
    exception
    when others then
    htp.p(sqlerrm);
    end;
    Step 5.
    Use the PL/SQL cartridge to call the get_img procedure
    OR
    Create that procedure as a function and invoke it within your PL/SQL code to
    place the images appropriately on your HTML page via the PL/SQL toolkit.
    from a html form
    1. Create an HTML form where the image field will be <input type="file">. You also
    need the file MIME type .
    2. Create a procedure receiving the form parameters. The file field will be a Varchar2
    parameter, because you receive the image path not the image itself.
    3. Insert the image file into table using "Create directory NAME as IMAGE_PATH" and
    then use "Insert into TABLE (consecutive, BLOB_OBJECT, MIME_OBJECT) values (sequence.nextval,
    EMPTY_BLOB(), 'GIF' or 'JPEG') returning BLOB_OBJECT, consecutive into variable_blob,
    variable_consecutive.
    4. Load the file into table using:
    dbms_lob.loadfromfile(variable_blob, variable_file_name, dbms_lob.getlength(variable_file_name));
    dbms_lob.fileclose(variable_file_name);
    commit.
    Regards,
    Simma........

  • Converting a pdf document to a jpeg image C#

    HI There,
    How can I convert a pdf document to a jpeg image using c sharp? I need to do this on a web application. If someone can help me out with some code that would be great.
    Sean - thanks in advance

    The information provided by Aandi is unfortunately out of date. The Adobe PDF Library is obtained through Datalogics and has a JNI, Java, and .NET interface available. Additionally while the Adobe PDF Library with the .NET interface would provide the functionality you seek it is overkill.
    PDF2IMG from Datalogics has a COM component available that can be accessed via C# to convert PDF to most image formats.
    Michael Lee
    www.datalogics.com
    blog.worldofpdf.com

Maybe you are looking for

  • The message (headphones) is showing and I cannot hear anyone speaking to me on the phone

    When I push the volume button on the side of the phone a message comes up  ringer (headphones) eventhough I do not have any headphone attached.  I cannot get rid of this message.  When I get a call or phone someone I cannot hear them, they can hear m

  • Sec edu cess is not picking miro

    Hi, When iam doing miro sec edu cess is not picking into account. what cud be the reason Regards, Robert

  • How to use JNI and run javah

    When using a DLL I'm supposed to use javah on my class file, for creation of a C headerfile. How's this done in JDeveloper?

  • Disable Javascript on Mac 10.6.8

    I read that the solution to disable Javascript in mac is to go to preferences / content / disable Javascript checkbox BUT there is not checkbox for disable Javascript there... I have a mac 10.6.8 What can I do? Thanx

  • Magic Mouse-Right click and left click reversed?

    Hello! Thanks in advance for any info you can provide regarding my problem. My wireless keyboard and magic mouse recently has been disconnecting from Bluetooth. A few days ago they both quit, and after a call to apple tech support, I tried everything