-
Posts
4,914 -
Joined
-
Days Won
301
Content Type
Profiles
Forums
Downloads
Gallery
Everything posted by ShaunR
-
Some LV code I saw today would have taken 1 monkey a couple of minutes
-
Computers only understand 1's and 0's
-
Theres a lot of bugs from 2007 and 2008 that are still unresolved.
-
Wrong answer. "What do you mean "seem"? is the right answer. Wrong answer. He works here? is the right answer. Does anyone else find it a bit strange that a) The wife is at work. b) Shes very confrontational.
-
I thought about something similar a while back (in a different langauge with a compiler). I don't think you really need batch files and projects, you can do just fine with a "clone" vi. A slight modification to your premis means that you can "grow" more and more complex "creatrures" and see evolution (in theory at least). Rather than "spawn" the children and hope that one of them may survive, you can use your DNA program (Prime Mover?) to create a vi that has the DNA code + 1 random function. It continues to do that UNTIL something compiles and runs. Now you have DNA and DNA+1 in the primeordial computer soup and each continues to try and create a better "self" until it runs out of functions to try. At which point it becomes "Extinct". Of course. If nothing compiles and runs then it proves you are a crap God And, by the way, we all know the answer for a computer is not 42......it 10
-
Were "Motley Morris" the full contact morris dancers the supporting act?
-
Poor OP. He posts an innocent question and all he really gets is a load of old women arguing about thier crochet patterns
-
Better still. I'll go and click on all of Alphas posts
-
Indeed. You were a bit more subtle than me though If I were an unscrupulous person, I could log in with a different ID through a proxy and go round clicking on all my posts.
-
Well. If that is the case then there should be an event case for each control or set of dependent controls. Still don't see the need to complicate it further. Me too. and re-reading what I posted I did say they should be checked there. What I was really getting at was to add a timeout so that his vi doesn't "hang". I think once he posts more, we will probably see that his issue is understanding how and why an event structure works the way it does rather than a design implementation. After all there are a few unintuitive things like having the control inside the event case.
-
Yes you can. What do you have so far? If you post your vi, we can see the direction you are taking and advise better. In my opinion, the best way to approach long term graphing is to continuously log the data and provide "views" of that data. To prevent files getting too large (and therfore taking ages to load in the views), you can save the data log in a number of files (either using the date in the filename, or directory name). This would give you a file (or set of files) for each day or month which can be loaded "raw" and processed to provide whatever analysis you require.
-
My reply wasn't a design proposal. It was to get his events working properly. Like you said. theres not a lot of detail, but its likely its a control with a couple of cases checking a value. Do you really need a Consumer-Producer design pattern with state machines to see if a value is higher or lower than zero for example?
-
Many thanks. Labview IDE? I thought it would have gone in the UI section.
-
I think its a case of emphaisis. Matlab is a mathematics package with some language features. Labview is a programming language with some mathematics features.
-
A bit excessive dont ya think?
-
Well a Value Change(signl) property node will programmatically fire an event but you can end up with race conditions. You ought to be wiring a timeout to the event case (say 100ms the, default is -1....wait indefinately) and checking the controls in the timeout case. If you are seeing the event execute only once, then it is likely that you do not have the control inside that event case. This is required for the control to be "reset".
-
Probe Watch Window usability issue
ShaunR replied to PJM_labview's topic in Development Environment (IDE)
Don't see why it couldn't have been included. They realesed F1 just to fix 1 minor bug that very few people would have suffered from. I've actually given up using probes now and just create indicators on the front panel 'cos its such a pain. -
Refnum Data Types
-
I was referring to the Option B where a create method was used. It is identical the what ShaunH describes (using the bundle to integrate events) but from within the control instead of external.
-
Probe Watch Window usability issue
ShaunR replied to PJM_labview's topic in Development Environment (IDE)
Back on topic Just downloaded and installed 2009.F2. Doesn't work .....bugger -
Probe Watch Window usability issue
ShaunR replied to PJM_labview's topic in Development Environment (IDE)
Virgin In? Virtually Incapable of? Very Inconsistent? Bet you wish you hadn't asked now...lol -
You can also pull the network plug out while your running tests