Advanced File I/O Techniques

Hi,
I built a Binary File writer vi and a Binary File reader vi but I can't get the file reader to read from the writer file. I get error message each time. I've attached both VIs and I will appreciate any inputs. Thanks
Attachments:
Binary File Writer.vi ‏72 KB
Binary File Reader.vi ‏16 KB

Hey Mbdeck,
First, Check your operation enum on your open/create/replace file, you are telling it to replace or create the file, eliminating the data that was there before. Try 'open' instead.
Second, you are only writing one item to the binary file, an array. If you use an array constant as the input to the data type on the read from binary file and set the number of data points to '1,'  you do not get the error. Your output will become a cluster of arrays, but it displays the same, and you can unbundle if truly necessary.
-Mello
PS looks like I crossed time with Matt above... 
Message Edited by Mellobuck on 06-10-2009 03:34 PM
Data Science Automation
CTA, CLA, CPI
SHAZAM!
Attachments:
NewBlock.JPG ‏41 KB

Similar Messages

  • Advanced File Functions

    Hello all,
    I have a subVI that deletes 5 files which should always be present on my desktop due to a run before.  However, I have to put in a fail-safe that skips the delete process if the files are for some reason missing.
    Attached is the simple file path constant and Delete file directory process that I currently use.
    Is there any way I can utilize any of the other Advanced File Functions with a Case Structure and other Boolean Functions that can detect whether or not the files are there and then delete them if they are, or just skip the delete process if the files are not there.
    Thanks
    Attachments:
    Delete Files.vi ‏16 KB

    The Delete VI will skip the process on its own. The simplest thing to do is to call it and ignore the error (for example by using the Clear Errors VI). Just make sure not to wire an error into it if you do this, because you will then clear that error.
    As for some other tips regarding this VIs -
    Using constant paths is often a bad thing, especially if your are going to build the code into an executable and\or move it to another computer. Getting the path to the desktop is done in Windows through a special function which you can call by using the Call Library Function node, or you can hold the base path in a global.
    I suggest that unless absolutely necessary, you should not save your files to the desktop, but to another folder.
    You should create error in and out terminals, so that you can control when the VI runs.
    Giving it a less generic name is also a good idea, because LV can not hold 2 VIs with the same name in memory.
    To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. Here, here, here, here and here are a few you can start with and here are some tutorial videos. You can also contact your local NI office and join one of their courses.
    In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).
    Try to take over the world!

  • Advanced file handling APIs

    Can someone suggest where can I find some advanced file handling APIs . I want to have indexed files and associated management

    Hi,
    I do not know if this can help...JAVA 1.4
    http://java.sun.com/j2se/1.4/docs/api/javax/naming/spi/DirectoryManager.html
    JAVA 1.3
    http://java.sun.com/j2se/1.4/docs/api/javax/naming/spi/DirObjectFactory.html
    http://java.sun.com/j2se/1.4/docs/api/javax/naming/spi/DirStateFactory.html
    JAVA 1.0
    http://java.sun.com/j2se/1.4/docs/api/java/io/FileDescriptor.html
    http://java.sun.com/j2se/1.4/docs/api/javax/swing/plaf/basic/BasicDirectoryModel.html
    http://java.sun.com/j2se/1.4/docs/api/javax/naming/directory/BasicAttribute.html
    http://java.sun.com/j2se/1.4/docs/api/javax/naming/directory/InitialDirContext.html
    http://java.sun.com/j2se/1.4/docs/api/javax/naming/directory/package-summary.html
    http://java.sun.com/j2se/1.4/docs/api/javax/naming/directory/Attributes.html
    Hope this helps,
    JRG

  • Itunes seems to be unable to locate original file to play songs. Songs are in the itunes media file and playable direct from file. Preferences/advance file location is correct. Some files are playing and others aren't with no obvious pattern.

    Itunes is unable to locate original file when attempting to play music. Songs are in the itunes media file and playable direct from there. Preferences/Advanced file location pointer is correct. Some songs play but most don't. I did move files around a bit in an attempt to share music with another account on same computor, however this did not work so have returned file to original location. Please help, I am way outside my feild in this one. Ta.

    I have solved the problem. i think when I moved the media file back out of public to my account, I put it back into the wrong place and ended up with a media file inside a media file, inside another media file!! So I moved it again and fixed!! Now I just need to work out why i can't share with another account user of same computor.

  • Advanced file browsing capabilities

    I would like the Finder to improve on the way it can use extended attributes...
    Currently, we can edit a property named "Spotlight Comments", which in reality is "com.apple.metadata:kMDItemFinderComment".
    In list mode we can make a column appear, with the values of those comments.
    Basic functionality missing: in list mode, we can edit the file name, but we cannot edit the comments.
    Advanced functionality missing: I would like to add user-defined columns. For example, when typing ⌘-J to have the options, the popup window could propose to create a new column, and store the value of column Toto in the extended attribute "com.apple.metadata:kMDItemFinderToto" (or use the OpenMeta framework).
    Additional functionality: export to / import from csv of all these fields.
    I guess that this will never appear in the Finder, but I want to ask anyway...

    since this is a user-to-user forum, I guess your post is wrong here.
    anyway, apple is known to leave certain advanced functionality/choices out to get a really easy-to-use and straightforward interface, so I guess your suggestions are not really the apple way to do it.
    But I bet there are finder-alternatives out there who can do a lot of stuff, maybe you should look for something like that
    Message was edited by: nachdenki

  • Advanced file info

    In windows, I can right click>properties>advanced and 'add' ID3 data to say an MP3 file, is there an equivalent OS feature, I dont want to DL a program to do this.
    I know i can do it in itunes, but i need to change the raw data file so that my Sonos sytems orders the files correctly.
    I alos tried automator to rename a batch of files from say
    01-Paul_Harcastle_Chime_andysmix.mp3
    to
    01 Chimes.mp3
    I just couldnt get it to work without indiviaully renaming EVERY FILE, I want automator to delete certs text, am I doing somehitng wrong
    Media Monkey is great on Windows for this, but alas there is no Mac version

    Besides iTunes, there isn't a way to set the tags within the OS. (although it may be possible from the command line). You might try ID3Mod or ID3 Editor.
    Unless you can tell Automator ahead of time what to remove with a pattern, it won't do what you want. There is no way I can envision a regular expression that could possibly get Chimes out of Paul_Harcastle_Chime_andysmix, except one written specifically for that specific instance, which would be superfluous since you could more easily just rename it manually.

  • Advanced APEX Tips and Techniques (tool tip, VCF), queries...

    Hi everyone,
    First of all, I would like to thank the community for their help.
    I have been working with APEX since a few months (December) ago, since then it has captivated most of my attention, because of what can be done with it…
    This time I would like to ask for your advice about some new topics (tool tip and VCF or saving contacts) in regard to APEX, I created a calendar application –works as it meant to be- but now got some question to which I have not yet found an answer, (I have already looked on some online info).
    1). Regarding to tool tip: as I mentioned before I have created a calendar application, and on it I am linking the events (specifically on calendar region) on it to some other pages, in the link that leads to the page I have put this:
    select '<a title="TGB SCHEDUL" href="f?p=&APP_ID.:5:' || :APP_SESSION || '::::P5_ID: ' || ID || '">' || EVENT_NAME|| '</a>
    ' EVENT_NAME, START_DATE
    from APP_TGB
    This script does what it is meant to do link to a specific page. As I understand tool tip, if I want some message I have to place the comments on the title=''#COMMENTS#'' as I am using mozilla, as you can see I have a phrase and I would like to adjust it to every event in particular, I thought in using bind variables, so I look in google about how to create it, found how to... but no where to apply.
    2). In concern to the VCF, I saw an example and tried to adjust it to my needs, but apparently I have done something inappropriate.
    DECLARE CURSOR member_cur IS
    SELECT id, quarter_fy08, kind_of_campaign, event_name, owner, partner, associationcollaboration, location, presales, marketing, chanel_manager, territory_manager, start_date, end_date, list, emailing, telemk, status, source_code_omo, attendees, leads, opps, budget, pipe_estimado, objetives, comments
    FROM app_tgb
    WHERE id = (
    SELECT ' f?p=&APP_ID.:5: '||:APP_SESSION||'::::P5_id: '||id||' '
    FROM APP_TGB
    BEGIN
    htp.init; -- wipe out the buffer
    owa_util.MIME_HEADER('text/x-vcard; method=request');
    for member_rec in member_cur loop
    --Get the member information
    htp.print('BEGIN:VCARD');
    htp.print('VERSION:3.0');
    htp.print('Event Details:');
    htp.print('Event ID (consecutive number):' || member_rec.id);
    htp.print('Quarter FY:' || member_rec.quarter_fy08 || ';;Event Name:' || member_rec.event_name ||';;Kind of Campaign:' || member_rec.kind_of_campaign);
    htp.print('Start date:' || member_rec.start_date ||';;End date:' || member_rec.end_date ||';;Location:' || member_rec.location);
    htp.print('Partner:' || member_rec.partner ||';;Association/Collaboration:' || member_rec.associationcollaboration);
    htp.print('Owner:' || member_rec.owner ||';;Marketing:' || member_rec.marketing ||';;Presales:' || member_rec.presales);
    htp.print('Chanel Manager:' || member_rec.chanel_manager ||';;Territory Manager:' || member_rec.territory_manager);
    htp.print('Call for Entries:');
    htp.print('List:' || member_rec.list ||';;Emailing:' || member_rec.emailing ||';;Telemk:' || member_rec.telemk);
    htp.print('Event status:');
    htp.print('Status:' || member_rec.status ||';;Emailing:' || member_rec.emailing ||';;Source Code (OMO):' || member_rec.source_code_omo);
    htp.print('Investment & Results:');
    htp.print('Attendees:' || member_rec.attendees ||';;Leads:' || member_rec.leads ||';;Opps:' || member_rec.opps);
    htp.print('Budget:' || member_rec.Budget ||';;Pipe Estimado:' || member_rec.pipe_estimado ||';;Objetives:' || member_rec.objetives);
    htp.print('Comments:');
    htp.print('Comments:' || member_rec.comments);
    htp.print('REV:20050707T234724');
    htp.print('END:VCARD');
    end loop;
    END;
    3). Referring to user groups, I have read on chapter 8, that creating groups I will be able to restrict access to various parts of an application, so I did create them and applied them but once again something happens.
    Re: authorization scheme methods/techniques
    What I am trying to do with the users, is to restrict their access to specific pages, so for example let's say that I do have these pages.
    Start, calendar, insertion, update and report, on the start page I have a link to the insertion page, that I want it to be accessed just by those users who have some privileges (which I understand can be done with groups, to manage who can access to a page and who can not.), and to allow other user to go around to the allowed areas.
    I do appreciate any kind of help or guidance.
    Best regards,
    Jaison José González Chaux

    ABOUT VCF IN APEX
    Hi everyone,
    This time I will like to ask you for some advise in regard to VCF, the picture is this.
    VCF in theory is working and on practice is working more or less… I say more or less because of this…
    This is a small idea of my application.
    I have a test application on APEX that is a calendar to insert data, on the page where I do have the calendar I have some hyperlinks for insertion and for viewing the reports, and on the calendar itself I do have a link for updating the event.
    I have assigned the VCF file to the updating page (page that is linked from the calendar) and bring in the values that are meant to be, in theory it should create the VCF file well but it does not.
    The only way it does create the VCF file is when I insert a new registry, click insert and then on the status bar of the browser (in my case mozilla firefox) hit the back button, then the VCF file is created as it’s meant to be.
    I will appreciate if anyone can give me a hint, a suggestion, anything :)
    I will attach the code I use for the VCF file.
    declare
    cursor user_cur is
    select ID, OWNER
    from APP_TGB
    where ID = :p2_ID;
    l_ID number;
    l_OWNER varchar2(60);
    begin
    htp.init; -- Wipe out the buffer
    owa_util.MIME_HEADER('text/calendar; method=request');
    -- Get the event information
    htp.print('BEGIN:VCALENDAR');
    htp.print('PRODID:-//Microsoft Corporation//Outlook 9.0 MIMEDIR//EN');
    htp.print('VERSION:2.0');
    htp.print('METHOD:PUBLISH');
    htp.print('BEGIN:VEVENT');
    htp.print('ORGANIZER:MAILTO: [email protected]');
    htp.print('LOCATION: Application ' || :APP_ID);
    htp.print('TRANSP:OPAQUE');
    htp.print('SEQUENCE:0');
    htp.print('Today is: ' || to_char(sysdate, 'yyyy-mm-dd') || ' ' || to_char(sysdate, 'hh24:mi:ss'));
    htp.print('OWNER: (' || nvl(v('P2_OWNER'),l_OWNER) || ') ');
    htp.print('PRIORITY:5');
    htp.print('CLASS:PUBLIC');
    htp.print('BEGIN:VALARM');
    htp.print('TRIGGER:PT60M');
    htp.print('ACTION:DISPLAY');
    htp.print('DESCRIPTION:Reminder for account expiring');
    htp.print('END:VALARM');
    htp.print('END:VEVENT');
    htp.print('END:VCALENDAR');
    end;
    The distribution of my pages is the following:
    1. pag_inicio, the form of referring to it is p1_”any-atribute”… on this page there are the hyperlinks (insertion and report viewing) and the calendar itself.
    2. pag_insertion, the form of referring to it is p2_”any-atribute”… on this page there are the insertion fields and a VCF button, create and cancel ones.
    3. pag_update, the form of referring to it is p3_”any-atribute”… on this page there are the fields where the information is brought up, and a VCF, update and cancel buttons.
    4. pag_report, the form of referring to it is p4_”any-atribute”… on this page you can see the fields in a report format.
    5. checking_events, the form of referring to it is p5_”any-atribute”… this page is like the updating one, but with letting the user modify any value, it has a VCF.
    6. pag_VCF, where the VCF code is.
    I do appreciate your help and guidance.
    Best regards,
    Jaison J. González Chaux

  • Advanced file manipulation - *.sdf

    I am wondering if anyone else has attempted to tackle Hewlett-Packard's
    preferred Standard Data Format (.sdf) files with Labview?
    I am working an application right now that requires HP instrumentation. I
    would like to use Labview to batch process the data files. HP's software is
    severly lacking in that it only handles 1 file at a time, and it is msdos
    based at that. HP has no intention of writing .dlls for win95, 98 or NT
    interface.
    The file structure is extensive, with more header fields than data. A lot
    of the header info is useless.
    If anyone has any ideas, I would most certainly appreciate it.
    Thanx
    Reply to group.

    i have the same problem, viewdata is a soft solution, if you have a solution, please report me, i am searching a solution, when i get it i put it in the group.

  • Advanced File Attachment

    Hi to all;
    I'm practicing with javascript file attachment using dataObjects. I created a simple list box to show up all the files attached to the form linked to an Upload Button click event. Obviously if someone changes the attachment list through the attachment tab in adobe reader menu the list doesn't update.
    Do you know how to intercept directly the upload attachment event?

    Hi ʇɐb ɹəuəllıʍ
    Tanks for your answer.
    The Windows 7 network troubleshooter cant' find anything.
    I waited till the flash update will be released. Installed it. Checked it. And unfortunately found, this isn't the answer for my problem.
    The network connection is dead.
    HELP ???

  • I am a new user

    Hi
    I am a new user to Labview and really keen to develop my skills on labview.
    I am planning to take a basic training from NI instruments and the following courses which i have
    decided to do. Please suggest me whether it is the right way to move forward.
    Labview Basic 1
    Labview Basic 11
    Regards
    Deepaa

    Hi Deepaa,
    Thank you for your post.
    The LabVIEW Basics I (LVB1) course is designed to give the user an orientation and introduction to the LabVIEW world.
    The course assumes the user has never used LabVIEW before, and may not have programmed before (although it is a bonus if you have encountered both). As such you are taught some of the basic concepts of LabVIEW programming- modular programming, repetition and loops, arrays, decision making, string and file I/O. Alongside these your are taught the basics of how to acquire data from DAQ cards, and the use NI-VISA for instrument control.
    The LabVIEW Basics II (LVB2) course concentrates more on development and implementing the tools learned about in LVB1, i.e.- planning your LabVIEW application, VI design techniques, object properties, local and global variables, advanced file I/O techniques, project management, and remote data mangement.
    On the courses you will be provided with a Course Manual, which holds the course information, and exercises (and a problems and solutions CD). You will be taught by one of NI's Application Engineers, who will explain the concepts, demonstrate, and help you through the hands-on exercises.
    Having taken, and taught these courses I would suggest two things:
    i) As suggested by Vicky, install LabVIEW (30-day trial or otherwise) and take some time to look at some of the examples, and try to generate some of your own code. This should familiarise you with the LabVIEW language & environment and, as Vicky said, build your confidence before coming on the courses.
    ii) LVB1 runs Monday-Wednesday, and LVB2 runs Thursday & Friday. So it is possible to take a 1 week intensive course. However I would advise (from experience) booking both courses, but taking a couple of weeks between them so you may absorb the material, experiment with LabVIEW, and re-read the LVB1 course manual to reiterate some of the concepts.
    Please reply if you would like any further information.
    Thanks,
    Field Sales Engineer | National Instruments | UK & Ireland

  • SQL*Loader with multiple files

    Gurus,
    I search the documentation and this forum and haven't found a solution to my issue yet...
    I am not expert of SQL*Loader. I have used SQL*Loader to copy from one file to a table many times. But I have not copied multiple files into one table especially with different names.
    More specifically....
    I need to load data from multiple files into a table. But the file names will be different each time. A file will be created every hour. The file name will consist of the root file name appended by a time stamp. For example, a file created on 10/07/2010 at 2:15 P.M. would be filea100720101415.txt while a file created on 10/08/2010 at 8:15 A.M. would be filea100820100815.txt. All the files will be in one directory.How can I load the data from the files using SQL*Loader?
    My database: Oracle 10g Release 2
    Operating System: Windows 2003 Server
    Please assist.
    Robert

    sect55 wrote:
    Gurus,
    I search the documentation and this forum and haven't found a solution to my issue yet...
    I am not expert of SQL*Loader. I have used SQL*Loader to copy from one file to a table many times. But I have not copied multiple files into one table especially with different names.
    More specifically....
    I need to load data from multiple files into a table. But the file names will be different each time. A file will be created every hour. The file name will consist of the root file name appended by a time stamp. For example, a file created on 10/07/2010 at 2:15 P.M. would be filea100720101415.txt while a file created on 10/08/2010 at 8:15 A.M. would be filea100820100815.txt. All the files will be in one directory.How can I load the data from the files using SQL*Loader?
    My database: Oracle 10g Release 2
    Operating System: Windows 2003 Server
    Please assist.
    RobertToo bad this isn't in *nix, where you get a powerful shell scripting capability. 
    That said, here is the core of the solution .... you will also need a way to identify files that have been processed vs. new ones. Maybe rename them, maybe move them. But with this sample you can see the basics. From there it is really an issue of DOS scripting, which would better be found by googling around a bit.
    cd c:\loadfiles
    FOR %%datfile IN (*.txt) DO SQLLDR CONTROL=sample.ctl, LOG=sample.log, BAD=baz.bad, DATA=%%datfileTry googling "dos scripting language". You'll find lots of tutorials and ideas on "advanced" (well, as advanced as DOS gets) techniques to solve your problem.
    Edited by: EdStevens on Dec 1, 2010 5:03 PM

  • Mapping Techniques

    Hi,
    types of Mapping Technigues in PI 7.0/PI7.1

    These links provided below will deal with various techniques that are handled in mappings.
    Simple java code in graphical mapping - XI
    The specified item was not found.
    GlobalContainer - in graphical mapping (XI)
    The specified item was not found.
    XI: How to test your mapping (in real life scenarios)
    The specified item was not found.
    XI: XML node into a string with graphical mapping?
    The specified item was not found.
    Sending Java code as payload to do mapping in XI
    Sending Java code as payload to do mapping in XI
    Skelton of Mapping Runtime in SAP XI Did we bother to understand why the RFC Destination AI_RUNTIME_JCOSERVER is very important
    Skelton of Mapping Runtime in SAP XI
    Accessing System Parameters in Mapping Runtime
    Accessing System Parameters in Mapping Runtime
    Message Mapping Simplified - Part II NODE FUNCTIONS
    Message Mapping Simplified - Part I
    /people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
    Limitations of Message Mapping Editor in XI-Can we make it user-friendlier?
    Limitations of Message Mapping Editor in XI-Can we make it user-friendlier?
    The Use of "suppress" in the XI 3.0 Graphical Mapping Tool
    The Use of "suppress" in the XI 3.0 Graphical Mapping Tool
    New functions in the Graphical Mapping Tool SP13
    New functions in the Graphical Mapping Tool XI 3.0 SP13
    SAP PI 7.1 Mapping Enhancements Series: Correct Structural Inconsistencies
    SAP PI 7.1 Mapping Enhancements Series: Correct Structural Inconsistencies
    SAP PI 7.1 Mapping Enhancements Series: Graphical Support for JDBC and RFC Lookups
    SAP PI 7.1 Mapping Enhancements Series: Graphical Support for JDBC and RFC Lookups
    SAP PI 7.1 Mapping Enhancements Series: Parameterized Message Mappings
    SAP PI 7.1 Mapping Enhancements Series: Parameterized Message Mappings
    SAP NetWeaver Process Integration 7.1: Mapping Enhancements Blog Series
    SAP NetWeaver Process Integration 7.1: Mapping Enhancements Blog Series
    SAP PI 7.1 Mapping Enhancements Series: Mapping Enhancements Demo
    SAP PI 7.1 Mapping Enhancements Series: Mapping Enhancements Demo
    SAP PI 7.1 Mapping Enhancements Series: Copy XML Subtree
    SAP PI 7.1 Mapping Enhancements Series: Copy XML Subtree
    SAP PI 7.1 Mapping Enhancements Series: Using Graphical Variable
    SAP PI 7.1 Mapping Enhancements Series: Using Graphical Variable
    SAP PI 7.1 Mapping Enhancements Series: Share User-Defined Functions
    SAP PI 7.1 Mapping Enhancements Series: Share User-Defined Functions
    SAP PI 7.1 Mapping Enhancements Series: Import SQL Table's Metadata
    SAP PI 7.1 Mapping Enhancements Series: Import SQL Table's Metadata
    Using Folders in PI 7.1
    Using Folders in PI 7.1
    TechEd 2006: EPI351 - Graphical Mapping Tool-Advanced Message Mapping
    TechEd 2006: EPI351 - Graphical Mapping Tool–Advanced Message Mapping
    Minimize memory usage during Message Mapping when replicating an element
    Minimize memory usage during Message Mapping when replicating an element
    New Arithmetic and Statistical Functions in Message Mappings in SP18
    New Arithmetic and Statistical Functions in Message Mappings in SP18
    Never, ever use XI's built-in arithmetic functions
    Never, ever use XI's built-in arithmetic functions
    Sequence Number Generation: Mapping Pattern in PI
    Sequence Number Generation : Mapping Pattern in PI
    Summarization: Mapping Pattern in PI
    Summarization : Mapping Pattern in PI
    Message Mapping - using of E1BPPAREX => experience in the aspect of maintenance and customer usability
    Message Mapping - using of E1BPPAREX => experience in the aspect of maintenance and customer usability
    Duplicating Sub trees and Numbering Them Using the Graphical Mapping Tool
    Duplicating Subtrees and Numbering Them Using the Graphical Mapping Tool
    Message Splitting Using the Graphical Mapping Tool
    Message Splitting Using the Graphical Mapping Tool
    Replication of Nodes Using the Graphical Mapping Tool
    Replication of Nodes Using the Graphical Mapping Tool
    Standard functions in message mapping
    http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/frameset.htm
    New Arithmetic and Statistical Functions in Message Mappings in SP18
    New Arithmetic and Statistical Functions in Message Mappings in SP18
    Hack: Using XPATH in XI Message Mappings
    Hack: Using XPATH in XI Message Mappings
    Message mapping verification
    Message mapping verification
    Mapping Context Changes in XI
    Mapping Context Changes in XI
    Mapping trouble shooting
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e01e9400-9e81-2910-20a5-a862945a5e98
    Mapping Context Changes in XI
    Mapping Context Changes in XI
    File Content Conversion for Multi Hierarchical Structure
    File Content Conversion for Multi Hierarchical Structure
    Number formatting to handle LARGE Numbers
    Number formatting to handle LARGE Numbers
    Optimizing Lookup's in XI
    Optimizing Lookup's in XI
    Data Mining using APriori Algorithm in XI - Part I, II & III
    /people/jeyakumar.muthu2/blog/2005/12/19/data-mining-using-apriori-algorithm-in-xi-150-part-ii
    /people/jeyakumar.muthu2/blog/2005/12/30/data-mining-using-apriori-algorithm-in-xi-150-part-iii
    /people/jeyakumar.muthu2/blog/2005/11/23/data-mining-using-apriori-algorithm-in-xi-150-part-i
    Java Mapping to handle flat files in SAP XI
    Java Mapping to handle flat files in SAP XI
    xpath functions in xslt mapping
    xpath functions in xslt mapping
    "JAVA MAPPING", an alternate way of reading a CSV file
    "JAVA MAPPING", an alternate way of reading a CSV file
    B2B Mapping Techniques Using the Graphical Mapping Tool
    B2B Mapping Techniques Using the Graphical Mapping Tool
    How to parse "XX/YY/ZZ;AA/BB/CC;11/22/33" in message mapping
    How to parse "XX/YY/ZZ;AA/BB/CC;11/22/33" in message mapping.
    Introduction to queues in message mapping
    Introduction to queues in message mapping
    ValueMapping using the Graphical Mapping Tool
    ValueMapping using the Graphical Mapping Tool
    Accessing Value Mapping defined in Directory using Java functions
    Accessing Value Mapping defined in Directory using Java functions
    Multi-Mapping without BPM - Yes, it's possible!
    /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
    Designing Mapping:
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/58cd3b11571962e10000000a11402f/content.htm
    User-Defined Functions
    http://help.sap.com/saphelp_nw04/helpdata/en/22/e127f28b572243b4324879c6bf05a0/content.htm
    Standard Functions
    http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/content.htm
    Runtime Procedure
    http://help.sap.com/saphelp_nw04/helpdata/en/3d/24e15bf9d79243b45d49b13b03de8f/content.htm
    Mapping Fields Within a Context
    http://help.sap.com/saphelp_nw04/helpdata/en/e4/82cf0ec8b9494db92e27e2be69524f/content.htm
    Structure Mapping by Setting the Context
    http://help.sap.com/saphelp_nw04/helpdata/en/bd/ca1105c81c6742a0f8c8d49f8834bf/content.htm
    Comparing Performance of Mapping Programs
    Comparing Performance of Mapping Programs
    Mapping examples:
    New functions in the Graphical Mapping Tool XI 3.0 SP13
    All mapping concepts:
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/mappingConceptsinSAPXI
    Comparison of various Mappings:
    Comparing Performance of Mapping Programs
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/mapping%2btechniques
    How to test mapping:
    The specified item was not found.
    Mappings:
    http://help.sap.com/saphelp_nw04/helpdata/en/73/f61eea1741453eb8f794e150067930/frameset.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9202d890-0201-0010-1588-adb5e89a6638
    Message Mapping:
    http://help.sap.com/saphelp_erp2004/helpdata/en/3d/24e15bf9d79243b45d49b13b03de8f/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/49/1ebc6111ea2f45a9946c702b685299/frameset.htm
    Message Mapping Simplified - Part I - Sravya Talanki
    /people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii - Sravya Talanki
    Java Mapping:
    Testing and Debugging Java Mapping in Developer Studio
    Java Mapping (Part I)
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/43/09b16006526e72e10000000a422035/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/e2/e13fcd80fe47768df001a558ed10b6/content.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a08e8c15-682d-2b10-7798-c4592a417074 - by Santhosh
    XSLT Mapping:
    Step – By – Step Simple Approach for XSLT Mapping
    File to Multiple IDocs (XSLT Mapping)
    The specified item was not found.
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/43/03fe1bdc7821ade10000000a1553f6/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/73/f61eea1741453eb8f794e150067930/content.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/30ac53f2-21d7-2a10-afa2-ce1a0577ca18
    Excellent PDF Document on Mapping
    http://help.sap.com/bp_bpmv130/Documentation/Operation/MappingXI30.pdf
    Mapping Development with the ABAP Workbench
    http://help.sap.com/saphelp_nw04/helpdata/en/10/5abb2d9df242f6a62e22e027a6c382/content.htm
    ABAP Mappings
    http://help.sap.com/saphelp_nw04/helpdata/en/ba/e18b1a0fc14f1faf884ae50cece51b/content.htm
    how to create a flat file out of an IDoc-XML by means of an ABAP mapping program and the J2EE File Adapter.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/46759682-0401-0010-1791-bd1972bc0b8a
    Generic XSLT Mapping for SAP XI,Part I
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/01a57f0b-0501-0010-3ca9-d2ea3bb983c1
    Generic XSLT Mapping for SAP XI,Part II
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9692eb84-0601-0010-5ca0-923b4fb8674a
    XSLT: Recursive Templates
    XSLT: Recursive Templates
    Easy RFC lookup from XSLT mappings using a Java helper class
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/05a3d62e-0a01-0010-14bc-adc8efd4ee14
    ABAP Mapping:
    http://help.sap.com/saphelp_nw04/helpdata/en/ba/e18b1a0fc14f1faf884ae50cece51b/content.htm

  • Can someone tell me if there's a problem with my recursive file search?

    I've been trying to get a recursive file search working. I wanted to go through each directory and add every file to a database so I can use extremely fast, advanced file searches through my program. I wrote up this code
    <CODE>
    package myrecursive;
    import java.io.*;
    public class MyRecursive {
    public static void main(String[] args) {
    recursiveSearch("D:/");
    private static void recursiveSearch(String x) {
    String tempFile="";
    File dir = new File(x);
    File[] curDir = dir.listFiles();
    for (int a=0;a<curDir.length;a++) {
    if (curDir[a].isDirectory()==false) System.out.println(curDir[a]);
    else {
    tempFile=curDir[a].toString();
    recursiveSearch(tempFile);
    </CODE>
    The code was simple but I didn't think I could write it like this without killing my resources or getting a buffer overload. I ran it and it worked. However, I am running a high end box with 512MB of RAM and a 2.4 GHz processor so I don't know if what worked for me will work on a lower end machine. I was told you should avoid calling a method from itself is this true? How would I avoid it? Should I keep it this way? Any recommendations?
    NOTE: I ran the code through JBuilder. JBuilder has a console built into the IDE and will return a noise and the error code whenever it hits an error. Although my app kept shooting out files it found out I heard a noise a few times. Does this mean anything?

    First the formatting tags should be "[ ]" not "< >".
    I was told you should avoid calling a method from itself is this true?Recursion is a valid programming technique and in fact makes many algorithms much easier to code.
    so I don't know if what worked for me will work on a lower end machineIt may be a little slower but it will still work. Recursion only causes a problem with resources when you have many levels of recursion. On my system I have:
    C:\WINDOWS\TEMP\Temporary Internet Files\Content.IE5\
    In this case there is only 4 levels of recursion. This is not going to cause a problem. You would generally only have problems if your recusion routine is not working correctly and you get in an infinite loop which will lead to resource problems and an abend.
    In your particular case you aren't even using many resources at all since all you are doing is printing the file name.
    This [url http://forum.java.sun.com/thread.jsp?forum=57&thread=435487&start=3&range=1]post shows a recursive routine that list all files for a directory and displays them in a table. In this cause you might have a problem with resources depending on the number of files in the directory. But the resource problem is because of the memory to hold the filenames in the table, not because a recursive routine was used to get the filename.

  • How to open an excel file from labview?

    I tried to use "open file" vi from File I/O -- Advanced file functions to open an excel file in LabVIEW. Why the excel file wouldn't open after I run the program?

    In addition to ActiveX, you can also manipulate Excel data files using the Windows ADO interface - a technique that is more robust, faster and IMHO easier. Do a search on the forum as there have been several threads within the last week or so discussing this very thing.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Filename on file download from jsp

     

    This may help:
              ----- Original Message -----
              From: "Erik Lindquist" <[email protected]>
              Newsgroups: weblogic.developer.interest.jsp
              Sent: Wednesday, June 28, 2000 6:20 PM
              Subject: How to dynamically display images in JSPs
              > This took a little while to figure out so I thought I'd share. After
              > doing some research I was led to the following approach on how to load
              > images from an Oracle database into a JSP:
              >
              > The "main" JSP:
              >
              > <HTML>
              > <head>
              > <title>Image Test</title>
              > </head>
              > <body>
              > <center>
              > hello
              > <P>
              > <img border=0 src="getImage.jsp?filename=2cents.GIF">
              > <P>
              > <img border=0 src="getImage.jsp?filename=dollar.gif">
              > <P>
              > world
              > </body>
              > </HTML>
              >
              >
              > And this is the image getter:
              >
              > <% try {
              > response.setContentType("image/gif");
              > String filename = (String) request.getParameter("filename");
              > java.sql.Connection conn =
              > java.sql.DriverManager.getConnection("jdbc:weblogic:pool:orapool"); //
              > connect to db
              > java.sql.Statement stmt = conn.createStatement();
              > String sql = "select image from testimage where filename = '" +
              > filename + "'";
              > java.sql.ResultSet rs = stmt.executeQuery(sql);
              > if (rs.next()) {
              > byte [] image = rs.getBytes(1);
              > java.io.OutputStream os = response.getOutputStream();
              > os.write(image);
              > os.flush();
              > os.close();
              > }
              > conn.close();
              > }
              > catch (Exception x) { System.out.println(x); }
              > %>
              >
              >
              > The thing to note is that there are no <%@ page import="..." %> or <%@
              > page contentType="..." %> tags - just the single scriptlet. It
              > seems that for every "<%@" the weblogic compiler sees it puts
              > out.print("\r\n"); statements in the generated java source.(???) I
              > don't know much about how browsers work but I think that once it sees
              > flat ascii come at it it treats everything that follows as text/plain
              > which is incorrect for the binary stream that's being sent. Another
              > work around was to set out = null; but that's kind of ugly and might
              > produce server errors. The real fix is to write a bean to handle images
              > which I'll work on next (does anybody have any hints on how to do
              > that?)
              Cameron Purdy
              [email protected]
              http://www.tangosol.com
              WebLogic Consulting Available
              "Ramesh" <[email protected]> wrote in message
              news:[email protected]...
              >
              > Hi,
              >
              > Even I could download the files with this technique, I couldn't open the
              file downloaded. It seems the file is getting currepted during tranfer.. Can
              u help me in this regard please?
              >
              > Thank u
              > Ramesh
              >
              > [email protected] (Anders B. Jensen) wrote:
              > >In an Web-application written in Java Server Pages it should be possible
              > >for the user to download data from the web-server. The data will never
              > >exist as a file on the web-server, only in the PrintWriter object, out.
              > >To force the Internet Explorer (IE) to show the download dialog window
              > >the Contenttype of the HTTP-header have been set to "html/transfer". The
              > >question is:
              > >
              > >Is it possible to set the filename appearing in the download dialog
              > >appearing on the client?
              > >
              > >
              > >Below is a listing of the source-code:
              > >
              > ><%@ page extends="com.beasys.portal.admin.PortalJspBase"%>
              > ><jsp:useBean id="download" scope="session" class="dk.lec.DownloadData" />
              > >
              > ><%
              > > String tmpstr;
              > > response.setContentType("html/transfer");
              > > out.clear();
              > > tmpstr=download.getStrbuffer().toString();
              > > out.println(tmpstr.trim());
              > >%>
              > >
              > >
              > >Anders B. Jensen
              > >Consultant, Research & Development
              > >LEC AS
              > >
              > >Remove the SPAMLESS to mail me.
              >
              

Maybe you are looking for

  • Rollover image works on dreamweaver/preview but not on website

    Hey everybody so I'm working on a site for my new clothing line and I am frustrated out of my mind right now because everything seemed to work fine until I published the site my biggest problem right now is that the rollover images I'm using do not s

  • Configuring TV-OUT in MX400D-T64

    Hello, I have a MSI MX400D-T64 with a GeForce2 chip, and I have configured the card to show the image on the PC monitor and on a TV. The result is that I can see the same image on both the monitor and the TV , but the TV does not show the whole  imag

  • Access Imported Archive in User Defined Function

    Hi! I want to access a XML file in an user defined function in a message mapping. The XML file is included in an imported archive. I need the information out of this XML file for configuring an extended receiver determination. Does anyone know how to

  • Gprs connection between two mobile phones

    Hi is it possible to make a gprs connection between two mobile phones without a server(pc...)? when the answer "yes" please give me an exapmle...

  • Portal content search still case sensitive in EP7?

    Hi, Is searching in portal content still case sensitive in EP7?  In other words, if you go to Content Administration -> Search -> iView and type in the name, is this type of search still case sensitive?  If not, how do I fix it? Any help is greatly a