event for broadcasting images of TCP/IP

Hi all

My request has currently 2 devices using TCP/IP on stream of framework to 100ms and 50ms data refresh to a PC. I would like to change the polling for data to generate an event when the data arrives, but I'm not sure how to proceed. I have currently 2 devices streaming via TCP/IP to a routine of labview with 2 loops and they seem to work as expected but I must question currently. The situation is not ideal and will not improve once I have 5 or 6 devices TCP/IP all managers of production at different rates.

I previously used visa for data series and fell on the function of the event for the series that has greatly improved my behavior of codes once I got rid of my quick polling loop.

I searched for a solution, but so far I can only find the VISA > advanced > range of event management that seems to support most of the types of communications except TCP/IP (I hope I'm wrong). I also vaguely remember a conversation where the queues or the declarant could be configured to provide the equivalent of an event for the recovery of the data.

I guess that theres a certain many other means to produce something that looks like an event.

Advice appreciated.

Concerning

Chris

I don't know of anyway to raise an event when the TCP data arrives, but I don't know why you need to do. No need to question the TCP connection, just to set a long (or even infinite) time and wait for the data to come to you. Keep a copy of the refnum of connection TCP somewhere else, so if you need to kill TCP playback, you can do so by closing the TCP connection (which can cause the TCP Read return an error).

If you want to generate an event of this, you could feed the chain you read TCP read in a user event.

If you need to handle an unknown number of connections and you want not to loop through all, mark, each of them, you can instead create a reentrant VI and launch a new instance of it for each TCP connection. That said, I've never had a problem with the run-up to the election on several connections, and I have used this template a bit.

Tags: NI Software

Similar Questions

  • Can not turn mp3 audio sync of the event for broadcast on the timeline

    I imported an mp3 Flash CC file and put it on the timeline. Audio synchronization in the properties only allows you to 'event '. I need to be stream so I can rub her. Any help much appreciated.

    HTML5/canvas only supports the sync event property.

  • First Pro CC export for broadcast HD PAL settings

    Hello

    I'm looking for advice on the best parameters of export to prepare a video for broadcast in the United Kingdom.  I am familiar with the General settings to PAL, but it is the format/codec which I stem.  I looked on the web and on the forum and boards differ greatly.  Many people are suggesting H.264 as the best option to format, but on a recent project, a broadcaster refused to accept this format.  Probably a Quicktime with the H.264 codec would be not just better.  I was recommended a Quicktime .mov with ProRes 422 codec, but it is not available in first (unless I'm missing it!).  Or should I forget about Quicktime and watch a different format?  My images are mostly 2D animated (from Flash).  I used H.264 and Quicktime successfully for YouTube, but the side of things TV confuses me.  I saw advice also apply to the broadcaster, at this stage it is not a, so I want to be able to offer something that is more likely than not to be acceptable.  Thank you.

    Here is a link to the current specifications of the BBC.

    Guidelines - quality service - the BBC television

    Section 4 talks about the delivery of the file spec.

  • How can I hide submit them and disable button "on success" event for question slides?

    Hello

    I use the "successful" event on the question slides to show a caption for the image and text and a button of smart shape to allow the user to continue to his own time to the next question.  The problem is I can't hide submit and clear buttons and I cannot conceal their with a smart shape...

    Does anyone have advice?

    Thank you!

    It's just the way by default that work all the Captivate questionnaire slides.  The default slide elements of questionnaire, including the "submit" button and the Clear button, are always at the level of the top layer, no matter what YOU add to the slide.

    My suggestion would be that maybe you should consider using the actions on the success or on the last attempt to go to a different slide in total BEFORE then go to the next question quiz.  Then you can do what you want on this non-quiz slide.

  • Re: specification for parameters of the project and the final delivery of the animations for broadcast HD

    Hi all

    I just finished reading the book of techniques of studio by mark christiansen and I have I have some doubts, maybe, someone working on similar projects can help out me, I hope!

    I live in a PAL country and I especially design and animate the graphics in AE with layers of shape, the illustrator files and psd files. I can work in a proyect for broadcast HD tv and some questions and insecurities had crawled in. I would describe who will be I guess than the workflow:

    1 - setting up the project in AE:

    Captura de pantalla 2014-02-14 a la(s) 14.44.19.png

    of course, the working color space should be consistent between applications. Linearize is important, but I Don t well grasp the concept.

    (2) my master composition:

    Captura de pantalla 2014-02-14 a la(s) 14.51.00.png

    Here, the choice of the frame rate should be 25/50 according to the... ? is just a choice if you work with live images of the hd cameras? apply to animations, graphics?

    And last question, which would be the preferred delivery format and the encoding of the file? I know that there is a wide choice, but if you have a set that s works for you and your customers then i´ll be useful.

    Also. If you have an article, you can recommend where there is an explanation very clear be appreciatted, it seems (to me) the deeper you digg I get more confused.

    Thanks in advance!

    You should check with the diffuser. Either they publicly publish their requirements or that they are in a contract. There is not one size fits all here. The best option for the broadcast work is to make a copy almost without loss or loss of your job as a DI (digital intermediate) and then compress the project specifications accurate diffuser using Adobe Media Encoder or another application specifically designed for video compression for delivery. The only time you ever look like an amateur is when you do not ask the specifications. I regularly get the same images different distributors in 6 different formats.

  • Adobe PDF Reader has support for broadcast all rendered document content in a browser?

    Adobe PDF Reader has support for broadcast all rendered document content in a browser? I have to make the document PDF in browsers using the streaming so that the user can see the first pages, while the rest of the pages in the document is loading in the background. Could someone please confirm if this capability of streaming is supported by Adbobe Reader?

    I tried below approach and noticed that the document is not rendered in IE at all (I see a blank page). However, in Chrome, I see the rendering of the document, but the content is not rendered correctly (I mean that some of the content is rendered. In addition, images and tables not is not made properly).

    Code snippet:

    =========

    Response.ClearHeaders ();

    Response.ClearContent;

    Response.ContentType = "application/pdf";

    Response.AddHeader ("content-Transfer-Encoding", "binary");

    Response.AddHeader ("Content-Disposition", "inline; exit = filename"+".pdf");

    Response.AddHeader ("Pragma", "no-cache, no-store");

    Response.AddHeader ("Content-Length", stream. Length.ToString ());

    Response.BufferOutput = false;

    const int bufferLen = 2048;

    ubyte [] buffer = new byte [bufferLen];

    int count = 0;

    While ((count = stream. Read (buffer, 0, bufferLen)) > 0)

    {

    Response.BinaryWrite (buffer);

    }

    Response.End)

    Adobe Reader has very sophisticated support for broadcast in a browser, but using this code, you have disabled.

    Your code offers you the PDF file in one piece - Adobe Reader has no choice other than to accept the piece in the order in which send you it.

    However, if you use a PDF by http URL, and it is optimized for fast web view and it is displayed in the browser window, and the agent viewing is Adobe Reader (usually is not the case with Chrome), then it will launch several requests to the server for the beaches of bytes according to the needs.

    It is theoretically possible for a script to support this, but the script must do a range support full http/1.1 byte, supporting several repeated calls. It's complicated enough that I have ever seen.

    If you can redirect to a URL, it will get done.

  • How can I synchronize catalogs on 2 computers that use the same location for the image files?

    I do not understand Lightroom.

    For example, I use LR4.2 on a desktop computer and a laptop computer. Two computers (Windows 7 64-bit) go to the same image files. On my laptop in a folder, I have 42 master images and 5 virtual (virtual events) for a total of 47 images. But when I open LR4.2 on the desktop I do not see the 5 virtual (virtual events) on the 42 master images.

    Why can not I see the 5 virtual events since I can access the exact file and how I see the virtual evidence created on the laptop on the desk.

    It has no function in LR to synchronize catalogs.

    If your pictures are on an external hard drive, you can move the file catalog to this external hard drive, and then you will have a catalogue on your desk and another on the laptop. Just use the one on your external hard drive.

    If your pictures are on a network drive, you can not put the file catalog here, so the only answer I know is to manually transfer the catalog back from one computer to the other file.

    Why can I not see the 5 virtual events since I can access the correct folder

    Lightroom does not save your work to the photo files. It stores your work in the Lightroom catalog file.

  • Mouse event to < mx:Image / > does not good localX, locally

    Hello

    I display an image in a titleWindow (as a popup). Now I'm events look on the image if the user clicks on the image then I display a popup at the corresponding position, but everytime that I click on the flex gives me contact information which is not where I clicked, it gives me the coords (localx, locally) further to the right. Is there a better way to manage events on the Image? Or is this a bug in adobe?

    PS I'm listening for the click event on the titleWindow nt on the image, but the result must be the same.

    LocalX/Y is relative event.target see so what's the event.target.  You

    can use localToGlobal and globalToLocal to convert any other objects

    coordinate space.

  • Canvas, click events for the child objects

    I am trying to record an event for each child object.
    and I use the following code

    http://livedocs.Adobe.com/Flex/3/HTML/Help.HTML?content=events_08.html
    in the part of the examples (second example)

    However, I am dynamically add custom Image objects extended and when click on a displayed Image and check for its type if its correct type, it would just return false.
    Alert.Show ((event.target_est_dans_MyAClass).toString ());

    When clicking on one of the children is opposed and display the event.target.name and it's just also displays a silly 'FlexLoader74' or whatever number. Somehow, it loses its properties or the type of the object.

    Is there something that I am missing?

    The loaded image, you click on IS what would return with event.target. It is added to your image class extended as a child of this class. So it's probably that you want to do:

    Alert.Show ((event.target.parent_est_dans_MyAClass).toString ());

    Keep in mind that if EMBED you your images in your image personalized instead compile-time class, then you can check for this as you did before:

    Alert.Show ((event.target_est_dans_MyAClass).toString ());

    TS

  • When I right click on an image, I can't see the option "search Google for this image. How can I get that back?

    I don't know what that I have maybe changed, but right-click on any image, gave me the option in the Google search menu for the image. This option is gone.

    This is not a built-in feature. Have you used any of these extensions:

    You might first check the addons page to ensure that it is not disabled. Either:

    • CTRL + SHIFT + a
    • "3-bar" menu button (or tools) > Add-ons

    In the left column, click Extensions. On the right side, off the cluster of extensions at the bottom.

    If it is enabled, it could be a problem with some of the code in the extension is not compatible with Firefox 40, or one other extension it bumping from the context menu.

  • HP Image Zone Update for HP Image Zone Plus?

    I have a Hp Pavilion a350n. With a HP Photosmart 2610 installed. The HP Image Zone is the 4.5 version, (which contains my version 045.004.157.000 Images, Edit version 045.004.157.000, version 3,0,0,10 of the picture library, version of the creative projects 045.004.157, HP Image Share 045.004.157.000 version) in the downloads and updates for the ngn350 section (http://h10025.www1.hp.com/ewfrf/wc/softwareList?os=228 & lc = en & cc = us & dlc = en & product = 371643 & lang = en) there is an update for HP Image Zone Plus (large enough 254 M), the upgrade is the file 'sp26422.exe., published on 30/11/04, Version 4.2.3  I thought that it would be upgrading my area of Image to Image Zone Plus. This is not the case. In my view, he says that I had need of HP Image Zone version 4.7 or later or something like that. I'm not under the HP/Windows delivered software came with the computer (a long story) so I have Windows XP Pro with the printer driver (solid line). The printer was purchased in December 04. Is it possible to upgrade the software of HP Image Zone for HP Image Zone Plus? Or update the current HP Image Zone 4.7 and update Image Zone Plus? Any ideas would be appreciated.

    Thanx

    Only after the last tree has been cut down.
    Only after the last river has been poisoned.
    Only after the last fish has been captured.
    Then only you find that money cannot be eaten.
    -Indian prophecy screams-

    Current offer of HP's HP Photosmart Essential:

    http://www.HP.com/United-States/consumer/digital_photography/free/software/index.html?JumpID=hpr_R1002_USEN

  • TRV27 DCR how can I turn off the built in mic? I use other audio entries for broadcast on the Web

    I use two TRV27s DCR to capture video live for broadcast on the Web, but I use another audio input for broadcasting on the Internet... ambient discussions are picked up by the microphones of the TRV27... How can I turn off?

    Sony Handycam do not have a menu option to allow the microphone to be turned on or off. There are two possible solutions for this:

  • Can I have a global calibration for different images sizes in VBAI

    I run a VBAI algorithm on images from several cameras to linear scan.  We use a square, simple, calibration (.42mm/pixel) for each image, they are always 1024 pixels wide, but can vary in length of the image.  Currently, I use several instances of Calibration Wizard then 10 to account for variations in length, but it seems to me that the internal calibration resulting is the same for each instance.  So is it possible that I can set up a unique calibration use if for any length of the image?

    Thank you

    This is a feature that we added in the latest version of Vision Builder AI (2012), which will be available very soon.

    Would it be possible for you to use the LabVIEW execution step to calibrate your image? If so, you can call a LabVIEW VI that sets the calibration using IMAQ Calibration2 Simple to set, after the steps in the acquisition. Once the image is calibrated, all subsequent steps must return results calibrated, even if you do not use the VBAI built in calibration.

    Christophe

  • Lock the front until the end of the matter of events for this event

    A filtered event is a dynamic event? This is why "lock the front until the end of the matter of events for this event" does not appear on the dialog box edit the window tΓche? I use dynamic events so I can Subvi the structure of the event.

    I need stop my app does engage the FP, whenever the user double-clicks the (value of digital painting<-- the="" fp="" freezes="" the="" mouse="" and="" renders="" it="" useless)="" and="" stops="" the="" value="" from="" ever="" being="" changed.="" this="" event="" is="" registered="" for="" value="" change="" (not="" mouse="" up="" or="" down)="" and="" i="" get="" a="" locked="" mouse.="" as="" yet="" in="" the="" ui, no="" value="" changed="" occurs="" but i="" get="" a="" locked="" mouse.="" a="" lv="">

    Trying to FUCK, I can see this solve this by moving ONLY the event changes its value to the top-level VI instead of a dynamic event recorded in a sub - VI. This will give me the possibility of NOT 'façade blocking until the end of the matter of events for this event ".

    For dynamic events, you must click on the node for event registration (when the event is actually registered) and choose to not block the FP.

    Yes its not easy but its there.

    Ben

  • Train of SVM IMAQ for no Image data

    Hello

    I am fairly new to machine algorithms for learning about Labview so please be patient if my question seems stupid. I was wondering if there is a workaround to use the screw of Machine Vision SVM (e.g. IMAQ SVM Train) for not the image data. I know Machine learning package and I will surely give it a try with those but MV screws are really well organized and allow to record the training in a very elegant manner.

    Indications, suggestions or, well, even a "no, can't it' is really appreciated!

    Moreover, any luck of having the learning algorithm Machine present natively in LV?

    Thank you

    FRAX

    -According to my knowledge IMAQ screws are specifically for the Images.

    -Your best chance is using Machine learning package that you have already found.

Maybe you are looking for