Cluster Controls causes either one loop to hang or LabVIEW to hang

I am working on a program that has three clusters.  Each cluster has LED controls inside them.  During the test the Board Image, Block Diagram, and Measurement Number controls will be changed accordingly.  When probing, the while loops that hang most often are the top one (board Image) and the bottom one (schematic).  Sometimes LabVIEW becomes unresponsive and I have to abort the program.  Any suggestions?
Solved!
Go to Solution.

usman.arif wrote:
Hi and slam to all
I have a problem. i had made a labview program for controlling an electronic box. I had designed a GUI. GUI has to work 24/7. It worked best for a month or so. then my GUI started getting malfunctioning specially string control became disabled showing no data and some case statements stopped working. Is that true that Labview is no an industrial grade tool, its just for lab purpose...??? These bugs have threaten my reputation alot.
This seems completely unrelated to the topic of this old thread that is already marked as solved. (and why did you quote that entire first message, incuding the images???)
Let's make sure your reputation as a forum poster is not getting tarnished by these strange habits.
I recommend that you start a new thread.
LabVIEW is "industrial grade" and used everywhere for mission critical applications (CERN, SpaceX, etc. etc.)
Please post your code. It is possible that you have programmed your code inefficiently in a way that it uses more and more memory over time, until it finally runs out. How do you tell if a case statement stops working? String controls are to enter data, not to show data. What is an "electronic box"? can you be more specific?
LabVIEW Champion . Do more with less code and in less time .

