Problem Labview receiving data continuously

hello...
i'm final year student in one of the university in Malaysia. In my final project, im doing the RS232 Interface Wireless Receiver. In this project,i have been having the some difficulties, i dunno how to received the data continuously. which means, Example: If i send word "HELLO", i will also received "HELLO". But the problem is..i want the HELLO word is received continuously.
Send:  HELLO
Received: HELLO
                 HELLO
                 HELLO
                 HELLO
                 .....many times....
So, can sumbody help me...i really need ur help regarding on this..thanx...

duplicate post
CLA | LabVIEW 7.1... 2013
www.renishaw.com

Similar Messages

  • [HELP] problem with receiving data through rs232

        When I connect my VI with MCU (using proteus to simulate), why does it run stable in only 20 seconds? After that, it seem to be unstable. And when I stop simulation in proteus, why does my VI still run and stop after about more than 10 seconds?
       thanks!
    Attachments:
    anh.zip ‏5432 KB
    3D Picture original.vi ‏30 KB
    UART.zip ‏99 KB

    linhvm wrote:
    Reading and sending speed are 9600. you are right, the buffer was filled up, but I don't know the reasons. If I read 22 bytes in Labview, it will run stable for 20s, when I decrease the byte count, the stable time increase. If sending and reading speed are the same, why is the buffer filled up?
    When I stop simulation in Proteus, it still run for several seconds before stop (I think, it run by the data in the buffer). But, if I connect with PL2303 module then disconnect, it will stop immediately.
    It sure would be easier to read your pictures if your wires were somewhat straighter, didn't go backwards, didn't run under other wires or structures, appear to enter subVIs at the wrong terminal, or just appear or disappear at the edges of structures.
    If your program stops after approximately 53,000 bytes (422,000 bits) no matter how many you read in a chunk, then I'd look at the sending end rather than the receiving end. But I don't have LV 2013, as many of us don't yet, to look at the VIs you sent in the first message.
    Cameron
    To err is human, but to really foul it up requires a computer.
    The optimist believes we are in the best of all possible worlds - the pessimist fears this is true.
    Profanity is the one language all programmers know best.
    An expert is someone who has made all the possible mistakes.
    To learn something about LabVIEW at no extra cost, work the online LabVIEW tutorial(s):
    LabVIEW Unit 1 - Getting Started
    Learn to Use LabVIEW with MyDAQ

  • Javacomm: problem with the receive data

    Hello to all,
    I have a problem on receiving data from a serial port.
    As I figured out The port is obtained by the program I post
    here bellow..but I can't receive data.
    Do you have any hints?
    Thanks in advance.
    Mandy
    import javax.comm.*;
    import java.io.*;
    public class SerialRead extends Thread implements SerialPortEventListener
         private InputStream in;
         public SerialRead(String port)
              try
                   CommPortIdentifier id_porta;
                   id_porta = CommPortIdentifier.getPortIdentifier(port);
                   CommPort porta = id_porta.open("Read from serial porta", 200);
                   in = porta.getInputStream();
                   SerialPort porta_seriale = (SerialPort)porta;
                   porta_seriale.setSerialPortParams(9600, SerialPort.DATABITS_8,
                        SerialPort.STOPBITS_1, SerialPort.PARITY_NONE);
                   porta_seriale.addEventListener(this);
                   this.start();
              catch (NoSuchPortException ne)
                   System.out.println("The port " + port + "is not  present");
              catch (PortInUseException pe)
                   System.out.println("The port " + port + "is used by " + pe.
                        currentOwner);
              catch (UnsupportedCommOperationException ue)
                   System.out.println(
                        "The porta does not support the properties defined");
              catch (java.util.TooManyListenersException tme)
                   System.out.println(
                        "Ther can be only one owner of the port");
              catch (IOException ioe)
                   System.out.println("Error ofi IO");
         public void run()
              try
                   Thread.sleep(10000);
              catch (InterruptedException e)
         public void serialEvent(SerialPortEvent event)
              System.out.println("1");
             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[20];
                        try
                             while ( in.available() > 0 )
                                  int numBytes = in.read(readBuffer);
                             System.out.println(new String(readBuffer));
                        catch (IOException e)
                        break;
         public static void main(String[] args)
             System.out.println(args[0]);
             if ( args.length < 1 )
                   System.out.println("Use java SerialRead <port name>");
              else
                   SerialRead reading = new SerialRead(args[0]);
    }

    Hi Abdul,
    Check if the data you are getting for the two fields in your data loading are correct. I think it has some illegal characters(I guess it has a trailing space). If possible try and correct it in the source system itself.
    If you are doing full load for the master data, everytime the system is going to pull these values in and throw error. One other way of avoiding it will be to maintain routines to eliminate these.
    The quickfix will be to correct it at the PSA level and load it again.
    Regards.

  • Problem in mail api to print the received date of an email

    Do anyone know how to get received date of an email?I am using POP3 server.So while printing the date using getReceivedDate(), getting null pointer exception....So how to get the date?...Anyone know this using headers or something?I want a sample program in mail api of java....
    Thanks in advance...

    There is no logic inside the getReceivedDate() method.It's a pre-defined method i have used.I read somewhere that POP3 server won't give information about date.So it is returning NPE.And there it was suggested to use Received headers or something to get the date of a particular email.I am new to the mail api.So anyone know how to use those Received Headers to read the date of an email?

  • How to use sda6810 to receive data from a rs485 channel?

    I want to use sda6810 to anlyze data from a rs485 bus. So I use Labview to progame the sda6810 with the drivers.Firstly,I intilite the card,then I cofigued an channel to send data from a buffer,and configued another channel to receive data from the first chanel . But unfortunatly the data I received was not equal to the data I sended.And there are not any error messages indicated in Labview
    And when I try to use the GP channel,I found it worked properly.please tell me how I can solve the problem?

    I really apreciate your help.You told me that
    I should use the exameples which shipped with sda driver firstly. I do used them,and it worked correctly.So I think the connections was being setup properly.And I
    used labview to progame the rs485 channel
    . It do received something .But it was incorrect.
    I would be grateful if you could send me an
    example writted by labview,or you could tell
    me you e-mail address.
    Here is my code .
    Attachments:
    youyou2.zip ‏110 KB

  • Acquiring data continuously with a start and stop trigger

    I am currently acquiring data continuously (1000 samples at 5k/s) using a start trigger to start the acquisition and stopping the acquisition with a digital line. The problem with this is that I want the acquisition to stop immediately on a trigger, in otherwords I don't want it to finish with 500 or 200 samples of useless data. I am using a PCI 6024 E. Any suggestions would be appreciated.

    The trick will be to minimize the number of post-trigger scans that will occur after your stop trigger. The stop (reference) trigger requires a minimum of 2 post-triggered scans. Therefore, the way to stop your acquisition as soon as possible is to configure your stop trigger to have only 2 post-triggered scans.
    I've included a little bit of code to illustrate this in LabVIEW 7.0. The number of post-trigger scans will equal the buffer size less the number of pre-trigger scans. Since the minimum number of post-triggered scans is 2, we'd have to set the number of pre-trigger scans to the buffer size less 2. This is wired as the minimum number of pre-trigger scans acquired input to the AI Control.vi in the example.
    This should do what you're
    after. Best of luck to you as you get this all put together.
    Jim Laudie
    Applications Engineer, National Instruments
    Attachments:
    example.vi ‏85 KB

  • Problems with receiving

    hello again! : ( I have problems with receiving mails, my
    installation is local, therefore I am using telnet but it marks errors
    to me you have some idea?
    bash-2.03# telnet pegaso.qoslabs.com 25
    Trying 192.168.20.20...
    Connected to hostname.com.
    Escape character is '^]'.
    220 pegaso.qoslabs.com -- Server ESMTP (Sun ONE Messaging Server 6.0 Patch 1 (built Jan 28 2004))
    MAIL FROM: [email protected]
    250-2.5.0 No HELO/EHLO seen; continuing anyway, [192.168.20.20].
    250 2.5.0 Address Ok.
    RCPT TO: [email protected]
    550 5.1.1 unknown or illegal alias: [email protected]
    RCPT TO: katiuskac
    550 5.1.1 unknown or illegal alias: user
    DATA
    554 5.5.0 No recipients have been specified.
    QUIT
    221 2.3.0 Bye received. Goodbye.
    Connection closed by foreign host.
    what is the solution?
    do you have any idea?

    If the MTA believes that you have an error, it will give you the 5.5.1 error.
    The error may be any of several provisioning problems. Since you haven't sent me the ldap entry for the user, I really can't tell which error you may have made.
    A common error is the value you placed in "mailhost".
    This needs to be the Fully qualified name of your mail server, not an alias. If you desire to use an alias for the system, you need to make additional configurations.
    Please believe me, I'm trying to help you, but when there are dozens of possible errors, and I have no data to examine, I can't tell which error you may have made.
    I do know that if you correctly provision a user, that user will work.

  • Can not receive data 10054

    My version of Essbase is 6.5.1.4. On the server machine it self when I am adding members to outline I get "Can not receive data 10054". To resolve this problem I tried to increase the server page file size but the problem persist.Does anyone know a solution to this problem?SAK

    How exactly are you retrieving data; is it smartview, excel addin, forms, reports etc ?

  • High sample rate data acquisition using DAQ and saving data continuously. Also I would like to chunck data into a new file in every 32M

    Hi: 
      I am very new to LabView, so I need some help to come up with an idea that can help me save data continuously in real time. Also I don't want the file to be too big, so I would like to crete a new file in every 32 mega bytes, and clear the previous buffer. Now I have this code can save voltage data to TDMS file, and the sample rate is 2m Hz, so the volume of data increase very fast, and my computer only have 2G ram, so the computer will freeze after 10 seconds I start to collect data. I need some advise from you briliant people.
    Thanks very much I really appreciate that. 
    Solved!
    Go to Solution.
    Attachments:
    hispeedisplayandstorage.vi ‏33 KB

    I am a huge proponent of the Producer/Consumer architecture.  But this is the place I advise against it.  The DAQmx Configure Logging does all of it for you!
    Note: You will want to use a Chart instead of a graph here.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines
    Attachments:
    hispeedisplayandstorage_BD.png ‏36 KB

  • Problem with billing date at closed period

    Hi
    We have a problem with billing date in transaction . Previously we could set up different (earlier) billing date than the actual posting period and now it is not working. We receive an error message that the posting period is closed ) .
    I attached an example invoice which we managed to post and where you can see what Iu2019m thinking about, parking number: 1024337, BILLING DOCUMENT: 841835. In this case the billing date was at 30.11.2007, but the posting in 15.07.2008 and we managed to post.
    Pls help that issue
    yps

    hi,
    it is due to posting period closed for the month of 07/2008.
    u need to open posting during that period.
    Regards,
    Greeshma

  • SQL Service Broker 2012: the connection was closed by the remote end, or an error occurred while receiving data: '64(The specified network name is no longer available.)'

    Anyone can help with the below issue please? Much appreciated.
    We have about 2k+ messages in sys.transmission_queue
    Telnet to the ports 4022 is working fine.
    Network connectivity has been ruled out.
    The firewalls are OFF.
    We also explicitly provided the permissions to the service account on Server A and Server B to the Service broker end points.
    GRANT
    CONNECT ON
    ENDPOINT <broker> <domain\serviceaccount>
    Currently for troubleshooting purposes, the DR node is also out of the Availability Group, which means that we right now have only one replica the server is now a traditional cluster.
    Important thing to note is when a SQL Server service is restarted, all the messages in the sys.transmission queue is cleared immediately. After about 30-40 minutes, the errors are continued to be seen with the below
    The
    connection was
    closed by the
    remote end,
    or an
    error occurred while
    receiving data:
    '64(The specified network name is no longer available.)'

    We were able to narrow down the issue to an irrelevant IP coming into play during the data transfer. We tried ssbdiagnose runtime and found this error:
    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
    C:\Windows\system32>SSBDIAGNOSE -E RUNTIME -ID 54F03D35-1A94-48D2-8144-5A9D24B24520 Connect to -S <SourceServer> -d <SourceDB> Connect To -S <DestinationServer> -d <DestinationDB>
    Microsoft SQL Server 11.0.2100.60
    Service Broker Diagnostic Utility
    An internal exception occurred: Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.
    P  29830                                 Could not find the connection to the SQL Server that
    corresponds to the routing address tcp://XX.XXX.XXX.199:4022. Ensure the tool is connected to this server to allow investigation of runtime events
    The IP that corresponds to routing address is no where configured within the SSB. We are yet unsure why this IP is being referred despite not being configured anywhere. We identified that this IP belongs to one of nodes other SQL Server cluster, which has
    no direct relation to the source server. We failed over that irrelevant SQL Server cluster and made another node active and to our surprise, the data from sys.transmission_queue started flowing. Even today we are able to reproduce the issue, if we bring
    back this node [XX.XXX.XXX.199] as active. Since, its a high business activity period, we are not investigating further until we get an approved downtime to find the root cause of it.
    When we get a approved downtime, we will bring the node [XX.XXX.XXX.199] as active and we will be running Network Monitor, Process Monitor and the SSB Diagnose all in parallel to capture the process/program that is accessing the irrelevant IP.
    Once, we are able to nail down the root cause, I will share more information.

  • Error in Receiving Date Updation in MIGO Transaction

    Hi All,
    I am creating a GR using BAPI_GOODSMVT_CREATE, by passing following Data:
    Material Document Header Data
    wa_gr_header-pstng_date = sy-datum.
    wa_gr_header-doc_date = vbrk-fkdat.
    wa_gr_header-pr_uname = sy-uname.
    wa_gr_header-ref_doc_no = va_ponum.
    wa_gr_header-bill_of_lading = vbrk-fkdat.
    Assignment GM_CODE
    wa_gr_code-gm_code = '01'.
    Material Document Item
    wa_gr_item-plant = wa_ekpo-werks.
    wa_gr_item-po_number = wa_ekpo-ebeln.
    wa_gr_item-po_item = wa_ekpo-ebelp.
    wa_gr_item-move_type = ca_mov.
    wa_gr_item-entry_qnt = wa_ekpo-menge.
    wa_gr_item-entry_uom = wa_ekpo-meins.
    wa_gr_item-mvt_ind = ca_b.
    Though the GR is getting created, when we access the Material Document through the PO History tab in Purchase Order, the Receiving date is updated as 20.10.0422(though I am not passing it in my program). But the Posting Date and Document Date are correctly updated as 22.04.2010.
    Moreover there is no field for Receiving Date in BAPI Goods Movement Header Structure.
    Could someone please explain why the date is being reversed as 20.10.0422 instead of appearing as 22.04.2010 and the solution for this problem?
    Thanks in Advance

    Hi,
    Please check if there is any enhancement existing for Updating this date field.
    Regards,
    Sekhar

  • Problem in creating data type

    hi..
    i've problem in creating data type in xi after importing idoc from the R/3 sender
    plz tell me the basic steps for creating data type in the receiver i.e xi.....
    thanks in advance

    Hi,
    You don't need to create a data type after importing the IDOC.
    Idoc itself acts as message type and message interface.
    check this for creating a data type..
    http://help.sap.com/saphelp_nw70/helpdata/en/2d/c0633c3a892251e10000000a114084/frameset.htm
    Thanks,
    Vijaya.

  • Problem in saving data in spreadshee​t that comes from DAQ

    Hi
    I am new for using the Labview. I have problem saving the data in spreadsheet. mine just save the last reading that come from DAQ. And can not figure it out .
    If  there is way to make it save all the data with the time when I start run it till I stop it,please
    Thanks in advince
    Attachments:
    2 temp recording spreadsheet Ver_ 3.vi ‏141 KB

    I've changed the architecture to something that is way better then the sequence structure you had (State Machine).  Just to give you an idea on how it could be done.
    Still the dynamic data type is in there (which I don't like), but I'm not going to change your method.
    I've cleaned up your code a bit.  It's still not perfect, but it's done in 2mins. 
    I do have one question though : why are you saving an entire column (the last) of data which contains the same value (namely the total time the test ran)???
    Kind regards,
    - Bjorn -
    Have fun using LabVIEW... and if you like my answer, please pay me back in Kudo's
    LabVIEW 5.1 - LabVIEW 2012
    Attachments:
    2 temp recording spreadsheet Ver_ 4SM.vi ‏100 KB

  • CANT receive data via a network, help me please

    Hi, I am not as newbie as I look like to.
    I am trying to receive data through a network. The problem is that I dont know the file size, so I kept reading until reaching the end of file and the save it to a file. The problema is that I am never geting the -1 result from the read method.
    Now, I noticed that the -1 is returned when I close the DataOutputStream. So thats okay. The problem is that the sender is not make in java, but on pocketBuilder. And I cant ask for the client to close an outputStream. So Is there any way to just read the data without knowing the number of the bytes to receive and doesnt waiting for the end of the stream.

    When the number of bytes read is less than the array
    lengthThat doesn't necessarily mean you're at the end of the data.
    Any other wahy, maybe a timer (if is not receiving
    any byte for 20 seconds then cut the conexion?)Again that doesn't necessarily mean you're at the end of the data.
    There is no way to know you're at the end of the data without either an application protocol containing the length, or a socket close at the sender.

Maybe you are looking for

  • Java Stored Procedure Problem

    Hi all, I was able to deploy the Java class into the database (the message says Success). And then I am able to desc MyJavaSproc name in SQL*Plus and see the Pl/SQL parameter and return types. But when I use either call or select from dual, it tells

  • How do i set up apple mail on my iPad

    how do i set up apple mail on my iPad, operating on the latest version of OS Regards [email protected]

  • STARTING DATABASE : PROBLEM OF Linux Error: 23: Too many open files in syst

    Hi everybody, I am running an RMAN script and get this error, 9> @/u01/app/oracle/admin/devpose/backup/configuration.rcv RMAN> ################################################################### 2> # Configuration file used to set Rman policies. 3> #

  • Diff char in variable and procedure call

    I understand the difference between Char en Varchar. What I don't understand is the different behaviour of Char when assigning a plain variable and when assigning a procedure call variable. I've created this sample code: declare   v char;   procedure

  • "CiscoWorks Daemon Manager" not running

    Hi Team, We had to restart the server in which we have installed Ciscoworks LMS. After that "CiscoWorks Daemon Manager" service is not getting started. Tried to stop all the ciscoworks related services and restart it, also tried restarting the server