Anyone have an example of a delimiter-based eText template?

Would REALLLLY appreciate it. We are trying to get eText out of Bi Publisher and want a delimited format. I have only done fixed position.

can you please post an example for both - delimiter based and fixed position based. I am not able to process the output. You can mail at [email protected]
Thanks,
sbedi

Similar Messages

  • Does anyone have an example VI about how to call the animatewindow function in the user32.dll using CLN in Labview?

      I want to call the WinAPI function-animatewindow in user32.dll to produce some special effect when showing or hidding windows, but i don't know how to using this Win API to achieve my purpose?
      Does anyone have an example VI about this application?
      Thanks in advance for your help.

    You have to use the Call Library Function Node to call Windows API functions. The animatewindow function itself has some pretty simple parameters. You first need to get the window handle. There are a set of Windows API Function Utilities (32-bit) for LabVIEW that you can use. In there there is a VI (Get Window Refnum) that gets the window handle. It's a simple call to a Windows API function. You would call the animatewindow function in the same way. In this case there are 3 parameters: the window handle (returned by a FindWindow API call), a DWORD (32-bit integer) for the duration, and another DWORD for the flags.

  • Is anyone have an example code on CAN Periodic Transmission

    I'm looking for an example code for a CAN periodic transmission in Labwindows CVI, because the example deliver with NICAN is not interesting for me.
    If anyone have an example code,

    Hi Lilian,
    The Obj2Obj.c example shows how to configure a CAN object for periodic Tx (one frame each second).
    In this case, the write queue length is set to 0, which means that the last written value is transmitted. You can set a non-zero queue length to transmit a set of frames.
    DiegoF
    National Instruments.

  • Anyone have an example of a PCI-6250 Digital and Analog Aquistion with Analog Post-Trigger?

    Hey All,
    We're trying to set up a post trigger data capture of parallel absolute strobed Gurley 17-bit encoder data (ignoring MSB for 16-bit aquisition) with an analog signal that is the output of a torque load cell.  The trick is to use the analog signal level as a post-trigger to stop the data aquisition.
    1) can the analog signal be recorded and used as the trigger?
    2) does anyone have an example using the PCI-6250 (or 6251)
    Thanks in advance for your help,
    -Drewksi 

    Hi Drewski,
    You can use the APFI0 line as an analog trigger for your signal. However, in this case you need to connect your analog signal to both the analog channel you want to acquire at and the APFI0 line.
    Assuming you are using LabVIEW,you can check the "Acq&Graph Voltage-Ext Clk-Analog reference.vi" example. This examples uses an external clock but it works also with the internal clock. All you have to do to change the control to onboard clock.
    You can find this example in LabVIEW Help >> Find Examples >> Hardware Input and Output >> DAQmx >> Analog Measurement >> Voltage
    Best Regards,
    Faris
    Bueller

  • Does anyone have an example code to use mx:ViewStack with my application.

    Does anyone have an example code to use <mx:ViewStack>
    with my application.
    I don't know about how to put value to it and use value in
    it.

    http://livedocs.adobe.com/flex/2/langref/mx/containers/ViewStack.html#includeExamplesSumma ry
    That should be what you're looking for.

  • Does anyone have an example to share of using a variable in a proc call?

    I would like to use a value from a table to call a procedure in ActionScript. Can anyone share an example with me? TIA,
    Deb.
    (For example
      var proc_name_from_table:String;
       var command_proc:String;
      command_proc="mx.core.FlexGlobals.TopLevelApplication." + proc_name_from_table;
      command;
    Or something like that (just to give you an idea where I am heading).
    It is for a site map application that gets values from a table and I don't want to write a huge if statement with specific, hard-coded calls.)

    You have to use the Call Library Function Node to call Windows API functions. The animatewindow function itself has some pretty simple parameters. You first need to get the window handle. There are a set of Windows API Function Utilities (32-bit) for LabVIEW that you can use. In there there is a VI (Get Window Refnum) that gets the window handle. It's a simple call to a Windows API function. You would call the animatewindow function in the same way. In this case there are 3 parameters: the window handle (returned by a FindWindow API call), a DWORD (32-bit integer) for the duration, and another DWORD for the flags.

  • Preview of Fixed Position Based eText template displays the formatting

    Hi,
    I am trying to create an EFT template using the eText Fixed Position Based instructions. I copied an existing Fixed Position Based template and made the changes that were needed. When I hit the Preview link, it displays the payments in the formatted template, not in the output that I'm trying to create by using the template.
    Can anyone tell me what step I'm missing? I have created other types of templates and they preview fine.
    Thanks

    There is no difference between DELIMITER_BASED and FIXED_POSITION_BASED
    you can pick up the fixed and convert it into delimiter based,
    allowed columns are MaximumLength,Format,Data,Tag,Comments. delete the rest of the columns.
    And for DELIMITER_BASED templates,After every data field row,you have to insert a delimiter row and put appropriate field delimiters in separate rows between the fields.

  • Anyone have a example for useing volitile image in exclusive mode with

    i need a example of how to use a volitile image in exclusive mode with active rendering .
    anyone know of one or even partial code of how to do it ive been racking my brain trying to figure out how to do it.
    or even a example of fullscreen that i can use to draw to the screen in exclusive fullscreen mode.
    and im not talking about the sun tutorial no one can even answer my question about it when i asked in the java forum

    by the way, here's a commented version of the example I gave earlier in case the puzzle pieces are upside down for you...
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.image.*;
    /* Goes into FullScreen with 640x480 16 bit
    * Not all proper checks are made (like getting available DisplayModes),
    * But you can always look at the doc for the rest of the checks. Besides,
    * What computer doesn't have 640x480...?
    public class Example extends Frame implements Runnable, KeyListener {
         VolatileImage v;
         int w,h,x,size; // x and size are for the moving ball
         boolean done; // when this is true, the program exits
         public Example() {
              /* Sets up the frame to be used for fullscreen */
              super(GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice().getDefaultConfiguration());
              GraphicsDevice device = GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice();
              /* the below 2 methods aren't required
              * but using them results in best performance.*/
              setUndecorated(true);
              setIgnoreRepaint(true);
              /* A few mandatorial checks */
              if (device.isFullScreenSupported()) {
                   device.setFullScreenWindow(this);
              if (device.isDisplayChangeSupported()) {
                   device.setDisplayMode(new DisplayMode(640,480,16,0));
              /* our frame must be showing before we
              * we create our BufferStrategy or image,
              * in this case a VolatileImage.
              * Showing our frame also switches to
              * fullscreen mode.
              show();
              w = getSize().width;
              h = getSize().height;
              x = 0;
              size = 30;
              v = createVolatileImage(w,h); // creates volatile image (duh)
              done = false; // program exits when true
              addKeyListener(this); // used for exiting
              new Thread(this).start(); // starts the thread
         public void run() {
              while (!done) {
                   x += 2; // increase ball location
                   if (x >= w-size) x = 0; // back to left if all the way right
                   /* You could also use repaint() here,
                   * but you won't get a screen update
                   * until the system decides it's time.
                   * calling paint(getGraphics()) is much faster
                   paint(getGraphics());
                   /* Pausing of the thread... */
                   try {
                        Thread.sleep(1);
                   catch (InterruptedException e) {
                        done = true; // exit if there was some error
              System.exit(0); // this won't be called until done is true
         public void paint(Graphics g) {
              /* this attempts to get the graphics
              * from VolatileImage */
              Graphics gfx = v.getGraphics();
              /* If VolatileImage has no image memory,
              * we restore it and get the graphics for it */
              while (v.contentsLost()) {
                   if (v.validate(getGraphicsConfiguration()) == VolatileImage.IMAGE_INCOMPATIBLE) {
                        v = createVolatileImage(w,h);
                   gfx = v.createGraphics();
              /* this paints the ball etc */
              gfx.setColor(Color.black);
              gfx.fillRect(0,0,w,h);
              gfx.setColor(Color.cyan);
              gfx.fillOval(x,h/2-(size/2),size,size);
              g.drawImage(v,0,0,null); // draw the VolatileImage
         public void update(Graphics g) { // used for no blinking
              paint(g);
         public void keyPressed(KeyEvent e) {
              if (!done) done = true; // program exits on any key press
         public void keyReleased(KeyEvent e) {}
         public void keyTyped(KeyEvent e) {}
         public static void main(String[] args) {
              new Example();
    }

  • I need a fast buffer which is resizable! Does anyone have an Example how to do that?

    If I use shift registers, I have to say how many elements I want.
    I could use an Array and a local variable and resize the Array all the time, but that is somehow not such a good idea.
    Can Anybody help
    Thank You

    As nobody had an answer I tried something out myself (see atached example). It is a dynamically resizable Buffer not using locals. I also used information of the example FIFO_WO_LocalVar2_6i.vi. Thanks!
    Attachments:
    buffer_rs.vi ‏24 KB

  • Does anyone have an example of an InDesign screenshot on retina Mac?

    I would like to know what InDesign looks like on a retina Mac. Unfortunately I do not live anywhere near a retailer who sells Macs.

    You might want to wait until Adobe updates their product.
    Why don't you ask this question on the Adobe forums instead?
    Other factors you need to consider is now Apple is on a annual OS X upgrade cycle and the future of what OS X will look like is certainly in question as 10.7 and 10.8 introduced a LOT of radical changes, features like Save As...Spaces, scroll bars...removed etc. etc.
    OS X is currently in a state of flux, we don't know why they are doing this, assuming it's new hardware coming of a touchscreen nature for consumers, but it's creating problems for the Mac pro segment who need stability.
    You might want to look at a Windows 7 tower with a nice UltraSharp display, Windows 7 will be supported just like it is with no changes until 2020, that's 8 years verses annual third party software upgrades (paid) and no possible hardware driver upgrades for expensive third party equiptment.
    With Apple on a tear to change OS X and hardware, we don't have a clue what's coming, it's been rather unsettling for the pro market all the way from the Final Cut Pro X debacle to graphic designers who can't afford to replace all their software/hardware so frequently to those who have PPC based apps they require or have lots of file in, and the developers decided to bail since Apple is signaling a closed hardware like on iPads with 10.7+'s AppStore (30% cut to Apple) etc.
    Apple doesn't sell new hardware with a older operating system, we get people here all the time wanting to install Snow Leopard on their new machines and they can't, so we send them to a hack to try to run it in a virtual machine in desperation attempt.
    Apple is a consumer products company where they make most of their revenue at and many professional users are reconsidering their options now due to all the rapid  chaos and changes.
    http://arstechnica.com/apple/2012/01/video-pros-apple-needs-to-acknowledge-the-p ro-industry-and-fast/

  • Does anyone have an example of taking a string and encrypting it and vise v

    I want to encrpyt -> save in my database
    then
    get value from database --> and then unencrypt
    Thanks for your time
    Adam

    You could look into a Base64 encoding scheme:
    //////////////////////license & copyright header/////////////////////////
    // Base64 - encode/decode data using the Base64 encoding scheme //
    // Copyright (c) 1998 by Kevin Kelley //
    // This library is free software; you can redistribute it and/or //
    // modify it under the terms of the GNU Lesser General Public //
    // License as published by the Free Software Foundation; either //
    // version 2.1 of the License, or (at your option) any later version. //
    // This library is distributed in the hope that it will be useful, //
    // but WITHOUT ANY WARRANTY; without even the implied warranty of //
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
    // GNU Lesser General Public License for more details. //
    // You should have received a copy of the GNU Lesser General Public //
    // License along with this library; if not, write to the Free Software //
    // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA //
    // 02111-1307, USA, or contact the author: //
    // Kevin Kelley <[email protected]> - 30718 Rd. 28, La Junta, CO, //
    // 81050 USA. //
    ////////////////////end license & copyright header///////////////////////
    import java.io.*; // needed only for main() method.
    * Provides encoding of raw bytes to base64-encoded characters, and
    * decoding of base64 characters to raw bytes.
    * @author Kevin Kelley ([email protected])
    * @version 1.3
    * @date 06 August 1998
    * @modified 14 February 2000
    * @modified 22 September 2000
    public class Base64 {
    * returns an array of base64-encoded characters to represent the
    * passed data array.
    * @param data the array of bytes to encode
    * @return base64-coded character array.
    static public char[] encode(byte[] data)
    char[] out = new char[((data.length + 2) / 3) * 4];
    // 3 bytes encode to 4 chars. Output is always an even
    // multiple of 4 characters.
    for (int i=0, index=0; i<data.length; i+=3, index+=4) {
    boolean quad = false;
    boolean trip = false;
    int val = (0xFF & (int) data);
    val <<= 8;
    if ((i+1) < data.length) {
    val |= (0xFF & (int) data[i+1]);
    trip = true;
    val <<= 8;
    if ((i+2) < data.length) {
    val |= (0xFF & (int) data[i+2]);
    quad = true;
    out[index+3] = alphabet[(quad? (val & 0x3F): 64)];
    val >>= 6;
    out[index+2] = alphabet[(trip? (val & 0x3F): 64)];
    val >>= 6;
    out[index+1] = alphabet[val & 0x3F];
    val >>= 6;
    out[index+0] = alphabet[val & 0x3F];
    return out;
    * Decodes a BASE-64 encoded stream to recover the original
    * data. White space before and after will be trimmed away,
    * but no other manipulation of the input will be performed.
    * As of version 1.2 this method will properly handle input
    * containing junk characters (newlines and the like) rather
    * than throwing an error. It does this by pre-parsing the
    * input and generating from that a count of VALID input
    * characters.
    static public byte[] decode(char[] data)
    // as our input could contain non-BASE64 data (newlines,
    // whitespace of any sort, whatever) we must first adjust
    // our count of USABLE data so that...
    // (a) we don't misallocate the output array, and
    // (b) think that we miscalculated our data length
    // just because of extraneous throw-away junk
    int tempLen = data.length;
    for( int ix=0; ix<data.length; ix++ )
    if( (data[ix] > 255) || codes[ data[ix] ] < 0 )
    --tempLen;  // ignore non-valid chars and padding
    // calculate required length:
    // -- 3 bytes for every 4 valid base64 chars
    // -- plus 2 bytes if there are 3 extra base64 chars,
    // or plus 1 byte if there are 2 extra.
    int len = (tempLen / 4) * 3;
    if ((tempLen % 4) == 3) len += 2;
    if ((tempLen % 4) == 2) len += 1;
    byte[] out = new byte[len];
    int shift = 0; // # of excess bits stored in accum
    int accum = 0; // excess bits
    int index = 0;
    // we now go through the entire array (NOT using the 'tempLen' value)
    for (int ix=0; ix<data.length; ix++)
    int value = (data[ix]>255)? -1: codes[ data[ix] ];
    if ( value >= 0 ) // skip over non-code
    accum <<= 6; // bits shift up by 6 each time thru
    shift += 6; // loop, with new bits being put in
    accum |= value; // at the bottom.
    if ( shift >= 8 ) // whenever there are 8 or more shifted in,
    shift -= 8; // write them out (from the top, leaving any
    out[index++] = // excess at the bottom for next iteration.
    (byte) ((accum >> shift) & 0xff);
    // we will also have skipped processing a padding null byte ('=') here;
    // these are used ONLY for padding to an even length and do not legally
    // occur as encoded data. for this reason we can ignore the fact that
    // no index++ operation occurs in that special case: the out[] array is
    // initialized to all-zero bytes to start with and that works to our
    // advantage in this combination.
    // if there is STILL something wrong we just have to throw up now!
    if( index != out.length)
    throw new Error("Miscalculated data length (wrote " + index + "instead of " + out.length + ")");
    return out;
    // code characters for values 0..63
    static private char[] alphabet =
    "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
    .toCharArray();
    // lookup table for converting base64 characters to value in range 0..63
    static private byte[] codes = new byte[256];
    static {
    for (int i=0; i<256; i++) codes[i] = -1;
    for (int i = 'A'; i <= 'Z'; i++) codes[i] = (byte)( i - 'A');
    for (int i = 'a'; i <= 'z'; i++) codes[i] = (byte)(26 + i - 'a');
    for (int i = '0'; i <= '9'; i++) codes[i] = (byte)(52 + i - '0');
    codes['+'] = 62;
    codes['/'] = 63;
    // remainder (main method and helper functions) is
    // for testing purposes only, feel free to clip it.
    public static void main(String[] args)
    boolean decode = false;
    if (args.length == 0) {
    System.out.println("usage: java Base64 [-d[ecode]] filename");
    System.exit(0);
    for (int i=0; i<args.length; i++) {
    if ("-decode".equalsIgnoreCase(args[i])) decode = true;
    else if ("-d".equalsIgnoreCase(args[i])) decode = true;
    String filename = args[args.length-1];
    File file = new File(filename);
    if (!file.exists()) {
    System.out.println("Error: file '" + filename + "' doesn't exist!");
    System.exit(0);
    if (decode)
    char[] encoded = readChars(file);
    byte[] decoded = decode(encoded);
    writeBytes(file, decoded);
    else
    byte[] decoded = readBytes(file);
    char[] encoded = encode(decoded);
    writeChars(file, encoded);
    private static byte[] readBytes(File file)
    ByteArrayOutputStream baos = new ByteArrayOutputStream();
    try
    InputStream fis = new FileInputStream(file);
    InputStream is = new BufferedInputStream(fis);
    int count = 0;
    byte[] buf = new byte[16384];
    while ((count=is.read(buf)) != -1) {
    if (count > 0) baos.write(buf, 0, count);
    is.close();
    catch (Exception e) { e.printStackTrace(); }
    return baos.toByteArray();
    private static char[] readChars(File file)
    CharArrayWriter caw = new CharArrayWriter();
    try
    Reader fr = new FileReader(file);
    Reader in = new BufferedReader(fr);
    int count = 0;
    char[] buf = new char[16384];
    while ((count=in.read(buf)) != -1) {
    if (count > 0) caw.write(buf, 0, count);
    in.close();
    catch (Exception e) { e.printStackTrace(); }
    return caw.toCharArray();
    private static void writeBytes(File file, byte[] data) {
    try {
    OutputStream fos = new FileOutputStream(file);
    OutputStream os = new BufferedOutputStream(fos);
    os.write(data);
    os.close();
    catch (Exception e) { e.printStackTrace(); }
    private static void writeChars(File file, char[] data) {
    try {
    Writer fos = new FileWriter(file);
    Writer os = new BufferedWriter(fos);
    os.write(data);
    os.close();
    catch (Exception e) { e.printStackTrace(); }
    // end of test code.

  • Does anyone have an example of a c++ TCP/IP client that works with labview TCP?IP server ??

    I have the labview TCP/IP client/server working fine, but now I need to do this were labview is the TCP/IP server and the c++ program is the client. Does anybody have a simple C++ TCP/IP client that works with labview TCP/IP server ????

    Thanks, you were right, we modified the c++ program to include the port # in the IP address and it worked.We also forgot to convert the port #. I included my labview and c++ program.
    Attachments:
    TCP-IP.llb ‏47 KB
    client.exe ‏40 KB

  • Anyone have accurate instructions on modifying the default user template in Lion 10.7.4 ?

    Never had an issue in the past...not until Lion.
    After I create my local user, and modify program behavior, dock and desktop wallpaper I copy the contents of the home folder (including hidden folders) to the English.lproj folder.
    My new users are not only not getting the settings, their home folder is empty.  No documents, music, or anything.

    Google modifying user template site:apple.com and peruse the hits.
    Also, see http://http://www.apple.com/osx/server/resources/documentation.html for detailed into.

  • Does anyone have the "tech blue" template in SD?

    Does anyone have the "tech blue" (from DVD Studio Pro) template in SD format?
    iMac G5   Mac OS X (10.4.7)  

    Click Contact Us at the bottom of this page, then click Contact itunes support

  • Anyone have a simple example of a login dialog? (Java based)

    I've seen a couple of examples of login dialogs that request username and password, but nothing that also asks for the database (probably needs to ask for host, port, and SID or Service). It would be super if it could look for TNS info (environment variable set) and create a pulldown list.
    If anyone has an example, please point me to the URL.
    Seems like this would be a neat 'Wizard' or prepackaged JOptionPanel component palette item

    When you create a JClient Form, you've got the option to generate a login dialog.
    This does generate a username/password login dialog, but the code it generates, shows you hwo to use LoginStrategies.
    This does give you access to every property used by the BC4J Connection pool, to find/create a BC4J connection.
    Generate this login dialog, run it in the debugger and check out what comes in and what you can modify at runtime, before
    BC4J estableshes a connection.

Maybe you are looking for

  • Problem:Accessing the file system with servlets ???

    Hi... I have a strange problem with my servlets that run on Win2000 with Apache and 2 Tomcat instances. I cannot open files through servlets whereas exactly the same code lines work in local standalone java programm. It seems to be somehting like a r

  • Book shows up on computer but not iPod

    Downloaded book "Frankenweenie: An Electrifying Book" from iTunes on my Laptop. It shows up in my Library, but when I go t ocopy it to my iPod Touch (32 GB 4g iOS 6 ), I get the little plus on the cursur, but it does not transfer to the iPod. Any ide

  • ADFapplication stops working after few days of uptime : invalidobjname

    We are currently doing uptime testing of our prodcut. We are using JDEVADF_11.1.1.7.0_GENERIC_130226.1400.6493. After 3 days uptime our application stops working and we are seeing following errors in the log :- oracle.jbo.InvalidObjNameException: JBO

  • BAPI For Inbound Delivery using Purchase Order Number

    Hi All, Is there any BAPI for posting Inbound Delivery (VL31N) using Purchase Order as reference. thanks bobby

  • Writing DVD content to thumbdrive or SDHC card?

    I would like to place DVD content on a thumbdrive or SDHC card for viewing via WD Media Player Live or similar device. These devices can be of different size than typical DVD discs, and they are written differently. When I try to write a iDVD as a di