Network shared process variable timeout error

I am in the process of migrating my large application from LV10 to LV 11 and Stepped on this Barkers Nest.
Not O.K. Code
O.K. Code
I tried to isolate this error into a VI on it's own and the bug went away.
Has anyone else seen anything else like this
iTm - Senior Systems Engineer
uses: LABVIEW 2012 SP1 x86 on Windows 7 x64. cFP, cRIO, PXI-RT

I gave up trying to isolate the code .vi.
What I can tell you is that it most likely related to the number of Vi's in the block diagram.
There seemed to be a point where no matter which .vi I removed, the error would go away.
It didn't matter if the .vi was in a diagram disable or not, removing it, fixed the problem.
Maybe get the labview coding team to check the source code for:
#define MAXVISBEFOREANNOYINGCUSTOMER= ???
I can make arrangements for you to get my code, but as I said, it will need to be through official channels and not on the forum.
iTm - Senior Systems Engineer
uses: LABVIEW 2012 SP1 x86 on Windows 7 x64. cFP, cRIO, PXI-RT

Similar Messages

  • Shared Memory Provider: Timeout error [258]

    Hi All,
    Hopefully there is somebody that can help me...
    When running the etl I'm getting the error: <SSIS Task>: Shared Memory Provider: Timeout error [258] ; followed by the message "Communication link failure".
    What is special about this message that it happens on a SQL Execute task (random task) and the Timeout is after 2 minutes.
    When executing the packages separatly it is working fine. The SQL Tasks that are failing are also quit heavy, but reasonable and takes between >2min and 10 - 15 min. Statements are stored procedures that puts an index on 3 mil. records or update
    statements,...
    I had a look to all my (SSIS-etl) timeouts and they have the default value 0, the "remote query timeout" of the server is set to 10 minutes. According to me, these are the only one that exists?
    There are 2instances on the server each instance has 24GB allocated, the server has 64 in total. Also when the etl runs (that results in an error) no other etl is running on the 2 instances. I'm working with the oledb \sql server native client 11.0 provider:
    SQLNCLI11.1.
    It is frustrating because I don't have a clear error message. Maybe there or other places to look? I had a look on the application log & sql server log but it did not made me any wiser...
    Any help is appriciated,
    Bram

    This is a part of the sql error log at the same time of the error, I'm not sure if it's related but you never know:
    Date,Source,Severity,Message
    04/01/2014 20:00:21,spid14s,Unknown,last target outstanding: 358<c/> avgWriteLatency 20
    04/01/2014 20:00:21,spid14s,Unknown,average throughput:   5.08 MB/sec<c/> I/O saturation: 5995<c/> context switches 14539
    04/01/2014 20:00:21,spid14s,Unknown,FlushCache: cleaned up 72812 bufs with 3099 writes in 112026 ms (avoided 476 new dirty bufs) for db 9:0
    04/01/2014 19:53:56,spid14s,Unknown,last target outstanding: 708<c/> avgWriteLatency 33
    04/01/2014 19:53:56,spid14s,Unknown,average throughput:  35.88 MB/sec<c/> I/O saturation: 25622<c/> context switches 43694
    04/01/2014 19:53:56,spid14s,Unknown,FlushCache: cleaned up 640748 bufs with 25437 writes in 139511 ms (avoided 59488 new dirty bufs) for db 9:0
    04/01/2014 19:44:13,spid14s,Unknown,last target outstanding: 682<c/> avgWriteLatency 75
    04/01/2014 19:44:13,spid14s,Unknown,average throughput:  55.22 MB/sec<c/> I/O saturation: 24846<c/> context switches 43655
    04/01/2014 19:44:13,spid14s,Unknown,FlushCache: cleaned up 646031 bufs with 25310 writes in 91397 ms (avoided 118 new dirty bufs) for db 9:0
    04/01/2014 18:34:03,spid14s,Unknown,last target outstanding: 194<c/> avgWriteLatency 16
    04/01/2014 18:34:03,spid14s,Unknown,average throughput:   9.68 MB/sec<c/> I/O saturation: 4396<c/> context switches 8644
    04/01/2014 18:34:03,spid14s,Unknown,FlushCache: cleaned up 78398 bufs with 3367 writes in 63280 ms (avoided 77538 new dirty bufs) for db 10:0

  • Error during launching executable with network shared variables

    Hi,
    I am launching an executable which deploys network shared variables before running the application, I am getting the follow error. can someone tell me whats going on.
    thanks,
    Attachments:
    Untitled.png ‏28 KB

    Mudda, 
    Is LabVIEW 2010 installed on the PXI chassis or was this program developed on a different computer?
    If LabVIEW 2010 was installed on a different computer you may need the 2010 runtime engine on the controller. If the development environment is installed on the PXI controller then you should be fine. 
    How are you connecting to the PXI chassis is it on the network or do you have it directly connected to your development computer?
    If you look at this forum the same error occured when another device on the network was sharing the same IP address. 
    http://forums.ni.com/t5/Real-Time-Measurement-and/Deployment-Completed-With-Errors-Network-Shared-Va...
    Could you try plugging the PXI chassis in directly and see if that resolves the issue or changing the IP address?
    Kyle Hartley
    RIO Product Support Engineer
    National Instruments

  • Network shared variables reconnecting network dropout

    I've got a cRIO unit communicating with a Laptop using Network Shared Variables, with one of them being a 21 index array that is buffered.
    The system connects and communicates fine, but occassionally the wireless card in the laptop is losing the signal from the WAP attached to the cRIO.
    When this happens the Network Shared Variables never "reconnect" and start receiving values again once the Wireless link is restored.  Is this an expected behavior?
    When I tried using another industrial WAP instead of the laptop wireless card I do not get the drop-outs.
    Ryan Vallieu
    Automation System Architect
    Solved!
    Go to Solution.

    Hello Ryan,
    Thank you for contacting National
    Instruments!  I have looked into the issue you are experiencing and
    wanted to ask you a few more questions.  First of all, do you have a
    time frame in which you allow for the reconnect?  I believe that the
    Shared Variables should regain connection after a short period but it
    will not necessarily be a very quick process.  It may take a few
    minutes for the Shared Variables to reconnect.
    The other
    thing that may be happening is if you have error wires being passed
    through the Shared Variables, it is possible that the error is not
    being cleared and so it will always see the error and therefore never
    reconnect.  In this case you will have to filter this error out and
    then clear the error in order to utilize the shared variables again.
     If
    you have any more specific information about your program that may help
    us determine the reason for this behavior.  Also a screenshot of your
    code would also be helpful.  Please let me know if you have any further
    questions and I will be happy to assist you.  I hope this helps!
    Thanks!
    Bob H
    Applications Engineer
    National Instruments

  • Network shared variables lose binding

    Hello,
    I am developing an application in LabVIEW that uses network shared variables to transmit data between two PC's on the same subnet. The shared variables work fine when running the VI's in development mode, however, when i build the vi's into an executable I find that they no longer work. Here is what I have found so far:
    I deploy the shared variable library on the publisher machine (also happens to be the development machine) through an invoke node in the executable. NI distributed system manager confirms that this does deploy and indeed updates as it should.
    For the executable on the subscriber PC I created a second shared variable library (same project) with the same shared variables and bound them to the respective shared variables from the first library by selecting enable aliasing, then bind to PSP URL and browsing to the shared variable I wish to bind it to (e.g. \\hallnet-ellm2\shared variable library\serial Number). The machines listed under browse were listed by name so when I tried this initially and it did not work I manually changed the name of my machine in the URL box to the IP address of the publisher hoping that would fix it in case the subscriber could not resolve the publishers machine alias. So now my bind URL read \\192.168.0.1\shared variable library\serial Number.
    As part of the executable on the subscriber I deploy this second shared variable library. NI distributed system manager confirms that this deploys but under quality for an individual variable it has a list of issues (see attached) and the bound variable is not updating. At this point the publisher shared variables are still functioning fine. By clicking on 'edit variable' I can see that the variable on the subscriber is still bound but the PSP URL is now \\localhost\shared variable library\serial number. Changing the PSP URL on the subscriber to \\192.168.0.1\shared variable library\serial number enables the variable to update as expected.However by this time my executable has already picked up the error and does not function.
    I think that the issue lies with the bind URL used on the subscriber as for some reason it does not keep the binding configured in the project and instead changes to 'localhost'. Why is this? Should it not stay bound to the address specified in the project?
    I have tried changing the IP addresses in the aliases file so that
    [My Computer]
    My Computer=localhost 
    becomes
    [My Computer]
    My Computer=ip of local machine
    This did not help.
    The shared variable libraries are included in the build spec to go into the support files directory and they are successfully deployed from there on both publisher and subscriber.
    I am using LabVIEW 8.6 on Windows XP
    Thanks for any help you may be able to offer,
    Lee
    Attachments:
    distributed system manager.JPG ‏74 KB

    Hi Lee,
    I hope you are well.  Thank you for your post.  Your application sounds very interesting.
    Looking at your issue I was wondering, have you tried lowering your firewalls, as this may be causing the problem.
    Also, another option would be to setup a private network.  Do you have access to any routers that you could use to link the two machines independent of your IT's infrastructure?
    The other thing to try is two other computers entirely.  Again, it would be ideal to take them off the network you are on, but it's something to try if my prior suggestion doesn't work.  It should work on the original two machines though, and it's likely that different computers won't solve your problems because I suspect the network.
    Remember that the client variables must know the location of the variables on the server, so you can't move the server exe around without changing this value.
    Make sure to set the network location in the "Bind to Source" option for the client variables.
    It is also possible to write a separate piece of code to install on every machine that is responsible for deploying the library and by doing so eliminate the need for programmatically deploying the variables in the original application.  However, this won't really help you, because the variables you use in the application have to be the same as the ones deployed in the library, so if you change the library, they'll no longer be linked and they won't receive data.  You'd have to create a separate exe for every binding source you wanted to link to, and then have a second, known library for the sake of communication locally on the computer between the ‘deployer’ and the actual application.  The main application could then be assigned the responsibility of launching the correct ‘deployer’' if it sees it needs to switch to a different variable binding source.  This method is not the most streamlined or effective, but it might work.
    Just to let you know, you will need to use the DSC toolkit.
    Please find below some knowledge base links that I think you will find helpful in your application.
    Using Shared Variables in Executables
    How do I Programmatically Change the Data Binding Source for Shared Variables?
    I hope this information helps and if you can give these suggestions a go and let me know how you get on, that would be great.
    Kind regards,
    Prashant M
    Applications Engineer
    NI UK & Ireland

  • Connection timeout error trying to connect to wireless network

    Going nuts...
    I have my Time Capsule plugged into an outlet that runs back to my switch (Netgear) which in turn goes into my modem (AT&T uverse).
    (the switch runs out to about 6 ethernet outlets in my house)
    Everything was working grand until I screwed something up, no idea what, of course!
    I have set my Time Capsule set up...
    In the AirPort Utility
    AirPort tab
    Wireless mode:create a wireless network
    Connect using: Ethernet
    Internet tab
    Connect using: Ethernet
    Connection sharing: Off (Bridge mode)
    From these settings I can see the wireless network I have set up, but I can't connect to it (get a 'connection timeout' error when trying to connect to the wireless network using my laptop)
    When I try to change to Conenction Sharing to: 'share a public IP address' or 'distribute a range of IP address', then I get other errors... (DHCP Beginning and DHCP Ending Address Errors).
    Any advice would be great - thanks! 

    Bridge Mode is the correct setting for your Time Capsule.
    To aid in troubleshooting, I suggest that you temporarily move the Time Capsule close to the Uverse router and connect directly to one of the Ethernet ports on that device. Test to see if your wireless is working.
    If yes, then move the Time Capsule again and this time temporarily connect to the Ethernet switch to test that way.
    Keep working your way outward, testing as  you go. If the wireless works on the first test when you connect directly to the Uverse router, at some point, you will find the connection problem. It's almost always something simple, like an Ethernet cable that is not making a good connection with one of the Ethernet ports.

  • Picture Network Shared Variable

    Hi Everyone, 
    I am having a lot of trouble to use the network published shared variable with a picture.
    I always receive the message Unable to locate the shared variable in the SVE, 
    What is supposed to go into the chain \\<machine-name\<process>\<variable> for process name?
    How should I configure it?
    Thanks, 
    Best Regards,

    Hi nick, 
    Thanks for your answer and for your help,
    No I cannot see the variable in the distributed system manager, 
    Nor my VI works with a Shared variable node, see attached screenshots.
    Although I found a more complex but functionning solution transmitting over TCP, I would still be interested to find out why it does not work with shared variables.
    Thanks, 
    Best Regards,
    Attachments:
    Captura.PNG ‏29 KB
    SharedVariableNode.PNG ‏36 KB

  • Distributed application: Networked Shared Variables, Named Services (Raw TCP/IP) or Other?

    Happy New Year NI forums! 
    I am working on a project involving mobile interacting robots. In the future it is likely the application's components may need to run on different PCs (Targets). Note: at this point in time all the components are seperate but all running on the localhost machine. Thinking towards the future I want to pick the 'best' architecture to allow all these components (VIs performing various functions) in multiple locations. For example, several VIs on the Robots, VIs on serveral PCs. 
    I am  currently aware of using Server/Client TCP/IP using named services. My mock up works well, but is it time efficient (my time coding) I wonder.. ?  
    Whereas I am aware of networked shared variables which handle connections and all the parsing for the underlying tcp/ip communication. But will this be difficult the manage? I am unsure if I can associate shared variables with a VI similar to named services. I suppose I could pro grammatically create the variable upon initialization of the server component - and the client could just search the list of avaiaible variables to connect too. Downside this would require DSC module. 
    As you can see, I am rather unsure. Any advice would be great!
    Kind Regards,
    James  
    Kind Regards
    James Hillman
    Applications Engineer 2008 to 2009 National Instruments UK & Ireland
    Loughborough University UK - 2006 to 2011
    Remember Kudos those who help!

    Hi Jason,
    Thanks for your reply. I hope your enjoying NI UK as much as I did.. fun times!
    I have seen the link you posted a few times before. But today, I took a better look at it.
    My issue is I need several multi-client severs, i.e. many servers which allow multiple clients to connect to them.
    Now the STM does have an example of this - STM mutli-client Example - Server.vi (used with the STM mutli-client.vi)
    However, when a make copies of these code (to have my second server) - it refuses to run. As in , it just stops itself.
    I DID change the port number, on the lister aspect of the server code. But I Am unsure what else I would need to change to get this setup to work?
    One thought I had was, the FIFOs all having the same name - this probably isn't a good idea between servers.
    Any suggestions would be grateful!
    *please could you provide me email support
    Kind Regards,
    James Hillman  
    Kind Regards
    James Hillman
    Applications Engineer 2008 to 2009 National Instruments UK & Ireland
    Loughborough University UK - 2006 to 2011
    Remember Kudos those who help!

  • PI Control Error Between Process Variable and Set Point

    I've developed a PI program that uses measurements from a pressure transducer as the process variable to control air pressure released from a motorized valve. The program works great at lower pressures, but as the set point pressure increases the error between the process variable and set point increases. I've tried several things....adjusting the P seems to initially increase the overshoot but the process variable always settles down below the set point....tried adjusting the EGU min and max values but no real pattern develops with this. It appears as the process variable get closer to the max EGU value of 70000 pascals the error increases.
    I've attached three screen shots showing the process variable curve and setpoint value. The graph of interest is the one in the upper right hand corner.
    Any recommendation or advice would be appreciated.
    tks, Terry
    Attachments:
    Low Pressure.JPG ‏267 KB
    High Pressure.JPG ‏398 KB
    Mid Pressure.JPG ‏266 KB

    Kyle,
    First off....I appreciate your comments. No...there is no value is system represented as U16.
    Actually errors start to develop quite a bit before the maximum. If you look at the mid pressure.jpg file you'll notice that the set point (~28125 Pascals) and process variable (~25625 Pascals) are roughly off by about 2500 Pascals. Then if you look at the high pressure.jpg file you'll notice that the set point (~53000 Pascals) and process variable (~45500 Pascals) are roughly off by about 7500 Pascals. Therefore it appears as the setpoint pressure increases towards maximum the error tends to increase.
    I was curious about something....the set point value I'm inputting into the PID.VI , shown in the high pressure.jpg file, is from EGU to percent.VI. It would look exactly like the EGU to percent VI feeding the process variable input of the PID.VI with the set point value feeding the EGU to percent.VI input. Would I be better off feeding the actual set point value to the PID.VI input instead of percentage?
    Thanks, Terry

  • RT Network Shared Variable and Visa Serial Instr class

    Hi,
    I'm using Labview 2009 SP1 with the RT module. I've had no problems creating a RT Target application and a Host PC application which are interconnected using Network Shared Variables, until I came to the COM ports fitted to the RT Target (PXI Embedded Controller and 2 x 4 port COM cards).
    I can configure and use the COM ports in the RT Target application providing I use constants to define which COM port to use, i.e. VISA OPEN function accepts hardcoded "COM2" , (VISA Serial Instr class).
    But I want to pass the COM Port resource name from my host application. 
    Is there a suitable Network Shared Variable I can create ? or how do I change the string value (COM Port name) of the VISA Serial Instr class variable in the RT Target application ?
    thanks,
    Gary.

    Hi there Gary,
    Thanks fot the post. I think I have found something that may be if use to yourself.
    http://labviewwiki.org/Functional_global_variable
    This is the functional global variable.
    Take a look at it and let me know what you think!
    Many thanks,
    Liam A.
    National Instruments
    Applications Engineer

  • Network Shared Variable: Aliasing not working

    Hello!
    I am running a cRIO 9075, which is publishing network shared variables.
    I can see and modify them within Distributed System Manager.
    Unfortunately I am not able to read/write the variables through labview.
    What I have done so far:
    Tools -> Shared Variable -> Register Computer, using the IP of the cRIO
    Adding a Variable to the project. Type = Network-Published, Enable Aliasing, choosing "Browse" to select the variable (all published variables from cRIO are shown there), Access Type = read/write. The PSP-URL is: \\192.168.10.70\WaveformManager\Op
    Trying to read the variable results code -1950679034 and the result is always the default value for that data type.
    BUT this works: using the VIs Data Communication / Shared Variable / Read/Write Variable  and typing in the same URL the Distributed System Manager is showing is showing (in my case: \\192.168.10.70\WaveformManager\Op)
    So, what am I doing wrong? Did I forget something or misunderstand how "Aliasing" works?
    Thanks!

    hi,
    in which way to you read your shared variable? If you read it before you write  a value "into" the variable it may couse this waring.
    Have you tried this?
    http://digital.ni.com/public.nsf/allkb/7DBC2C3E95AFD85C86257442005CF74C?OpenDocument

  • Planning Data Pull process failed with timeout error

    Hi Experts,
    Version: Oracle apps 11.5.10.2
    Issue: Planning Data Pull process failed with timeout error
    message in the log file as follows,
    The Request id : 90018907 has Phase : COMPLETE and Status: ERROR
    Concurrent Message : Timeout error.
    There is an Unknown error in the Worker.
    Planning Data Pull process failed.
    +-------------------------------------
    Please advice what could be the problem. I submitted, standard data collection programs with 900 mins and 8 workers.
    Refresh Collection Snapshot completed without any issue

    Please see these docs.
    Data Collection Fails Because Of Time Out Timeout error [ID 339968.1]
    OPM-ASCP: Data Collection Timeout Error [ID 601539.1]
    STD COLLECTION FAILING AT PLANNING DATA PULL WITH TIMEOUT ERROR [ID 978472.1]
    Data Collections is Failing - All Errors - First Diagnostic Steps [ID 207644.1]
    Troubleshooting Errors with ATP/Planning Data Collections [ID 1227255.1]
    MSCPDC PLANNING ODS LOAD ERRORS WITH TIMEOUT ERROR - POOR PERFORMANCE [ID 417633.1]
    Thanks,
    Hussein

  • How to solve the error " The installation process encountered an error while installing Shared Technologies.

    I had bought the adobe photoshop elements 12 online and I am not able to complete my installation although i tried many times . An error "The installation process encountered an error  while installing Shared Technologies. Please restart your computer and try again" occur

    Photoshop Elements 12 fails while installing sh... | Adobe Community

  • Inconsiste​nt Network Shared Variables

    I will eventually be implementing a controls program on a machine using cfp. Before the cfp gets here, I am getting practice in network shared variables by trying to pass shared variables between two VIs on my computer. I have attached the two VIs and a screen shot of my project. I run a queued state machine and after the initialization routine is done, I run the control portion of the program. The control program is titled 'The4Mprocedure2.vi' and the QSM is titled '4M_QueueDrivenStateMachine'. In the initialization routine of the QSM, 'FALSE' is written to the boolean network shared variable, 'Run_4M_Procedure'. After the initialization routine is done, and a set of certain parameters are met, the QSM writes the value 'TRUE' to 'Run_4M_Procedure'. Ideally, The4Mprocedure2.vi would read the shared variable, and when the value is 'TRUE' The4Mprocedure2.vi would run. The4Mprocedure2.vi has a case statement that causes to run the program when 'Run_4M_Procedure' = TRUE. The4Mprocedure2.vi does not run when the variable is FALSE.
    The problem that I am having is that The4Mprocedure2.vi does not always recognize that the value of my shared variable has changed. When the QSM passes the value of 'TRUE' to the controls program, The4Mprocedure2.vi will sometimes still read the network shared variable as FALSE. Sometimes, I have to restart the controls program several times while the QSM is running to ensure that 'TRUE' is passed to the controls portion. Why does my controls program not recognize when the network shared variable changes values?
    Message Edited by tquintana55 on 07-14-2008 11:04 AM
    Attachments:
    The4MProcedure21.vi ‏87 KB
    ProjectScreenShot1.JPG ‏68 KB
    4M_QueueDrivenStateMachine1.vi ‏131 KB

    Hi tquintana55,
    I believe your Issue is related to the methods that LabVIEW subscribes to the shared variables. Here is a link to a related article:
    How to Avoid the "0" Value at First Read of a Shared Variable in LabVIEW 8.5.x?
    To resolve this you can move your Run_4M_Procedure inside the while loop.
    Sappster

  • Firefox Version 3.6.9 will support Mac OS X 10.8.5, as we are facing network timeout error after some time, we have checked all other settings

    Firefox Version 3.6.9 will support Mac OS X 10.8.5, as we are facing network timeout error after some time, we have checked all other settings

    We cant upgrade

