05-26-2000 11:04 AM
05-29-2000 08:08 PM
05-31-2000 03:07 AM
05-31-2000 11:08 AM
10-14-2005 06:59 AM
If it is still relevant (5 years ago...)
What was the outcome? Who got the project VB or LV?
10-14-2005 07:12 AM
Hi yariv,
You are right... this is a 5 yr old thread.
My guess is that you'll never get that outcome.
If you are curious over which one to choose, I would go with LV without a doubt.
I am now programming in CVI. Everyday, I look at how to implement something new. Something that takes a day would take considerably less time in LV.
If you are considering both, try an exercise. Implement the solution in the previous post concerning taking some measurements using a multimeter and plotting the measurement over time. Implement both solutions: 1) using LV & 2) using Visual Basic. Look at the time it takes to do both from scratch.
.... and let us know the outcome 😄
this is a fun exercise for anyone caught in the decision of what to choose... The answer will be obvious.. 😉
Ray
10-14-2005 09:40 AM
Hi Ray alias JoeLabView,
It is something that I am really trying to solve and I believe it should be made a big issue out of it.
The thing is, that I am using an AGILENT ENA 5071B Network analyzer. The R&DHW guys cannot see the use of putting a PC in between when the ENA already comes with a VB interface editor and one just need to program Macros that runs it...
I need know a very good argument to tell them that it has a limited space of disc, and running macros directly out of it would limit the possibility to expand with much complex applications.
AGILENT really did put me a stick in the legs with this option in the ENA...
If you have an argument let me know
Best Regards
Yariv
10-14-2005 10:03 AM
10-14-2005 11:14 AM
Hi Yariv,
I will add to Dennis' comments...
First of all, one needs to distinguish between actual features, simplicity of use, etc and Marketting BS. I can provide many examples, if needed. I've obviously "been there done that..." and learned my lesson...
The is something we need to know before providing any arguements... >> What do they want <<
"they" being whoever will be using the instrument..
Is this being used for R&D only? Meaning, you write a script or a program and the designers use it to test the prototypes? Will they be doing any measurements, analysis, trend prediction, etc? or purely running the instrument over & over again? If it is to run the same thing over & over again, then the VB might be the way to go. The same applies for a debug station.
If this is to first be used in an R&D environment to be taken to a production environment in the future, then I would not go with the VB route. No matter what the sales guys say.. you will face some obscure situation where an external PC will be required. Even if the sales guy (or gal) says that the instrument has enough horsepower and should replace the PC, there will be a cost somewhere... Remember... the instrument is designed as an instrument first... not a test automation industrial PC connected to a database, etc. Also, will other test instruments be used (yes I am familiar with the product and yes there is a GPIB port)... ? If it does go to a production area, what is the production rate (how many cards must be tested on a daily process)? Ooops.. sorry... I first need to know waht is the intent of the test automation, otherwise I'm gonna go on a tangent to explain why you must be careful with these "added features" that are available with the instruments. 😉
The big question will be: "is it standalone in an R&D environment" or "will it be used as part of an ATE in production" ???
The answer to the above question will orient you towards the proper impmentation choice (VB or LV). If you have the luxury, LV is still the better choice... But the sales guy probably convinced them of the opposite. Of course, not many sales guys actually implement solutions!!
Ray
10-14-2005 12:19 PM
Of course the one variable not mentioned is the familiarity of the too languages to the person(s) writing the code. I'm pretty quick in LabVIEW (not as quick as Jim Kring though!) and have dabbled in VB in the past, so while I could whip up a program to do measurements with the afore mentioned DMM pretty quickly, the fact of it taking longer in VB wouldn't be entirely based on the relative ease of one vs the other. That being said, every time I change my mind in a program about something as simple as a FOR loop rather than a WHILE loop I think about how long it would take to retype one or the other in any text based language. For instrumentation, etc., LabVIEW has some many built features that it has been my choice for several years (when the choice is mine and not my customer's). I will add that for the most part older programs in LabVIEW can be loaded and compiled in the newer ones with out too many problems, something that can't be said for VB.
P.M.