Need Help with Output Routing...

Ok, I've spent a few hours trying to figure this out and I give up....here's my question:
I've got a MOTU Traveler and I'd like to have the Logic Output 1-2 feed its signal to both MOTU Analog Output 1-2 (Main Out) and Analog Output 3-4. I want the same signal going to both places. Basically I have two different sets of speakers I use when I'm finishing up a track and like to A/B between the different speaker sets. I've tried everything in Logic and other then setting up another output in Logic labeled 3-4 and manually switching each channel and bus to that new output, nothing works. I also tried the cuemix console and didn't see anyway to do it in there. The only other thing that seemed to work was using an I/O plugin sending output 1-2 to output 3-4, but the signal was super distorted going into 3-4. Anyone know how to have a single Logic Output (1-2) go to multiple Outputs on a MOTU?

Hi,
You can set up another output (3+4) and feed it from a buss that is at unity gain,from the main output 1+2
Then in your cuemix you can calibrate that output to be the same level as the mains,so when you compare the speakers,the levels stay the same when switching.
Just make sure to check the physical outputs on your traveler are set to the correct impedance (+4 or -10) to match the main outs.
Cheers

Similar Messages

  • Subquery results need help with output

    Requirements:
    There is request to dump every day’s data from one table into text file.
    Tables:INSPECTION_RESULTS
    NJAS
    Primary Key: RES_SYS_NO
    Parent table: INSPECTION_RESULTS
    Child table: NJAS
    Purpose:
    1. obtain output results for the MIN and MAX RES_SYS_NO from INSPECTION_RESULTS table for yesterday’s date.
    2. Create comma delimited file for following columns using above table data output.
    Script thus far:
    SELECT NJA_RES_SYS_NO||','||NJA_TEST_REC_NO||','||NJA_LIC_ST_ID||','||NJA_ETS_ID||','||NJA_SW_VER||','||NJA_TECH_ID||','||NJA_VIN||','||NJA_LIC_NO||','
    ||NJA_LIC_JUR||','||NJA_LIC_SRC||','||NJA_MODEL_YR||','||NJA_MAKE||','||NJA_MODEL||','||NJA_VHCL_TYPE||','||NJA_BODY_STYLE||','||NJA_CERT_CLASS||','||
    NJA_GVWR||','||NJA_ASM_ETW||','||NJA_ETW_SRC||','||NJA_NO_OF_CYL||','||NJA_ENG_SIZE||','||NJA_TRANS_TYPE||','||NJA_DUAL_EXH||','||NJA_FUEL_CD||','
    || NJA_VID_SYS_NO||','|| NJA_VRT_REC_NO||','|| NJA_ARMSTDS_REC_NO||','|| NJA_RSN_F_N_TESTABLE||','|| NJA_DYNO_TESTABLE||','||
    NJA_CURR_ODO_RDNG||','|| NJA_PREV_ODO_RDNG||','|| NJA_PREV_TEST_DT||','|| NJA_TEST_TYPE||','||
    NJA_TEST_START_DT||','|| NJA_TEST_END_TIME||','|| NJA_EMISS_TEST_TYPE||','|| NJA_TEST_SEQ_NO||','
    ||NJA_LOW_MILE_EXEMP||','||NJA_TIRE_DRY||','|| NJA_REL_HUMID||','|| NJA_AMB_TEMP||','||NJA_BAR_PRESS||','|| NJA_HCF||','||
    NJA_GAS_CAP_ADAP_AVL||','|| NJA_GAS_CAP_REPL||','|| NJA_OVERALL_GAS_CAP_RES
    FROM NJAS
    WHERE NJA_RES_SYS_NO IN (SELECT MIN(NJA_RES_SYS_NO) FROM INSPECTION_RESULTS WHERE NJA_RES_SYS_NO IN
    (SELECT MAX(NJA_RES_SYS_NO) FROM INSPECTION_RESULTS, (SELECT SYSDATE-1 FROM DUAL))
    It works but not sure if I am getting accurate results. Can anyone help me fine tune this subquery script? Thanks!
    Scott

    Duplicate post
    See my answer in your other posting here Re: need help with script

  • Need Help with Linksys router broadband-b

    I have a Linksys wireless-B broadband router for some reason it just went crazy on me. My wireless card is a wireless - G . Now when i had Verizon DSL  i  got this router and a USB  wireless adaptor from verizon. I had the usb adaptor on my wife computer and the router and modem  on my notebook for six months we had there dsl service until we moved  to a nother city. Once we  had all of our service's transfered  to the new home  we could not get verizon DSL there.
    So for a nother six months we had to use  dial up and being that we run a home business dial up was just not up to the task. Well we got rid of dish network  just to get cable T.V. just to get the cable broadband service. That's when i got a wireless card for my notebook anyway  for six months the network was working  just fine with the router and my wireless card.
    Until  Sept  this year just a few weeks ago the router started going crazy. Before my note book was config for windows to connect  linksys was connecting  and i would see all conection in the site survey,  and my own network  also. Until a few weeks a go  my network would not show .
    So i call linksys the have me download   some up dated firmware that would not install on my notebook or my wife computer after being on the phone for hours with linksys they come to tell me that  the router is ok and working alright after all the test   and steps they took me through with the router. Linksys tells me that there is something wrong with my PCM slot  on my notebook or either  my linksys wireless card. Ok  First of all i can pick up signal  on other networks  and go on line like the Hilton  Hotel  when i go in there parking lot, Second  i can pick up othr networks and get on line that are not secured  sometimes  so this tells me that there is Nothing wrong with my PCMI slot or the wireless card.
    Now i took my router across the street to a friend house and guess what he gets a signal  off the router with his notebook  but i can not and when we plug the router in the AC outlet  the internet light was flashing like crazy and my wireless card was not even in my notebook so that tells me that someone close was pulling signal off my router  but i cant.
    Can someone please explain this to me  i want to get another router wireless - G this time but if there is something that can be done to get this one working like it should that would really help.
    The Notebook has been checked out and config  and that works well when i hook the either net plug in from the modem  the  router was config as well but i just can't get a connected to the router when i use the wireless card.   

    Yes press and hold the reset button in back for 30 seconds and release.  Wait 10 seconds and power cycle the router.  Now connect to 192.168.1.1 username blank, password 'admin'.  Now try.

  • PLEASE NEED HELP WITH OUTPUTTING HDV/DV!! 16:9 to 4:3!! NEED HELP NOW!

    ok. I started out with HDV footage. Imported that edited it native HD into final cut 5, didn't downconvert. Now I am trying to output the finished work onto a dv camera through firewire. At first i nested the HDV sequence into a NTSC sequence, but the video wouldn't go through to the camera, only audio. I thought it was a connection problem, but then i played some DV footage and it went to the camera fine. So then i exported the DV sequence as a quicktime movie in NTSC form, but that really cropped the 16:9 footage and made it unwatchable. How can i take the 16:9 HDV footage, and letterbox it so that it fits inside a 4:3 frame without cutting off any of the original frame, and then export that to a DV camera? Let me know if you need more info, please help this is due tomorrow!! ahhhhh!

    When you Export using QuickTime Conversion, to DV Stream, you get an option of what the aspect ratio should be. Select 16:9 and the DV stream will be what you're looking for. Opening that in FCP and sending it to the camera should work out well.

  • Need help with output for D5

    Hi,
    I need some help getting my film in sync to a D5.
    The film was shot on MiniDV and edited drop frame (29.97).
    What we did first is output on miniDV and dubbed that to a D5 for color correction. Everything was in sync with the timeline. Then my friend color corrected. Since then several shots have been replaced, not effecting the timing at all. We checked that everything was hitting at the same timecodes and everything was cool.
    Now I've output another tape onto MiniDV and tried to dub it to D5 but the shots are not hitting at the same timecode. They assure me that everything is drop frame on their end. Not sure what might be causing the problem. Not sure what to try next?
    Need suggestions and ideas.
    thanks.

    if you had a downconvert from your "color corrected d5" you could place it in the timeline and see whats up.

  • Need help with output type EDI for ERS

    All,
    I want to be able to run and ERS settlement and have the invoices created sent via EDI/XML to the supplier.   I have several questions on the set up.
    1)  I have output type ERS6 which is defined as ERS EDI.  I assume because it does not start with Z* this is SAP standard, so I shouldn't have to modify any of this.
    2)  I've added my supplier to this output type. 
    3)  I assume I need to create a partner profile for this supplier?  If so can someone tell me the message type to use?
    Is there any set up I'm missing in this process?   I've executed ERS but do not get an idoc and I'm fairly certain it's because I haven't done the partner profile set-up.
    Thanks for your help.
    Sandra

    Hi,
    You don't have to modify thise setup unless you have any customized requirement.
    You are missing partner profile setup.Carry out the setup and run MRRL tcode to create the idocs
    Enter the following values using tcode WE20.
    Field                                       Value
    Message type                         GSVERF
    Partner type                             LI (vendor)
    Partner function                        LF (vendor)
    Port                                         SUBSYSTEM ( Port to your middleware)
    Output mode                            such as Collect IDocs
    Basic type                                GSVERF01
    Application                                 MR
    Output type                                ERS6 or the type you have defined
    Regards,
    Karuna

  • Need help with 'Output Folder URL'

    How can I compile my application and have it get posted on a
    server?
    When I create a project, in the “Flex Build Path”
    I add my server URL in the 'Output Folder URL' field. But when I
    Run my project, it doesn't even seem to attempt to push any files
    to the server. It just brings up my browser with the path to it,
    which it obviously gets a 404 error. And its going to need a
    username and password to post files to a server. Where would I
    assign theses value to Flex Builder?

    After I installed Apache Ant and tinkered with it for about 5
    hours, I have what initially wanted. The code below will compile,
    copy and launch. I also made a splash logo that appears when its
    building. Ant is a nice utility for automated development.
    Ref:
    http://blog.jodybrewster.net/2008/04/09/installing-ant-in-flex-builder-3/
    http://ant.apache.org/manual/tasksoverview.html
    <project name="buildXIFF" default="main">
    <property name="compiler" value="C:\Program
    Files\Adobe\Flex Builder 3\sdks\3.2.0\bin\mxmlc.exe"/>
    <property name="firefox" location="C:\Program
    Files\Mozilla Firefox\firefox.exe"/>
    <property name="projectURL" value="
    http://vmwinserver2003/flex/tests/XIFF/XIFF.html"/>
    <property name="baseDirectory"
    value="Z:\Documents\Programming\Flex\Tests\XIFF"/>
    <property name="baseServerDirectory"
    value="Y:\flex\tests\XIFF"/>
    <target name="main">
    <splash
    imageurl="file:${baseDirectory}/build/FxAntBuildLogo.png"
    showduration="2000"/>
    <antcall target="compile" />
    <antcall target="copy" />
    <antcall target="launch" />
    </target>
    <target name="compile" description="Build XIFF
    project">
    <echo>Building files in bin directory in
    repository</echo>
    <exec executable="${compiler}">
    <arg line="-file-specs '${baseDirectory}/src/XIFF.mxml'
    "/>
    <arg line="-output= '${baseDirectory}/bin-debug/' "/>
    </exec>
    </target>
    <target name="copy" description="Copy XIFF bin directory
    to server">
    <echo>Copying bin directory from repository to server.
    Overwriting all files in destination directory.</echo>
    <copy todir="${baseServerDirectory}" overwrite="true">
    <fileset dir="${baseDirectory}/bin-debug/"/>
    </copy>
    </target>
    <target name="launch">
    <echo>Launching browser, URL is the project's html
    page on the server.</echo>
    <exec executable="${firefox}" spawn="true">
    <arg value="${projectURL}"/>
    </exec>
    </target>
    </project>

  • Need help with output one field horizontally please

    I know I have seen some ideas and threads about this, but it is not really what I need. I have a report in CR XI that seems to be on the right path. The problem I am having is one field that needs to be in details could provide multiple results (products and services) which duplicates all the records. Some customers I'll have 3 lines, the next 9 ... depending on how many P&S they have.
    What I have done is moved all fields from the details section to group1 which so far seems fine and left my P&S field in details.
    The output is normal:
    prod1
    prod2
    prod3
    prod4
    etc.....
    What I need is this: prod1, prod2, prod3, prod4, etc.
    Any ideas greatly appreciated.
    In the group header add a formula
    WhilePrintingRecords;
    Global StringVar ProductList;
    ProductList := '';
    in the details
    WhilePrintingRecords;
    Global StringVar ProductList;
    If ProductList  = '' then
       ProductList  :=
    else
         ProductList := ProductList & ', ' & ; ''
    In the group footer
    WhilePrintingRecords;
    Global StringVar ProductList;
    ProductList
    Edited by: Terry Mergl on Apr 20, 2010 9:15 PM

    What you have should do it.  Is there an issue?  Please explain in detail, giving sample data, current results, and expected results.
    Carl

  • Need help with outputing query group names

    I am trying to come up with a way to output group headers, then all the records under each group header etc. It would be easy, except there is a twist with what i want to do.
    Normally if I have this set of data (which I ‘borrowed’ from a site that showed the closest to what I’m looking for):
    Example Table Setup:
    TABLE [Numbers]
    (Name, NUMBER)
    Dave Bosky              843-444-4444
    Dave Bosky              843-555-5555
    Matthew Small        843-111-1111
    Matthew Small      _843-222-2222
    Matthew Small        843-333-3333
    I could use the following code:
    <cfoutput query="somequery" group="name">
            #name#<br>
            <cfoutput>
                    #phonenumber#<br>
            </cfoutput>
            <hr>
    </cfoutput>
    And get this:
    Dave Bosky
    843-444-4444
    843-555-5555
    Matthew Small
    843-111-1111
    843-222-2222
    843-333-3333
    BUT, my actual tables are not set up like this. Rather than recording each name with each record, I would have an ID that is the foreign key for another table.
    Current table set up would look like this:
    TABLE [People]
    (ID, NAME)
    1 Dave Bosky        
    2 Matthew Small  
    TABLE [Phones]
    (PEOPLE_ID, NUMBER)
    1              843-444-4444
    1              843-555-5555
    2              843-111-1111
    2              843-222-2222
    2              843-333-3333
    So this output would actually give me this with my current setup and the query code above:
    1
    843-444-4444
    843-555-5555
    2
    843-111-1111
    843-222-2222
    843-333-3333
    How do I keep my current setup but create a query that achieves the same result from the top? (Output the names from the People table as the group headers, but the data from the Phones table underneath that)

    Thanks! With a little tweaking I got it done.
    In case this might be useful to someone else this is the code I ended up using as a test run for what Im trying to do:
    <cfquery name="testthis" datasource="IRLE">
    SELECT ACCOUNTTYPES.ACCOUNTTYPEID, ACCOUNTTYPES.TYPEDESCRIPTION, ACCOUNTS.ACCOUNTNUMBER, ACCOUNTS.ACCOUNTTYPE, ACCOUNTS.ACCOUNTDESCRIPTION
    FROM ACCOUNTS INNER JOIN ACCOUNTTYPES ON ACCOUNTTYPES.ACCOUNTTYPEID = ACCOUNTS.ACCOUNTTYPE
    WHERE ACCOUNTUSERID = '#Session.UserID#'
    </cfquery>
    <table>
    <th colspan="3" align="center"><u>ACCOUNTS:</u></th>
    <cfoutput query="testthis" group="TYPEDESCRIPTION">
    <tr><td></td>
    <td colspan="2">#TYPEDESCRIPTION# Accounts:<BR></td>
    </tr>
    <cfoutput>
    <tr>
    <td></td>
    <td>#ACCOUNTNUMBER#</td>
    <td>#ACCOUNTDESCRIPTION#</td>
    </td>
    </tr>
    </cfoutput>
    </cfoutput>
    </table>
    Im using MySQL, so all the table names etc have to be capitalized.
    Table setup:
    ACCOUNTTYPES
    ACCOUNTTYPEID
    TYPEDESCRIPTION
    1
    CASH
    2
    TRADE
    ACCOUNTS
    ACCOUNTNUMBER
    ACCOUNTUSERID
    ACCOUNTTYPE
    ACCOUNTDESCRIPTION
    1
    1
    1
    CASH
    2
    1
    2
    BROKERAGE
    Note I also threw in a WHERE clause to only show accounts for the logged in user. (Session.USERID is defined by my code at login)
    All in all the output was:
    ACCOUNTS:
                    CASH Accounts:
                    1              CASH
                    TRADE Accounts:
                    2              BROKERAGE
    Given my data at the moment, that’s what I wanted! Sweet!

  • Need help with output please

    Thank you for taking a look ill post my code and then my problem
    import java.util.Scanner;
    public class intrest
        public static void main( String[] args )
         Scanner input = new Scanner( System.in );
            System.out.print("Deposit:");
         double Value =input.nextInt();
         double Rate = 0;
            if (Value >250000 || Value <10000)
              System.out.print("Error: minimum deposit 10,000 and Maximum deposit 250000");
         else if (Value <25000)
              Rate = 2.76;
         else if (Value  <50000)
                    Rate = 3.16;
         else
              Rate = 3.20;
         double Interest = (Value / 100 * Rate);
            System.out.println ("Interest:" +Interest) ;
         System.out.println ("Rate:    " +Rate) ;
    }my goal for this program is to get the interest rate if the value is between 10k and 250k, if its any other value it should bring up an error however when i do input a number out of that range it gives me the error but it also displayes the interest rate and the interest gained although it does not work it out (both stay at 0 which is good),
    i want it to only show the error if the first statement is true "{code}if (Value >250000 || Value <10000){code}" ive tried using "Else If" but its still showing me the interest rate and interest gained, can anyone help would really appreciate it
    thank you very much

    Do a if condition check....if you dont want to use exit...below is the modified code
    import java.util.Scanner;
    public class test
        public static void main( String[] args )
         Scanner input = new Scanner( System.in );
            System.out.print("\n Deposit:");
         double Value =input.nextInt();
         double Rate = 0;
            if (Value >250000 || Value <10000)
              System.out.print("\nError: minimum deposit 10,000 and Maximum deposit 250000");
            else if (Value <25000)
                      Rate = 2.76;                  
                 else if (Value  <50000)
                  Rate = 3.16;
         else 
              Rate = 3.20;          
                 double Interest = (Value / 100 * Rate);
                 if ((Interest != 0) || (Rate !=0))
        System.out.println ("\n\n Interest:" +Interest +"\n\n Rate :"  +Rate);         
    }

  • Need help with output

    im trying to get the list of books on one dialog box. but all it shows is the message and no book title.
    Im trying to get the user to choose a book from the list. by entering 1-4.
    but so far what i really need first is how to get the titles all in one box
            if (quantity > 0) {
                JOptionPane.showInputDialog(null, "Choose a book to purchase or 4 to quit");
                for (int i = 0; i < quantity; i++)
                        JOptionPane.showInputDialog(null, "\"" + volumes.title);
    /code]
    Heres the rest of the code
    import javax.swing.JOptionPane;
    import java.util.*;
    class Book
        public String title;    
    //DONT FORGET TO WRITE COMMENTS!!!!!!!!!!!!!!!
    public class delete
        public static void main (String [] args)
            Book[]  volumes;     
            char    answer;      
            int     quantity = 0,
                    limit = 0;
                   int option;   
           limit = Integer.parseInt(JOptionPane.showInputDialog(null,"How many titles in the store? (Must be no more than 20) ")); //prompts the user for book titles
            volumes = new Book[limit];
            while (quantity < limit) {
                volumes[quantity] = new Book();
              volumes[quantity].title = JOptionPane.showInputDialog(null, "\nEnter book " + (quantity+1) + "'s title : ");
                            quantity++;
            if (quantity > 0) {
                JOptionPane.showInputDialog(null, "Choose a book to purchase or 4 to quit");
                for (int i = 0; i < quantity; i++)
                        JOptionPane.showInputDialog(null, "\"" + volumes.title);

    [url http://forum.java.sun.com/thread.jspa?threadID=5164155&tstart=0]Xpost

  • Need help with OutPut message

    My Code's below. I'm having trouble with the out put. Can anyone offer any suggestions?
    import javax.swing.JOptionPane;
    import java.util.Locale;
    import java.text.NumberFormat;
    public class Retail
    public static void main(String args[])
    String firstNum;
    String secondNum;
    String result;
    int prodNum;      //first number to input
    double quantity; //second number to input
    double total;          //total of Prod * Quantity Sold for all items
    // To use American Dollar
    NumberFormat moneyFormat = NumberFormat.getCurrencyInstance( Locale.US );
    // first number entered as string
    firstNum = JOptionPane.showInputDialog( "Enter product number 1-5" );
    // second number entered as string
    secondNum = JOptionPane.showInputDialog( " Enter quantity of items sold" );
    // convert values to type double or int from type string
    prodNum = Integer.parseInt( firstNum );
    quantity = Double.parseDouble( secondNum);
    result = "";
    switch (prodNum)
    case 1: // 1st product
    total = 2.98 * quantity;
    break;
    case 2: // 2nd product
    total = 4.50 * quantity;
    break;
    case 3: // 3rd product
    total = 9.98 * quantity;
    break;
    case 4: //4th product
    total = 4.49 * quantity;
    break;
    case 5:
    total = 6.87 * quantity;
    break;
    default: JOptionPane.showMessageDialog( null, "Wrong product number entered" );
    JOptionPane.showMessageDialog( null, result, "Total Price of Items Purchased", JOptionPane.INFORMATION_MESSAGE );

    basically what it is is it's saying it cannot resolve
    a symbol, but I can't figure out which symbol?Not with the code you just posted, it doesn't. However, the error will tell you exactly what the compiler doesn't recognize. In the meantime, try this:
    import javax.swing.JOptionPane;
    import java.util.Locale;
    import java.text.NumberFormat;
    public class Retail
        public static void main(String args[])
            String firstNum;
            String secondNum;
            String result;
            int prodNum; //first number to input
            double quantity; //second number to input
            double total = 0.0; //total of Prod * Quantity Sold for all items **INITIALIZED **
            // To use American Dollar
            NumberFormat moneyFormat = NumberFormat.getCurrencyInstance( Locale.US );
            // first number entered as string
            firstNum = JOptionPane.showInputDialog( "Enter product number 1-5" );
            // second number entered as string
            secondNum = JOptionPane.showInputDialog( " Enter quantity of items sold" );
            // convert values to type double or int from type string
            prodNum = Integer.parseInt( firstNum );
            quantity = Double.parseDouble( secondNum);
            switch (prodNum)
                case 1: // 1st product
                total = 2.98 * quantity;
                break;
                case 2: // 2nd product
                total = 4.50 * quantity;
                break;
                case 3: // 3rd product
                total = 9.98 * quantity;
                break;
                case 4: //4th product
                total = 4.49 * quantity;
                break;
                case 5:
                total = 6.87 * quantity;
                break;
                default: JOptionPane.showMessageDialog( null, "Wrong product number entered" );
            JOptionPane.showMessageDialog( null, moneyFormat.format(total), "Total Price of Items Purchased", JOptionPane.INFORMATION_MESSAGE );

  • Purchased extreme to replace modem/router DSL used telephone cord need help with set up

    Prior to purchasing Airport Extreme had a standard modem/ wireless router from ATT for DSL. I have two macbooks both dropped connections while online with older modem.
    Airport Extreme purchased to correct connection issues I need help with set up. The older modem just used telephone cord. I tried to use telephone with extreme it did not work.
    How do I get extreme to work as the modem and router ?

    How do I get extreme to work as the modem and router ?
    you can't. the extreme is only a router. you need a separate modem (or disable the wireless part of your old router and use it as a modem - if that's possible).

  • Need help with Airport Express and so on.

    Ok so my main problem before getting into what I need help with here is that our MacBooks and now my iPhone 6 plus isn't staying online. Keep getting booted off and then I either have to select the network again or it will eventually go back on. If anyone has a solution or so please feel free to answer that as well. I'm running on Roadrunner with a Netgear 600 wireless router and a motorola modem. Both of which I'll leave the link to below for a better look.
    My Main Question: So I'm looking at a new wireless router mainly and possibly a new modem. I know Apple products are trustworthy but how good is the Airport Express and other Airport products. Also what is the Maximum speed and Maximum data speed for the cheapest express station and if anyone knows the speeds of the other devices it would be greatly appreciated.

    DSL Router to Netgear 5-port Switch and I used the switch to connect to Airport Extreme, TV, Blue-Ray DVD player and DirecTV Receiver.
    The AirPort Extreme base station (AEBS) is a router so it will do what you need.
    You need to reconfigure your setup. Connect the WAN port of the AEBS to the DSL router. Then connect the Netgear switch to one of the LAN ports on the AEBS. The AEBS will properly share the connection.

  • Need Help With File Matching Records

    I need help with my file matching program.
    Here is how it suppose to work: FileMatch class should contain methods to read oldmast.txt and trans.txt. When a match occurs (i.e., records with the same account number appear in both the master file and the transaction file), add the dollar amount in the transaction record to the current balance in the master record, and write the "newmast.txt" record. (Assume that purchases are indicated by positive amounts in the transaction file and payments by negative amounts.)
    When there is a master record for a particular account, but no corresponding transaction record, merely write the master record to "newmast.txt". When there is a transaction record, but no corresponding master record, print to a log file the message "Unmatched transaction record for account number ..." (fill in the account number from the transaction record). The log file should be a text file named "log.txt".
    Here is my following program code:
    // Exercise 14.8: CreateTextFile.java
    // creates a text file
    import java.io.FileNotFoundException;
    import java.lang.SecurityException;
    import java.util.Formatter;
    import java.util.FormatterClosedException;
    import java.util.NoSuchElementException;
    import java.util.Scanner;
    import org.egan.AccountRecord;
    import org.egan.TransactionRecord;
    public class CreateTextFile
      private Formatter output1;  // object used to output text to file
      private Formatter output2;  // object used to output text to file
      // enable user to open file
      public void openTransFile()
        try
          output1 = new Formatter("trans.txt");
        catch (SecurityException securityException)
          System.err.println("You do not have write access to this file.");
          System.exit(1);
        } // end catch
        catch (FileNotFoundException filesNotFoundException)
          System.err.println("Error creating file.");
          System.exit(1);
      } // end method openTransFile
      // enable user to open file
      public void openOldMastFile()
        try
          output2 = new Formatter("oldmast.txt");
        catch (SecurityException securityException)
          System.err.println("You do not have write access to this file.");
          System.exit(1);
        } // end catch
        catch (FileNotFoundException filesNotFoundException)
          System.err.println("Error creating file.");
          System.exit(1);
      } // end method openOldMastFile
      // add transaction records to file
      public void addTransactionRecords()
        // object to be written to file
        TransactionRecord record1 = new TransactionRecord();
        Scanner input1 = new Scanner(System.in);
        System.out.printf("%s\n%s\n%s\n%s\n\n",
          "To terminate input, type the end-of-file indicator",   
          "when you are prompted to enter input.",
          "On UNIX/Linux/Mac OS X type <ctrl> d then press Enter",
          "On Windows type <ctrl> z then press Enter");
        System.out.printf("%s\n%s",
           "Enter account number (> 0) and amount.","? ");
        while (input1.hasNext())  // loop until end-of-file indicator
          try // output values to file
            // retrieve data to be output
            record1.setAccount(input1.nextInt());    // read account number
            record1.setAmount(input1.nextDouble());  // read amount
            if (record1.getAccount() > 0)
              // write new record
              output1.format("%d %.2f\n", record1.getAccount(), record1.getAmount());
            } // end if
            else
              System.out.println("Account number must be greater than 0.");
            } // end else
          } // end try
          catch (FormatterClosedException formatterClosedException)
            System.err.println("Error writing to file.");
            return;
          } // end catch
          catch (NoSuchElementException elementException)
            System.err.println("Invalid input. Please try again.");
            input1.nextLine(); // discard input so user can try again
          } // end catch
          System.out.printf("%s %s\n%s", "Enter account number (> 0) ",
            "and amount.","? ");
        } // end while
      } // end method addTransactionRecords
      // add account records to file
      public void addAccountRecords()
        // object to be written to file
        AccountRecord record2 = new AccountRecord();
        Scanner input2 = new Scanner(System.in);
        System.out.printf("%s\n%s\n%s\n%s\n\n",
          "To terminate input, type the end-of-file indicator",   
          "when you are prompted to enter input.",
          "On UNIX/Linux/Mac OS X type <ctrl> d then press Enter",
          "On Windows type <ctrl> z then press Enter");
        System.out.printf("%s\n%s",
           "Enter account number (> 0), first name, last name and balance.","? ");
        while (input2.hasNext())  // loop until end-of-file indicator
          try // output values to file
            // retrieve data to be output
            record2.setAccount(input2.nextInt());    // read account number
            record2.setFirstName(input2.next());      // read first name
            record2.setLastName(input2.next());       // read last name
            record2.setBalance(input2.nextDouble());  // read balance
            if (record2.getAccount() > 0)
              // write new record
              output2.format("%d %s %s %.2f\n", record2.getAccount(), record2.getFirstName(),
                record2.getLastName(), record2.getBalance());
            } // end if
            else
              System.out.println("Account number must be greater than 0.");
            } // end else
          } // end try
          catch (FormatterClosedException formatterClosedException)
            System.err.println("Error writing to file.");
            return;
          } // end catch
          catch (NoSuchElementException elementException)
            System.err.println("Invalid input. Please try again.");
            input2.nextLine(); // discard input so user can try again
          } // end catch
          System.out.printf("%s %s\n%s", "Enter account number (> 0),",
            "first name, last name and balance.","? ");
        } // end while
      } // end method addAccountRecords
      // close file
      public void closeTransFile()
        if (output1 != null)
          output1.close();
      } // end method closeTransFile
      // close file
      public void closeOldMastFile()
        if (output2 != null)
          output2.close();
      } // end method closeOldMastFile
    } // end class CreateTextFile--------------------------------------------------------------------------------------------------
    // Exercise 14.8: CreateTextFileTest.java
    // Testing class CreateTextFile
    public class CreateTextFileTest
       // main method begins program execution
       public static void main( String args[] )
         CreateTextFile application = new CreateTextFile();
         application.openTransFile();
         application.addTransactionRecords();
         application.closeTransFile();
         application.openOldMastFile();
         application.addAccountRecords();
         application.closeOldMastFile();
       } // end main
    } // end class CreateTextFileTest-------------------------------------------------------------------------------------------------
    // Exercise 14.8: TransactionRecord.java
    // A class that represents on record of information
    package org.egan; // packaged for reuse
    public class TransactionRecord
      private int account;
      private double amount;
      // no-argument constructor calls other constructor with default values
      public TransactionRecord()
        this(0,0.0); // call two-argument constructor
      } // end no-argument AccountRecord constructor
      // initialize a record
      public TransactionRecord(int acct, double amt)
        setAccount(acct);
        setAmount(amt);
      } // end two-argument TransactionRecord constructor
      // set account number
      public void setAccount(int acct)
        account = acct;
      } // end method setAccount
      // get account number
      public int getAccount()
        return account;
      } // end method getAccount
      // set amount
      public void setAmount(double amt)
        amount = amt;
      } // end method setAmount
      // get amount
      public double getAmount()
        return amount;
      } // end method getAmount
    } // end class TransactionRecord -------------------------------------------------------------------------------------------------
    // Exercise 14.8: AccountRecord.java
    // A class that represents on record of information
    package org.egan; // packaged for reuse
    import org.egan.TransactionRecord;
    public class AccountRecord
      private int account;
      private String firstName;
      private String lastName;
      private double balance;
      // no-argument constructor calls other constructor with default values
      public AccountRecord()
        this(0,"","",0.0); // call four-argument constructor
      } // end no-argument AccountRecord constructor
      // initialize a record
      public AccountRecord(int acct, String first, String last, double bal)
        setAccount(acct);
        setFirstName(first);
        setLastName(last);
        setBalance(bal);
      } // end four-argument AccountRecord constructor
      // set account number
      public void setAccount(int acct)
        account = acct;
      } // end method setAccount
      // get account number
      public int getAccount()
        return account;
      } // end method getAccount
      // set first name
      public void setFirstName(String first)
        firstName = first;
      } // end method setFirstName
      // get first name
      public String getFirstName()
        return firstName;
      } // end method getFirstName
      // set last name
      public void setLastName(String last)
        lastName = last;
      } // end method setLastName
      // get last name
      public String getLastName()
        return lastName;
      } // end method getLastName
      // set balance
      public void setBalance(double bal)
        balance = bal;
      } // end method setBalance
      // get balance
      public double getBalance()
        return balance;
      } // end method getBalance
      // combine balance and amount
      public void combine(TransactionRecord record)
        balance = (getBalance() + record.getAmount()); 
      } // end method combine
    } // end class AccountRecord -------------------------------------------------------------------------------------------------
    // Exercise 14.8: FileMatch.java
    import java.io.File;
    import java.io.FileNotFoundException;
    import java.lang.IllegalStateException;
    import java.util.NoSuchElementException;
    import java.util.Scanner;
    import java.util.Formatter;
    import java.util.FormatterClosedException;
    import org.egan.AccountRecord;
    import org.egan.TransactionRecord;
    public class FileMatch
      private Scanner inTransaction;
      private Scanner inOldMaster;
      private Formatter outNewMaster;
      private Formatter theLog;
      // enable user to open file
      public void openTransFile()
        try
          inTransaction = new Scanner(new File("trans.txt"));
        } // end try
        catch (FileNotFoundException fileNotFoundException)
          System.err.println("Error opening file.");
          System.exit(1);
        } // end catch
      } // end method openTransFile
      // enable user to open file
      public void openOldMastFile()
        try
          inOldMaster = new Scanner(new File("oldmast.txt"));
        } // end try
        catch (FileNotFoundException fileNotFoundException)
          System.err.println("Error opening file.");
          System.exit(1);
        } // end catch
      } // end method openOldMastFile
      // enable user to open file
      public void openNewMastFile()
        try
          outNewMaster = new Formatter("newmast.txt");
        catch (SecurityException securityException)
          System.err.println("You do not have write access to this file.");
          System.exit(1);
        } // end catch
        catch (FileNotFoundException filesNotFoundException)
          System.err.println("Error creating file.");
          System.exit(1);
      } // end method openNewMastFile
      // enable user to open file
      public void openLogFile()
        try
          theLog = new Formatter("log.txt");
        catch (SecurityException securityException)
          System.err.println("You do not have write access to this file.");
          System.exit(1);
        } // end catch
        catch (FileNotFoundException filesNotFoundException)
          System.err.println("Error creating file.");
          System.exit(1);
      } // end method openLogFile
      // update records
      public void updateRecords()
        TransactionRecord transaction = new TransactionRecord();
        AccountRecord account = new AccountRecord();
        try // read records from file using Scanner object
          System.out.println("Start file matching.");
          while (inTransaction.hasNext() && inOldMaster.hasNext())
            transaction.setAccount(inTransaction.nextInt());     // read account number
            transaction.setAmount(inTransaction.nextDouble());   // read amount
            account.setAccount(inOldMaster.nextInt());     // read account number
            account.setFirstName(inOldMaster.next());      // read first name 
            account.setLastName(inOldMaster.next());       // read last name
            account.setBalance(inOldMaster.nextDouble());  // read balance
            if (transaction.getAccount() == account.getAccount())
              while (inTransaction.hasNext() && transaction.getAccount() == account.getAccount())
                account.combine(transaction);
                outNewMaster.format("%d %s %s %.2f\n",
                account.getAccount(), account.getFirstName(), account.getLastName(),
                account.getBalance());
                transaction.setAccount(inTransaction.nextInt());     // read account number
                transaction.setAmount(inTransaction.nextDouble());   // read amount
            else if (transaction.getAccount() != account.getAccount())
              outNewMaster.format("%d %s %s %.2f\n",
              account.getAccount(), account.getFirstName(), account.getLastName(),
              account.getBalance());         
              theLog.format("%s%d","Unmatched transaction record for account number ",transaction.getAccount());
          } // end while
          System.out.println("Finish file matching.");
        } // end try
        catch (NoSuchElementException elementException)
          System.err.println("File improperly formed.");
          inTransaction.close();
          inOldMaster.close();
          System.exit(1);
        } // end catch
        catch (IllegalStateException stateException)
          System.err.println("Error reading from file.");
          System.exit(1);
        } // end catch   
      } // end method updateRecords
      // close file and terminate application
      public void closeTransFile()
        if (inTransaction != null)
          inTransaction.close();
      } // end method closeTransFile
      // close file and terminate application
      public void closeOldMastFile()
        if (inOldMaster != null)
          inOldMaster.close();
      } // end method closeOldMastFile
      // close file
      public void closeNewMastFile()
        if (outNewMaster != null)
          outNewMaster.close();
      } // end method closeNewMastFile
      // close file
      public void closeLogFile()
        if (theLog != null)
          theLog.close();
      } // end method closeLogFile
    } // end class FileMatch-------------------------------------------------------------------------------------------------
    // Exercise 14.8: FileMatchTest.java
    // Testing class FileMatch
    public class FileMatchTest
       // main method begins program execution
       public static void main( String args[] )
         FileMatch application = new FileMatch();
         application.openTransFile();
         application.openOldMastFile();
         application.openNewMastFile();
         application.openLogFile();
         application.updateRecords();
         application.closeLogFile();
         application.closeNewMastFile();
         application.closeOldMastFile();
         application.closeTransFile();
       } // end main
    } // end class FileMatchTest-------------------------------------------------------------------------------------------------
    Sample data for master file:
    Master file                         
    Account Number            Name                     Balance
    100                            Alan Jones                   348.17
    300                            Mary Smith                    27.19
    500                            Sam Sharp                   0.00
    700                            Suzy Green                   -14.22Sample data for transaction file:
    Transaction file                    Transaction
    Account Number                  Amount
    100                                         27.14
    300                                         62.11
    300                                         83.89
    400                                         100.56
    700                                         80.78
    700                                         1.53
    900                                         82.17  -------------------------------------------------------------------------------------------------
    My FileMatch class program above has bugs in it.
    The correct results for the newmast.txt:
    100  Alan  Jones  375.31
    300  Mary  Smith  173.19
    500  Sam  Sharp  0.00
    700  Suzy Green  68.09The correct results for the log.txt:
    Unmatched transaction record for account number 400Unmatched transaction record for account number 900------------------------------------------------------------------------------------------------
    My results for the newmast.txt:
    100 Alan Jones 375.31
    300 Mary Smith 111.08
    500 Sam Sharp 0.00
    700 Suzy Green -12.69My results for the log.txt
    Unmatched transaction record for account number 700-------------------------------------------------------------------------------------------------
    I am not sure what is wrong with my code above to make my results different from the correct results.
    Much help is appreciated. Please help.

    From the output, it looks like one problem is just formatting -- apparently you're including a newline in log entries and not using tabs for the newmast output file.
    As to why the numbers are off -- just from glancing over it, it appears that the problem is when you add multiple transaction values. Since account.combine() is so simple, I suspect that you're either adding creating transaction objects incorrectly or not creating them when you should be.
    Create test input data that isolates a single case of this (e.g., just the Mary Smith case), and then running your program in a debugger or adding debugging code to the add/combine method, so you can see what's happening in detail.
    Also I'd recommend reconsidering your design. It's a red flag if a class has a name with "Create" in it. Classes represent bundles of independant state and transformations on that state, not things to do.

Maybe you are looking for