Clubbing together of Two serial link using Multilink!

Dear All,
I have two links of 2Mbps each from same service provider landing to two different serial port at my end.
What I am looking for is to club both the link as one single aggregate link of 4Mbps but the constrain is my IOS which is 12.0(25).
With 12.3 I am aware to configure Multilink PPP and clubbing two interface with this sinle multilik but please suggest how to go ahead with this clubbing with available IOS 12.0
Awaiting your response.
With best regards,
Mani
mail me : [email protected]
Show Version output
Cisco Internetwork Operating System Software
IOS (tm) 2500 Software (C2500-IS-L), Version 12.0(28c), RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2005 by cisco Systems, Inc.
Compiled Wed 30-Mar-05 16:33 by pwade
Image text-base: 0x0303E2D4, data-base: 0x00001000
ROM: System Bootstrap, Version 5.2(5), RELEASE SOFTWARE
BOOTFLASH: 3000 Bootstrap Software (IGS-RXBOOT), Version 10.2(5), RELEASE SOFTWA
RE (fc1)
uptime is 20 hours, 39 minutes
System restarted by power-on
System image file is "flash:c2500-is-l.120-28c.bin"
cisco 2500 (68030) processor (revision D) with 4096K/2048K bytes of memory.
Processor board ID 02039358, with hardware revision 00000000
Bridging software.
X.25 software, Version 3.0.0.
2 Ethernet/IEEE 802.3 interface(s)
2 Serial network interface(s)
32K bytes of non-volatile configuration memory.
16384K bytes of processor board System flash (Read ONLY)
Configuration register is 0x2102

Hi Guys,
You should use the RAD IMAXI-E1. It works on the Bonding protocol and automatically clubb ur bandwidth.
u need to place 2 Imaxi -E1 in both side. It is basically inverse multiplexures. Cisco does the same.
It will combine ur 4 E1s to ethernet 10/100.
contact me at [email protected] for more information.
cheers!
additinally if u want to use the cisco feature called multilink PPP feature. use ppp encapsulation on ur all 4 or 2 E1's WAN /serial interface. Create one loopback address in each end. on ur wan put this ip (ip unnberred on loop0). and make this port to member of the multilink groiup. thats all
or
configure it as a bridge irb and use multilink. thats all.

