ics boards using assembler and looking for a high level language (I mean, PC based) to communicate with the boards and to control. Someone suggested me C++..please, tell me: why did you choose LabView? Why could it be better than C++? Thanks a lot! Erminio
LV is very easy to make spaghetti codes and hard to be reused comparing with C++. --- I disagree. The dataflow paradigm makes it easy to AVOID spaghetti code, unless you're coming from C and are determined that LV is just another way to do C code.
--- There is no reason that LV is harder to re-use that C+-
--- The biggest problem with programmers coming from other languages is finding out all THE CRAP YOU DON'T HAVE TO DO ANYMORE.
--- Once upon a time, there was an example in the NI docs of a translation of a FORTRAN routine to do averaging of an array.
--- The first iteration was a painfully exact duplication of steps. Within the loop, access DATA[i] using an INDEX ARRAY operation, add this element to the sum, add 1 to i, etc....
--- Then they started using LabVIEW features (auto-indexing, auto-loop counting, shift registers, etc.).
--- Finally it got down to three items : ADD ARRAY ELEMENTS, ARRAY SIZE, and DIVIDE.
Speed can be a major setback too if your application requires it. --- LabVIEW is not inherently slower at anything. Which is not to say that it can't be slowed down by a roundabout way of solving a problem.
Another fact to concern is available programmers on the market. C++ side has many more. --- And the point is .... ???
Memory leak problem is there in LV too until ver 7. Have built hundreds of applications since version 1.2 in 1989, and never had a memory "leak". It's practically impossible for the programmer to cause a leak (not counting CIN or DLL), simply because the programmer doesn't allocate / deallocate things explicitly.
Even ver. 7 we are not 100% sure. Do not say no memory problem. It is there and it is very hard to fix.P
lease explain. Offer an example. Show me.