07-12-2005 06:35 PM
07-12-2005 06:36 PM
07-12-2005 07:44 PM
07-12-2005 08:57 PM
07-12-2005 09:19 PM
The code you posted has a host of problems that could be causing the problem--only some of which were delineated in altenbach's post. However, I am willing to walk you through a design process that will result in something that is servicable. So let's start with the basics:
What is it that you want this program to do?
You seem to be controlling or testing something. What is the application?
Is this software going to be used in a production or R&D environment?
Who are your users?
With these questions answered we can take the next step and begin looking at program structures that get you to your goal.
Mike...
07-12-2005 09:31 PM
Thank you for the Quick replys
Thanks for the quick replys. I am in a huge time crunch, all i need it to do is send the button values to the Subvi, and display the Thermocouple and Compressor values coming back from the subvi. I have twenty four of those same vis that i need to run at the same time. The reason i am using references is that i heard that the subvi would read them while it was running. If anyone has a quick cleanup for this let me know. Thanks
07-12-2005 09:58 PM
I hear that you are in a press so I'm going to be real blunt. If you are in a huge crunch you don't have time to muck around with bad code that has many fundamental flaws. There is no "quick fix" for that code except to take it as a lesson learned, and start over with a systematic design. I have been doing this work for a very long time, and I am telling you that this is the fastest way to get you to where you need to be.
Finally, this is a very good place to go through this process as you have access to people here with decades of experience with LV and building test systems that are probibly very much larger than yours. People who normally get impressive amounts of money for their services, and they are willing to help you for free...
Mike...
PS: One more question, what kind of compressors are you testing? I have worked for a couple compressor manuafcturers.
07-13-2005 12:19 PM