G
- Appeared in:
- 1986
- Paradigm:
- Typing discipline:
- Versions and implementations (Collapse all | Expand all):
G is visual dataflow programming language, available via its native IDE called LabVIEW. Its main purposes are data acquisition, instrument control, industrial automation and signal processing. As such, it is badly suited to general-purpose programming, but provides a large set of specialized tools.
First versions of G were developed as early as 1986.
Links:
Examples:
Hello, World!:
Example for versions LabVIEW 10.0G/LabVIEW is a fully visual programming language, so no source code is available. See screenshot instead.
The block diagram (LabVIEW equivalent of program) for this example consists of only one node — “Display Message to User”, with pre-set message “Hello, World!”.
To create this example, create a new project and a new VI within it. Switch to Block Diagram of the new VI. Navigate to Functions -> Programming -> “Dialog and User Interface”, choose “Display Message To User” control and place it onto the Block Diagram area. Once it’s placed, a configuration dialog will appear; enter “Hello, World!” as the message to display. Save the project and press “Run” to get a pop-up message box. The screenshot shows both the block diagram and the result of its execution.
"Hello, World!" example in G/LabVIEW
Comments
]]>blog comments powered by Disqus
]]>