01-09-2009 03:54 PM
I see. Then another array designed for voltage specifcally should be used that way you may enter any combination you like.
or would it be better if I were to allow the user to enter the voltage then have the software run each frequency with all of the voltages entered by the user?
01-09-2009 04:00 PM
01-09-2009 05:27 PM
I see what your pointing to. I have simply copied your method and made one for voltage and one for frequency. It is alot simplier to see what is happening now with this setup compared to first vi I uploaded which compared to this should never see the light of day again.
If the user were to select a single frequency and then choose to select three voltages. I would have to essently use an index array for labview to apply each specfic voltage to a power supply so that frequency.
I have added a vi which basically changes the voltage by using the index array from labview. The goal here was simply to cycle the voltage after about 6 seconds. However there is a problem it seems to loop for ever despite that I have a True and False Statment in there to tell the while loop to stop after it is activated.
The vi which is attached is rather simple to look at the Frequency is being ignore for the time being my focus is strictly the voltage. As mentioned above the goal is simply to cycle through the different voltages. You will also notice that theres another file in there for voltage and current setup you can replace that with a indictor to see the values coming in. Any ideas what the vi wont stop looping?
01-10-2009 11:25 AM
I would have to essently use an index array for labview to apply each specfic voltage to a power supply so that frequency.
If you autoindex an array at the for-loop boundary there is no need for an Index Array function.
I have added a vi which basically changes the voltage by using the index array from labview. The goal here was simply to cycle the voltage after about 6 seconds. However there is a problem it seems to loop for ever despite that I have a True and False Statment in there to tell the while loop to stop after it is activated.
The vi which is attached is rather simple to look at the Frequency is being ignore for the time being my focus is strictly the voltage. As mentioned above the goal is simply to cycle through the different voltages. You will also notice that theres another file in there for voltage and current setup you can replace that with a indictor to see the values coming in. Any ideas what the vi wont stop looping?
I don't see any loops in the VI you attached. It seems to simply call a few instrument driver VIs for a power supply.
01-12-2009 04:36 PM
You are correct there is no loop however the software kept itself in a load state ( it didn't stop it simply continued to run even though the operation had finished) I have fixed it from the looks of it.
I have been looking at the State Machine architecture. For awhile this could be very useful to me once I figure out how ti works XD. I will update this thread when I begin working on a converstion rather than make a new thread.
01-12-2009 04:59 PM
01-14-2009 02:44 PM
Quick Question/Problem.
I want labview to prompt the user to change the frequency once all the tests have been completed. At which point the vi will change the voltage and repeat the same set of tests and continue until it comes up with a "0" from the array for frequencies.
My current problem is that it will prompt mesg after every test completion which is not want i need it to do.
Can anyone suggestion any improvements I can use?
The auto index I am a bit confused I am currently reading FAQ guides about it but the autoindexing a special vi or am I already doing it within my own vi which is attached?
01-14-2009 04:38 PM
01-14-2009 05:43 PM