datasocket read stop but shared variable can be updated

Hello

I program with datasocket open/read, sometimes stops playing and after some time, maybe 10 seconds, it go on reading, I compare with variable shared (DSC) and found

the shared variable can be updated, I don't know what happens to my program.

(the reason why I want to use datasocket is that I need to dynamically change the ULR, I have several OPC tags to read (automata 100 times 80 labels per PLC))

Thanks for your help!

Hi ~

The reading function is expecting that the items to be updated, and 10 ms is the default time for this expectation. Affecting false wait the update value will probably solve this problem.

PS: Variables URLS could be changed programmatically, see this document if you wish.

Nice day

Tags: NI Software

Similar Questions

  • I changed from a PC to a MAC and have reformatted my external hard drive with my photos.  Originally LR pointing the reader as reader J but now I can not use a letter.  Y at - it anyway to solve this problem.  My catalogue works fine?

    I changed from a PC to a MAC and have reformatted my external hard drive with my photos.  Originally LR pointing the reader as reader J but now I can not use a letter.  Y at - it anyway to solve this problem.  My catalogue works fine?

    In the library, go to the folders Panel, right-click on each folder of upper level and "updated to the folder location".

  • I have the version of Lightroom 6 buy. I uninstalled and reinstalled. But now I can't update. Need me always to Adobe Creative cloud, which I did not. How can I do?

    I have the version of Lightroom 6 buy. I uninstalled and reinstalled. But now I can't update. Need me always to Adobe Creative cloud, which I did not. How can I do?

    At some point in the past (I don't know the exact date) Adobe "merged" the original update manager in cloud Update Manager, which means that you no longer use your original update manager

    I read a lot of posts that the updater latetest (cloud) sometimes does not work with old programs... Try to install your updates manually

    Beginning of the updates here and product selection, read to see if you need to install updates in the order of the numbers, or if updates are cumulative for the product http://www.adobe.com/downloads/updates/

  • my graphic base score is low which is the reading of 1.0 how can I update I use a toshiba L300D V11 unit and also business and graphics of games is also 1.0 how it to 5.0 pls...

    and my games are moving slowly, if I want to start a game, I get a prompt saying "game run in a rendering mode soft ware" and down below I see sth as your hardware accelerator is either disabled or not supported by your video card... .pls help me to correct this... .Please

    Hello

    I suggest trying to update the latest drivers for the graphics card and check if it helps:

    http://Windows.Microsoft.com/en-us/Windows7/update-a-driver-for-hardware-that-isn ' t-work correctly

    It will be useful.

  • Are published network shared variable write & read Atomic actions

    Hello

    I have a very basic question about shered (published network) variable.

    I think I know the answer already, but since I couldn't find in my documentation, I thought that it is more prudent to request...

    Are reading and writing on a shared variable of stocks Atomic?

    To be more precise: on my target real time I create an array with data (each element being the configuration item or a cluster containing name, value, and type) and when the table is finished I am this store in a published network shared variable.

    On my host (Windows), I'm voting (in a loop) until the table contains at least 1 item, when this is true I'm parsing all the elements in the table.

    Is there a chance that, reading of the shared variable, the table contains a subset of the original painting on RT target (i.e. the action of reading takes place while writing is still ongoing).

    Or is the action of reading delayed until the write is completed? (i.e. both write and read actions are atomic even over the network)

    I think the latter is true but not could find no evidence in the documentation.

    Kind regards

    SoC

    Hello Rob,

    Yes, you can access the entire value, data type - you use both. For the table data type, the integer value is actually the full picture. So, Yes, you can see reading and writing as Atomic actions.

    But, on the other hand, you can lose data if the RT system rewrites the variable before the host had the time to read. To avoid this, you can enable buffering for the variable. See the following links for more information:

    http://www.NI.com/white-paper/4679/en

    http://zone.NI.com/reference/en-XX/help/371361H-01/lvconcepts/buffering_data/

    Finally, you can also activate a FIFO RT on your target RT if you need to send data through the variable in a deterministic section of the RT. See also, more information:

    http://zone.NI.com/reference/en-XX/help/370622H-01/lvrtconcepts/rt_projectvariable/

  • Support of the shared Variables in the third part XP embedded based of PTC?

    I sent a request in an embedded XP touch function (third party). The application works very well, but hosted on a RT (sbRIO Board) shared variables are not getting updated in the app on PTC

    1. the PTC is part of the project as a Windows XP Embedded Touch Panel

    2 NI TPC Service has been installed on the PTC and the application can be deployed remotely from the PC development via ethernet. (Where network connections and communications are OK)

    3. using distributed in the development computer systems manager, I can see that the shared variables are getting updates on the network

    I think that the problem can be solved if the following programs are installed on the TPC

    A. Support for variables that are shared for XPembedded

    B. shared Variable engine

    I tried to install the support of variables shared Program Files > National Instruments > Labview 8.6 > PDA > utilities > Variables > x 86 - but I get an installation error "cannot find the application for the Pocket PC applications Manager.

    Shared variable engine was installed from the ve220 folder. The program is installing. But the engine Variable is not start Control Panel > administrative tools > Services, Xpe, the service is stopped and cannot be started. When I try to start the service, I get the following error on PTC

    "Cannot start Service engine of National Instruments Variable on the local computer."

    Error 1053. Service has failed to demand launch or timely control.

    Please suggest solutions to the addresses above or another of the following:

    1. support of variables shared for XP built-in PTC

    2 Installer engine Variable shared.

    Thank you

    Krish

    Problem solved!

    Update for interested people working on XP Embedded PTC

    Just to ensure that shared Variables were indeed accessible to the TPC, I wanted to install Distributed Systems Manager 8.6 on the TPC. However given that the TPC was only 1 GB of DOM (disk on memory) and with all the software that I had tried, there remained only a few megabytes on the system. I had to add an another DOM of 2 GB.

    All products in the Installation went well, with the exception of the Logos NOR (Version 5.0). Logos OR installation has failed repeatedly.  I tried to install NI Logos separately, with the same results. Then I had this intuition that NI Logos had anything to do with the question.

    Then, I downloaded the new version of NI DSM 2009 SP1. Even if it were to settle on any fresh system without Labview, the installation would not proceed beyond the stage of configuration. I tried to install NI Logos of the folder on the download of new products separately and it worked magically!

    Once the new Logos (Ver 5.5) installed, the Shared Variable engine starts automatically and the shared Variables are finally unleashed - free stand up and shine! I thank Almighty God!

    On the lighter side, come to think of it - to run an application about 400 KB, we need NEITHER of Run Time, XP embedded, DSM, Logos...  (around 900 MB). Can make us everything simpler?  Invite your comments...

    Thank you

    Krish

  • cRIO, shared Variables & stand-alone application

    Hello!

    I developed an application very simple acquisition of analog (NI9215) and the activation/deactivation of outputs signals digital (NI9472) using a cRIO (9012). Data are transmitted to the host through shared variables program.

    I created an executable of the code to be run by the cRIO, set it to the "launch on startup" and it worked.

    I did the same thing with the hosting program and created an exe installer. As I use variables shared the result of acquisition of pipes, I have them placed in the support directory (data) when you generate the executable file (Distribution.exe).

    This executable works perfectly on my computer.

    I used the Setup program to install the program on another computer. This computer as its IP address in the same subnet as my computer. But shared variables ever offer data other than their default values so I guess there is a problem of communication...

    Can someone help me?

    Hi zyl7,

    Thanks for the post!

    This is a common problem - I think...

    The problem is that you need to deploy two seté variables shared by two of the llb. You need 'real' variables on the cRIO - and deploy manually (see link) and a second llb on the host pc, which are related to real variables on the cRIO. This is because the local computer get variables shared, which of course are not those with the cRIO data locally.

    Perhaps in clearer terms.

    When you make an exe of a project using shared variables, you must have a local copy of the variables on the deployment computer which are then related to the 'real' shared variables stored on the target - cRIO, in this case.

    This means that in the view of your project:

    (1) Create static variable in the normal Manor on the cRIO.

    (2) create variables shared on the host PC - llb under the Pc host in the project and then select the aliasing and how to link to YOUR PSP.

    Let me know how it works,

    Kind regards

  • shared variables does not not on PC

    Can someone tell the attached page, why my single variable sharing does not work with the LabVIEW application that I'm running on my PC. I put the variable 48 (I thought), and again in la OR Distributed System Manager, the value is not changed.

    Reset that my PC seems to have understood things works better. The VI is now able to read/write the shared variable.

  • I was forced to factory reset, but now I can't do anything about it is updated

    I had a virus that forced me to the factory reset, but now I can't update anything, error 0 x 80070057 I get n missing or corrupted registry. . troubleshooting of said Windows upgrade fixed it but same thing happens, ive tried for 3 days to know how to repair pc mt. . someone has ideas, / I have a v5 - 572 windows asipre 8 / 8. I have tried everything recommended windows but always used to complete updates thre worn upgrade n night n download it was still ongoing.  Obi Wan help me lol

    [Please do not quote or copy/paste my posts in your responses.] Just answer by number. [Thanks.]

    REPOST...

    1a. is Norton Backup installed yet and if so, do you use it?

    1B. you purchase & install Norton Backup or is preinstalled on the computer when you bought it?

    2 have you ever run the Norton Removal Tool and McAfee Consumer products removal tool you bought the computer in November of 2013?

    3. do you have backups of all the "registry cleaners" changes (e.g., McAfee QuickClean) changes to your computer since you have done the Reset this month?

    4 KB3087038, KB308,7039, KB3086255, KB3087918, KB3084135, KB3069114, KB3074229, or KB3082089 listed in installed updates (not updated story [1])

    5. How about KB3000853, KB3008273, KB2973544, KB2917499, or KB2871389?

    =======================================================
    [1] Control Panel | Programs and features. See installed updates (in the left menu)

  • CAN´t update - the downloadserver connection did not work

    I bought the Photoshop bundle a lightroom. The first month no problem, but now I can´t update.

    Look at the screenshot

    Connection failed - it stops always at 2%.

    HI Jörg,

    Please check the help below document:

    Update connection creative cloud

    Kind regards

    Sheena

  • TPC-2012 cannot read the shared variable

    Hello

    I have a TPC-2012 and can not read variables shared with him. I welcomed the shared on a cRio-controller Variable. On another PC, the variable is read correctly, but not on the tpc-2012. What can I do? No error message is displayed on the TPC-2012 (Windows CE 5). The PTC can not write values in a shared Variable.

    Thank you

    Christian

    What LabVEIW Touch Panel version do you use? I don't know why static variables do not work correctly on your device. TPC-2012 comes with support preinstalled for shared variables, and it would be possible that it has been deleted or corrupted. Here are some steps you can follow:

    Install the Support of shared Variables
    How do we install the Support of Variables shared on the TPC-2012?

  • Why cant a shared variable be read as a diagram in SignalExpress

    In SignalExpress I add a step to read a shared variable. I can display it in graphical mode, but not the graphics mode. Can someone explain why this is? I'm doing something wrong?

    Kind regards

    Frank Greenslade

    Christchurch

    New Zealand

    I found that the problem was the type of data. SignalExpress discovers double graph table.

  • VBAI: How to read a shared variable?

    I'm doing my inspection to do things that depend on the value of shared Variables. How to set the VBAI Shared variables, it is obvious, but I didn't understand how to read them and then create some kind of a structure of MATTER using this variable.

    Any ideas on how to implement such an architecture?

    I create two different States and use the transitions that are based on the value of the shared variable. You can read the value of the variables or the previous measures in stages that allow this (not all stages, but most don't) or transitions. To create a new State, go to the state diagram (click on the 'toggle window view hand' so the State-transition diagram is in the main part of the window). Right click in an empty part of the state diagram and select "create a new State".

    To create a transition, right-click on a State and select 'Create a new Transition' and drag the transition to the new State.

    To change the transition, double click it and you will be able to select the shared variable as measurement, and comparison operations to make the decision. If this comparison is false, the default transition is taken instead.

    Select help > Show context Help if you change the schema of the State for more details on how to use it.

    Hope this helps,

    Brad

  • read into the buffer variable published network shared

    I use a shared variable that is published in the network buffer to write data to an RT target and read data buffered by the host application.

    I followed a different behavior regarding data buffering using Variable vs reading read the shared Variable node.

    There is no problem the shared variable node read but using the results of reading variable function of loss of data, such as access without alkaline reserve. I can read only some of my data values.

    I see no difference in access in the buffer in LV2009 help.

    against

    Any help is appreciated

    Christian

    Hi Christian,

    The behavior you describe is because the client side PSP buffering is not applied to the Variable API shared in LabVIEW 2009.  It was a design decision, but eventually, we hope to include this feature in a future version of LabVIEW.  This bug here as you pointed out is the lack of documentation for it.  Corrective Action Request # 202159 has been filed for this issue.

    Let me know if you need assistance working around this issue.

    See you soon,.

  • shared variables stops when I use RT Set date and time.vi

    Hi all

    I have a problem that I can't solve. I run a project of RT on a PXI-8106 module using LV8.5. I used shared Variables to transfer data to and from my host computer for about 6 months with no problems. Recently I neeeded to the synchronization time RT with my host PC of time (to collect time-stamped data of the target RT) and I decided to use the "RT set time and Date.vi ' both before the beginning of each synchronization test.

    As soon as I started using this vi, I noticed that my shared variables would either stop updating, or slow down considerably (this includes loss of data during the transfer of data between the PXI to host PC with shared variable). I do not receive any errors or warnings from any of my shared variables, and no errors are generated when using the RT set time and Date vi, so im at a loss for where to start. Ive disabled this feature for now and my system works well again, but I want to get this to work because the timestamps generated in the data by the RT system are out and I need a method to synchronize the time with the host pc.
    Any ideas would be appreciated,

    Thank you

    David

    Thanks for the info. I'll avoid upgrading to 8.5.1 at the moment so I'll just remove the VI. Instead, I create a 'elapsed time' timestamp which should do the job.

    See you soon,.

    David

Maybe you are looking for

  • TB 38.2.0 on Windows 8.0: since the update to 38.2.0, the program hangs and does not respond. I have to close TB and re-run the program - it works then.

    This has only started happening since Thunderbird has been updated to version 38.2.0.It seems to happen after restarting the computer (W8.0) of the State of "sleep".It seems that some mails are downloaded, then the program crashes and is then complet

  • Logins stolen and is used for broadcasting pending when I log in webmail.

    Every day I receive dozens of returned spam email msgs sent with my login id. Most likely, this happens when I connect to the mail window and you want to check my msgs. Many of my friends, accquantainces feel they receive msgs recommend some websites

  • stop screen reader

    accidentally off drive monitor in settings under windows xp. white screen when I turn on computer how to monitor working again when I see nothing on the screen

  • m9290a

    I have a M9290a 3 years. (Benicia m/f) It starts fine cold, but not when warm (say, 20 minutes after use). However, if I do not stop, it runs without any problems. I have replaced the motherboard, disconnected all devices I can, reflashed the BIOS, r

  • API blocked

    Hi all ask again... I don't get any error message like "error starting mokapalyer320x240, module: mokaplayer320x240 api tent blocked"... I still don't show this error, but after I Portage in BB 8320 error message like this is show once again... What