LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW better than VB?

HI,

Our customer requested that a motion system should be constructed with VB and Omron hardware. Fortunately they accepted LabVIEW and NI-hardware due to the fact we said this would result in a shorter delivery time (because I have not used VB for large apps before). They are considering re-writing the application in VB after delivery, so that the in-house programmer can further develop the system.

The system is quite complex - it involves 10-axis of motion to control and parallel software loops. The question I am asked again and again - "Why is LabVIEW better than VB for this?". Unfortunately after much investigation this seems hard to summarise. I have read all the previous posts but there does not seem to be any argument to convince that LabVIEW is the better solution here. I'm looking for a sentence or two that goes some way to convincing people LabVIEW is the better solution - any ideas?

Martin
Certified LabVIEW Architect
0 Kudos
Message 1 of 16
(3,889 Views)
Martin.D wrote:

> HI,<br><br>Our customer requested that a motion system should be
> constructed with VB and Omron hardware. Fortunately they accepted
> LabVIEW and NI-hardware due to the fact we said this would result in
> a shorter delivery time (because I have not used VB for large apps before).
> They are considering re-writing the application in VB after delivery,
> so that the in-house programmer can further develop the system.
> The system is quite complex - it involves 10-axis of motion to control
> and parallel software loops. The question I am asked again and again -
> "Why is LabVIEW better than VB for this?". Unfortunately after much
> investigation this seems hard to summarise. I have read all the previous
> posts but there does not seem to be any argument to convince that LabVIEW
> is the better solution here. I'm looking for a sentence or two that goes
> some way to convincing people LabVIEW is the better solution - any ideas?

Mostly it depends with what you are familiar with. I couldn't write
almost any real app in Visual Basic and deliver it in a reasonable time.
There are people who claim they can do anything in Visual Basic in a
short time, but for me I simply miss the overview over what methods do
what and when in VB.

Why do they want to consider to rewrite the whole app? That is a major
undertaking and really only justified if they are not happy with what
they have now and consider redoing it anyhow, and/or don't feel you
would be available in the future for timely maintenance work. as such it
seems more a management and communication problem to me than what
software really is better.

Rolf Kalbermatter

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 2 of 16
(3,868 Views)
Rolf,

The customer has a full-time VB guy on site who has strongly suggested that VB should be used instead of LabVIEW. I presume the managers would like to go that way so they have in-house control, and this may keep their costs down. The managers know nothing of programming languages and have been told by the VB guy that LabVIEW should be used to prototype and then the app should be re-written in a programming language (makes my blood boil)!

Martin
Certified LabVIEW Architect
0 Kudos
Message 3 of 16
(3,864 Views)
Martin,

The VB guy is probably comfortable with VB and not LB. It is simply a matter of comfort. You can;t say LV is better or worse than VB (or C++ for that matter).

I can write programs in VB, C/C++, Pascal and LabView.
When it comes to doing something fast or automating a process, LV is my choice.

Not only is it faster to implement, it is also easier to maintain, debug and expand.
Frankly, I am now satrting to stay away from C++ 😉
As for VB, no comments...

However, once they realize the cost of converting a working software simply to please a programmer, you'll see the story change. Do a good job with LV. Focus on your immediate success. Pay no attention to the potential conversion to VB; because it may distract you. Once your LV software is completed, chances are that they will adapt to it in the future. Who knows, they may use it for other projects as well.

What makes a manager happy: A cost effective solution that is reliable and gets the job done.

Happy wiring!

-JLV-

😄
Message 4 of 16
(3,859 Views)
I once worked with a guy who loved VB and hated LV. I suspect it was because he just didn't want to take the time to learn LV. This is strictly a matter of preference. To me LV is much easier to use, easier to maintain, and also vastly easier to take over someone else's code. try taking over a VB code with no comments. Much easier to understand LV code with no comments. If their guy wants to rewrite the entire thing in VB, he is pulling the wool over his managers eyes. There is a great time and money effort into rewriting code just for the sake of programming language preference. Either it should be written in VB to start, or the programmer ought to accept LV and keep it that way.
- tbob

Inventor of the WORM Global
Message 5 of 16
(3,833 Views)
To my knowledge, the client computer needs LV runtime engine to run LV standalone app. What if your client does not have LV installed? VB seems easier to deliever. Is it true??

Rentian
Let's make things better
0 Kudos
Message 6 of 16
(3,830 Views)
The LV runtime engine is free and it is easy to install. VB also needs the vbrun.dll file to run VB programs. 6 of one, half dozen of the other.
- tbob

Inventor of the WORM Global
0 Kudos
Message 7 of 16
(3,821 Views)
I just got two brand new cents from MacDonald durig lunch.

I use Labview and VB at the same time. Although labview is faster in development and easier to maintain, it is much harder to distribute. Every version of labview has its own runtime engine and there are no compatibility. Last year I wrote a small application that sits between a web browser and another application, I chose VB because I wanted other people be able to use it whithout downloading a runtime engine.

I agree with the other person. There is no need to compare labview and vb, use the one you are more comfortable with.

Joe
0 Kudos
Message 8 of 16
(3,727 Views)


@Joe Guo wrote:
Although labview is faster in development and easier to maintain, it is much harder to distribute. Every version of labview has its own runtime engine and there are no compatibility.




I find it funny that people claim that VB has no runtime. The file vbrun6.dll is exactly that, a runtime library to allow to execute Visual Basic applications. The fact that it is often already on a system does not mean that you don't have to distribute it for those who don't have it. Also Each major VB version has it's own runtime version as well (vbrun300.dll, ..., vbrun6.dll, etc)

If you wanted me to execute a VB app you would have to provide me with the according VB runtime lib as well as it isn't present on my system.

Rolf Kalbermatter
Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 9 of 16
(3,720 Views)
If you give me LabVIEW code, I can run it on Mac or Linux or Windows.

If you give me VB, I'm stuck with Windows.

LabVIEW has multiple threading built in, for your "parallel software loops".
Not so with VB.
Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com


LinkedIn

Blog for (mostly LabVIEW) programmers: Tips And Tricks

0 Kudos
Message 10 of 16
(3,450 Views)