12-08-2008 12:37 PM
I had posted a VI here a few months ago asking for advise on how to clean it up. I have since been asked to see if anyone here would be interested in some side work rewriting it. The goal is to have 3 - 4 smaller VI's written instead of the 1 large VI. Example: 1 VI for just the alarms Tab, 1 for the JPS... Let me know if anyone is interested and the aprox cost for this.
Thanks,
Chris
12-08-2008 01:09 PM
Hi Chris,
do you really expect someone will do your work on this huge (in terms of desktop real estate) vi??? Especially when all subvis are missing?
But you will get a lot of tips to clean up this piece of code:
- Use arrays for repeating tasks! In those clusters you 12 times a block of (site quality, LED site, fill color site). Make those in an array and set properties in for loops (using references to the actual indicators).
- Add all those number to array -> array to cluster operationss to the first point: you really should redesign your data structures...
- Cleanup in general (left-to-right wires...)
- Don't hide the laels of terminals. How should we know what's all those items?
- Put same tasks in subvis instead of copy&pasting it all over the block diagram...
I wish you luck on doing all this ![]()
12-08-2008 01:22 PM
12-08-2008 02:03 PM
OK this is the third attempt at composing a proper reply.
FIRST
Get in touch with your local NI rep and talk to them about who is local and can help you. If that fails, please e-mail me at
And I will forward your contact info to the right people. We do re-writes like that regularly and should be able to help you.
Ben
12-08-2008 02:53 PM