ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Programming a cycle in labview

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!

Download All
0 Kudos
Message 1 of 17
(4,059 Views)

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

Kind regards,

- Bjorn -

Have fun using LabVIEW... and if you like my answer, please pay me back in Kudo's 😉
LabVIEW 5.1 - LabVIEW 2012
0 Kudos
Message 2 of 17
(4,046 Views)

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?

0 Kudos
Message 3 of 17
(4,041 Views)

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 😉

Kind regards,

- Bjorn -

Have fun using LabVIEW... and if you like my answer, please pay me back in Kudo's 😉
LabVIEW 5.1 - LabVIEW 2012
0 Kudos
Message 4 of 17
(4,037 Views)

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 Smiley Mad

Kind regards,

- Bjorn -

Have fun using LabVIEW... and if you like my answer, please pay me back in Kudo's 😉
LabVIEW 5.1 - LabVIEW 2012
0 Kudos
Message 5 of 17
(4,035 Views)

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?

0 Kudos
Message 6 of 17
(4,020 Views)

if you post a reply to this, you can add an attachement.  Add the rar-file, and press POST 😉

Kind regards,

- Bjorn -

Have fun using LabVIEW... and if you like my answer, please pay me back in Kudo's 😉
LabVIEW 5.1 - LabVIEW 2012
0 Kudos
Message 7 of 17
(4,018 Views)

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..

0 Kudos
Message 8 of 17
(4,015 Views)

Or can you send your e-mailadres to michiellinden@hotmail.com

The other one is an old e-mailadres

0 Kudos
Message 9 of 17
(4,004 Views)

Here is the file.. I'm sorry for the delay!

0 Kudos
Message 10 of 17
(4,002 Views)