Read Data through Comport?

Hi Guys,
   Is it possible to read data through comport

Hi,
Can u tell me what is Comport ?
Regards,
Deepu.K

Similar Messages

  • Why does a standalone program created in Labview 8.5 try connecting to the internet when the program only reads data through the serial port? Firewalls object to progams that contact the internet without permission.

    why does a standalone program created in Labview 8.5 try connecting to the internet when the program only reads data through the serial port? Firewalls object to progams that contact the internet without permission.
    The created program is not performing a command I have written when it tries to connect to the internet, it must be Labview that is doing it. How do I stop this from happening? 
    Any help would be very appreciated.

    It looks that way..
    "When LabVIEW starts it contacts the service
    locator to removes all services for itself. This request is triggering
    the firewall.This is done in case there were services that were not
    unregistered the last time LabVIEW executed- for example from VIs that
    didn't clean up after themselves"
    This is not yet fixed in LV2009.
    Message Edited by Ray.R on 11-04-2009 12:25 PM

  • IMac can't read data through 32' USB Active Extension / Repeater Cable

    My iMac doesn't seem to be able to read data through my 32' USB Active Extension / Repeater Cable. The cable is brand new, and it works flawlessly to connect my Microsoft Kinect Sensor to my Xbox 360, so I don't think the cable is the problem. Does anyone know how I might solve this issue?
    Here is the cable I am using:
    32ft 10M USB 2.0 A Male to A Female Active Extension / Repeater Cable (Kinect & PS3 Move Compatible Extension)

    Welcome to the Apple Discussions.
    Have you researched allowed USB cable length for computer connections? I just bought an extension and that cable carried the warning that USB lengths greater than 10 ft were not supported by most computer systems for device connection.
    Just talked with a computer support person at work who said he had never heard of anyone being able to use a cable that long. Can you get closer to your computer and use a shorter cable?
    As an addendum, read this article, says you cannot use that length cable:
    http://docs.info.apple.com/article.html?artnum=31116
    Message was edited by: Ralph Landry1

  • Read Data Through Bias

    Hi,
    Can we Read data through bias using java.My requirement is i jzt want to read the complete info of the system .including there hardware deatils like Ram and Memory.Please Give me solution to solve this issue

    Write full English words using the correct spellings if you want to get help.

  • Error while reading data through External Table!!!

    CREATE TABLE "COGNOS"."EXT_COGNOS_TBS9_TEST"
    (     "ITEM_DESC" VARCHAR2(200 BYTE),
    "EXT_CODE" VARCHAR2(20 BYTE),
    "RC_DATE" DATE,
    "RES_KD_AMNT" NUMBER(18,3),
    "RES_FC_AMNT" NUMBER(18,3),
    "NRES_KD_AMNT" NUMBER(18,3),
    "NRES_FC_AMNT" NUMBER(18,3),
    "TOTAL" NUMBER(18,3),
    "OF_WHICH_OVR1" NUMBER(18,3)
    ORGANIZATION EXTERNAL
    ( TYPE ORACLE_LOADER
    DEFAULT DIRECTORY "EXTDATADIR"
    ACCESS PARAMETERS
    ( RECORDS
    DELIMITED BY NEWLINE LOAD WHEN *({color:#ff0000}EXT_CODE LIKE 'TBS9%'{color})* FIELDS TERMINATED BY ','
    MISSING FIELD VALUES ARE NULL )
    LOCATION
    ( 'TBS9_TEST.CSV'
    External table creation went through successfully but am getting error while reading data. Am quite sure error is because of above line in red color. Could you please help me in transforming logic.
    Thanks in Advance,
    AP

    Let's start with the basics...
    1) You state that you are getting an error. What error do you get? Is this an Oracle error (i.e. ORA-xxxxx)? If so, please include the error number and the error message as well as the triggering statement. Or is the problem that rows are getting written to the reject file and errors are being written to the log file? If so, what record(s) are being rejected and what are the reasons given in the log file? Or perhaps the problem is something else?
    2) You state that you are quite sure that the problem relates to the hilighted code. What makes you quite sure of this?
    Justin

  • Reading data through BDC

    Hi all,
    can i read some sale order data through BDC?
    i am using BDC to create sale order.i need to change the net price when the condtion type is ZUR1.so i want to read the cond type.if it is ZUR1 , then only i will change the price.
    how can i achieve this thing?
    Regards
    pabitra

    while recording you can capture the condition type before net price.
    and after the perform stament where internal table say record has condition type value,you can validate
    PERFORM bdc_field       USING  'xyz'
                                               record-j_condition_type.
    if record-condition_type = 'ZUR1'.
    net_price = '999999'
        PERFORM bdc_field       USING  'abc'
                                             record-net_price.
    endif.
    regards,
    pankaj
    Edited by: Pankaj Singh on Mar 15, 2008 4:42 PM

  • Read dataset - read data randomly

    Dear All,
    I am facing a strange problem while reading data through READ DATASET statement.
    The data is getting read randomly from the file.
    For example, if my text file contains 10,000 records, i am able to see around 800 in my internal table.
    Also, with read dataset statement, sometimes first record gets read, second time fifth record and so on. There is no particular order.
    Read dataset statement is skipping a lot of records while reading data from the file.
    Has anyone face this problem earlier?
    Any clue in this direction will be highly appreciated.
    Many thanks.
    Best Regards,
    Tarun

    Hi,
    how you are looking your input file, if it is in NOTEPAD check menu option 'Format----> Word wrap' is unchecked and then see the how many entries are there in the file.
    Regards,
    Sreeram.

  • What all sofware is required to develop a userinterface.vi to read data from a data logger and save in a file

    hi,
    i am working on creating a GUI.vi to read data from the datalogger and the same should be used to set the date ,time,etc.i am thinking of using VISA to read data through serial port(COM1),that interface is available.but when i tried to read data from the logger i am getting timeout error.what should i do ?i am using the example given with labview 7.0 .can any one suggest me what all things i need to do if i want to read datalogger to a file.Is there any one who workrd on this.please reply me as early as possible,
    bye
    vbkraju

    You're welcome--I'm happy to help.
    The LabVIEW <-> Serial.vi is a good example that allows for writing commands to an instrument and reading back from it using a VISA Session. One of the inputs on this VI is the Resource Name. You need to ensure that the name of your serial port is in this drop down menu, so that the program is sending and receiving data from the correct place.
    The VI is setup so that you can send a command to the external device, and then receive data back. I am not sure about the Spectrum 4000, but most devices have commands that they receive to tell the device which data to send back over the serial port. The VI has a default string to write of *IDN?, which is a common command that tells the instrument to return an ident
    ity string. The fact that the program is timing out for you indicates that the program never received any data from the device. Either the device is not configured to automatically send data, or the correct command is not being sent to the device. Your datalogger manual may be able to help you determine what serial commands it needs to receive to send the data out you expect.
    I hope this will get you further along in your application.
    John M

  • Error reading data of virtual provider.

    Hi,
    I am receiving the below error message when reporting on a virtual provider/remote cube and unable to identify the root cause. Same error message is displayed when trying to view content of virtual provider/remote cube via listcube T-code or report created directly on remote cube or report created on a multiprovider which has this virtual provider.
    Error Message:
    An exception has occured
    Error in substep
    Error in substep
    Error reading the data of Infoprovider
    Thanks and Regards
    Vikram Reddy

    Hi Vishwa,
    The extraction checker on the data source in RSA3 in R3 is fine. Can you please ellobrate on how to check if the custom view on the table GLPCA is active or not.
    Just to clarify, below steps have a been successfully carried in R3 and BW:
    1. R3- Creation of view on table GLPCA
    2. R3- Creation of reconciliation direct access data source based on this view
    3. BW- Replication of this data source in BW and activation of data source.
    4. BW- Linked the virtual provider with the data source through transformation and created and activated a DTP process.
    5. BW- Context menu of the virtual provider and clicked on activate direct access and save the selection.
    After all these steps when i try reading data through the virtual provider, i the recieve the error msg.
    Thanks and Regards
    Vikram Reddy

  • Send 102 bit data through the LPT port??I have to send 102 bit to my interface board using the LPT port, through one of the data line and be able to read data from the input line, I don't know how to realize such a task.Thanks

    Let me describe you the program I have to write:
    I have to send 102 bit serialy using one of the data line of the LPT port to a device and be able to read back data sent from a device register throug one one of the input port pin for instance pin 10 of a DB25, and synchronize the transmission by the PC clock(for write and read). If fact I am using 5 output control(D0...D4) signal from the LPT port, RST, TXD, CLK, CE,TEST, one input data RXD (pin10)
    So the program should work in normal mode (write data, read data), and test mode (use the write p
    rocedure). Since I am quite new in Labview I am little lost and I need some support or exemple that use a way to send more than 32 bit via one data line(in my case 102bit= 8 bit COMMAD(MSB)+88 bit SPI DATA+6 bits CRC(LSB)) and be able to read them back, place them in the register and be able either to monitor or modify them.
    I know that there are plenty of exemple but if I can gain time by being helped it would be great.
    Can you please advise?

    Hi Beni,
    find attached a SPI.vi - minor changed from one of
    my typical SPI's (LabVIEW 7.1). With some simple changes it will fit to your application.
    The only thing you need to do - prepare
    the bits for the input-array.
    If you need some more comments - find one of my email
    adresses in documentation of this vi.
    Regards
    Werner
    Attachments:
    102bit_SPI.zip ‏90 KB

  • How do I access session data through an EJB?

    Hi
    How do I access session data through an EJB?
    I am currantly developing a Web service (using ejb's, JBoss.net and Apache Axis). A client making a call to this Web service, is expecting a bussiness-object in return. My problem is that this bussiness-object i stored in a users session data. How do I retrieve this bussiness-object from the users session.
    I have read that this does not work with httpsessions, is this true? If this is true, is it possible to store the bussiness object in a JavaBean e.g:
    <jsp:useBean id="userContextWebImpl" scope="session" class="com.ac.march.client.UserContextWebImpl">
    <%
    String key = "test";
    String value = "This is the value";
    userContextWebImpl.setValue( key, value1 );
    %>
    </jsp:useBean>
    and then retrieve this information through the EJB? Or is it possible to do this by using Statfull JavaBeans? Or can this be done through a nother solution?
    Please help!

    I have created a JavaBean with scope="application" to store some data. The data is stored when a user prefomes a spesific task.
    A different person then makes a call to a Web-Service on the server. The Web-Service then asks an EJB to retrieve the data stored in the JavaBean (servlet cotext). In other words: How do I retrieve this data from the EJB?
    I have tried with this code, but with no luck.
    (ApplicationContextWebImpl is the JavaBean)
    public static String getBookingResult( String key )
         String myResult = null;
         String myKey = key;
         ApplicationContextWebImpl applicationContextWebImpl = null;
         try
              applicationContextWebImpl = new ApplicationContextWebImpl();
              myResult = (String)applicationContextWebImpl.getValue( key );
         catch ( java.rmi.RemoteException e )
         return myResult;
    }

  • Help Required -- Can we use SQL Query to READ data from SAP MDM Tables

    Hi All,
    Please help.........
    Can we use SQL Query to READ(No Creation/Updation/Deletion  just Read) Data from SAP MDM tables directly, without using MDM Syndicator.
    Or direct SQL access to SAP MDM tables is not possible. Only through MDM Syndicator can we export data.
    Thanks in Advance
    Regards

    All the tables you create in Repository comes under A2i_CM_Tables in Database named as your repository name. So the tables names are fields of table A2i_CM_Tables. Now i tried it but cant make it.
    Now, I dont think its possible to extract all fields in tables and there values using select query. May be pure sql guy can do that or not.
    But there is no relation of data extraction and syndicator. Data is viewed in Data Manager. and you can also store data in a file from DM also.
    BR,
    Alok

  • Standard transaction CG02 is not saving the data through F4 help.

    Hi Guru's,
    I have a standard transaction CG02 for this i need to maintain the data for few of the fileds like Heat sensitive, Thermal energy hazard etc for updating Derived C-Alpha code. So for i can able to maintain data in two ways either directly or through F4 help. when i supply data through F4 help, on the F4 help window im providing the value and clicking on continue button. when i press on the contine button it has to update the Derived C-Alpha code if all the required fields filled. If suppose i do nt fill the required fileds it has to through the error message on the status bar like 'Invalid Data Combination'. Now the problem is when i clicking on continue button of F4 help window im displaying error message. when i try to change the value or try to fill the required fields so for im clicking on F4 button then its directly taking me out from the transaction. If i press on any key also samething is happening but the same is not happening when i supplied the value directly and saving. Please let me know the reason and help me for the same with needful solution. If anyting required plz ask me i wil provide u.
                          Here we are using the user-exit EXIT_SAPLC107_001 and is used in FM C107_CUSTOMER_FUNCTION_CALL.
    Thanks in advance.
    Yours,
    Somu.

    Hi Guru's,
    I have a standard transaction CG02 for this i need to maintain the data for few of the fileds like Heat sensitive, Thermal energy hazard etc for updating Derived C-Alpha code. So for i can able to maintain data in two ways either directly or through F4 help. when i supply data through F4 help, on the F4 help window im providing the value and clicking on continue button. when i press on the contine button it has to update the Derived C-Alpha code if all the required fields filled. If suppose i do nt fill the required fileds it has to through the error message on the status bar like 'Invalid Data Combination'. Now the problem is when i clicking on continue button of F4 help window im displaying error message. when i try to change the value or try to fill the required fields so for im clicking on F4 button then its directly taking me out from the transaction. If i press on any key also samething is happening but the same is not happening when i supplied the value directly and saving. Please let me know the reason and help me for the same with needful solution. If anyting required plz ask me i wil provide u.
                          Here we are using the user-exit EXIT_SAPLC107_001 and is used in FM C107_CUSTOMER_FUNCTION_CALL.
    Thanks in advance.
    Yours,
    Somu.

  • Reading data from a Table Cluster sans SAP code

    I need to read data at the database level from a cluster table.  That is to say, I want to decompress the VARDATA column that is in
    the database table and interpreet it with my own code.
    I've read all the SAP help documents on the subject, and I have created a test Table Cluster (the physical object) and associated test Cluster Tables (the logical tables) with the Table Cluster, but the data is compressed at the at the database level and incomprehensible.
    I realize one can use ABAP and OPEN SQL to read the table, because that goes through the SAP database interface.  I could
    also call a BAPI from an external program, but I don't want to do that.
    I need to read the data directly from the database without going through the SAP database interface or calling any SAP code.  I
    am willing to write the required code in another language, I just need to know how the data is compressed in the cluster, so I can
    decompress it.
    1. Does anyone know how to decode the information stored in a table cluster  WITHOUT using SAP code? 
    2. If no one knows how to do (1), does anyone know what compression algorithm SAP uses when storing data in the table cluster?
    3. Is there a specification or layout that explains exactly how the VARDATA column in a table cluster is structured, so that once I
    decompress it, I can figure out what data belonged to which table and column?
    If you even have a guess as to the compression algorithm or layout of VARDATA, I would be interested to hear it.
    Thank You,
    Larry Smith

    Hi All,
    The question is still open, waiting for points to be awarded.  Fidel's answer didn't really help.  I already know that I currently can't read the cluster, that's why I posted the question. 
    I would think SAP uses a known compression algorithm for the clusters, so the most important thing is finding out what the algorithm is, and finding out if SAP does anything weird to the compression headers.
    Someone has to know out there!
    Thank You,
    Larry Smith

  • Read data from a sequential file to fill an arrray

    I am trying to read data from a sequential file to fill an array and then use the array for calculations. I believe my program is reading the file; however when I try to use the data for calculations the results show up as boxes rather than numbers. Can someone please take a look and give me some insight into where I am going wrong. The sequential file has the following data:
    5.0
    5.35
    5.5
    5.75
    Here is my code from that portion of the program. I can send the entire program if necessary.
    private void calcResults(TextArea loanResults, double amount, double interest, int term ) throws IOException {
         DecimalFormat df = new DecimalFormat("$###,###.00");
         NumberFormat formats = new DecimalFormat("#0.00");
         StringBuffer buffer=new StringBuffer();
         loanResults.append("Month No.\tMonthly Payment\t\tInterest\t\tBalance\n");
         double monthlyPay = amount*Math.pow(1+interest,term)*interest/(Math.pow(1+interest,term)-1);
         monthlyPayment.setText("" + (formats.format(monthlyPay)));
         double principal= amount;
          * Loop through each month of a given loan
        int month;
         for (int i=0; i<term; i++)
    try {
         int j = 0;
         BufferedReader in = new BufferedReader(new FileReader("rates.txt"));
         String temp = "";
         while((temp = in.readLine()) != null) {     
            j++;
            strRate[j] = temp;
            RateValue1 = Double.parseDouble(loanAmountTxFld.getText());
            in.close();
             catch (FileNotFoundException e) {
                 System.out.println("Can't find file rate.txt!");
                 return;
          month= i+1;
          double rate =principal*interest;
          double balance=principal+rate-monthlyPay;
          loanResults.append((month) + "\t\t" + (formats.format(principal) + "\t\t"  + (formats.format(rate) + "\t\t"
                            + (formats.format(balance)     + "\n"))));
          principal=balance;
          GraphArea.append(formats.format(balance)     + "\n");
    *Method for determining which loan option was chosen
    private void calc() throws IOException{
      String interestTerms = (String) cOption.getSelectedItem();
      if (interestTerms.equalsIgnoreCase("5 yrs at 5.00"))
         calcResults(loanResults, Double.parseDouble(loanAmountTxFld.getText()), 0.05/12, 60);
      else if (interestTerms.equalsIgnoreCase("7 yrs at 5.35"))
        calcResults(loanResults, Double.parseDouble(loanAmountTxFld.getText()), RateValue1/12, 84);
      else if (interestTerms.equalsIgnoreCase("15 yrs at 5.50"))
         calcResults(loanResults, Double.parseDouble(loanAmountTxFld.getText()), 0.0550/12, 180);
      else if (interestTerms.equalsIgnoreCase("30 yrs at 5.75"))
         calcResults(loanResults, Double.parseDouble(loanAmountTxFld.getText()), 0.0575/12, 360);
      else if (interestTerms.equalsIgnoreCase("       "))
        calcResults(loanResults, Double.parseDouble(loanAmountTxFld.getText()), Double.parseDouble(loanInterestTxFld.getText())/100/12,Integer.parseInt(loanTermTxFld.getText())*12);
    }

    ok, I fixed my program per your suggestion and I still cannot get it to work. I get the same result where the ouput is just a bunch of boxes. I also tried to print to see what I am getting and all I see is the values of the array [5.0,5.35,5.5,5.75] but I cannot seem to pass that to the calculations. I wish I could figure this out. Does anybody have any suggestions as to what I am doing wrong. This is the portion of my code that I am having issues with:
    private void calcResults(TextArea loanResults, double amount,double interest, int term ) throws IOException {
         DecimalFormat df = new DecimalFormat("$###,###.00");
         NumberFormat formats = new DecimalFormat("#0.00");
         StringBuffer buffer=new StringBuffer();
         loanResults.append("Month No.\tMonthly Payment\t\tInterest\t\tBalance\n");
         double monthlyPay = amount*Math.pow(1+interest,term)*interest/(Math.pow(1+interest,term)-1);
         monthlyPayment.setText("" + (formats.format(monthlyPay)));
         double principal= amount;
          * Loop through each month of a given loan
        int month;
         for (int i=0; i<term; i++)
          month= i+1;
          double rate =principal*interest;
          double balance=principal+rate-monthlyPay;
          loanResults.append((month) + "\t\t" + (formats.format(principal) + "\t\t"  + (formats.format(rate) + "\t\t"
                            + (formats.format(balance)     + "\n"))));
          principal=balance;
          GraphArea.append(formats.format(balance)     + "\n");
    private void readFile() throws IOException
    try {
         int j = 0;
         BufferedReader in = new BufferedReader(new FileReader("rates.txt"));
         String temp = "";
         while((temp = in.readLine()) != null) {     
            strRate[j] = temp;
            j++;
    RateValue1 = Double.valueOf(((String)(strRate[1]))
    ).doubleValue();
    //        RateValue1 = Double.parseDouble(loanAmountTxFld.getText());
            in.close();
             catch (FileNotFoundException e) {
                 System.out.println("Can't find file rates.txt!");
                 return;
    *Method for determining which loan option was chosen
    private void calc() throws IOException{
      String interestTerms = (String) cOption.getSelectedItem();
      if (interestTerms.equalsIgnoreCase("5 yrs at 5.00"))
         calcResults(loanResults, Double.parseDouble(loanAmountTxFld.getText()), 0.05/12, 60);
      else if (interestTerms.equalsIgnoreCase("7 yrs at 5.35"))
        calcResults(loanResults, Double.parseDouble(loanAmountTxFld.getText()), RateValue1/12, 84);
      else if (interestTerms.equalsIgnoreCase("15 yrs at 5.50"))
         calcResults(loanResults, Double.parseDouble(loanAmountTxFld.getText()), 0.0550/12, 180);
      else if (interestTerms.equalsIgnoreCase("30 yrs at 5.75"))
         calcResults(loanResults, Double.parseDouble(loanAmountTxFld.getText()), 0.0575/12, 360);
      else if (interestTerms.equalsIgnoreCase("       "))
        calcResults(loanResults, Double.parseDouble(loanAmountTxFld.getText()), Double.parseDouble(loanInterestTxFld.getText())/100/12,Integer.parseInt(loanTermTxFld.getText())*12);
      }

Maybe you are looking for

  • IPod Touch delayed to New Zeland ???

    Well I just spoke to Harvey Norman, because I wanted to know if they would be in for the 28th. The seller told me that NO they got an e-mail today saying that they wont be in until mid to late next month!!!! and there wont be any stock in the country

  • How can i start aperture without retyping the serial number?

    how can i start aperture without retyping the serial number?

  • Help -- wls8.1 removes the applications in config.xml

    We deployed three web applications to weblogic 8.1 express. After running fine for about 4 days, there's an error logged, and weblogic 8.1 removed the applications we configured in config.xml. When we started weblogic 8.1 again, the applications are

  • Drive trigger line by multiple devices (or connect many trigger lines)

    Hey all, Here's what i've been trying to do recently and am starting to get frustrated. So basically I want multiple devices to drive the same trigger line. Thought this mighyt be a problem for my application. Let me rephrase with a question that wou

  • SSRS Map Poylgon Properties Label Text

    I have the below special map that is broken into region. However when assigning the sum of records for a region to the polygon properties Label Text I get the same number for numerous countries in that region.  How can I just get the number to appear