03-24-2011 07:53 AM
Hi,
I am making a program to set and read the temperature of a Votsch oven (VT7034). I also use a oscilloscope (Tektronix TDS694C) to make TSV-files.
Now the program works so that when the temperature that I read is equal to the temperature that I set, the oscilloscope makes a TSV-file.
Now I want to program more then 1 temperature to set, So when the temperature that I set is equal to the temp that I read, the program automatically can set a new temperature and the oven goes to this temperature. So I want to program a cycle with 5 temperatures that the program runs through automatically.
Buth I can't program this cycle.
Can anyone help me?
Grtz!
03-24-2011 08:52 AM - edited 03-24-2011 08:53 AM
Have you ever heard of the term "State machines"? This might be a good way to start. There are numerous examples which can be found on this forum
[EDIT] BTW, your subVI's are missing
03-24-2011 08:56 AM
Yes buth for some reason it won't work how I want.. I think I am still making faults. Do you have any idea what is the best way to do this?
03-24-2011 08:58 AM - edited 03-24-2011 08:59 AM
yes, the ideal way to do this is through state machines. Can you create a zip file of all your code (including SubVI's)
If will "try" to transform it into a state machine and give you a head start 😉
03-24-2011 09:01 AM
Or if you don't want to create a state engine, you can just drag a for loop around your code, and feed it with an auto indexed array which contains the temperatures you want to set. But this is a REALLY REALLY BAD solution
03-24-2011 09:57 AM
I am sorry, i have problems with my PC and i cant make a zip, only rar. Can you give me your e-mailadres so i can send you the rar-file?
03-24-2011 09:59 AM
if you post a reply to this, you can add an attachement. Add the rar-file, and press POST 😉
03-24-2011 10:03 AM
No, i tried it. Buth on this forum you only can post zip files, not rar files. lukaku10@hotmail.com is my e-mailadres, is you send me a mail I will send you the code..
03-24-2011 10:14 AM
Or can you send your e-mailadres to michiellinden@hotmail.com
The other one is an old e-mailadres
03-24-2011 10:18 AM
Here is the file.. I'm sorry for the delay!