08-28-2005 11:42 AM
08-29-2005 11:28 AM
Hello all,
I developed a LabView application containing nearly 1000 VIs, but lot of them were generated with GOOP. In my oppinion it is really hard to develop such big application with LabView, because a lot of standard tools are missing. For example you don't have a project manager, so you have sometimes up 100 windows opened when you are developing. For every function call you have at least two windows. In this way it is very hard to debug through all this windows. There is nothing like Object oriented classes, so you can't reuse your source code. Projects become very large, my was at least nearly 50 MB.
But even small application become big in memory usage. I now have the problem to realize a software on a cRio controller with 32 or 64 MB. Because LabView generates a lot of copies of big arrays automatically, I get into a problem with memory usage. So I am looking for a solution writing a dll in C that will handle my data.
Another problem that I had, when I developed a small application communicating with an OPC Server, was that the LabView VI where just communicating with an own OPC Client, which by its own made the communication to the Server. Unfortunately the LabView VIs didn't deliver the functions to Browse the OPC Server. So I had to write the communication to the OPC Server by my own in C code and integrate into LabView via DLL.
Yes there are a lot of nice features in LabView, and maybe the name of the tools gives the hint where to use it. But who has ever had a really big procject with 10 or more man years developed in LabView?
08-31-2005 04:42 PM
08-31-2005 07:49 PM
09-06-2005 08:09 PM
09-08-2005 10:51 PM - edited 09-08-2005 10:51 PM
What to say, what to say, what to say... How about:
"A poor workman blames his tools..."
Every one of the problems you mention comes from not LV, but from your inability to write usable code. Before trashing LV perhaps you should learn how to use it properly first. Or perhaps you should have your meds checked. Anyone who would make a statement concerning LV that "...you can't reuse your source code..." is clearly out of touch with reality.
BTW: The last C code I wrote to get around a short-coming in LV was in about 1993...
Mike...
Message Edited by mikeporter on 09-08-2005 11:53 PM
09-09-2005 07:04 AM
09-09-2005 07:16 AM
09-09-2005 07:40 AM
Sorry,
maybe you didn't understand what i meant to say. I didn't expect to hurt you personally, when I talked about LabView. I am just interested to find the best way to work with LabView. For me it is a tool and nothing else.
If you start the 'Show buffer allocation' you will find out where LabView makes copies of your data automatically. Maybe the buffers are reused. But I am astonished that my application needs 10 times more memory when I increase the array sizes, than I expected from the memory I neeed to store the pure data. On a PC platform it is no problem, I increase the memory to 1GB an everything is fine. But unfortunately it is not possible to do that on a cRio platform there is no 1GB machine.
If I am a so bad software developer and you are so much better than me, take some time and explain it to me.
Otherwise if you don't want to see comments like mine on your disussion forum, i beg the administrator to delete my message. It was not my intention to pollute your side.
Hope you can except my excuse.
Best regards
09-09-2005 08:11 AM - edited 09-09-2005 08:11 AM
Message Edited by shoneill on 09-09-2005 03:12 PM
Message Edited by shoneill on 09-09-2005 03:14 PM