OSB using socket Transport ,how to keep a TCP connection open

hi my firends,
i met a problem , our project need build an OSB to control a socket service which is able to transfer a big data file (maybe a voice file,*.wav),and the client program will play the voice file on live.
So my solution is that : keep a socket (tcp) connection open,client listen port and makes date play.
but i can't make the OSB socket transport alway open,it will timeout after a few second if have none date received.
how could i deal with it ... pls let me konw if you have any idea...i will wait you on line
thanks guys

Hi,
I'm not sure if that's achievable using OSB, and even if it was, I don't think OSB was designed having this type of application in mind...
I understand that you need a media streaming solution and I'm pretty sure that there are plenty of tools out there that can help you in doing that, and maybe some of them can be integrated with OSB in some way...
Cheers,
Vlad

Similar Messages

  • How to keep the whole page open during browsing

    I am trying to work out how to keep the whole page open in Safari i.e. the top most line with the Apple logo, file, edit, view etc. whilst browsing.  What is the setting to achieve this ?  Since installing Yosemite my MBP 2011 with SSD is behaving oddly at times. Where is the "back" when in Support Communities or is going into the history tab the only way ?
    thanks

    When in the ASC pages, my method involves opening separate windows.
    So I can go back to the reference page from where I first visited a thread.
    Also, pages open faster at times into a new window instead of a tab. As
    my setup has a bit more display than necessary, a few extra windows are
    easier than a bunch of tabs in one frame that have no point of reference.
    Plus, if I wish to copy/paste or drag into another window, or access extra
    content for the sake of reference, I have that; & may use another browser.
    For some content, different browsers may be a preference. I'm used to more
    than two, and one of three becomes more dedicated to things like web mail.
    There may be some options in launchpad items, such as they are.
    Mission Control can access other hidden windows. There's a short
    cut for Full Screen that when used again, reverts to previous size.
    Not sure if this gets near your question, but thought I'd put it out here anyway.
    edited

  • When I click on the 'help' key in the elements 12 program it wants to open it in Firefox2. Firefox doesn't work on my Macbook Pro Air. I use Safari. How do I get it to open?

    When I click on the 'help' key in the elements 12 program it wants to open it in Firefox2. Firefox doesn't work on my Macbook Pro Air. I use Safari. How do I get it to open?

    Hmm, that is very strange. I agree with MichelB that it's probably best just to get the PDF, but you can try going to your username>library>preferences and deleting:
    com.adobe.PhotoshopElements.plist
    Adobe Photoshop Elements 12 settings
    Adobe Photoshop Elements 12 paths
    To see the library, click the Go menu in the Finder and hold down the option key and it will appear below the little house for your user account. While you're in there it wouldn't be a bad idea to go to the Saved Application States folder and delete anything pertaining to PSE.
    Repair permissions and see if that does it.

  • OSB 10gR3 MQ transport - How to loadbalance with MQ cluster?

    Hi,
    I'm using MQ transport to put and get messages from OSB 10.3.1. I would like to know how a Proxy/Business Service can be configured to make use of an MQ cluster (or an MQ Queue Manager cluster to be specific)?
    Thanks in advance
    Vikas

    interesting question...
    here http://docs.oracle.com/cd/E21764_01/doc.1111/e15867/interop.htm#OSBAG1403
    they say
    IBM WebSphere MQ 5.3, 6.0, *7.0 server support with 6.x client libraries*
    I vaguely remember having used the 6.0 jars to connect to MQ 7, but I believe that even using the 7.0 jars would work.... don't quote me on this...

  • Using LabVIEW 6i w Win NT or 95/98 et al: how do you keep a TCP/IP open connection 'open'. The application closes the connection even though the refnum is still active (valid.)

    Actually, I open the TCP/IP connection and pass the connection ID through. Each command to/from (cycle) the UUT successfully executes. The refnum for the connection ID is then passed via a shift register in the while loop. i am using the type cast (4X) function to determine the validity of the connection and case statements. If the refnum is non-zero it assumes the connection is still open; if the result is zero, then the connection is closed and a new session opened in that case. What is happening is that the connection has closed and the refnum is still nonzero after the type cast function; su
    bsequent commands to the UUT then produce Error 1 for the TCP/IP function (there was no open connection, so there could be no write occurrence.) Obviously, this probably shouldn't be happening. If someone can give me some idea of what I am not doing, or am doing wrong, I sure would appreciate it. In the event that I open and close a connection for each command to(from)(cycle) the UUT everything works. It is extremely slow. The connection should remain open according to all the pointers in the Help and TCP/IP function descriptions. Some of this application is proprietary, so not sure how much of an example I could use to illustrate from a VI, but if this doesn't get any where, I will see what i can do to better illustrate the problem...Thanks. T.Raper

    I believe this is a related question. I am developing a LV application the uses TCP/IP to control up to 8 devices-under-test (DUT) at one time. They start and finish testing at arbitrary times relative to each other, and the IP addresses are not known until the DUT arrives. I have some question on what is the best way to manage the TCP/IP handles.
    Presently, I have 8 Global IP addresses (one per testing site) that are updated as DUTs arrive and depart, and then whenever I need to communicate with a DUT I use TCP-Open, Write/Read, and TCP-Close. I do this Open/Write/Close each time there is a message to be sent to a DUT. This is basically working, but I notice that the OS (Windows XP or 2000) is running through local TCP/IP ports at a ferocious rate due to the TIME_WAIT behavior of Closed TCP/IP ports (It takes many minutes for a local port to become available again after being closed). If I am not careful, I can quickly exhaust the pool of OS ports by using tight polling loops or other very quick DUT accesses. I have tried not to do that in order to avoid running out of handles, but it is still very wasteful of ports.
    While it is working, I feel so dirty burning through these handles like this since they appear to be a precious resource. I really cannot easily merge multiple Read/Writes into a single Open/Close since there are dozens of otherwise unrelated tests that communicate with the DUT as a part of their functionality. The tests are even in different subVI's that are accessed via a vi-server, and only one is loaded at a time.  
    I thought that a cute idea would be to cache the handles in Globals, and wrap the Open to use the cache if valid, but reading this thread is making me think it is a lot of effort -- I believe I would need to keep a VI running as a "IP Connection Server" at all times and use some form of messaging to get it to Open/Close TCP connections as needed. Since the DUTs arrive at aribitrary times, and with random IP addresses, I cannot establish all the TCP handles ahead of time -- they would need to be created dynamically. It is much more difficult than simply keeping the Connection IDs in global variables -- the VI that Opened them must not be allowed to terminate.
    So... I am curious...... is it really that bad to Open/Close as frequently as I am doing it? Does it make me a bad person? I understand it is inefficient use of time, but the simplicity it brings to the structure seems huge, and the DUT is very slow anyway. And if it is bad, are they any more recent thoughts on alternatives? Do VISA handles behave the same way as TCP handles (ie. auto-close themselves upon exit of the VI that Opened them) ?
    Message Edited by Mike Seibel on 11-28-2005 07:55 PM
    Message Edited by Mike Seibel on 11-28-2005 08:00 PM
    Message Edited by Mike Seibel on 11-28-2005 08:01 PM

  • How to keep Folder Windows From Opening When Turning On System

    I have a couple hard drives connected to my APExtreme. When I turn on my Mac Mini it mounts the drives correctly and shows them on the desktop. It also opens windows for each drive. How do I keep these windows from opening?
    Thanks!

    Uncheck this when shutting down:

  • How to keep any dialog box open

    i would like to keep any dialog box open while i'm doing getting it right for example the effects box

    d.v. wrote:
    i would like to keep any dialog box open while i'm doing getting it right for example the effects box
    There is checkbox called "Preview" - in bottom-left corner - but you need to have object selected. Why you don't work on Object Styles?
    robin
    www.adobescripts.co.uk

  • How to prevent a TCP connection being closed when the VI that opened it finishes.

    Hello everyone.
    I am developing an application based around servers and clients communicating over TCP in LabVIEW 2012.
    When the server/client opens a TCP connection ,it launches an asynchronosly running "connection handler", to which it passes the connection reference which then takes over all the communcation. This all works fine.
    However - I have a situation where a client's connection handler can be informed of another "new" server. I would like it to open the connection (to see if it is still valid) and then pass this connection reference back to the client's main code to spawn a new connection handler. This prevents me locking up the Client's main code with a long-ish timeout if the "new" server is not actually accepting connections.
    The issue is that if the connection handler that opened up the connection to the "new" server is stopped, then it appears to destroy the reference that it opened. This means that the other connection handler that was merrily communcating with the "new" server has its TCP communciations closed (I get an Error code 1 on a write).
    I have created an example to demonstrate the issue which should be used as follows:
    1. Run server.vi - it will listen for a connection on the port specifed on its BD.
    2. Run CH Launcher.vi - it will open a connection to the server and pass the TCP reference to an instance of Connection Handler.vi which it launches.
    3. The Connection Handler should send data to the Server
    4. Stop the CH Launcher.vi
    5. The Connection Handler.vi will error.
    Any suggestions would be much appreciated.
    Cheers
    John
    Solved!
    Go to Solution.
    Attachments:
    TCP Test.zip ‏35 KB

    John_Neutron escreveu:
    In my case I have changes the part of the code that opens the TCP connection to a VI that has the same lifetime as the main VI so that any connections that have been opened will only be closed automatically when the main VI stops.
    And what are the effects? You are still facing the same problem or closing the connection only when the whole applicaton stops solved your problem?
    Regards
    Mondoni

  • Is Message debatching in OSB using JMS transport possible

    hi
    I have message on JMS queue with multiple message(s) in it.
    Now my requirement is to read this JMS message as multiple internal message(s) from queue using OSB JMS transport.
    Is this possible from OSB JMS transport?
    Thanks in advance.
    -Ramakrishna Gilla

    No.. JMS transport wont automatically do it for you .. You will have to write a jms proxy service and have your logic to do the debatching.. alternatively you can use jms proxy as a pass thru service writing to the file system and then have the JCA file adapter to do the debatching..

  • How to keep a "front panel" open during another sequence?

    Hello everybody,
    I'm new on the TestStand forum and I have a question for my project.
    I need to make a test sequence with several sub-steps: Barcode reading, Data reading, Data analysis etc... and all these steps in a "For" or "Do... while" loop under TestStand.
    Before doing the loop, I want to create a "global HMI" step using labview, with on the front panel, the status of each sub-steps. I need to update the status of each sub-step after their execution. 
    The sequence TS is:
    Step Action Labview: HMI.vi (display front panel when calling vi)
    Loop for
    Barcode reading
    Data reading
    Data analysis...
    That's why I need to keep the front panel of "HMI.vi" always open to updated /display the status of each sub-step. (something like colors of a LED). I doner 't want to call the HMI.vi after each sub-step.
    I understood it's a multi-threading process and the reference of HMI.vi should always be active during all the "for loop", but I don't how to keepthe reference.
    Could you please kindly show me how to do it under TestStand (verstion 4.1) with LV (7.1).
    Many thanks in advance, 

    Hi zuzu,
    A UIMessage is typically used as a method to alert and pass information from your sequence or code modules to the User Interface. 
    For a good discussion on this, refer to the section titled "Communication from the Test to the User Interface" here:
    Developer Zone Tutorial: Best Practices for NI TestStand User Interface Development
    However, you can register a callback to listen for these UIMessages in other parts of your code besides the UI as well. That's what we are doing in this case with the floating panel.
    So basically, in your "Update HMI" step, you would post a UIMessage using RunState.Thread.PostUIMessage.
    This posts the UIMessage, and you can pass whatever value you want from  the "Update HMI" step to the HMI.vi.
    For information on the function call, refer to:
    NI TestStand Help: Thread.PostUIMessage
    In this case, we are sending a UIMessage with message code 10200, along with 2 pieces of data, Locals.Progress (a numeric) and "TestProcedure" (a string).
    Typically, you can pass a Number, a String, a Boolean and a Variant with each UI Message. If you need to send multiple pieces of data of the same type (your second question), then you should bundle them together into an array or cluster (container) and pass it via the ActiveX parameter.
    See the following forum posts for more details:
    reference a numeric array in PostUIMessageEX
    HOW To pass more than one numeric data with ActiveX postUIMessage
    Jervin Justin
    NI TestStand Product Manager

  • How to keep photo order when opening default photo app?

    First it concerns the default photo App: I have created an Album based on recent photos imported from the cloud, there are 125 photos in them, for some reason they are in the wrong order, i.e. by date. I know how to rearrange one photo at a time, but it's painfully slow to go through all 100s of them.
    Second, there is the iPhoto App: I downloaded iPhoto app from the iWork suite, that came free for me, it gave me an option to sort photos by date, hooray!
    BUT!! when I close iPhoto and reopen the default photo app, the photos were no longer sorted, it was the same order before the sort!
    My question is, how on earth do I sort an album in iPhoto and to keep that order when I open the album through the default photo app or indeed any other app that uses the iOS albums such as facebook etc?

    As far as i know, you can't, when using iphoto, the sort is only for iphoto, apps on ios do not have access to one anothers data, ever, you can transfer a file from one app to another app that supports the file format but then you have two independent copies of that file.

  • Question: How to keep QTmovie + Photoshop doc open and working at same time

    Hi there, does anyone know how I can keep BOTH my Photoshop file windows AND a Quicktime movie open and running at the same time. I am trying to follow a set of tutorial movies that I downloaded from a podcast (and I've also tried using a Photoshop Tutorial CD and same thing happens). The problem is when I try to follow along by having a Photoshop file open, the minute I click on the QT movie all my extra Photoshop windows (layers, brushes, history, etc) disappear, leaving just the file. This is no good because what I'm trying to do with the tutorial is to duplicate what they are doing in those windows. Of course when I click back into Photoshop they reappear but by this time the QT movie has raced ahead and the minute I go to pause it .... Photoshop goes again ... is there a way to keep all windows to both applications visible ?

    I’m afraid You will have to employ a workaround.
    I would recommend applying the Path as a Vector Mask to the Layer (with the Path selected command-click on the Add Layer Mask-button in the Layers-panel), then transforming, subsequently duplicating the Vector Mask and removing it from the Layer.
    Or copy-paste it into the existing Clipping Path and then remove it.
    Some part of the procedure may be automate-able with Actions or Scripts and hopefully it will still save at least some time.

  • Using SQL instances - how to configure the db connection

    WCI 10.3.0
    We changed the DB server, and instead of a regular SQL server using the 1433 port, we are using an instance
    SQLSERVER1\_SQLINSTANCE1
    The problem is that, in this case, the port is dynamic allocated.
    The question is:
    How I configure this in Webcenter Interaction? Anyone experienced this kind of Db migration?
    Thanks!
    Val

    WCI requires use of a static port. You can assign a static port to your named instance.
    Make sure TCP/IP is enabled, as sometimes only named pipes is turned on.
    Then for WCI use the hostname and port you specify. You can do this in the configuration manager.

  • How to keep from losing connection to firefox and reentering user name and password when I close a message in my e-mail that I have read

    I use firefox for e-mail and am unsure how to close a message without losing the connection to firefox. Then I need to go through the tedious task of entering my username and password everytime I am finished reading the message and close it. How can I close the message without losing connection to firefox? Also, when I select "save my password" at the sign in page it never saves the information. Why not?

    You're welcome.
    You could always get a Gmail account(free), set that up as IMAP or Exchange, then forward all of the mail from your POP account to your Gmail account.

  • How to keep alive RS232 connection

    Hello everyone. I have a problem with RS232 communication. To activate the connection I have to send the string "RS232", then to keep it alive I have to send every second CR, but in the meantime, I must be able to send other character strings without delay on the same port (COM7). Can anyone help me?
    Thanks 
    Solved!
    Go to Solution.

    RS232 standard does not require by itself to be kept alive someway, so I suppose is your remote device that requires it.
    In every case, you could create a 1-sec timer and have its callback send CR periodically over the serial port.
    To avoid conflicts between this task and the rest of the application you could use a lock: basically, after creating the lock, each function that wants to access the serial port must call CmtGetLock (), operate on the port and call CmtReleaseLock () afterwards. If the lock is owned by another function, other functions trying to get access are frozen waiting for the lock, so you must be careful in designing com-related function so that they are fast. If you do not want to have some function be blocked while waiting for the lock you can use CmtTryToGetLock instead of CmtGetLock. A few informations on locks can be found in this tutorial as well as in this chapter of the Programmer reference.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

Maybe you are looking for

  • I need help getting my RSS feed compaitble with Itunes...Im almost there.

    Can someone help me with my code for itunes. Unfortunately I use rapidweaver to podcast and I have read there are a few things Rapidweaver leaves out when publishing the site so itunes does not accept the feed. My RSS feed works and can be subscribed

  • Issue with the supshare Report Script Command

    Hi All, I have created a report script to extract the Level0 data for the members of the accounts dimension and It does work fine and the performance is also good. However I have a challenge here. The shared members are repeating and therefore I used

  • From iPhone 4 to  iPhone 5?

    Hi to all! How can I move all my programs and games from iPhone 4 to  iPhone 5?

  • Unable to open file in ME23N.

    Dear All, My requirement is to upload file into ME23N transaction using program. User will upload file from desktop, file is stored in service for object in the transaction, But if we open the file, it display error message u201Cunable to open fileu2

  • Graphical Mapping Error: Unexpected Exception-While saving Mapping Object

    Hello Experts, I am unable to save Message Mapping in PI7.11 with following version details: Version Service Pack:03 Release:NW711_03_REL We already had this issue before but after applying Service Path it got resolved.. but now again its giving the