Re: Developing a User Interface
- From: Robert.Bedford <x@xxxxxxxx>
- Date: Wed, 23 Nov 2005 07:40:39 -0600 (CST)
I can't answer all your questions, but I will try to do my best...Also on the waveform chart I want to have the time scale in seconds however they are in 100ms intervals for some reason.
Try right-clicking on the axis and choose
Formatting>Scales>x-scale to change the multiplicative
value. Otherwise, use a property node for the graph and set
range>increment depending on exactly how you want to accomplish this.
2.) The PID VI is not reseting. I have it in a case
statement, but when I stop this case statement and then put new PID
values in, the old values are the one that are used. The PID only
resets when I stop the while loop that the case statement is in.
I don't have this subvi, but open the sub-vi,
click on file>vi properties>execution and either select "clear
indicators when called" or "make VI reentrant", I can't remember which
will do what you are trying to do!
3.) I am trying to have a timer, to
record the length of the time since a experiment has started. I am
currently using the while loop [i] button to measure the number of
iternation, however I need to restart the while loop to restart
the timer, which is no good. Are there any other way to do a timer?
See the attached file.
I want to be able to do some extra features too, 1.) Prompt for the name of the file (I know this is easy but cant do it)
Leave the file input to "Save to file" unconnected. It will automatically prompt for file name. 2.) When I click the start button, (the colour changes) but i wanst the writing to change as well. How do I do this?
Use the paintbrush in the tools window and
paint both outside and inside the text region setting the background
color (see attached with example changes).
3.) When I push the start button, the
kp, ki and kd values fade out ( you cant enter anything
further in them til the student pushes stop) 4.) I cant push the start button until I have filled in the Kp and Required Level, control boxes. I
have attached my file. If you have a look at my block
diagram, would you be able to comment on anything that I am doing
which isnt correct, I havent used LabView before and I am doing
this project for my Thesis and would like it to work well. Thank you very much, Duncan
timer.vi:
http://forums.ni.com/attachments/ni/170/153356/1/timer.vi
.
- References:
- Developing a User Interface
- From: Dunk
- Developing a User Interface
- Prev by Date: Play Wav File
- Next by Date: Re: Import CVI instrument driver in 8.0
- Previous by thread: Developing a User Interface
- Next by thread: Re: Developing a User Interface
- Index(es):
Relevant Pages
|