I am losing data by using a data socket connection

i am trying to send speech over a datasocket connection between 2 pc. but sometimes some parts of the transported voice is missing. do anybody know why?
thanks in advanced

DS is not designed to be a lossless protocol - it only allows you to see the current values of the published item.
You can look in the example finder (Help>>Find Examples) and search for "TCP" to see some examples.
Also, if you search the site for "TCP tutorial" you should see a more detailed example.
Try to take over the world!

Similar Messages

  • What is the advantage of using RMI over socket connection

    plz tell me guys what is the advantage of using RMI over socket connection bcoz inherently RMI also uses socket connection.so what is the exact difference in between thm and what is the advantage of using RMI over socket connection.

    i knew tht bt i http://www.catb.org/~esr/faqs/smart-questions.html#writewell
    How To Ask Questions The Smart Way
    Eric Steven Raymond
    Rick Moen
    Write in clear, grammatical, correctly-spelled language
    We've found by experience that people who are careless and sloppy writers are usually also careless and sloppy at thinking and coding (often enough to bet on, anyway). Answering questions for careless and sloppy thinkers is not rewarding; we'd rather spend our time elsewhere.
    So expressing your question clearly and well is important. If you can't be bothered to do that, we can't be bothered to pay attention. Spend the extra effort to polish your language. It doesn't have to be stiff or formal — in fact, hacker culture values informal, slangy and humorous language used with precision. But it has to be precise; there has to be some indication that you're thinking and paying attention.
    Spell, punctuate, and capitalize correctly. Don't confuse "its" with "it's", "loose" with "lose", or "discrete" with "discreet". Don't TYPE IN ALL CAPS; this is read as shouting and considered rude. (All-smalls is only slightly less annoying, as it's difficult to read. Alan Cox can get away with it, but you can't.)
    More generally, if you write like a semi-literate b o o b you will very likely be ignored. So don't use instant-messaging shortcuts. Spelling "you" as "u" makes you look like a semi-literate b o o b to save two entire keystrokes.

  • Data Socket Connections Dropped

    I am using Data Socket to pass information from a control computer to two
    remote computers. At various times throughout the day the connections, between
    the control computer and the remote computers, are being dropped (the number
    of connections drops from 3 to 1). The remote computers still believe that
    they are connected to Data Socket, however they are no longer receiving updated
    data. Has anyone else experienced this? Does this seem like a "network
    traffic" issue?
    Any help is appreciated.
    Thanks,
    Ari

    Hey Rick, 
    This is a bit of a labor-intensive answer, but it will help you with any future DataSocket programming you want to do. Read through this DataSocket Tutorial to get started. You will probably also need some information on configuring a DataSocket server after you read through the tutorial. Hope this helps! 
    Cheers,
    kgarrett

  • Problems with data socket connection

    I have two computers on a network both running labview. I would like to
    exchange the value of a variable in both directions. For example
    computer A sets the variable to a certain value, computer B reacts and
    changes this variable. Computer A now reads the new value.
    So I tried this using (front panel) data sockets but I could not
    establish a connection the way I want it. Also I couldn't find answers
    here or in the labview help file, so I hope you can give me a short
    hint on how to do that (do I need to run socket server on both
    machines? What IP address do I need to enter in the front panel dialog?)
    Thank you very much,
    Michael

    Thanks for the Port number, I got it to work now.
    I will summarise what was necessary to establish a connetion in case other people are interested:
    If you need a bidirectional communication between computer A (IP:192.168.0.1)
    and B (IP: 192.168.0.2) the following steps may be necessary:
    - Run DataSocket Server on *both* computers before you start LabView
    For communication A to B:
    - Select a variable on computer A, and enter the following in the connect to field:
       "dstp://192.168.0.1/var1", click on "publish"
    - Create a variable of the same type on machine B and enter in the connect to field:
       "dstp://192.168.0.1/var1", click on "subscribe"
    For communication from B to A do the following:
    - Select a variable on computer B, and enter the following in the connect to field:
       "dstp://192.168.0.2/var2", click on "publish"
    - Create a variable of the same type on machine A and enter in the connect to field:
       "dstp://192.168.0.2/var2", click on "subscribe"
    Maybe this is not the most elegant way because I don't know how to use the "Publish and subscribe" field
    but at least it works this way.
    Michael

  • How to establish data socket connection with remote computer

    hi am new to data socket subject, cau u guys guide me on this...
    i want to establish connection between system with lv and datasocket modem.... so i need to create vi to receive
    the data and insert into sql from modem(its having data socket option).
     Pls help me.........

    duplicate post -- continue here

  • How to establish data socket connection with remote unit

    hi am new to data socket subject, cau u guys guide me on this...
    i want to establish connection between system with lv and datasocket modem.... so i need to create vi to receive
    the data and insert into sql from modem(its having data socket option).
     Pls help me.........

    duplicate post -- continue here

  • Using thread and socket connection with other machines

    Hi all!
    we are using weblgoic 5.1 SP9 JDK1.2.2
    we already using java.net.Socket and java.lang.Thread
    to communication TANDEM Machine on the weblogic.
    the reason why we use to socket and thread even though it is not
    recommanded is that below
    1. once we connect Socket, then we using until server shutdown or
    connection may has the problem, so we're using thread to wait
    java.io.Inputstream to read from socket.(if I using EJB, It can't
    wait socket inputstream indefinetly, because it has timeout)
    2. we're logging Database date sent or received with TANDEM Machine.
    so we need Database Access. so we using Database Access
    thru Weblogic.
    3. EJB Application using (other EJB Application - send Module)
    to send data to TANDEM Machine. So "Send Module" should
    be implemented EJB.
    but. Now I see there might be problem this framework.
    so, is there some way by just using J2EE spec, to implement this kind of
    framework.
    wait for your great help !!
    regards.

    Yes i've tried interrupt method and it doesn't have any effects on the thread... it stay in connect() method...
    And for the timeouts, in fact i use an API : J2SSH, to connect with SSH protocol, and the setting of connection timeouts is not implemented yet... and the default timeout is about 4 minutes...
    so i don't know how to solve this problem...

  • Create OPC I/O server and front panel data socket problem

    Hi all!
    I installed the NI OPC server. When I try to create a new server I/O in a LabVIEW project I don't see the "OPC client" possibility.
    Is something software missing? 
    Other question: I tryed to connect to OPC server using front panel data socket but my problem is same. When I click the numeric control and I go to the "data operation" menu there is no possibility to make data socket connection. 
    I don't know what is the problem.
    I attached two pictures about my problem. 
    Solved!
    Go to Solution.

    Dear vajasgeri1,
    do you have LabVIEW DSC module installed? Without it you will not have the OPC client funtionality.
    And to configure DataSocket binding you need to go to the Data Binding tab in the Properties of a control.
    BR,
    Mateusz Stokłosa
    Applications Engineer
    National Instruments

  • Data Socket fails if built in DLL and called by Labview

    I've placed a Data Socket Connection Open in a SubVi and tested this by running the VI. -> No Problems.
    Then i've compiled a DLL from this Vi and started it from Visual C. -> No problems
    Now, i've included this DLL in another VI and started this.  Now i receive an Error.
    All Information is hardcoded in the DLL so there are no possiblities with parametrization.
    Does anyone have an Idea regarding this?
    Best regards
    Hacky

    Hello Carsten_S.....
    my collegue, who found this behaviour made a little package to
    show the environment. Since he uses a camera system there is no
    possibility to get it running. But it should be easy to create a LV based
    server.
    Our Environment is:
    LV 7.1
    Windows XPSR2
    Regards, Hacky
    Attachments:
    DLL.zip ‏76 KB

  • Dynamically create Variant Data Socket items with multiple writers

    I want to use variant or cluster items with data socket connection. I want to allow multiple writers.
    So far I can create these items dynamically but not set them to allow multiple writers.
    For numeric, string, and Boolean items I can set these properties by predefining them in the data socket server manager. I could not predefine a variant or cluster in the manager.
    I realize I can flatten to string the item needed but would prefer to do this in the cluster or variant formats.
    Any suggestions?

    unclebump wrote:
    Could you accomplish this using a functional global architecture??
    An interesting concept which might work and did just open up a new host of possibilities!
    When I get the time I might give this a try. I just did a quick test in another program.
    Through VI server I opened a reference to a remote machine. I then created strictly typed reference to a “functional global vi” that I knew would be in memory. It reads the functional global just fine!
    Thanks for the suggestion.
    Here is the work around I used for the data socket program.
    Here is the original problem.
    I needed to know on the server side when a new value was written to the message cluster, which consisted of a string and a variant. Checking the string portion of the cluster let me know what command to send the device being controlled on the server machine. The variant is used to hold the various parameters that accompanied the command. Since the same command type could be sent several times I needed to reset the string control after the server read the command. This required writing to the data socket from the client & server machine (multiple writers). Also since the client could be any PC in the subnet I needed to allow all these machines to have write access.
    I solved this by using a second data socket item for the new message flag. This item is a string value that could be pre-defined and set to allow multiple writers. I then used the cluster item to handle the commands and wrote to the string item a signal that a new command was ready. The server then recognizes a new command is ready, reads the command, and then flags the string message received.
    Thanks again for those who took the time to answer this.
    Randall

  • Is it possible to resize the partitions without losing data?

    I have following issue:
    I have dual-boot Arch with Windows XP. I created 4 partitions: 40GB XP's system disk (ntfs), 80GB ntfs data disk, 1GB swap and 25GB Linux partition.
    But I am running XP so rarely, that it is frustrating, that I have most of my data on ntfs partition... I'd like to wipe out that 80GB ntfs, resize the system ntfs partition up to for example 60GB, and add the remaining 60GB to my linux ext3 partition (because I'm running out of free space recently...).
    Has anyone done something like this, and how safe it is (if possible at all)
    Yes, I have read this: http://wiki.archlinux.org/index.php/Res … _partition, and a few more.
    I just don't have time to reinstall both systems (especially I would not like to install Windows, because I'd rather install Vista from my recovery disk, than hack the XP to work again...), and if some issues are likely to appear, then I'll give it up for now .

    It's trivial using gparted, but as with any similar operation, you run the risk of losing data - so you'd better backup.

  • Big bug in NW-PI-731, JDBC-adapter losing data

    Hi,
    we recognized a big bug in NW-PI-731 SPS07, processing data with JDBC_xxxx_SENDER, sometimes it occurs, that for example, from 13974 documents should be processed, but only a part of 13137 documents are processed successfully, but 837 documents are missing in the target system,
    In message-monitoring, PI displays all documents as processed successfully, but that is obviously wrong,
    so PI is sometimes losing data - this behaviour we did not have had in NW-PI-700-SPS18
    after upgrading to PI-731, we have big trouble with data processing.
    did other SAP-customers noticed the same behaviour?

    Hi
    You can count the total number message processed in PI from message monitoring in RWB.
    If you see that the number is 13137, then there is a problem while reading the data from database
    using JDBC sender adapter.
    Since the number of records are high, you can try to restrict the number of records using rownum in
    database select query.
    Check this
    PI 7.1 JDBC sender adapter huge load from DB se... | SCN
    PI JDBC Sender adapter - Some Learnings

  • PLEASE READ REGARDING iPod losing data

    I have bought my 5th generation iPod and have not done anything to it that will cause to malfunction in anyway. But im getting annoyed that a lot of times i connect by black video iPod into my Windows Xp computer. Then iTunes pops out. I click on the iPod on the left and its WHITE!? Then i check how much space its used and it says 1.5 g data used? I normally have around 6.3 g.
    I just lost all my videos and photos but i still have the songs for some reason. Then i always have to keep updating it cause everytime i connect i keep losing data.
    Basically, when i connect my iPod a lot of stuff gets erased and i have to keep updating it.

    well umm of course it appears WHITE because it cant detect that your ipod is black and it sounds like you reset it or deleted your videos on your computer and lost them in the ipod last time you connected
    dell   Windows XP  

  • What is the proper way to convert a VHD from dynamic to basic without losing data?

    Hi,
    What is the proper way to convert a VHD from dynamic to basic without losing data?
    Our VM is running Windows Server 2008 R2 SP1
    Thanks in advanced

    Hi efebo,
    "After you convert a basic disk to a dynamic disk, you cannot change the dynamic volumes back to partitions. Instead, you must delete all dynamic volumes on the disk and then use the
    Convert To Basic Disk command. If you want to keep your data, you must first back it up or move it to another volume. "
    Please refer to following link:
    http://technet.microsoft.com/en-us/library/cc731274.aspx
    You can try to backup the dynamic volume via Windows Server Backup then restore it to a new basic VHD file ( the space is recommended to be   larger than or equal to the old one ) .
    Hope it helps
    Best Regards
    Elton Ji
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Can I change partition size of external HD without losing Data

    I have an external HD that I use one partition for backup and use another partition for Time Machine. I need to change the sizes, need more on my backup. Can I change partition size of external HD without losing Data? I just changed from a Powermac G4 using Leopard to a Macbook Pro with Lion, so I am also thinkin in getting everything set up, format the Time Machine with the old stuff and make a new Time Machine.

    The Disk Utility can't change the starting point of a partition without erasing it and the data on it.
    (72024)

Maybe you are looking for

  • Installing CS3 on Windows 7

    I'm trying to intall CS3 on a laptop that is running Windows 7 64 bit. When I put the CD in I get the standard "Do you want to run this" window. I click "Yes" and get the intial "Initializing Photoshop" window, then nothing. Has anyone else had this

  • Could not start agent

    Hi, I've managed to install SMC3.6 agent on a Solaris 8 platform but I was unable to start my agent. I get "Could not start agent" whenever i invoked the ./es-start -a command. I've removed SMC3.6 agent and installed with 3.5 and it works. But I stil

  • Help regarding search help

    hi, i want to know the functionality with example on "search help". how r they useful?....how r they created??...and how to use them in dialog program?? thanks

  • How can I import Bookmark from Opera

    ''dupe of https://support.mozilla.org/en-US/questions/913887'' I want to import bookmark from opera browser. for that I follow the process- Bookmarks- Show all Bookmark- Import & Backup- Import Data From Another Browser- I choose Opera & Click Next b

  • Open old numbers template

    Hi, I found a template for a budget planer which was created with Numbers '09. No I'd like to open it with the new version of numbers. I get an error message when trying to open the template with Number 3.0: Template is to old. Open with Numbers '09