Low-level image drawing

Hi All,
I'm using a MemoryImageSource for animation, in the hope of speeding up refresh rates (I'm using quite an old machine). I can get the MemoryImageSource to render ok, and can draw lines/pixels, and animate them.
The problem I'm having is drawing sprites onto the int[] of the MemoryImageSource. I can get the sprite into an integer array using:
BufferedImage.getData().getPixels(0,0,60,60,pix[]);
but when I try to update the pixels in the MIS array I'm calculating the offset correctly for each scan-line), all I get is a white rectangle the size and shape of the sprite.
I'm trying to set the MIS array like this:
for(int j=0;j<height;j++) {
for(int i=0;i<width;i++) {
MISPixel[MISWidth*j+i]=sprite[width*j+i];
updateOffset();
Anyone got any ideas? Thanks in advance.

if you arn't doing per-pixel operations, you shouldn't be considering either of those solutions. For regular image drawing they will be far far slower.
Use BufferStrategy and ManagedImages
However, to answer your question, There are several solutions.
You can use PixelGrabber (which is ugly and old),
or you could copy your image into a BufferedImage of known pixel format, and use bufferedImage.getRaster().getDataBuffer().
If you are using ImageIO to read in your images, then you already have a BufferedImage and there is no need to copy it into a new 1.(though the pixel format of the BufferedImage returned from ImageIO might not be what you want)

Similar Messages

  • TDMS Low level file functions and Saving Front Panel image

    Am using TDMS low level file functions to save while also plotting data in my data acquisition programme.  However, I also want to programmatically be saving the front panel image on every run of my data acquisition.  I have coded all other aspects, except the behavior of functionality of saving the front panel image on every successive runs of the application.  Unfortunately, I just have no idea on how to code this aspect on LabVIEW, and all effort to search for example codes on so far have not been successful.
    I would appreciate any useful hints or steps from anyone for me to follow, in order to accomplish this behavior, and that is being able to programmatically save my front panel images while using TDMS low level file functions in my File IO system of my application.
    Thanks in advance.

    Tebefia wrote:
    Am using TDMS low level file functions to save while also plotting data in my data acquisition programme.  However, I also want to programmatically be saving the front panel image on every run of my data acquisition.  I have coded all other aspects, except the behavior of functionality of saving the front panel image on every successive runs of the application.  Unfortunately, I just have no idea on how to code this aspect on LabVIEW, and all effort to search for example codes on so far have not been successful.
    I would appreciate any useful hints or steps from anyone for me to follow, in order to accomplish this behavior, and that is being able to programmatically save my front panel images while using TDMS low level file functions in my File IO system of my application.
    Thanks in advance.
    Did you see this link?
    CLA, LabVIEW Versions 2010-2013

  • Can i length stamp an image triggered by an encoder into a low level buffer

    Hello.
    I am triggering images of a fast moving web into a low level circular buffer. Can I stamp the image with the absolute encoder value at which it was captured?
    Thanks for any help.
    Rob.

    Hello Rob,
    I have almost the same application. It is a webinspection  where I need to detects defects with a linescan camera. The downweb (longitudinal) coordinate of the defect must be exchanged with a robot that cuts out the specific part. Since the robot is placed 25 m further away downweb, we synchronize both systems with a counterboard that counts each encoder pulse of 0.25 mm. Each m the robot is synchronised with the vision system by exchanging the (linetrigger) encoder position at the time of the m pulse rising edge to re-reference both systems.
    The defect position within a page image is the encodercountervalue of the beginning of that specific page + the row position of the defect in the image translated to encoder pulses. Therefore I need to know the encoder value at the time of capturing that particular page very accuratelly. The framegrabber board does provide a (software) signal that generates a callback. Since we do not use a realtime OS, there is non predictable delay between the actual start of capturing the first line of a page to the execution of the callback in which I can read the actual encoder position. The accuracy of the positioning mainly depends on this delay.
    Therefore I am very interested if you already found a solution for your problem, if needed with additional hardware?!?
    Looking forward to your reply!
    Robbert

  • Low level exception errors

    I have added Speedgrade filters to timelines and continually get these "Low-level exception" errors in Media Encoder when I try to render the timelines. The first timeline in the list renders without error. Subsequent timelines all fail because of the error. Any ideas?

    Hi DilipG,
    Thanks for the suggestion, I've checked it couple of times, and could see them imported...o/p as below
    <?xml version='1.0' encoding='UTF-8'?>
    <page xmlns:jrad="http://xmlns.oracle.com/jrad"
    xmlns:oa="http://xmlns.oracle.com/oa" xmlns:ui="http://xmlns.oracle.com/uix/ui"
    version="10.1.3_678" xml:lang="en-US"
    xmlns:user="http://xmlns.oracle.com/jrad/user"
    xmlns="http://xmlns.oracle.com/jrad"
    file-version="$Header:
    ipm/src/imaging-axf-integration-ebs/oaf/RedirectToAxfPG.xml /11.1.1.7.0/329
    2013/01/18 18:26:59 joxford Exp $">
    <content>
    <oa:pageLayout id="PageLayoutRN"
    amDefName="oracle.apps.fnd.framework.server.OAApplicationModule"
    windowTitle="Redirect to AXF" title="Redirect to AXF"
    controllerClass="oracle.apps.ak.ucm.axf.webui.RedirectToAxfCO">
    <ui:corporateBranding>
                <oa:image id="corporateBrandingImage"
    source="/OA_MEDIA/FNDSSCORP.gif"/>
             </ui:corporateBranding>
    </oa:pageLayout>
       </content>
    </page>
    <?xml version='1.0' encoding='UTF-8'?>
    <oa:stackLayout version="10.1.3_1086" xml:lang="en-US"
    xmlns:oa="http://xmlns.oracle.com/oa" xmlns:jrad="http://xmlns.oracle.com/jrad"
    xmlns:ui="http://xmlns.oracle.com/uix/ui"
    xmlns:user="http://xmlns.oracle.com/jrad/user"
    xmlns="http://xmlns.oracle.com/jrad" file-version="$Header:
    ipm/src/imaging-axf-integration-ebs/oaf/ManagedAttachmentButtonRN.xml
    /11.1.1.7.0/329 2013/01/18 18:26:59 joxford Exp $"
    amDefName="oracle.apps.fnd.framework.toolbox.tutorial.server.SearchAM"
    standalone="true"
    controllerClass="oracle.apps.ak.ucm.axf.webui.GenericUcmButtonCO">
    <ui:contents>
          <oa:button id="MAButton" prompt="Managed Attachments"/>
    </ui:contents>
    </oa:stackLayout>
    PL/SQL procedure successfully completed.
    Thanks
    Rajiv.

  • USB Camera and Low level VIs

    Hello all,
    I am beginner in LabView and I am seeking help for the following:
    I need to adapt a vi using a regular (analog) camera so to start using a USB camera instead. When I viewed the block diagram (which is really complicated for me) I noticed that the original programmer used the low level IMAQ VI's (e.g. IMAQ intil.vi and IMAQ configure Buffer.vi) to communicate, control and acquire images from the camera. Now, I am really confused, does these VIs work with all cameras? If not can I replace them with the IMAQ USB VIs'? How would this affect the other VIs that depends on the out come of the replaced ones? Finally, I would be glad if anyone can point out things to read so to acquire more knowledge about this subject?
    I know I asked much but really I want to learn these things as fast as possible
    Best Regards
    Mohammed

    Hello TomBaum,
    First, thanks for responding, really appreciate it.
    Sorry that I cant send the Vi itself yet I have attached a picture of the part
    that I want to modify (red rectangle).
    All I want to do is using USB camera instead of the one used now! so does
    these  low level VIs work with the USB camera
    or I should use the USB camera VIs which will mean that i will end up with many
    broken wires since low-level VIs has
    different number on inputs that the USB camera VIs
    Hope this can give you an idea.
    P.S. in case you will wonder about the sequence structure; it is  only the
    camera setting that I am interested and it is the one shown in the
    structure
    All the broken wires in the picture are going into a very larg while loop with
    many other VIs.
    Regards
    Attachments:
    pic1.PNG ‏48 KB

  • Low level disk access using win API libraries

    Hello All,
    One of my project requires "low level access to the drives (usually pen Drive)' for analysis. I think this is possible using WIN API functions, i tried to read using kernal32.dll but i am unable to complete the task effectively, since i dont have sufficient exposure to text oriented languages. Basically i need to read the memory as it is stored, just like stream of bytes. Could any one guide me how do i proceed inorder to get rid of this.
    thank you.

    Unfortunately no. You cannot mix both high and low level on the same screen. You'll probably have to draw it out yourself and capture user input, unless you're willing to use textboxes.
    Or.. i suppose you can try using customItems for all your "coloring" instead?

  • Example using low level API POI for generating Excel??

    Hi
    is anyone know good URL that teaches generating Excel using low level API using Apache POI?
    The reason is because i want to set the password for either workbook/sheet in high level API but it cant be done.
    the only thing can be done using High level API is protect sheet without password.
    Any idea?
    Thanks

    There is quite a good pack of documentation that ships with HSSF. To answer your question, I have just gone to the how to page and copied the example below, hope it helps.
    short rownum;
    // create a new file
    FileOutputStream out = new FileOutputStream("workbook.xls");
    // create a new workbook
    HSSFWorkbook wb = new HSSFWorkbook();
    // create a new sheet
    HSSFSheet s = wb.createSheet();
    // declare a row object reference
    HSSFRow r = null;
    // declare a cell object reference
    HSSFCell c = null;
    // create 3 cell styles
    HSSFCellStyle cs = wb.createCellStyle();
    HSSFCellStyle cs2 = wb.createCellStyle();
    HSSFCellStyle cs3 = wb.createCellStyle();
    HSSFDataFormat df = wb.createDataFormat();
    // create 2 fonts objects
    HSSFFont f = wb.createFont();
    HSSFFont f2 = wb.createFont();
    //set font 1 to 12 point type
    f.setFontHeightInPoints((short) 12);
    //make it blue
    f.setColor( (short)0xc );
    // make it bold
    //arial is the default font
    f.setBoldweight(HSSFFont.BOLDWEIGHT_BOLD);
    //set font 2 to 10 point type
    f2.setFontHeightInPoints((short) 10);
    //make it red
    f2.setColor( (short)HSSFFont.COLOR_RED );
    //make it bold
    f2.setBoldweight(HSSFFont.BOLDWEIGHT_BOLD);
    f2.setStrikeout( true );
    //set cell stlye
    cs.setFont(f);
    //set the cell format
    cs.setDataFormat(df.getFormat("#,##0.0"));
    //set a thin border
    cs2.setBorderBottom(cs2.BORDER_THIN);
    //fill w fg fill color
    cs2.setFillPattern((short) HSSFCellStyle.SOLID_FOREGROUND);
    //set the cell format to text see HSSFDataFormat for a full list
    cs2.setDataFormat(HSSFDataFormat.getBuiltinFormat("text"));
    // set the font
    cs2.setFont(f2);
    // set the sheet name in Unicode
    wb.setSheetName(0, "\u0422\u0435\u0441\u0442\u043E\u0432\u0430\u044F " +
                       "\u0421\u0442\u0440\u0430\u043D\u0438\u0447\u043A\u0430",
                    HSSFWorkbook.ENCODING_UTF_16 );
    // in case of compressed Unicode
    // wb.setSheetName(0, "HSSF Test", HSSFWorkbook.ENCODING_COMPRESSED_UNICODE );
    // create a sheet with 30 rows (0-29)
    for (rownum = (short) 0; rownum < 30; rownum++)
        // create a row
        r = s.createRow(rownum);
        // on every other row
        if ((rownum % 2) == 0)
            // make the row height bigger  (in twips - 1/20 of a point)
            r.setHeight((short) 0x249);
        //r.setRowNum(( short ) rownum);
        // create 10 cells (0-9) (the += 2 becomes apparent later
        for (short cellnum = (short) 0; cellnum < 10; cellnum += 2)
            // create a numeric cell
            c = r.createCell(cellnum);
            // do some goofy math to demonstrate decimals
            c.setCellValue(rownum * 10000 + cellnum
                    + (((double) rownum / 1000)
                    + ((double) cellnum / 10000)));
            String cellValue;
            // create a string cell (see why += 2 in the
            c = r.createCell((short) (cellnum + 1));
            // on every other row
            if ((rownum % 2) == 0)
                // set this cell to the first cell style we defined
                c.setCellStyle(cs);
                // set the cell's string value to "Test"
                c.setEncoding( HSSFCell.ENCODING_COMPRESSED_UNICODE );
                c.setCellValue( "Test" );
            else
                c.setCellStyle(cs2);
                // set the cell's string value to "\u0422\u0435\u0441\u0442"
                c.setEncoding( HSSFCell.ENCODING_UTF_16 );
                c.setCellValue( "\u0422\u0435\u0441\u0442" );
            // make this column a bit wider
            s.setColumnWidth((short) (cellnum + 1), (short) ((50 * 8) / ((double) 1 / 20)));
    //draw a thick black border on the row at the bottom using BLANKS
    // advance 2 rows
    rownum++;
    rownum++;
    r = s.createRow(rownum);
    // define the third style to be the default
    // except with a thick black border at the bottom
    cs3.setBorderBottom(cs3.BORDER_THICK);
    //create 50 cells
    for (short cellnum = (short) 0; cellnum < 50; cellnum++)
        //create a blank type cell (no value)
        c = r.createCell(cellnum);
        // set it to the thick black border style
        c.setCellStyle(cs3);
    //end draw thick black border
    // demonstrate adding/naming and deleting a sheet
    // create a sheet, set its title then delete it
    s = wb.createSheet();
    wb.setSheetName(1, "DeletedSheet");
    wb.removeSheetAt(1);
    //end deleted sheet
    // write the workbook to the output stream
    // close our file (don't blow out our file handles
    wb.write(out);
    out.close();

  • Require assistance on low level disk IO through Java.

    Hi
    I am looking for some java Api manual or java code for low level disk IO.
    Precise problem is, I am having minix image and a pen drive. I want to boot my pc from minix.
    In order to make pen drive bootable I need to write the image to sector 0 for which I have no idea how to do.
    Any info will be a gr8 help.
    Thanks
    Vineet.

    VineetArora wrote:
    Hi
    I am looking for some java Api manual or java code for low level disk IO.
    Precise problem is, I am having minix image and a pen drive. I want to boot my pc from minix.
    In order to make pen drive bootable I need to write the image to sector 0 for which I have no idea how to do.
    Any info will be a gr8 help.
    You can't. Give up now and choose a more suitable language for this project.

  • Can I use textfield in an application with low level api?

    Hello !
    I am developing a mobile application using the low level api.
    I have to use it, because I do a lot of coloring.
    But I want to use high level textfields as well. Is there any way
    to include them in my application without using forms?
    Does any one know, why J2ME designer's have limited the access
    to the TextField's paint()-method? That's why I cannot inherit
    from TextField and overwrite the paint() as I would like to do.
    Thanks.

    Unfortunately no. You cannot mix both high and low level on the same screen. You'll probably have to draw it out yourself and capture user input, unless you're willing to use textboxes.
    Or.. i suppose you can try using customItems for all your "coloring" instead?

  • How to low level format Mega Stick 256?

    i suspect that my mega stick has a defective point in memory  because if i delete a song  and then put some news in the stick, the drive recognizes the title of the new one but plays the old one!!!! the one that was deleted
    example
    i deleted  depeche mode - song
    later i copied in  pantera - song
    ehan i try to play pantera-song, it says that in the scrolling title on screen, but sounds depeche mode!!!!!!!!!
    so now im trying to make a low level format in case something is screwed in my mega stick
    By the way.........how much warranty gives MSI for mega sticks?  

    Thanks to all for the suggestions. I'm about to give up on it, although I will try the PowerMax software recommended by Michael Black.
    And The hatter: Don't let this burn you on Neptune drives—one of my client offices has been using about 20 of them for the past couple of years now, on a daily basis, for large-scale imaging projects, and the little drives have been real champs. We're even using them to dual-boot both Intel- and PPC-based systems, and they've just been outstanding. Methinks the component failure probably cascaded down to the drive, and while yes, it *****, such things happen in any batch of components and I'd buy another Neptune today if I had the need for yet another external.
    As for Matt Broughton: S.M.A.R.T. shows no problems when the drive is connected directly to the ATA bus. But then again, I've only run into a few drives that S.M.A.R.T. has ever reliably reported on—it's still a black art, to be sure. The WikiPedia article on S.M.A.R.T. goes into more detail about its pervasive flakiness.
    For now, the drive has begun to beep about once every 2 seconds at boot. This lasts for about 30 seconds, after which the drive continues to spin but no further beeping is heard. The drive no longer shows up in Disk Utility, even as an unmounted drive/volume. So, I'll probably try it in a PC w/PowerMax just to say that I did, but beyond that, it's probably ready for disassembly as an example drive.
    80 GB—sniffle…
    Thanks again to all for your suggestions!
    Take care,
    MBJ

  • 1.2 vindicates low-level noise removal clamor

    So... the newly released Lr-1.2/ACR-4.2 proves that the claims raised in this Forum (and the ACR forum), re the low-level noise reduction issue must have been correct, as there has been a change in 1.2. Thanks Thomas! :)
    I can see an improvement. The images lost that somewhat pixelated look the 1.1 output had.
    At one point I agreed with Jeff that the problem was not an issue in print if the image was properly sharpened for print. But, nevertheless, my images on-screen look better now. So I look forward to doing soon some test prints (with proper sharpening) and I would not be surprised if they look even better in print. :)

    Jeff,
    Thanks for the note. Your mention of "... the next major upgrade may hold even more interesting changes..." is very encouraging. I am thankful and impressed with the quick fix that the ACR team (Thomas) managed to implement, without having to add controls to the user interface. It is very clear that the Camera Raw team does indeed listen to input and constructive criticism and I, for one, really do appreciate the efforts made to come up with the current compromise between the old and new algorithms.
    For those who preferred the ACR v1.1 default NR processing, are you aware of what setting to use in the luminance NR slider in ACR v4.2/LR v1.2 which would be the closest match to the ACR v4.1/LR v1.1 zero setting?
    With regards to (not) seeing these micro-detail / micro-smoothing issues in print, I recall that you made a point in a recent post somewhere, IIRC, of not being able to see these issues on 300-480 ppi prints on a 2880 dpi printer, and of course I agree 100% with that statement. What many of us have said though, is that when making a large print where the source file might drop down to 100-120 ppi, or that in combination with cropping, upsampling and sharpening, well that is where one could see the problems upon close examination of the final large print. In other words, where the print ppi begins to approach the ppi of an average computer monitor, that is when the issues became apparent and not, of course, on most smaller prints as you described.
    In any case, seeing the improvements made by the Camera Raw team has certainly helped to reduce my anxiety levels a little... although family issues are still conspiring to keep them high. At least now I can be reasonably confident that I can continue on using that wonderful tool, "Lightroom"... :-)
    Thanks again for your reasoned input and help trying to come to grips with this matter. I do hope that in my early frustrations with the last version of ACR/LR, I wasn't one of those people making unfair accusations...
    Regards,
    Mike Mander

  • How to low-level format entire drive, including partition map?

    Hi everyone,
    I have an OWC-supplied, 80 GB, ATA hard drive (OWC Neptune), which originally shipped in an external, FireWire 400 case. The drive stopped working; disassembly of the case led to the discovery of a burned trace on the Oxford bridge. While the bare drive itself has no manufacturer name, its label style and model number listed on the drive clearly show it to be a Maxtor 6Y080L0, 80 GB.
    Having removed the drive and installed it into a test Power Mac G4, the physical drive is recognized by Disk Utility (albeit with no partitions, mounted or otherwise). The drive emits "normal" power and spin-up sounds, with no clicking or other sounds that might normally indicate a failed drive. However, Disk Utility is unable to actually partition the drive—when attempted, the "Creating Partition" progress bar advances to about 1/8 of the way across, then moves no further (even if many hours are allowed to pass). Console reveals nothing as to what is stopping the format.
    Moving further, I attempted to blow away the partition map with pdisk, but encountered several read errors in the partition map itself. I even went so far as to attempt to "build" a partition map, one partition at a time, based on the settings I found on an identical drive that is functioning properly. Although this seemed semi-successful, attempting to write the partition table again resulted in a couple of errors.
    pdisk: Unable to write block 8 (Input/output error)
    pdisk: Unable to write block 9 (Input/output error)
    pdisk: Unable to write block 10 (Input/output error)
    pdisk: Unable to write block 11 (Input/output error)
    While it's entirely possible that the blown component on the FireWire bridge might have also taken out the drive, I'm not a big believer in coincidence and my thought is that the trace blew during an access of the partition map, corrupting it to the point that only a low-level format of that portion of the drive can potentially salvage it. There is no data on the hard drive I am worried about losing, but I'm not one to easily say "die" and so I'd like to be able to restore this drive to functionality, if at all possible.
    So after setting the table for you here, my questions are as follows:
    1. Is there any way to low-level format an entire drive that does not have a readable partition map? In essence, effectively returning the drive to something resembling an out-of-box, unformatted state? CLI is fine, and I'm even open to trying to throw the thing in a PC box, install Yellow Dog Linux so as to have GUI access to pdisk, etc.
    2. Does anyone have any other suggestions for me regarding this matter?
    Thanks much for the time,
    MBJ

    Thanks to all for the suggestions. I'm about to give up on it, although I will try the PowerMax software recommended by Michael Black.
    And The hatter: Don't let this burn you on Neptune drives—one of my client offices has been using about 20 of them for the past couple of years now, on a daily basis, for large-scale imaging projects, and the little drives have been real champs. We're even using them to dual-boot both Intel- and PPC-based systems, and they've just been outstanding. Methinks the component failure probably cascaded down to the drive, and while yes, it *****, such things happen in any batch of components and I'd buy another Neptune today if I had the need for yet another external.
    As for Matt Broughton: S.M.A.R.T. shows no problems when the drive is connected directly to the ATA bus. But then again, I've only run into a few drives that S.M.A.R.T. has ever reliably reported on—it's still a black art, to be sure. The WikiPedia article on S.M.A.R.T. goes into more detail about its pervasive flakiness.
    For now, the drive has begun to beep about once every 2 seconds at boot. This lasts for about 30 seconds, after which the drive continues to spin but no further beeping is heard. The drive no longer shows up in Disk Utility, even as an unmounted drive/volume. So, I'll probably try it in a PC w/PowerMax just to say that I did, but beyond that, it's probably ready for disassembly as an example drive.
    80 GB—sniffle…
    Thanks again to all for your suggestions!
    Take care,
    MBJ

  • Question about CHKDSK ,S.M.A.R.T and low level format

    hi,
    I like to know the difference     exactly  between CHKDSK and S.M.A.R.T and low level format program(I know that  low level format  writes zero"s) I mean besides the low level format writes  zero's what onother
    benefits it  has , it repairs some bad sectors or mark bad sectors ect?
    very short explanation wil be enough.
    thanks
    johan
    h.david

    H.david
    1-CHKDSK http://en.wikipedia.org/wiki/CHKDSK  CHKDSK verifies the
    file system integrity on
    hard disks or
    floppy disk and fixes logical file system errors.
    2-S.M.A.R.T http://en.wikipedia.org/wiki/S.M.A.R.T.  smart is a monitoring system for
    computer
    hard disk drives (HDDs) and
    solid-state drives (SSDs)<sup class="reference" id="cite_ref-1">[1]</sup> to detect and report on various indicators of reliability, in the hope of anticipating failures.
    3-Low level formatting  http://en.wikipedia.org/wiki/Low_level_format
    Wanikiya and Dyami--Team Zigzag

  • Unable to create a folder in lower levels of root folder

    It appears to me I cannot create a new folder in the lower levels of root folder. Currently, I have to create a new folder right below root folder and then drag it to lower level folder. Why I can't do it in one go. Thanks!

    Hi Ray. That is normal behavior for Snow Leopard now. The OS wants to reserve the root level for itself. Also, folders you create at the root level may not accurately reflect the correct permissions.
    You want to try to keep all your files/folders in your Home (User) folder. That way all your documents remain portable when you move to another Mac or migrate your data back after an Erase & Install. If your docs are scattered all over the drive there is a chance some stuff will not get transferred during a move. So try to keep everything inside your Home folder.
    If you have to place a new folder at the root level, try creating the folder on your Desktop, then dragging it to the root level.
    And Welcome to the Macintosh!
    You might find the following links helpful:
    http://www.apple.com/support/switch101/
    http://www.apple.com/support/mac101/
    Cheers!

  • Issue in determining Low level codes

    Hi Gurus,
    We are having an issue running heuristics when running  along with Temporary low level codes. We are in SCM 7.0 environment.
    The SNP Heuristics jobs are failing with this message "Low-level code
    not available for product XXXXXXX at location XXXX
    Job cancelled after system exception ERROR_MESSAGE"
    Also, the message in the job log  for the product in was flagged for deletion and I am not too sure why is this being picked up for processing and then failing?
    I tried using SDP relevance as '1' for the product flagged for deletion for testing purposes and then the program is not considering this SKU, but stopping at another SKU and also that SKU is flagged for deletion. But the flip side of using SDP relevance is that that setting is at global level andmay have issues where the SKU is active.
    I have couple questions:
    1) Is there a way for the program to skip the code which has an error and move forward instead of failing the job? and provide a spool with error codes.Also, to provide the LLC number for all the correct SKU's instead of failing at that point and not generating the LLC's?
    2) Why is the program also considering the codes which are flagged for deletion which should not be the case?
    Also, I tried another way of maintaining the codes in thevariant which are not flagged for deletion and tried running heuristics in the background but failed at a point and it gave a message stating Low-level code not available for product XXXXXXX at location XXXX,     Job cancelled after system exception ERROR_MESSAGE
    But the product which was displayed in the job log is an active SKU. I am not too sure why the job failed with this error?
    I tried running that individual SKU in the background including the temporary determination of LLC, it was successful. I am not too sure why it failed when it was a part of selection?
    Any suggestions, would really help us a lot.
    Thanks and regards,
    Murali

    Hi Datta - Thanks for the replies. I was able to have a workaround by using selection profiles excluding the Procurement type 'P' and it worked.
    At our client, whenever a product is made 'non-X0'  in ECC, procurement type is set to 'P' and by excluding that piece in the variant I was able to continue with my processing.
    But still, don't you think the products which are flagged for deletion shouldn't be picked up heuristics?
    Thanks and regards,
    Murali

Maybe you are looking for