Jump to content

ntward

Members
  • Posts

    6
  • Joined

  • Last visited

    Never

ntward's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hi, Thanks for all the references The shift register works. I've used them before, I just didn't realise that I could use it there - I have a lot of other things going on which clouded my thinking. Thanks. Also, it is really quick and easy to get things to work... I want them to be computationally efficient / elegant too though, and I'm finding it hard to understand how to go about that... Thanks again for the advice
  2. Hi all, I'm pretty new to LabVIEW. Can anyone point me to something which defines good practise? Basically, when I'm making VI's, I come up with a way of achieving what I want, but I'm never sure if it is a good approach / if what I'm doing is good practise. For example recently I needed to keep track of how many times part of a case structure was executed. So I hid a numeric control and used that to store the value and used property nodes in the case structure to increment the count. I've got plenty of examples of things like this which seem really messy, should I be worried?! Thanks
  3. Neville, That is most helpful. One other question would be: is this actually the most elegant way of doing things then? Or is it simpler to just lump everything in one vi? Thank you
  4. Hi all. Thanks for the advice. I made (what I think is) a nice looking control that does the trick. Now, can I use it as a sub vi? Obviously I need to be able to display its front panel on the main front panel, is this possible? I can't figure it out... It would be quite elegant and simplify my block diagram if I can do this, since I have dozens of valves... Thanks again for any pointers
  5. QUOTE(Gavin Burnell @ Jul 7 2007, 11:05 AM) Hello, Thanks for the advice, property nodes look good - it would have taken me ages to find that! However, having spent more time thinking about it I have thought of a more intuitive representation which would use four different images to represent the four possible states. So, I guess I need to overlay a control and indicator. Setting each part of a button to transparent is easy enough, but this doesn't seem very elegant - I assume the control still needs all the memory for the images even though they are not drawn? Is there a way to remove all of these images? Thanks again for the advice...
  6. Hi all, I'm new here, and new to LabVIEW. I've done a lot of reading recently, but I'm a bit stuck. Apologies if this has been asked before, I've tried searching but I'm not certain what I'm looking for! I need to make a control which is also an indicator (in the sense that it reflects it's output state as well as an input). I know I can customise standard controls, but I can't figure out how to do this. Any tips, pointers, suggested help topics etc. greatly appreciated. To explain more clearly: My control needs two states; on and off. When on, the control will open a valve (I've got all that sorted). A micro-switch measures the position of the valve. If the valve has failed to open (i.e. control output and input differ) then I want to indicate this by altering the background colour of the control. Thanks for any help...
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.