07-23-2019 03:06 AM
I have been given a task of opttimizing the VI attached.
The VI describes a Building Heating System.
CXould anyone suggest me a way to make this smaller? i tried using sub VIs but they help only to an extent.
Any idea is appreciated.
Thanks.
07-23-2019 03:18 AM - edited 07-23-2019 03:23 AM
Hi amp,
Could anyone suggest me a way to make this smaller? i tried using sub VIs but they help only to an extent.
(Ihr habt doch an eurer Hochschule bestimmt auch eine Informatik-Abteilung, die dir bei sowas helfen könnte!?)
07-23-2019 03:33 AM
You can start by removing the 3 inches on the left, with ctrl-alt-drag. That's the easy one .
I'd start by removing all the silliness. Most case structures can be replaced by one or two selectors. Some even by a or\and function. I'd do this mostly to get to know the application a bit.
To be honest, this one is borderline "start all over". It would depend on the content of the subVIs, which we don't have.
07-23-2019 03:37 AM
@GerdW wrote:(Ihr habt doch an eurer Hochschule bestimmt auch eine Informatik-Abteilung, die dir bei sowas helfen könnte!?)
Unless they made it in the first place . I've seen enough professional programmer groups without any standards.
07-23-2019 03:51 AM - edited 07-23-2019 03:53 AM
Hi Wiebe,
I've seen enough professional programmer groups without any standards.
And more than enough students just being taught to usage of ExpressVIs… 🙂
@amp:
Forgot to mention: implement a better data handling, mabye even based on key-value-pairs (or maps nowadays)…