How can I capture a change in value to a datasocket in a structure of the event?

Hello

I am currently working on a project with two separate systems (PXI embedded control and a standard PC) who speak over a network using a datasocket. The PXI controller is reading data of a DIO card and this announcement to the datasocket.

I really wish I could check the datasocket (on the PC) for a change in value and only react when a change occurs?

Does anyone have an idea how this could be done?

Please ask questions if I did not explain it very well

Thank you

James

Hello Jam.Hall,

I found this thread, I hope this might help.

He referred to the knowledge base article if you need more details.

I hope this helps!

Tags: NI Software

Similar Questions

  • I'm on Windows 10. A works fine until the update. How can I make Adobe Acrobat Reader (free verision) my default DC? Seems that the default value is E pdf and when I change the default in the flashes of screen reader and forms are in the same format. I ha

    I'm on Windows 10. A works fine until the update. How can I make Adobe Acrobat Reader (free verision) my default DC? Seems that the default value is E pdf and when I change the default in the flashes of screen reader and forms are in the same format. I rather Acrobat format if possible. Thank you

    Hello

    Could a right click on the PDF file > open with > choose program by default and select CD player as default PDF Viewer.

    You can do it from the control panel as well.

    This would make CD player as default PDF Viewer.

    Concerning

    Sukrit diallo

  • How to trigger the value change in the structure of the event

    HII everyone, like the title, how should I trigger the value change event to display a message... Here is my connection... I want to trigger structure of the event to bring up the subvi, when the flame and the led are TRUE State... I have using the node property, but still not able to run event structure... How should I connect? Thank you very much...

    There are several ways you can do. First of all, you need to configure your sub - vi while he does everything you want when you run (in the properties of vi, top most window for example) and to make sure that it closes completely when you're done (when you click on the 'OK' button, for example).

    Spend you need an asynchronous call to the subvi. There are several ways to do so. My favorite one below. You go in the palette under 'Application control' and select a static reference VI. I like this approach because it keeps track of the way subvi for you, as long as the subvi is in the same project. Then, drag the sub - vi on the empty square which will be changes to your sub - vi icon. Then, you connect to an invoke node in the same palette under and select run VI. "Wait, that 's" set to false and the main VI will continue to function after the start of the vi of Sub. Together "Auto Ref" is the best way to go. Otherwise, you will need to follow the sub - vi reference and shut up yourself when you are finished.

  • I forgot the answer to my security question, I tried to update these answers, but to update them also, I must first answers old issue of security which I forgot how can I update and change my security question and the answers?

    I forgot the answer to my security question, I tried to update these answers, but to update them also, I must first answers old issue of security which I forgot how can I update and change my security question and the answers

    ?

    You must ask security team account Apple to reset your security questions. To contact them, click here and choose a method; If this page does not list one for your country or if you are unable to call, complete and submit this form.

    (143315)

  • How can I capture the time of startup and logon for XP users on my domain?

    How can I capture time (or time)
    -for users to access the logon screen (references)
    -users press OK after entering his credentials on the logon screen
    -Office XP that appear in a usable format moderately (for example, the user is able to open Explorer)

    We have problems with the connection of slow/slow start (SBSL) with Windows XP on the field and we would have 'real' numbers before you start so that we can have a base line and that you don't need to ask users what they mean when they say "it's a bit slower than usual" (and we'll know what stage of the startup procedure is slow). We would like to be able to capture (without intervention of the end user) following in a file or somewher event schedule so that we can measure how slow (or not), they are and what stage is slow, and what days it was slow. We are already capture the userenv logs.

    Hello

    Your Windows XP question is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public. Please post your question in the TechNet Windows XP Networking forum.

    http://social.technet.Microsoft.com/forums/en-us/category/windowsxpitpro

  • How can I capture video on my hp pavilion p6-2190ea

    How can I capture video on my hp pavilion p6-2190ea

    Hello

    Please read the following article, my suggestion: use Firefox (Flashget):

    http://www.CNET.com.au/three-ways-to-save-video-from-the-Internet-240091346.htm

    or you can use some othe such download managers:

    http://www.FreeDownloadManager.org/

    Kind regards.

  • How can I cancel or change my memberchip?

    How can I cancel or change my memberchip?

    Please visit: https://helpx.adobe.com/creative-cloud/help/manage-cc-individual-membership.html

    If it's subscription month. You can cancel this subscription form your adobe account:

    Cancel your membership creative cloud

    Otherwise please contact support:

    Contact the customer service

    Hope this will help you.

    Concerning

    Megha Rawat

  • Inadvertently, I had a graduated filter changed all 326 images in my folder. How can I remove this change of images without affecting other types of changes, I did for the other images?

    Inadvertently, I had a graduated filter changed all 326 images in my folder. How can I remove this change of images without affecting other types of changes, I did for the other images?

    Select all images, ensuring that you are in the develop module. Auto-Sync lights up and then just delete the graduated filter. You will need to activate the graduated filter tool and click on the PIN for the filter you have defined and then press the delete key. Then, you want to disable automatic synchronization. Now, just highlight the image you want to add the graduated filter and do your thing with her.

  • How can I capture a page hosted as a variable?

    How can I capture the html or css to a hosted page and use it as a local variable? There are a lot of options to do with the local file, but I can't work, what to do when the file is not on your CF server. Any ideas?

    ?

  • How can I capture a hardware trigger (5.76 V, wide 25ns) and allows to trigger something else in LabView

    Hello

    I'm trying to synchronize data between two different instruments using LabView.

    A single instrument will work regardless (it can be integrated with LabVIew for various reasons) and the synchronization signal of this instrument, which I want to use (5.76 square pulse, 25 ns wide V, occurs aperiodically) is "extracted" (I made a breakout box and have the synchronization signal on a coaxial cable that I can plug into anything).

    I want to take this synchronization signal and use it to trigger an event in LabView (the second instrument is controlled with LabView).

    I had hoped that a USB 6501 would be able to go around, but I realize now that he can't see a signal that is so short (I think).

    So, what should I do? How can I make LabView 'see' a such narrow pulse and use it to trigger an event?

    In summary:

    • Have digital signals from a piece of hardware on a coaxial cable - 5.76 V rectangular pulse, wide 25ns, occurs randomly nut not more often than every ms
    • Want to get the digital signal into my PC and LabView where I use this signal to trigger an event (in this case, to start an event of data acquisition on a different piece of hardware that is controlled with LabView)
    • I'm using LabView 2013 64 bit, Windows 7 x 64
    • I was hoping to use NI USB 6501, but I'm not sure it's possible, given that the impulse is so narrow
    • Picture of the sync signal as seen on a scope is attached (note there is a tiny little ring that will not present when I fix the cable)

    Thank you

    Sabrina

    Hello

    You could use a flip flop to intercept the signal. Do not attach the pulse but the front. You can read the regular output of the scale with any hardware DAQ (digital or analog) and use the same DAQ hardware to reset the flip-flop.

    Kees

  • Can I record a value Object Variable Global change in a structure of the event?

    I have revealed a global variable to the user via a panel of sup, so that the user directly changes a global variable Panel.  This works very well for this application.

    However, I would like to respond to that in a structure of the event.

    I tried to register for the GV-> [command] Panel.  It seems to work, but the changes do not generate an event.

    I then tried to save the commands individually.  Also hosted in the code, it did not work at run time.

    Is this possible?  Any ideas on how to make it work?


  • How can I set up a structure of the event that sends text when the user presses the button "Return"?

    I'm new to programming of the Structure of the event.  I am trying a program which causes the content of a control to the string to be processed when the user presses the button back in after typing in the control of the chain.  I think (I hope!) that it is simple, I just can't understand how do.

    Basically, I would take the attached VI and change so that the user can send the value of control 'String In' to the indicator "String Out" either by pressing the 'Return' key or press the button 'send string. '

    Any help would be greatly appreciated.

    This example has nothing to do with the RETURN key specifically.  It fires all simply whenever the value of the control is changed.  If you click outside the text box or on another still controls the value changes and still the event is raised.  This is often the desired so if it works in your application, you good to go.

    You CAN ONLY answer a particular key if you wish.  Set your event to meet 'This VI' > key down.  Then, read the proposal Vcle on the left side of the structure of the event and compare it to the RETURN (for example).  The Boolean result of the comparison gets connected to a structure to deal with your code to run inside.  You can also wire Vcle directly to a case structure and execute different code based on which key was pressed last.

  • Button value change records in the structure of the event, but does not change appeaance?

    Hello world

    A quick question... I hope someone can answer...

    I have a code that uses a PS button within a structure of event to trigger a signal of AO... My code is below. The code works fine and the OD goes off when you press the button E-Stim... But when pushed the button does not change with reliability the appearance (i.e. of the gray 'off' red 'on' color)... Sometimes color changes; no other time not... If I remove the structure of the event and the survey button in the appearance changes as expected.

    What is going on? I would like the button to change the colors on the user interface to indicate that it works... Should I programmatically control the color?

    Kind regards

    Jack

    I guess that when query you the button you have some delay in your loop? Locking means that the button will change its value when you press it, then switch back to the original value once the value of the control has been used by the code. When you ask, this means that until he reaches the next iteration of the loop, but in the case where the structure that will happen immediately.

    The default setting for the buttons to modify its behavior as in most of the application would be latch releasing. You then raise the event when the button of the mouse over the control. This also allows "drag" control if you push down on the subject, given that you do not release control in this case.

  • a few seconds "turn on", how can make I make in the structure of the event

    Hi, friends of LabVIEW

    I want to leave user click and hold down a button for a few seconds to turn on a device. Using registry item and history of shift I can make it work. I wonder how to implement it with case and structured event. Which case should I choose? mouse up?

    I have attached the test code as well.

    Thank you.

    I'm sure there are a lot of possible solutions, but here's a way to do it with a structure of the event. Mechanical action of the button is "Switch release." Pressing the button disables the output and sets the timeout of the event at certain time structure. The timeout event switches the output to true. Any other event resets the timeout to-1 value. Unfortunately, it seems that the tool gets messed up the image, so the VI is thus established.

  • structure of the event recorded does not change value

    I have a VI that communicates with an FPGA via a telnet interface.  I have several Boolean controls on the front panel.  When you click a control, it sends a write command on the face i in telnet to the FPGA.  Similarly, if a process in the FPGA himself wrote the same registry (that control written when I clicked on it), an order is generated in the FPGA and returned to the VI and the control (via a local variable) lights or unlights accordingly (based on value).  In other words, these controls are read-write...

    It's all workers, except for one important thing.  I have the code that runs through a structure of event whenever the value of the control changes.  I can see that this code executes in fact when I click on the control via the front panel.  HOWEVER - when something is generated in the FPGA finally changes the value of the control, the structure of the event does not, even if I see the value of the change of control on my front.

    A specific example, I have a control named CLIENT_LB.  When I click on CLIENT_LB, I see it lights up, and I see the event structure code run.  Now, if I have the FPGA process to set CLIENT_LB to 0, I see unlight on my front, but does not run the code structure of the event.  I have probes in place who have checked the associated local variable CLIENT_LB evolving impact of values.  The structure of the event reads: 'CLIENT_LB': value change.

    Shouldn't an event structure "value change" run when the value changes, regardless of whether if it happened manually (i.e. me by clicking on the control) or automatically (i.e. the FPGA written in VI and changes the value of the control)?

    The VI is great, and you would not be able to test it in any case unrelated to the material, to remedy that I've attached 2 screenshots, I have described below.

    1. This is where the string from the FPGA analysis occurs.  The chain between the sub - VI, and then the data chain part is hidden to determine if the Boolean value of the control is true or false.  I put a probe on CLIENT_LB, and I see that as the FPGA changes the value of the register, CLIENT_LB passes from false to true as a result.  I checked this several times.

    2. it is the structure of the event.  This code runs when I click on CLIENT_LB on my face, but does not run when the peak CLIENT_LB #1 local variable is changed.

    Writing to variables never fires events to "change the value. If writing should raise this event, use the property "Value (follow the signs).

    Norbert

Maybe you are looking for