02-03-2016 09:16 AM - edited 02-03-2016 09:17 AM
Hi All,
There are few arguements I am facing since 1.5 yrs :
1. I would like to say LabVIEW is a language like C, C++, Some people will argue like it is a Tool.( I wont say its not a tool but more than that i prefer to say its a language)
2. As per i heard in NI Conferences there is a G code running inside the LabVIEW functional blocks( like add,subtract, loops etc). but people say that there is a C,C++ Java code running inside that. Is it?
Please share your views
Correct me if I am wrong.
02-03-2016 09:19 AM - last edited on 12-16-2024 02:18 PM by Content Cleaner
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
02-03-2016 09:22 AM
Another What is Labview?
02-03-2016 09:23 AM - last edited on 12-16-2024 02:18 PM by Content Cleaner
02-03-2016 09:27 AM - edited 02-03-2016 09:29 AM
LabVIEW is the name of the Development Environment (IDE) - e.g. like Visual Studio.
G is the name of the graphical programming language you program with LabVIEW.
As for your second question - like other languages, you can compile your LabVIEW (I really mean G here, but it's more common to refer to it as LabVIEW) code into DLLs and call them from other languages and also call code written in other languages (e.g. .NET / C DLLs) from within LabVIEW. I believe that quite a lot of the LabVIEW IDE and some of the functions are written in G itself (a term called dog-fooding) and some of them are written in other languages (e.g. C++).
02-03-2016 09:29 AM
Graphical Programming language
02-03-2016 09:35 AM
Thanks for the reply Sam 🙂
02-03-2016 10:58 AM
Sam_Sharp wrote: I believe that quite a lot of the LabVIEW IDE and some of the functions are written in G itself (a term called dog-fooding) and some of them are written in other languages (e.g. C++).
My current understanding is that the core of LabVIEW is written in C# now (once upon a time, it was C++, likely C before that) and then much of the IDE (like Quick Drop) is written in G.
02-03-2016 11:22 AM
I've heard the argument that something like LabVIEW is not technically a language unless it can compile using itself. For instance... C code is compiled using C. But I honestly treat LabVIEW as a language. Only because as I throw down For Loops and While Loops I am thinking in terms of text based code.
Throw down a For Loop and attach an initialized array into the walls and I have successfully written:
For int i = 0; i++; i<=Size Of Array_TestArray (something like this, syntax probably not 100% accurate)
So... in my mind this is a visual language. If Sign Language (which is visual) is considered a language, then so is LabVIEW. *Mic Drop* haha
02-03-2016 11:27 AM
@crossrulz wrote:
Sam_Sharp wrote: I believe that quite a lot of the LabVIEW IDE and some of the functions are written in G itself (a term called dog-fooding) and some of them are written in other languages (e.g. C++).My current understanding is that the core of LabVIEW is written in C# now (once upon a time, it was C++, likely C before that) and then much of the IDE (like Quick Drop) is written in G.
This sounds right. Last NI core developer I talked to said he spent half his time in C# and the other half using G.
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'