Similar Messages

  • I down loaded two movies to watch on a flight, when I tried two watch either one of them, it said" not authorized for this content"   Not sure what this means. I don't think I have child control on.

    I Down loaded two movies to watch on a flight. When I tried to watch either one of them it said " not authorized to watch this content" and it would load to watch. I donot believe I have child controls on.

    I have read about some cases where movies rented or purchased on one device will not play on another device. Seems to happen mostly with Apple TV and iPads. One way some have worked around it is to cable from the downloaded device to a TV or Apple TV.
    Were these movies purchased or rented from iTunes? Not sure, but that almost sounds like a iTunes Password problem. Maybe try checking that you're signed in as the same account that purchased the movies.

  • How to pass a cluster of data from one VI to another

    Hi all,
    I've got a cluster of controls on my main application VI that I am using to accept data of various types from the user.Next I want to pass this cluster to the input cluster control of another VI perfectly on the generation of a user event. That is, if I have 3 numbers, 2 strings and 2 time stamps in the cluster on the main VI, I want to pass on that exact same data to the control input cluster of the second VI in the same sequence, having the same values.
    How do I do this?
    Here is a snapshot showing the cluster controls on my main VI and the code for my second VI.
    I want to pass the data into the input cluster 'data'. I tried calling the second VI into my main VI and directly hardwiring the cluster and then using an 'Unbundle by Name function' to separate the data, as shown. But this doesn't seem to work properly.
    Regards. 
    Solved!
    Go to Solution.

    The 2 clusters much be identical, then it should work smoothly. To ensure that they are, make a type-def of the cluster and use for both. From what i can see of your code it's clean and correct and it really shouldn't cause a hassle. What's (not) happening?
    /Y
    LabVIEW 8.2 - 2014
    "Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
    G# - Free award winning reference based OOP for LV

  • Slider to a cluster control

    Hello All
    Clusters are the perfect way to keep a lot of controls in a one peace. But when the amount of controls is too high than the front pannel looks stuffed. It is not possible to use Tab Control inside a cluster, so the only one is an array. But here problems starts on the diagram side when accessing all controlls demands accessing the array cell. It is also possible to hide controlls and show them, but again that is not elegant way.
    I recall now the "3D Studio" when the front pannel have a "motion" controlls. The huge control can be slided down and up either with a mouse on it either by clicking on a slider. That would be something I am asking for. How to make a sliding cluster?
    thanks in advance
    Pawel

    1. It's not a good style to too many things in a cluster. You will have difficulties in maintain the code. Especially when you want to add something in it and wish to keep compatable with older versions.
    2. There is some way out. You can run the demo VI and slide the slider beside the cluster.
    3. Maybe you can try string table instead.
    Let me know whether this helps.
    Attachments:
    Sliding_Cluster.vi ‏35 KB

  • Generally when creating a Word file from either a Mac or Win7 pc and opening it on two different machines (either one first) it always prompts that the file is open and will be opened as read only. However opening a CSS file does not prompt that it is alr

    Generally when creating a Word file from either a Mac or Win7 pc and opening it on two different machines (either one first) it always prompts that the file is open and will be opened as read only.
    However opening a CSS file does not prompt that it is already open on or from any machine which is causing code edits to be lost.
    What we found from out testing:
    - The file can be saved from one user to the server and WILL NOT PROMPT on other machines until the saving machine has the Dreamweaver program closed completely
    - The file can be closed and  Dreamweaver minimised to the launch bar but it still will not register on other machines that it has been changed.
    - Also, until the  Dreamweaver program is closed on the machines, it will continue to open it's saved version of the file. 
    Example Scenario:
    - User 1 opens test.css (which is 2000 lines) and adds some code to the end of the file to bring it up to 2500 lines
    - Meanwhile User 2 opens test.css as well (opens as 2000 lines as User 1’s edits have not yet been saved) and adds in code to bring it to 2300 lines
    - User 1 saves his file and closes it - but  Dreamweaver is still open.
    - User 2 also saves his file and leaves  Dreamweaver  open.
    - The server will report the size and last edit of the file the same as User 2 as he was the last person to save it (and if you open from the Win7 Machine it will show as User 2’s 2300 line version)
    - If User 1 then open's the file again (from either the 'recent' in Dreamweaver OR clicking on the file directly in Finder...which version opens.... The version that User 1 saved! Not the true version on the server, but the version that User 1 edited and saved with 2500 lines in it.
    - Same for User 2, he will open 'his' version with 2300 lines in.
    Other information:
    - Files are opened directly from the server
    - Sometimes the users will save incrementally and re-open
    - Most of the time users will save incrementally and keep the files open
    - The users will never not save incrementally and just save when closing the file once finished
    - The users are usually working on the files all day
    - It is always the bottom lines of code that are lost. It could be a case of the two versions being mixed up and cutting off the newly added lines based on the line count (possibly).
    It is as if Dreamweaver is holding a cache of the version locally and then only properly looking back to the server when it has been completely closed. It is very difficult to see how the server is causing such an impact on these files, there are very few logs which are giving any indication to the root cause of the problems.
    Anyone know if this is a known issue?
    Is there a way that there can be a featured implemented on the server that doesn't allow another user to open a file if it is already open on another machine?
    Thanks

    Your server file handling has nothing, and really nothing to do with Adobe software. If files don't get locked for (over-)writing and/or lose connection to the program opening them, then your server is misconfigured. It's as plain and simple and that. Anything from "known file types"/ file associations not being set correctly, MIME types being botched, crooked user privileges and file permissions, missing Mac server extensions, delayed file writing on the server, generic network timeout issues and what have you. Either way, you have written a longwinded post with no real value since you haven't bothered to provide any proper technical info, most notably about the alleged server. Either way, the only way you can "fix" it is by straightening out your server and network configuration, not some magic switch in Adobe's software.
    Mylenium

  • How can I set one loop's frequency as a slave of another loop ?

    I have 2 loops in parallel. The first runs at 500Hz. The AIread controls the frequency. How can I set the second one at 100Hz ? It is very easy to set it with local variable, but really not clean. The second loop must not use the CPU while waiting the next 100Hz tick. Is it possible ? I am trying to use occurrence, but the second loop will always (I think) use CPU while waiting next tick !
    Is it possible to set one loop in one thread and the other one in another thread ? Then set each thread to a CPU (I use a bi-xeon PC)
    Thanks

    cariboo wrote in news:5065000000080000001EBE0000-
    [email protected]:
    > I have 2 loops in parallel. The first runs at 500Hz. The AIread
    > controls the frequency. How can I set the second one at 100Hz ? It is
    > very easy to set it with local variable, but really not clean. The
    > second loop must not use the CPU while waiting the next 100Hz tick. Is
    > it possible ? I am trying to use occurrence, but the second loop will
    > always (I think) use CPU while waiting next tick !
    > Is it possible to set one loop in one thread and the other one in
    > another thread ? Then set each thread to a CPU (I use a bi-xeon PC)
    > Thanks
    One solution is to place a case inside the loop which run at 500 Hz. Put
    your 100Hz code inside the True case. Use the "Quot
    ient & Remainder"
    funtion and the iteration counter to execute the true case every fift
    execution of the 500Hz loop.
    This may not work if the 100Hz code use to much time, it will then delay
    the 500Hz loop.
    I would go for the occurences solution. The wait will use some CPU
    resources while waiting but i don't think that should be any problem (when
    done correctly).
    Rolf

  • I have been sampling new imported drum loops. And if I adjust region to song or time strecth it updates the audio file in the library. How to stop this? I lost the original setting to one loop. automatically doing it ??

    I have been sampling new imported drum loops. And if I adjust region to song or time strecth it updates the audio file in the library. How to stop this? I lost the original setting to one loop. automatically doing it ??

    This "original file cannot be found" thing happens if the file is no longer where iTunes expects to find it. Possible causes are that you or some third party tool has moved, renamed or deleted the file, or that the drive it lives on has had a change of drive letter. It is also possible that iTunes has changed from expecting the files to be in the pre-iTunes 9 layout to post-iTunes 9 layout,or vice-versa, and so is looking in slightly the wrong place.
    Select a track with an exclamation mark, use Ctrl-I to get info, then cancel when asked to try to locate the track. Look on the summary tab for the location that iTunes thinks the file should be. Now take a look around your hard drive(s). Hopefully you can locate the track in question. If a section of your library has simply been moved, or a drive letter has changed, it should be possible to reverse the actions.
    Alternatively, as long as you can find a location holding the missing files, then you should be able to use my FindTracks script to reconnect them to iTunes .
    tt2

  • Do I use same oracle account on 2 cluster nodes cause problem?

    Do I use same oracle account on 2 cluster nodes cause problem?
    If I use same oracle account on 2 cluster nodes running 2 database, when failover happens, 2 database will be running on one node, does 2 oracle account make SHM ... memory conflict?
    or do I have to use oracle01 account on node1, oracle02 account on node2? Can not use same name account?
    Thanks.

    I'm not 100% certain I understood the question, so I'll rephrase them and answer them.
    Q. If I have the same Oracle account on each cluster node, e.g. uid=100 (oracle) gid=100 (oinstall), groups dba=200, can I run two databases, one on each cluster node without problems?
    A. Yes. Having multiple DBs on one node is not a problem and doesn't cause shared memory problems. Obviously each database needs a different database name and thus different SID.
    Q. Can I have two different Oracle accounts on each cluster node e.g. uid=100 (oraclea) gid=100 (oinstall), groups dba=200 and e.g. uid=300 (oracleb) gid=100 (oinstall), groups dba=200, and run two databases, one for each Oracle user?
    A. Yes. The different Oracle user names would need to be associated with different Oracle installations, i.e. Oracle HOMEs. So you might have /oracle/oracle/product/10.2.0/db_1 (oraclea) and /oracle/oracle/product/11.0.1.0/db_1 (oracleb). The ORACLE_HOME is then used to determine the Oracle user name by checking the user of the Oracle binary in the ${ORACLE_HOME}/bin directory.
    Tim
    ---

  • Drawback of putting producer and consumer in one loop. [Ethernet IP]

    The "Create Assembly Instance" exapmple vi have two separte loops. One for the input (producing data) and the other for the output (consuming data). Would it be possible to combine everything into one loop? Are there any drawbacks to using one loop for the input and the output?
    and i know one drawbacks will be that both consumer and producer will have to have the same rate.. 

    That's an interesting piece of code.  It's not so much a producer/consumer as it is two separate loops handling input and output.  Take a look at this link to see what producer/consumer is: http://www.ni.com/white-paper/3023/en/  You can also find the code by going to File->New and opening the "From Template" folder under VI.
    What controls your state machine?  With events not being possible on a RT system, I'd expect you'd have some form of polling.  Polling would still use a time period between polls.  Granted, the network requirement would definitely break determinism, as you've already noted.  If you're doing this, why not put it into a timed loop?  Timed loops aren't always determinstic.  That's why there is a "Finished Late?" terminal.  It's not the loop that makes the code deterministic, it's the way you put your program together. By moving it into a timed loop, you gain the ability to give it a priority.  I'll explain why this is important in a minute.
    You're welcome to combine the two into a single loop if you still meet your timing requirements.  That's a design choice that is up to you.  I don't know what your other Ethernet/IP "stuffs" is, but I'd likely combine this into my output loop if possible.  I'm assuming it has something to do with the data you care to send.
    The overhead from the loop isn't enough to worry about the worload on the CPU.  Ultimately, the code within the loop determines how rough you're being on the CPU.  That's true in one loop or in four loops.  Splitting code into multiple loops just lets you prioritize code.  If everything is in a single loop, it all must run before the next iteration.  If your code is split into ten loops, as an example, only what is inside each loop must be run on that loop's iteration.  Using priority, as you've mentioned, ensures you determine which loop runs first.  Let's say that loop completes and gives the other loops time to run on the CPU.  Before they complete, the loop wants to run again.  The CPU will go back to that loop and run.  By splitting the loops up, you've ensured this piece of your code will run even if the CPU can't handle processing all of the code within that period.  Rather than hurting determinism, you've aided it.  The parts of your code that you aren't worried about being deterministic happen when the CPU has time for them.  The parts that you NEED to be deterministic happen deterministically and push those other parts of the code out of the way.
    Looking at the example code you're showing, I'd really want to know what it is you plan to do with the code and what you need to be deterministic.  I'd assume you plan to read the data, process it, and send a corresponding output.  If you need ALL of this to be deterministic, I'd put it within a single loop or use queues to send data from the input loop (commented as consumer) to the output loop (commented as producer).  This decision would really just depend on how fast you care to acquire data and how deterministic you desire the output to be.  Without using the queues, you create something called "race conditions."  When you send an output, is that related to the newest input or one before it?  You simply cannot tell.  
    Jeff B.
    Applications Engineer
    National Instruments

  • CTS + error during deployment There is no cluster control instance running on host

    We are running our QA portal in a cluster (3 hosts..one for MS, 1 for ERS, 1 for JC).  The alias for the JC is <jcalias> and the real name of the host is <clustername1).  So depending on which component is one which of the 3 cluster hosts wil dictate which host <jcalias>.
    But when trying to deploy a portal archive via CTS+, we get error:
    Jul 24, 2014 11:18:12... Error: An error occured while starting a cluster instance.
    Jul 24, 2014 11:18:12... Error: There is no clutser control instance running on host sapepqci which is described in SecureStorage .
    The instances, returned by MessageServer [MS host: <msalias>; MS port: 3912], are :
    Name:JM_T1405698721103_0_<clusterhost1>.viacom.com Host:<clusterhost1>                                                        HostAddr: aaa.bbb.ccc.ddd State:5
    Name:JC_<jcalias>_EPQ_14                       Host:_<clusterhost1>.                                                        HostAddr: aaa.bbb.ccc.ddd
    State:5
    Name:JC_<appsrvr1>_EPQ_00                     Host:<appsrvr1_IP>                                                   HostAddr: <appsrvr1_IP>
    State:5
    Name:JC_<appsrvr2>_EPQ_00                     Host:<appsrvr2_IP>                                                    HostAddr: <appsrvr2_IP>
    State:5
    Please check if there is an appropriate running cluster instances. For more inforation check CSN Note 1276366
    Jul 24, 2014 11:18:12... Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) *****
    I have checked the referenced not.  The profiles all use the JCALIAS as the host name, and in the configtool secure store it's also specified in admin/host/<SID>
    If I change it in the secure store to the real name (clusterhost1) that the message server is giving, it will probably work.  But what happens in the future when, after a cluster resart, <jcalias> gets assigned to <clusterhost2> instead?  I'd rather be able to use the alias in secure store and for the message server to pick that name up and use it.

    Hi David
    Jul 24, 2014 11:18:12... Error: An error occured while starting a cluster instance.
    Jul 24, 2014 11:18:12... Error: There is no clutser control instance running on host sapepqci which is described in SecureStorage .
    You cluster resources are online?
    BR
    SS

  • Have created multiclip.  Moved it from browser to viewer.  Saw that the 2 angles were not sync'd.  Held down control/shift on one angle to scroll through clip to put them into sync.  Both angles move at the same time.  What is happening?

    Created Multiclip in browser.  Moved it to the viewer.  Saw that they were not exactly sync'd.  Held down shift/control to move one angle to match the other.  Both angles move at the same time.  What is happening?  I have done this before and have always been able to re-sync my clips to do my edit.

    correction needs to be made to step #14, I typed:
    14) Point to the start or end one of the clips, when you see the icon showing arrows going either way, right click and drag your clips to roughly match up with the timeline selection, then zoom in further and adjust the clip start and end points to match up exactly with the timeline selection start and endpoints.
    Here is the correction, THE CORRECTED PARTS ARE CAPITALIZED:
    14) Point to the start or end OF one of the clips, when you see the icon showing arrows going either way, LEFT-CLICK and drag your clips to roughly match up with the timeline selection, then zoom in further and adjust the clip start and end points to match up exactly with the timeline selection's start and end points.
    Another Correction:
    Originally read:
    Addendum: IF you have 2 files selected and click "Edit" to go to Edit view, it will give you the file of the clip you selected first, not 2nd. You must then go back to MT view, de-select the clip you selected first, then de-select the clip you want to edit, then RE-select the clip you want to edit.
    Here is the the correction, CORRECTED PARTS ARE CAPITALIZED:
    Addendum: IF you have 2 files selected and click "Edit" to go to Edit view, it will give you the file of the clip you selected first, not 2nd. IF YOU WANT TO EDIT THE 2ND FILE YOU SELECTED IN MULTI-TRACK VIEW, You must go back to Multi-track view, de-select the clip you selected first, then de-select the clip you want to edit, then RE-select the clip you want to edit, THEN CLICK "EDIT" TO GO TO EDIT VIEW.

  • How can I move data from one loop to another?

    I am using LabVIEW to record and display data.  The problem that I have run into is that if I try to collect and display the data all in one loop data points are lost because the loop takes so long to execute.  I decided to break my program into two independent loops and the data is recorded at proper speeds, but now I cannot get the data out of the first loop and into the second loop.

    See my example for one method of how to setup the Queue which Omar suggested. You'll also see many other ways, most of which should be avoided until you get more experience.
    Communicating Between Loops
    Richard

  • How could i Integrate (merge) 2 different Controlling areas into one?

    Hello gurus,
    The client i am working for had defined, from the beggining (during SAP Implementation), one Controlling area for the entire company.
    This definition was correctly done, as a way to centralize every operation and transaccion made.
    After some years, this company merge with another one, that had the same implemented controlling model, but asociated to another Controlling area.
    The problem is that we need to integrate both Controlling areas into one, in other words, every operation saved or transaction made linked to the new Controlling area (the one of the second company), must be converted to the code of the original one.
    Is there an std. way to erase the second Controlling area and asociate all its records (saved in every table) to the orignal one, as if they were one from the very beggining?
    Thanks very much!.
    Pablo.-
    Edited by: Pablo Lanzani on Jul 2, 2008 7:51 PM

    Hi Daniela, thanks to you too.
    If you or anybody have some specific documentation about 'SLO -- SAP Organizational Structure Changes -- Controlling area Merge' to send me while i continue looking, i will be pleased.
    Thanks a lot anyway!
    Pablo.-

  • Can I transfer data from my G4 to my IMac over a firewire without them syncing or messing either one up - do not want to modify either one...!

    Can I transfer data from my G4 to my IMac over a firewire without them syncing or messing either one up - do not want to modify either one...!

    Boot the G4 Mac into Target mode...
    http://support.apple.com/kb/HT1661
    That should make the G4 look like a big FW drive to the iMac.

  • How do I manage Lightroom photos when using 2 computers, keeping all edits made on either one?

    Based on http://forums.adobe.com/thread/1308132?tstart=0 I decided to add each question seperately:
    Hello, I'm quite interested in buying Lightroom 5.2. I tried the RC which ran out now. Yet, I have a several questions that I can't really find good conclusive answers to, that I'd like to get answered before buying LR. Please don't write maybe like this or that (assumptions), since I don't want to start my whole workflow and then realize that I have to change everything around, so please answer, if you know for sure that something works and you are, preferably, using that method too.
    This is the biggest question, where I mainly want a conclusive answer:  How do I manage Lightroom photos when using 2 computers, keeping all edits made on either one of them, using the same photos for editing. I won't use DNG. Details: I mainly use my older MacBook Pro, but would like to be able to use my PC as it's way better (Specs: i5 2500K, 16GB RAM, SSD, USB3, nVidia GTX 560 TI etc.). I have 2 external HDs that I could use, one for Backup and one for the actual Photos/Edits. I'll probably need to use it as my internal HDs are quite full, and I can't just delete stuff or move it to an (Developer programs, Lossless music, etc.).
    Based on this, how do I back up the whole thing e.g. Photos folder (all photos and edits, and preferably presets too)?

    I believe it should be possible to work cross-platform without having to relink files each time, or without having to keep exporting/importing the catalog, by keeping the single catalog and the image library on the one external drive which is then switched between systems as needed.
    Obvious first requirement is an external drive that is formatted in such a way (e.g FAT32) that it can be used on both platforms in read/write mode. Given that, if the catalog AND the images parent folder are both established at the same level in one overall parent folder, then it should be possible to take advatage of Lightroom's ability to use relative paths rather than absolute paths to detect the images, no matter if the drive is named (Mac) or lettered (PC). This is how "export as Catalog" works, i.e. it creates a "package", aka a parent folder, containing the catalog and a replica of the exported images folder hierarchy alongside the catalog. Take that "package" to another system (same OS or not) and "it just works" even if the drive letter is different or the OS is different....because the relative path from catalog to images is still the same.
    I haven't tested this cross-platform (though I have between different PC systems with different drive letters) so for me it's still just a theory, but there may be others who have done this successfully.

Maybe you are looking for

  • Organizer Shuts Down in PSE 7

    I've been using PSE7 for a couple of months with no problems. The other day my computer shut down while I was in the organizer and ever since, I get an error message saying it has to close down. After reading some suggestions, I've learned that if I

  • N900 October 25th update breaks music player?

    I installed that latest update, Maemo 5 20.2010.36-2.002. Now the play button doesn't work on the music applet and half my songs do not appear in the music player. Does anyone else see this or know a solution? Doesn't Nokia test these updates!?

  • Account hacked and Paypal account charged

    My account was hacked and charged. I changed my password but I still see new calls to India. Well done Microsoft!

  • Power PC G5-needs help!!!!!

    I am running 10.3.9 system software with 512MB ram. It is the model with all the hardware in the monitor (19" I think) , it has no tower. I cannot install the new snow leopard system software or updates to several software programs including safari.

  • Links that close previous file

    I have a PDF file that acts as a table of contents, and contains links to other PDF files. When a link is clicked on in the table of contents, the appropriate PDF file opens. However, the table of contents PDF remains open and I want it to close afte