Questions tagged [labview]

LabVIEW stands for Laboratory Virtual Instrumentation Engineering Workbench and is a graphical programming system by National Instruments. The programming language is called G but often referred to as just LabVIEW.

LabVIEW is a graphical development environment offered as proprietary software by National Instruments and complementing their industrial controllers and data acquisition systems used in research labs and elsewhere.

The programming language itself is called G but usually referred to as just LabVIEW. The programming language is a parallel, dataflow, graphical, type-safe language. Dataflow provides automatic memory allocation/deallocation without the overhead of garbage collection. The language includes hooks to call into native C, .NET, COM, etc.

A LabView application is represented by a so-called "virtual instrument" or VI. A VI is divided into two parts: the front panel and the block diagram. The front panel acts as the GUI and defines the user interface where all the visual elements ("controls") are drawn and placed. Front panel controls include buttons, switches, knobs, and so on. Output elements like graphs, thermometers, and text boxes are also placed on the front panel.

The block diagram contains the execution code. LabVIEW code follows a dataflow-based execution paradigm. Functions are represented as individual blocks on the block diagram, with each function having zero or more inputs and one or more outputs. The dataflow programming paradigm dictates that a block (function) cannot execute until it has received data on all of its inputs, and a block outputs data on all of its outputs simultaneously once it has executed. Each block is, from the perspective of the block diagram in which it resides, atomic. Wiring determine execution order between blocks, and sections of a block diagram that share no connections can run completely in parallel.

To include LabVIEW code in your question, consider using a VI Snippet so that others can view, run and edit your code.

You can read more on the LabVIEW wiki or on the official National Instruments website.

1408 questions
35
votes
25 answers

Textual versus Graphical Programming Languages

I am part of a high school robotics team, and there is some debate about which language to use to program our robot. We are choosing between C (or maybe C++) and LabVIEW. There are pros for each language. C(++): Widely used Good preparation for…
stalepretzel
  • 15,543
  • 22
  • 76
  • 91
23
votes
2 answers

Adding .NET Framework DLL as reference to windows store app

I'm working on a windows store app project where I want to read a simple temperature measurement data from a National Instruments DAQ. However the DLL library for the DAQ is in .NETFramework 4.0 format and when adding this as reference to my windows…
Zyberb
  • 307
  • 1
  • 4
  • 13
22
votes
14 answers

Why people don't use LabVIEW for purposes other than data acquisition and virtualization?

This is marked as a subjective question, I hope I won't get too many down votes though. LV seems to offer a nice graphic alternative to traditional text based programming. As I understand, it's not a just-virtualization/data acquisition programming…
Anzurio
  • 16,780
  • 3
  • 39
  • 49
20
votes
1 answer

Python UDP Broadcast not sending

I am trying to UDP broadcast from a Python program to two LabView programs. I cannot seem to get the broadcast to send and I am not sure where my socket initialization is wrong, broadcasting seems simple enough?? As far as I can see, there is no…
TDK
  • 255
  • 1
  • 3
  • 9
17
votes
19 answers

What specific features of LabVIEW are frustrating to you?

Please bear with me: this isn't a language debate or a flame. It's a real request for opinions. Occasionally, I have to help educate a traditional text coder in how to think in LabVIEW (LV). Often during this process, I get to hear about how LV…
Joe Z
  • 752
  • 2
  • 10
  • 29
14
votes
2 answers

How does version control with LabVIEW VIs work?

Does anybody have experience with version control and LabVIEW? Since LabVIEW VIs are not text-based, how does it work? I would like to use git but I have a few questions: When committing changes, does git recognize the differences in the VI or…
rkgghz
  • 456
  • 8
  • 19
13
votes
4 answers

Read LabView program without LabView

I have a file containing a LabView program and need to understand what it does. Of course it can not be executed without LabView. But is it possible to read a LabView program without Labview?
paugier
  • 1,838
  • 2
  • 20
  • 39
11
votes
6 answers

Extensive comparison between SIMULINK and LabVIEW

I am trying to determine which of these two to buy for my work. I have used SIMULINK but not LabVIEW. Is there anyone who has used both and would like to provide some details? My investigation criteria are the user friendliness, availability of…
ha9u63a7
  • 6,233
  • 16
  • 73
  • 108
8
votes
1 answer

Converting Bad Text to Korean

The Problem I'm working on cleaning up some old Korean code, and there are some sections of code that used to be Korean that I would like to translate to English. However, there seems to have been an encoding issue, and the text is no longer Korean.…
8
votes
4 answers

Easily create a list of VIs used by a LabVIEW application

I have a LabVIEW application that I inherited that has a bunch of sub-VIs. In the course of cleaning it up I've discovered some of the included VIs are not used. I know I can use the VI Hierarchy to see every VI included as icons but this isn't…
dwj
  • 3,443
  • 5
  • 35
  • 42
8
votes
10 answers

Reference material for LabVIEW

I'm supposed to learn how to use LabVIEW for my new job, and I'm wondering if anybody can recommend some good books or reference/tutorial web sites. I'm a senior developer with lots of Java/C#/C++ experience. I realize that this question is perhaps…
Don Kirkby
  • 53,582
  • 27
  • 205
  • 286
8
votes
6 answers

LabVIEW "driver" - getting started

I have written a standalone app that controls a device through RS-232 port and some customers want to be able to use the device with LabVIEW. I have seen some threads describing where to start when learning to use LabVIEW, but I was wondering if…
Tim
  • 20,184
  • 24
  • 117
  • 214
8
votes
7 answers

Why use LabVIEW?

I am learning to use LabVIEW as part of my honours project, and was wondering what benefits the graphical programming language has over a textual one?
alex77
  • 536
  • 2
  • 5
  • 12
8
votes
2 answers

LabVIEW: What is the difference between the mechanical actions "Latch until released" and "Switch until released"?

In which situations should we use "Latch until released" instead of "Switch until released"? According to LabVIEW 2011 Help: Latch until released—Changes the control value when you click it and retains the value until the VI reads it once or you…
Kamran Bigdely
  • 7,946
  • 18
  • 66
  • 86
8
votes
3 answers

Proper way to write kernel functions in CUDA?

I am just about to embark on converting a program I wrote into CUDA to hopefully increase processing speed. Now obviously my old program executes many functions one after the other, and I have separated these functions in my main program and call…
Shawn Tabrizi
  • 12,206
  • 1
  • 38
  • 69
1
2 3
93 94