08-04-2005 12:41 PM
08-04-2005 12:45 PM
08-04-2005 01:12 PM
08-04-2005 01:22 PM
08-04-2005 01:29 PM
LV_Pro: Good answer. I've always wanted to do something like that, just never got the courage in this forum.
Lynn: You should add a small time delay in your loop to avoid hogging the CPU.
08-04-2005 01:32 PM
Sorry, couldn't help it.
Well there are a number of things. First, why do you have the second sequence structure, the add (of zero?) could be placed in the second frame and the whole sequence removed. Secondly, you aren't showing motor movement, just the modified count of pulses sent to one. I don't remember if LV 6.0 "thermometer" control/indicator had it, but in the current version (7.1) you can make the digital display visible, eliminating one of your indicators. The writes to the digital ports
08-04-2005 01:41 PM - edited 08-04-2005 01:41 PM
I'm not sure what features were available in LV 6.x, for instance, the digital I/O in the original doesn't have error clusters, so no dataflow (bad NI, bad! guess they had to learn how to use what they invented too!). Ditto the digital display on the thermometer, don't have 6 on these machines, couldn't check.
I wasn't planning on there being a long delay between my flipant answer and my more serious one, oops, me bad.
One comment to labview1958 (and all the others), neatness does count . It makes it so much easier to look at /troubleshoot, and takes very little time (particularly the more you do it). The newer versions of LV (7.x) even have a neat "Clean Wire" and "autorouting" which may be used (I don't always like LabVIEW's idea of neat though!) If you get around to taking the Certfied LabVIEW Developer exam, a major part of the grading is style/documentation, and with the exam being very time constrained it really is necessary to have it as a habit rather than trying to do it anew.
Down off of my soap box (I was getting dizzy!)
P.M.
Message Edited by LV_Pro on 08-04-2005 02:44 PM
08-04-2005 01:52 PM - edited 08-04-2005 01:52 PM
Message Edited by altenbach on 08-04-2005 11:53 AM
08-04-2005 01:54 PM
08-04-2005 08:36 PM