Similar Messages

  • Create a two-way link (using AppleScript?) in Numbers '09

    We are migrating to iWork '09 for our business needs and seek an Applescript expert to advise us as follows.
    Our team has successfully used VBA in Excel for Mac 2004 to "two-way link" two cells in differing spreadsheets such that anything entered in cell 1 shows up in cell 2 and vice versa. However, neither Excel for Mac 2008 (which most of our company uses) nor Numbers supports VBA, and Numbers seems like the best overall app to use IF we can get two cells to link as described. Typical formulas do not work as a cell cannot be both an input and an output cell.
    Please advise or help!
    Thank you,
    Reos Partners

    yuleth wrote:
    Thank you Yvan. We are grateful for your lengthy response and your suggested script. There are a few things to clarify before we can take a next step with that script.
    1. We are planning to have not just two documents, but many documents. When we share these Numbers documents on a network drive or Dropbox, the entire setup will become a project management tool. We will have a "master" document as well as "project-specific" documents in this setup, all linked together by the script or scripts in question and housed in different folders.
    I really dislike working with documents stored on a network.
    It's more safe to work with a local file and store it on the network when it's OK.
    The "master" document will allow the general manager to see and enter data that shows up in "project-specific" documents. On the other hand, data entered in specific cells in the "project-specific" documents will show up in the manager's "master."
    If I understand well,
    rangeA of cells of the 'master' doc are shared with document A
    rangeB of cells of the 'master' doc are shared with document B
    rangeZ of cells of the 'master' doc are shared with document Z
    as well as
    rangeA of cells of document A are shared with the 'master' doc
    rangeB of cells of the document B are shared with the 'master' doc
    rangeZ of cells of the document Z are shared with the 'master' doc
    It's important that this functionality operate not only with open documents; this should be able to function also when only one of the linked documents, master or otherwise, is in use. Is that possible?
    It would require that the script is aware of the exact location of every document.
    2. We understand the limitation you describe: either a predefined (hardcoded) cell in the script OR the same location in the target document.
    3. Once we have a script that performs as described above, we actually don't know what to do with it: we're brand new to Applescript but have used Macs for many years. Given our unfamiliarity with the use of such scripts, please advise, or point us to a resource: then what? How is such a script applied to a Numbers document or a series of documents? Or do we set it up such that it always runs when Numbers runs, and if so, how? What is the procedure?
    Using a script running in the background would not be safe to capture cells selection.
    I thought that I was clear when I wrote:
    +Given two open documents whose names are defined by the property theDocs,+
    +enter a value in a cell on one of them.+
    +With the cell selected, call the script.+
    +It will copy the entered value in the same cell of the other document.+
    In the original script, when one script is filled and selected,
    it's your duty to call the script.
    --[SCRIPT]
    The embedded properties describe a master document
    and several subscriber documents.
    One describe the ranges of cells dedicated to each subscriber.
    These ranges are of this format: {topRow, leftColumn, bottomRow, rightColumn}
    In the open document, fill the range of cells dedicated to one document.
    Select this range.
    Call the script.
    It will copy the selected range in the same range of the target document.
    Yvan KOENIG (Vallauris, FRANCE)
    2009/07/31
    enhanced 2009/08/01
    property masterName : "masterDoc.numbers"
    property masterContainer : "Macintosh HD:Users:yvan_koenig:Desktop:"
    property theNames : {"documentA.numbers", "documentB.numbers"}
    property theContainers : {"Macintosh HD:Users:yvan_koenig:Desktop:", "Macintosh HD:Users:yvan_koenig:Desktop:"}
    property theRanges : {{2, 2, 4, 3}, {5, 4, 8, 5}}
    --=====
    on run
    set {dName, sName, tName, rname, rowNum1, colNum1, rowNum2, colNum2} to my getSelParams()
    if (dName is not masterName) and (dName is not in theNames) then error "the source document is not an allowed one !"
    if dName is masterName then (*
    the selection is in the master document
    we must define the target document *)
    set theRange to {rowNum1, colNum1, rowNum2, colNum2}
    set maybe to false
    repeat with i from 1 to count of theRanges
    if theRange is item i of theRanges then (*
    the selected range is one of the predefined ones so we may define the parameters of the target document *)
    set targetname to item i of theNames
    set targetContainer to item i of theContainers
    set maybe to true
    exit repeat
    end if
    end repeat
    if maybe is false then error "the selection in the document “" & dName & "” is not valid !"
    else (*
    the selection is in one of the subscriber documents.
    So the target document is the master one. *)
    set targetname to masterName
    set targetContainer to masterContainer
    (* now, we must grab the predefined range linked to the active document *)
    repeat with i from 1 to count of theNames
    if dName is item i of theNames then
    set theRange to item i of theRanges
    exit repeat
    end if
    end repeat
    (* we check that the selected range is really the predefined one *)
    if {rowNum1, colNum1, rowNum2, colNum2} is not theRange then error "the selection in the document “" & dName & "” is not valid !"
    end if
    (* Here we know the name of the target document
    the container of the target document
    the selected range
    tell application "Numbers"
    set isOpen to targetname is in (get name of documents)
    if not isOpen then
    open file (targetContainer & targetname)
    repeat
    if (get name of documents) contains targetname then exit repeat
    end repeat
    end if
    repeat with r from item 1 of theRange to item 3 of theRange
    repeat with c from item 2 of theRange to item 4 of theRange
    tell document dName to tell sheet sName to tell table tName to set theValue to value of cell r of column c
    tell document targetname to tell sheet sName to tell table tName to set value of cell r of column c to theValue
    end repeat -- columns
    end repeat -- rows
    save document targetname
    if not isOpen then close document targetname
    end tell -- Numbers
    end run
    --=====
    set { dName, sName, tName, rname, rowNum1, colNum1, rowNum2, colNum2} to my getSelParams()
    on getSelParams()
    local r_Name, t_Name, s_Name, d_Name, col_Num1, row_Num1, col_Num2, row_Num2
    set {d_Name, s_Name, t_Name, r_Name} to my getSelection()
    if r_Name is missing value then
    if my parleAnglais() then
    error "No selected cells"
    else
    error "Il n'y a pas de cellule sélectionnée !"
    end if
    end if
    set two_Names to my decoupe(r_Name, ":")
    set {row_Num1, col_Num1} to my decipher(item 1 of two_Names, d_Name, s_Name, t_Name)
    if item 2 of two_Names = item 1 of two_Names then
    set {row_Num2, col_Num2} to {row_Num1, col_Num1}
    else
    set {row_Num2, col_Num2} to my decipher(item 2 of two_Names, d_Name, s_Name, t_Name)
    end if
    return {d_Name, s_Name, t_Name, r_Name, row_Num1, col_Num1, row_Num2, col_Num2}
    end getSelParams
    --=====
    set {rowNumber, columnNumber} to my decipher(cellRef,docName,sheetName,tableName)
    apply to named row or named column !
    on decipher(n, d, s, t)
    tell application "Numbers" to tell document d to tell sheet s to tell table t to return {address of row of cell n, address of column of cell n}
    end decipher
    --=====
    set { d_Name, s_Name, t_Name, r_Name} to my getSelection()
    on getSelection()
    local _, theRange, theTable, theSheet, theDoc, errMsg, errNum
    tell application "Numbers" to tell document 1
    repeat with i from 1 to the count of sheets
    tell sheet i
    set x to the count of tables
    if x > 0 then
    repeat with y from 1 to x
    try
    (selection range of table y) as text
    on error errMsg number errNum
    set {_, theRange, _, theTable, _, theSheet, _, theDoc} to my decoupe(errMsg, quote)
    return {theDoc, theSheet, theTable, theRange}
    end try
    end repeat -- y
    end if -- x>0
    end tell -- sheet
    end repeat -- i
    end tell -- document
    return {missing value, missing value, missing value, missing value}
    end getSelection
    --=====
    on decoupe(t, d)
    local l
    set AppleScript's text item delimiters to d
    set l to text items of t
    set AppleScript's text item delimiters to ""
    return l
    end decoupe
    --=====
    on parleAnglais()
    local z
    try
    tell application "Numbers09English" to set z to localized string "Cancel"
    on error
    set z to "Cancel"
    end try
    return (z is not "Annuler")
    end parleAnglais
    --=====
    --[/SCRIPT]
    Yvan KOENIG (from FRANCE samedi 1 août 2009 17:57:05)

  • AS/400 to Two 5494 controllers using STUN

    Hello,
    I've configured STUN between an AS/400 and 2 x 5494 controllers across a serial link using two 2621 routers
    I've pretty much copied the configuration from the example web site which shows this exactly as we have it
    http://www.cisco.com/en/US/partner/tech/tk827/tk369/technologies_tech_note09186a00800b451e.shtml
    The IBM engineer is saying the RTS lines never drop so he is not able to activate either controller.
    Can you give the config a quick look and possibly tell me where I'm going wrong please
    Many thanks
    Tony
    hostname Site_A
    stun peer-name 172.16.1.1
    stun protocol-group 1 sdlc
    stun remote-peer-keepalive 10
    interface Loopback0
    ip address 172.16.1.1 255.255.255.0
    interface Serial0/0
    description *** Kink to Site B ***
    bandwidth 960000
    ip address 192.168.200.2 255.255.255.252
    priority-group 1
    interface Serial0/1
    description *** Link to AS/400 ***
    no ip address
    encapsulation stun
    idle-character marks
    nrzi-encoding
    clockrate 19200
    stun group 1
    stun sdlc-role secondary
    sdlc K 1
    sdlc address 01
    sdlc address 02
    stun route address 1 tcp 172.16.2.1 local-ack
    stun route address 2 tcp 172.16.2.1 local-ack
    ip route 0.0.0.0 0.0.0.0 192.168.0.1
    priority-list 1 protocol stun high
    priority-list 1 protocol ip medium tcp 1990
    priority-list 1 protocol ip normal tcp 1991
    priority-list 1 protocol ip low tcp 1992
    priority-list 1 protocol stun high address 1 1
    priority-list 1 protocol stun high address 1 2
    hostname Site_B
    stun peer-name 172.16.2.1
    stun protocol-group 1 sdlc
    stun remote-peer-keepalive 10
    interface Loopback0
    ip address 172.16.2.1 255.255.255.0
    interface Serial0/0
    description *** Serial Link to Site A ***
    bandwidth 960000
    ip address 192.168.200.1 255.255.255.252
    no ip route-cache
    no ip mroute-cache
    priority-group 1
    interface Serial0/1
    description Serial Link to 5494 Controller 01
    no ip address
    encapsulation stun
    no ip route-cache
    no ip mroute-cache
    nrzi-encoding
    clockrate 19200
    stun group 1
    stun sdlc-role primary
    sdlc address 01
    stun route address 1 tcp 172.16.1.1
    interface Serial0/2
    description Serial Link to 5494 Controller 02
    no ip address
    encapsulation stun
    no ip route-cache
    no ip mroute-cache
    nrzi-encoding
    clockrate 19200
    stun group 1
    stun sdlc-role primary
    sdlc address 02
    stun route address 2 tcp 172.16.1.1
    ip route 0.0.0.0 0.0.0.0 192.168.200.2
    priority-list 1 protocol stun high address 1 1
    priority-list 1 protocol stun high address 1 2

    Hi Tony,
    The first thing is that this line has clock rate configured, which must mean it is DCE ( has a DCE cable attached ). This means RTS comes from the AS/400 and not the router. CTS would come from the router. If you want this to work as half duplex, add half-duplex to the serial interface configuration. Also, you should add the global command, "stun quick-response" on the AS/400 side router only. Local-ack is by STUN group, all of none. "Stun quick-response" is only valid with local-ack. It prevents the AS/400 from taking the line down if one of the remote controllers is down. This allows the other to stay up. The router will respond with DM for the controller that is down.
    Best regards,
    Jim

  • My assistant and I are using two Lightrooms (i.e. two serial numbers) and need to share between our two computers. I provide originals to her onto a flash drive. She tags them and returns them to me. I then copy the photos from her flash drive onto my com

    My assistant and I are using two Lightrooms (i.e. two serial numbers) and need to share between our two computers. I provide originals to her onto a flash drive. She tags them and returns them to me. I then copy the photos from her flash drive onto my computer and load them in my LR. The photos appear but witthout any editing or tagging. We need to be able to have her working on the photos on her computer with her copy of LR and me on my computer with my version of LR being able to access what is already tagged and given back to me. This seems hard. We need advice on if it is at all possible to have two computers simultaneously working on LR . I bought her her own version because I was told at the time of purchasing that that was the only way to share. Please advise urgently! Thanks.

    Sounds like your assistant isn't instructing Lightroom to write the tagging and editing to the files themselves, so wehn the files return to you, they don't have editing and tagging information. She need to select the photos in Lightroom and then Ctrl-S (Cmd-S on Mac). Or alternatively turn on the option to autmoatically write this information to the files.
    If you are using RAW photos, then this information will be written to a sidecar XMP file, and your assistant must provide you with the sidecar file. If these photos are not RAW photos, then the information is written directly into the photo file itself.
    Lightroom wasn't designed to be a multi-user program, and so it is truly not possible to have two people working on the same catalog at once. The way you are doing things, as modified above, is probably the way to go.
    As an alternative, you can transfer (portions of) catalogs as well as photos back and forth and then all of these issues disappear, but a catalog might be rather large for a flash drive (or maybe not, it depends)

  • How to secure IPv6 P2P Link between two distinguished Routers using ospfv3

    I have two Routers - one Catalyst 6500 Sup720 and one Nexus 7009 SUP2-E - connected
    via ospfv3 P2P Link using  /64 IPv6 Networkaddresses. What must be configured in order to secure this P2P Link against possible security attacks ! Any example configuration available ?
    Greetings Manfred

    Hi Manfred,
    You should configure authentication on both of the P2P interfaces/ SVIs:
    int te1/0/1
       desc 6500 uplink
       ipv6 ospf authentication ipsec spi 500 sha1 <40_bit_hash>
    int te1/0/1
       desc 7009 uplink
       ipv6 ospf authentication ipsec spi 500 sha1 <40_bit_hash>
    ...ensure that either end of the link have same spi index value and obviously hash value too.
    cheers,
    Seb.

  • Two iPhones linked to the same Apple ID

    Is there any way to have separate iMessage services for two iPhones linked to the same Apple ID? I share Apple ID with my wife for convenience of buying apps only once and sharing photo and music from one Mac. However, the my iMessages to other people seem to appear on my wife's iPhone.  The phone number is used as a Caller ID.

    Use separate Apple IDs for iMessage (Settings>Messages>Receive At>tap the Apple ID at the top, sign out, sign in with a different ID).  You can still keep the same ID for iCloud (if you want to share contacts, calendars, photostream, etc.) and for store purchases (in Settings>Store).

  • Limit on Joined Tables or DB Links Used in a single Select Statement???

    I am writing a query that joins upwards of five tables utilizing two or three DB links in the process. When I run the query I get an error telling me that the table or view does not exist. I know that it does in fact exist and I am able to run a separate query on said table even across a DB Link. I've never know there to be a limit to the amount of DB Links used within a single query, but then again, I previously have only written in T-SQL.
    I am using ANSI standard SQL in my joins syntax and am familial with the syntax for use of remote DB tables in PL/SQL.
    Does anyone have an idea what the problem might be?
    David

    I am Using Oracle 10g and I'm positive that I am not exceeding my OPEN_LINKS limit.
    As far as my SQL, here is a simplified version:
    SELECT count(*)
    FROM SYSADM.PS_PERSONAL_DATA
    INNER JOIN ARTEMIS.HRMS_EMPLOYMENT_TBL@prod ON ARTEMIS.HRMS_EMPLOYMENT_TBL.EMPLOYEE_ID = SYSADM.PS_PERSONAL_DATA.EMPLID
    INNER JOIN ARTEMIS.HRMS_JOB_TBL@prod on ARTEMIS.HRMS_JOB_TBL.EMPLOYEE_ID = ARTEMIS.HRMS_EMPLOYMENT_TBL.EMPLOYEE_ID
    INNER JOIN SYSADM.PS_DEPT_TBL on ARTEMIS.HRMS_JOB_TBL.JOB_DEPT_ID = SYSADM.PS_DEPT_TBL.DEPTID
    INNER JOIN UMSSECU.PERSON@sirs ON ARTEMIS.HRMS_JOB_TBL.EMPLOYEE_ID = UMSSECU.PERSON.PERSON_ID
    INNER JOIN UMSSECU.ASSIGNMENT@sirs ON UMSSECU.PERSON.PERSON_ID = UMSSECU.ASSIGNMENT.PERSON_ID
    INNER JOIN UMSSECU.ORGANIZATION@sirs ON UMSSECU.ASSIGNMENT.ORGANIZATION_ID = UMSSECU.ORGANIZATION.ORGANIZATION_ID;
    The error comes into play with the join to UMSSECU.ASSIGNMENT@sirs it says that the table does not exist. But when I run (select count(*) from UMSSECU.ASSIGNMENT@sirs) on the sirs DB it executes without error. I am confused. I also just identified that I cannot remotely query that table in particular. All the other tables from the sirs DB can be queried from the other DB.

  • How to transfer file from PC to PC via serial port using labview

    I need to transfer files(.txt, .doc, .xls) from PC to PC via serial port using LabVIEW. Is it possible to transfer files, if so how to transfer?
    Solved!
    Go to Solution.

    Yes, it is possible to transfer files with the serial port using LabVIEW.  Files are just collections of bytes and the serial port is pretty good at shipping bytes from one PC to another.  You need to connect the serial ports together with a null modem cable.
    First, take a look at the example for serial communication.   In LabVIEW, go to the Help menu and select "Find Examples...".  From there you can search for "serial" or navigate to Hardware Input and Output >> Serial.  Select the "Basic Serial Write and Read.vi".  Experiment with that example to gain confidence on the serial communication methods.
    Next, it's time to learn about how to read and write files.  For that, the examples could be somewhat confusing since they all deal with files that are presumed to have data of a specific type in them.  I would recommend just getting familiar with the functions on the File I/O palette.  Specifically, get to know the following functions.
    Open/Create/Replace File - On your destination side, you'll need to create the copy of the file that you are trying to transfer
    Close File - When you are finished reading from or writing to a file, you should close it.  It cleans up the memory being used and finalizes any write operations that are still floating in the write buffer.
    Read From Binary File - The best way to read from a file when you do not really care what type of file it is.  In your case, you just want to get those bytes read and sent out so they can be written down at the destination.
    Write to Binary File - At the destination side, this is what will store those bytes to the file you created with number 1.
    Get File Size (under the Advanced File Functions sub-palette) - You need to know how big the file is so you know when you are finished.
    OK, so once you are able to create files, write bytes to them, and read bytes from existing files you can move on to transferring.
    The basic method I would suggest is to have the user specify a source file on the source PC and a destination folder on the destination PC.  Then, find out the size of the source file using number 5.  Divide that size number by the number of bytes you feel like transferring at once.  The serial buffers are usually around 32k (if I remember correctly) so do not exceed that.  Now begin sending data by reading some number of bytes and wiring that string output to the VISA Write function.  On the destination side, you'll want to be monitoring the serial port for bytes and reading them when they arrive.  Wire that string to the Write to Binary File function to add them to your destination file.
    That is the basic outline of how to do it.  You have to be careful not to overload the write and read buffers on the serial ports.  Initially you can use delays on the sending side to make sure the reading side has enough time to digest.  To get things moving faster, you can bring in some flow control.
    If all that sounds a bit intimidating, there are Alliance Member companies out there (such as PrimeTest Automation) who can write such code for you and even provide a turnkey solution for you.
    Happy wiring,
    Dan Press
    Certified LabVIEW Architect
    PrimeTest Automation

  • How to sepparate two ipads link toguether with the same id

    i have two ipads link with the same id it is possible to have different ids each one???, i have two ipads link with the same id it is possible to have different ids each one???

    Very easily. I have an iPod touch and iPad on the same account with totally different content.
    If you use iTunes, connect each iPad to your computer and open iTunes and deselect any automatic updating/syncing. If you don't sync with iTunes but have them set up independently, under the settings, App Store, turn off automatic downloads for apps, etc.
    I'm old fashioned, I set up and sync my iPad and iPod to my computer and iTunes. Each device has a different name  and I manage content manually and only allow sharing on what I want shared.

  • Photoshop CS4- Does anyone know how to tell if two people are using same file?

    Photoshop CS4- Does anyone know how to tell if two people are using same file?

    Hi,
    Thanks for your response. I'm not the solution in the link.
    The problem that I am having at work it that several people in our department want to be able to update a file, but we want to be sure that no one else is currently editing that file. If someone has the file open, it's helpful to know the user's name so we can talk about when the next person can edit the file. This works in Excel files that we use, and I would love to find out how to do it in Photoshop and Illustrator.
    Thanks for the help!

  • RE:Serial communication using java

    Hello,
    First of all, I want to make clear thatI did not double post it as previously I posted it in Networking section..But I was told that I have not posted it at appropirate place....thats wht I am posting here.
    I am a newbie in Java.I have started with Netbeans.I have designed a interface using Netbeans.It has 5 texboxes and two buttons named "Start" and "Stop".
    I want to receive data from the serial port and display the data in text boxes.I want when I press Start button, then it should start listening to the serial port .If adat is present on serial port, then it must receive it and displayin the text boxes.when I press Stop button, then it should stop receiving data as well close connection.
    can please anyone help me on this?
    I would be highly thankful for this.
    Regards,
    Jass

    Hello All,
    I am using the javax.comm for serial communication using serial to usb converter at port COM4(I check using device manager.).Beside that I have also added the option in the programming to look into other COMs also.I have placed "comm.jar " and "javax.properties" into jdk\lib\ext and "win32.dll" into jdk\bin.
    But I am getting the following output:
    Wed Dec 24 02:23:43 EST 2008: COM4 null
    Serial port List is  javax.comm.CommPortEnumerator@1a46e30
    Serial port ID  is null
    BUILD SUCCESSFUL (total time: 0 seconds)
    The code Is as follows:
    import java.io.*;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import javax.comm.*;
    import java.util.*;
    public class serialport implements Runnable, SerialPortEventListener
        static CommPortIdentifier portId, portId1;
        public SerialPort serialPort;
        public OutputStream outputStream;
        public InputStream inputStream;
        Thread readThread;
        static Enumeration portList;
         static String TimeStamp;
        public static void main(String args[])     
        {try {
              portId1 = CommPortIdentifier.getPortIdentifier("COM4");
              }catch(Exception e) {
          TimeStamp = new java.util.Date().toString();
          System.out.println(TimeStamp + ": COM4 " + portId1);}
               portList = CommPortIdentifier.getPortIdentifiers();
               System.out.println("Serial port List is  "+portList+"\n");
               portId = (CommPortIdentifier) portList.nextElement();
              System.out.println("Serial port ID  is "+portId+"\n");
           while (portList.hasMoreElements()) {
              portId = (CommPortIdentifier) portList.nextElement();
              if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) {
                if (portId.getName().equals("COM3")) {
                     System.out.println("Serial port COM3 is found\n");
                serialport Port = new serialport();
                else if (portId.getName().equals("COM4")) {
                     System.out.println("Serial port COM4 is found\n");
                serialport Port = new serialport();
                else if (portId.getName().equals("COM6")) {
                     System.out.println("Serial port COM6 is found\n");
                serialport Port = new serialport();
                else if (portId.getName().equals("COM7")) {
                     System.out.println("Serial port COM7 is found\n");
                serialport Port = new serialport();
                else if (portId.getName().equals("COM5")) {
                     System.out.println("Serial port COM8 is found\n");
                serialport Port = new serialport();
      public serialport()
        try {
          serialPort = (SerialPort) portId.open("MainClassApp", 2000);
        } catch (PortInUseException e) {
                  System.out.println("Port is owned by another application \nor port cannot be opened\n");
        try {
          inputStream = serialPort.getInputStream();
        } catch (IOException e) {
             System.out.println("IOstream for port is not available\n");}
        try {
          serialPort.setSerialPortParams(9600, SerialPort.DATABITS_8, SerialPort.STOPBITS_1,SerialPort.PARITY_NONE);
        } catch (UnsupportedCommOperationException e) {
             System.out.println("Serial port is not properly configured\n");}
        try {
          serialPort.addEventListener(this);
        } catch (TooManyListenersException e) {
             e.printStackTrace();}
        serialPort.notifyOnDataAvailable(true);
        readThread = new Thread(this);
        readThread.start();
        public void run() {
           try {
             Thread.sleep(2000);
               } catch (InterruptedException e) {      e.printStackTrace();}
        public void serialEvent(SerialPortEvent event) {
             Runtime rt = Runtime.getRuntime() ;
             Process p;
        switch (event.getEventType()) {
        case SerialPortEvent.BI:
        case SerialPortEvent.OE:
        case SerialPortEvent.FE:
        case SerialPortEvent.PE:
        case SerialPortEvent.CD:
        case SerialPortEvent.CTS:
        case SerialPortEvent.DSR:
        case SerialPortEvent.RI:
        case SerialPortEvent.OUTPUT_BUFFER_EMPTY:
          break;
        case SerialPortEvent.DATA_AVAILABLE:
          byte[] readBuffer = new byte[1];
          try {
            while (inputStream.available() > 0)
                   int numBytes = inputStream.read(readBuffer);
                   System.out.print(new String(readBuffer));
                    break;
            System.out.print(new String(readBuffer));
                } catch (Exception e) {
               e.printStackTrace();}
          break;}  }  }Kindly help........I really wanna to know where is the error???
    Thanks
    Edited by: jass11 on Dec 23, 2008 11:39 PM
    Edited by: jass11 on Dec 23, 2008 11:51 PM

  • The quicklink row on the overall window for this version of firefox continually skips two icons/links, why?

    I didn't have this issue on any previous version of my favorite browser, but now when I remove the 'Name' that would show up next to the icon, to only show the logo of my bookmarks, two icons that are adjacent to each other do not allow me to select it. However I try to arrange them, or even duplicate the link on that row of icons some other two adjacent links will repeat the issue I'm writing about here.
    Thank you in advance for your help with this.
    Long live Mozilla Firefox.

    Thanks but you're only telling me stuff I already know, that dosen't explain how I get the new version of Firefox to look neat and tidy like it always used to. I can no longer have all my icons that I use, I can no longer access things as easily as I could and the whole thing looks very bare and basic now! A bigger mess than even Google Chrome.
    I've spent most of this evening trying to get stuff back that is now lost because of this 'upgrade' and I'm now giving up with it. Well done! You've totally ruined what was the best browser for years.

  • Unable to communicat​e with serial device using hex

    Hi... I have two instruments, both manufactured by the same company (Inficon), both that provide the same basic function which is rate control of vapor deposition...  Both instruments use RS-232 serial communication (baud rate of 19,200, 8 data bits, 1 stop bit, no parity, no flow control).  The only fundamental difference between the two instruments is that the instrument I will call #1 communicates serially using simple ASCII text while the second instrument (#2) communicates using HEX numbers...  Using VISA serial write and read, I have for a long time been successfully communicating with instrument #1...  I send it (serial write) a certain ASCII text command and the instrument responds with a message I successfully read back (serial read)...  That works fine...  Now I have a need to do the same "write a command and read a response" with instrument #2... I'm working with an engineer at the instrument company who has supplied me with the precise HEX messages I need to send, messages he has tested on an identical instrument #2 at his factory but so far, what works for him does not work for me...  I write the HEX string.  I get no errors but also I get NO BYTES available to read at the serial port...  Note, he is NOT using LabVIEW at the factory but is instead using a proprietary serial communication executable the factory uses internally...  He and I have resorted to having me try the simplest HELLO command in HEX that is, in fact, exactly the following
    0200480149  <--- in HEX (first two bytes are Length of command with LSB first, MSB second, the next two bytes are the command itself, in this case H1 (HEX for ASCII "H" is 0x48 and this company then uses 0x01 for 1 rather than the actual HEX for ASCII "1" which would be 0x31. Then the last byte is a checksum which is simply the HEX add of the two command bytes, 0x48 + 0x01 = 0x49...
    The bottom line I am confident the above 0200480149 (HEX) would work if I was sending it correctly but somehow I am not...  
    It's the weekend right now and I've been reading NI support posts here and I already have a couple of ideas that I intend to try on Monday...  One is I will try HyperTerminal to see I can communicate that way...  Second, the code I am using is ALMOST identical to the very basic Serial Write/Read code that can be found at (this is being done in LabViEW 7.1)
    C:\Program Files\National Instruments\LabVIEW 7.1\examples\instr\smplserl.llb\Basic Serial Write and Read.vi 
    But the ALMOST might be important...  I just noticed that I "Enable Termination Character" set to TRUE (default).  That may be causing my problem so the first thing next week I will set that to FALSE and see if my problem goes away...  But I'm trying to get a jump start on this problem (I am under time pressure to get this working) so I thought I would ask for your help...
    I also am not sure how to set up the string control that is inputting this HEX input message...  I have set it as "Normal" and also as "HEX display"...  But either way I set it, I still get "0 bytes at port" when I get to the READ portion of the code so neither "Normal" nor "HEX display" is working for me... 
    So other than trying HyperTerminal and also trying to set the "Enable Termination Character" to FALSE, can anyone suggest what I might be doing wrong???  I am pretty sure it is a formatting issue (such as sending that termination character) and I need to get it figured out soon... Any other ideas???  Any help would be much appreciated...  thanks.... bob...

    Hi...  Thanks for the response...  Find the very simple code I am using attached...  Do note that the string indicator out of the VISA read does open up with default values of 0D0A (CR LF)...  I didn't put those in and I've left them there to show what the defaults were when this code was first saved, just in case you think those values being there matter...  ??  Anyway, again, the code is attached...  Note also I have left the code with its "Enable Termination Char" set to ON (default) in the Configure VISA serial subvi.  I am not at work yet and will set that to FALSE later but you've more or less convinced me that is not going to solve my problem as that is tied to terminating the READ and does not impact the Serial WRITE...  And I appreciated the input on Portmon...  I downloaded it and will give it a try when I get to work which will be soon...  But I wanted to attach the code as you requested...  Holler back if you see anything that might help me with my issue...
    Oh, one last thing...  The manual for the instrument explicitly says that it uses "one start bit, 8 data bits, one stop bit, no parity, no flow control"...  What got my attention there is the explicit mention of "one start bit"...  Nothing in Windows or LabVIEW allows me to alter how many start bits there might be so I am assuming ALL serial comm uses one start bit and they just chose to mention it here???  Or might the start bit settings be an issue????  I am just searching... 
    Last, this code is in LabVIEW 7.1 and I really do use COM4 as I use a Keyspan serial port expander on the PC because we needed more serial ports...  That part has been tested and In fact, the other day, while in the middle of this problem we took the serial cable and hooked to what I above called the #1 instrument and talked to it just fine over COM4, same cable and everything so I think that part is good...
    thanks... bob... 
    Attachments:
    Talk with Cygnus.llb ‏35 KB

  • How to insert data into two tables linke with foreign key..

    I have two tables
    1)EMP(emp_ID,username,emp_type_code)
    emp_ID is primary key, emp_type_code is a foreign key references emptype table.
    2)emptype(emp_type_code,emp_type_descripton)
    emp_type_code is primary key
    Could anyone help me ..how to insert data into EMP table. How to insert data into two tables linke with foreign key..

    CREATE TABLE "CATDB"."DWDIMUSER"
    "USER_ID" NUMBER(10,0) NOT NULL ENABLE,
    "SPECIALTY_ID" NUMBER(10,0),
    "FULLNAME" VARCHAR2(20 BYTE),
    "FNAME" VARCHAR2(20 BYTE),
    "LNAME" VARCHAR2(20 BYTE),
    "USER_SUBTYPE" VARCHAR2(20 BYTE),
    CONSTRAINT "DIMUSER_PK" PRIMARY KEY ("USER_ID") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "CATDB" ENABLE,
    CONSTRAINT "DIMUSER_DIMSPECIALTY_FK" FOREIGN KEY ("SPECIALTY_ID") REFERENCES "CATDB"."DWDIMSPECIALTY" ("SPECIALTY_ID") DISABLE
    CREATE TABLE "CATDB"."DIMSPECIALTY"
    "SPECIALTY_ID" NUMBER(10,0) NOT NULL ENABLE,
    "SPECIALTY_NAME" VARCHAR2(100 BYTE),
    CONSTRAINT "DIMSPECIALTY_PK" PRIMARY KEY ("SPECIALTY_ID") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "CATDB" ENABLE
    INSERT INTO DIMUSER (FullName, FNAME, LNAME, USER_TYPE, USER_SUBTYPE)
    SELECT DISTINCT
    Engineer AS FullName,
    regexp_substr(Engineer , '[^,| ]+', 1, 1) as FName,
    regexp_substr(Engineer , '[^,| ]+', 1, 2) as LName ,
    'Engineer'
    FROM EMPLOYEELOOKUP;
    INSERT INTO DIMSPECIALTY (SPECIALTY_NAME)
    SELECT DISTINCT SPECIALITY
    FROM EMPLOYEELOOKUP;
    COMMIT;
    CREATE TABLE employeelookup ...IS A TABLE THAT HAS ALL THE DATA NEDED TO BE FILLED IN BOTHE TABLES...
    CREATE TABLE "CATDB"."EMPLOYEELOOKUP"
    "EMPLOYEELOOKUP_ID" NUMBER(10,0) NOT NULL ENABLE,
    "ENGINEER" VARCHAR2(25 BYTE),
    "SPECIALTY" VARCHAR2(20 BYTE),
    CONSTRAINT "DIMSPECIALTY_PK" PRIMARY KEY ("EMPLOYEELOOKUP_ID") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "CATDB" ENABLE
    DATA IN EMPLOYEELOOKUP
    Engineer, Specialty,
    John, Dow, Electronis,
    Dow, Jons, Technician
    Stan Smithers Sales
    Mark, Richards Marketing
    Jenny, Lane Marketing
    John, Lee Sales
    I NEED TO LOAD THE FOREIGN KEY IN DIMUSER FROM THE DIMSPECIALTY TABLE?
    BY USING THE LOOKUP TABLE TO MARCH THE NAMES UNDER THE Engineer COLUMN, SPECIALTY COLUMNE DISTICTIVLY BY JOINING THE DIMSPECILTY TO RISTIVE THE PRIMARY KEY AND FILL IT IN THE DIMUSER TABLE AS A FOREIGNE KEY.

  • If i delete ps express, will it delet my fotos in revel as well? i think the two are linked. not sure.

    if i delete photo shop express from my phone, will it also delete my fotos in revel? i think the two are linked. not sure.

    "will it also delete my fotos in revel?"
    No, with that said it'd be a good thing to read Adobe Revel's user Help information.
    You'll be much more comfortable with the service's use once you actually know what it does.
    Be well...

Maybe you are looking for

  • Dropping a table gives an error

    When I try to drop a table it gives the following error? SQL> drop table FLOWS_010600.SYS_IOT_OVER_55056; drop table FLOWS_010600.SYS_IOT_OVER_55056 ERROR at line 1: ORA-25191: cannot reference overflow table of an index-organized table what should i

  • Same account on two computers

    Hi, I did a search on the forum this topic but haven't quite found what I was looking for. I have an iChat account on my old eMac and I am using an AIM account. Now I have just got a new macbook and would like to use the same ichat account I have set

  • Why do I get an error of B2010002, when I open an NI-CAN object?

    I am using the configuration of the property page to setup the PCI-CAN card. I am using Extended Arbitration Number of 0xFEF100. My code is in VB 5.0. The code works with a number less than 0xFFFFF. The B201002 is an Implentation-specific error in NI

  • TABLES FOR MASTER & TRANSACTIONAL DATA

    Hi all , can some body help me with TABLES FOR MASTER & TRANSACTIONAL DATA DP,SNP,PP/DP. Thanks

  • Why can I not get a gmail account on my macmnini?

    Why can I not get a gmail account on my macmnini? It tells me "unable to confirm account name or password. But the same name and password worked on my ipad 2.