03-06-2014 03:51 PM
Hello!
So my program is suppose to run an enviromental chamber through rs485 serial to usb converter. it should ramp to 25 C then go to -40 C and hold for 30mins, next it ramps to 90 c and holds for 30 mins. It should go through these cycles 200 times and end. right now it goes all the way to 90 and holds fine, but instead of ramping back to -40c it tres to ramp to 90 and hold continuosly. Can anyone help? program below.
03-10-2014 09:45 AM
Sounds like something in your decision logic is off. It might be helpful to read up on state machine architecture in LabVIEW. I think switching software architectures will help clean up your code and allow you to debug much faster.
03-10-2014 12:45 PM
Yea I over looked the case structure because nothing should have changed when I ran it the next time, I deleted the case structure and just rely on the boolean swicth to skip stages. much cleaner now.
Thank you for taking the time to check it out!