Maybe you are looking for

  • Time Machine and Hard Drive Weirdness -- start again?

    I bought a LaCie 500 Gig slick Porsche metallic drive to go with my slick metallic iMac last year. Set up Time Machine, was in awe, life was good. In recent weeks, I've noticed the drive running hot and a little louder than normal. Since it's not cru

  • How to share contact including photo between iPhones?

    I tried iMessage and e-mailing a vCard, but neither method transfers the contact along with their photo between an iP5 and an iP4. What is the correct method?

  • Drop down box in SAP QUERY

    Hello Friends, I have developed a SAP QUERY using SQ01, SQ02, SQ03. It displays an ALV output. Now for some particular fields, I want a drop down box in the output ALV. Since in SAP QUERY output alv and final table runs at runtime I am not able to pu

  • Error when calling inbound proxy

    Hi all, I´m facing the following problem in the R/3 monitoring: <SAP:Code p1="Request Message" p2="CX_XSLT_RUNTIME_ERROR" p3="/1SAI/XS00000000000000000035: 0000000000" p4="Error Text: No valid source context supplied Kernel ErrorId: CX_XSLT_RUNTIME_E

  • Adobe PDF Download Custom Save as filename

    Hi, <p> Hopefully someone has seen this one before:  I have a pdf document that I am pooping up for the client in a new browser window with the following code. The document pops up beautifully however when the user selects the Save icon from the Adob