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
0
votes
1 answer

Connect android bluetooth and laptop

Hi I want to connect bluetooth and laptop What I want to do is, send numeric value from android application to Labview program installed in Laptop. The android program returns value which changes according to the button click. (When I press up…
0
votes
1 answer

Open LabView project and VIs as read-only?

Is there a method of opening a LabView project and by extension any subVIs contained in the project as read-only? There are occasionally times I want to poke around in the project and run certain VIs without the potential of a VI being accidentally…
DakotaD
  • 371
  • 3
  • 18
0
votes
1 answer

Using AppLocale with LabVIEW

I am running LabVIEW 2013 Dev Environment on a Chinese Windows 8 platform. LabVIEW is not a Unicode-base program, and consequently on Asian Windows there are display issues for our interfaces created with US-English character sets. I can fix this…
qianlong
  • 41
  • 6
0
votes
1 answer

Noise in PD control in Labview

I have a question on a noise phenomenon in PD control. The given system is just x''=k*(xd-x)-d*x' (1) where x is the state variable like displacement, xd is the desired state (set point), the superscript (') is the time derivative of the…
0
votes
2 answers

Creating a CSV file with the Report Generation Toolkit in Labview

I want to create .csv files with the Report Generation Toolkit in Labview. They must actually be .csv files which can be opened with Notepad or something similar. Creating a .csv is not that hard, it's just a matter of adding the extension to the…
Jakhals
  • 3
  • 1
  • 4
0
votes
1 answer

Multithreading in LabVIEW

I have a dll which has following functions: "initializing", "reset", "start recording", "cancel" etc,. Rarely the function "start recording" get's stuck and doesn't come out. In this case I need to activate the function "cancel" and the dll provider…
nik
  • 143
  • 4
  • 14
0
votes
1 answer

LabVIEW confuses subVIs in different paths but have same name?

I am using some of the subVIs that other people wrote so this is some historical issue. The problem I have is that if two different subVIs are different, stored in different locations, but happens to have the same name. It seems sometimes LabVIEW…
Niebieski
  • 591
  • 1
  • 8
  • 16
0
votes
1 answer

labview using advantech dll : memory leak ? + Bluescreen

I'm currently using several advantech devices with LabView, When I use one function with the dll it use memory, if I call it several time the memory used increased over and over ... to finally crash labview or have a bluescreen. I've tried to flush…
0
votes
1 answer

Instrument "driver" for labview in which the instrument is controlled over http

So I have an instrument which can be talked to over HTTP GET and POST requests, this is so that the instrument can be controlled through a webpage. These requests include getting and setting variables and running functions on the instrument. The…
Jack burridge
  • 472
  • 7
  • 21
0
votes
3 answers

Image processing LABVIEW

How do I use feature detection to measure dimensions and locate a circle/line/rectangle in an image on LABVIEW. For example, lets say I inserted an image into labview I want labview to detect if it has any shape in it!
0
votes
3 answers

How to Mix Class (green) and Specific (blue) IVI Driver Calls in LabVIEW

I am trying to mix class and specific driver calls within LabVIEW. Is this possible or will I likely encounter errors? I have already downloaded the IVI specific driver from the following link: Agilent Technologies hp34401a Meter - IVI Specific…
Shawesome
  • 55
  • 11
0
votes
2 answers

packing two single precision values into one

I'm in labview working with very constrained ram. I have two arrays that require single precision since I need decimal points. However, single precision takes too much space for what I have, the decimal values I work with are within 0.00-1000.00. Is…
mugetsu
  • 4,228
  • 9
  • 50
  • 79
0
votes
2 answers

creating xls file in labview using read/write, the file you are trying to open xls is in a different format than specified by the extension

I tried to create an xls file in labview 2010 as shown below: I get something like below in this excel file: 0.13 0.01 99 0.51 0.02 99 13.97 0.55 8.81 23.11 0.91 12.04 36.7 1.45 8.74 50.42 1.99 8.67 However, when I…
mugetsu
  • 4,228
  • 9
  • 50
  • 79
0
votes
0 answers

Primesense driver for Labview

I am trying to initialize the Primesense Carmine 1.09 using Labview. So far when trying to use OpenNi drivers but they appear to be broken...(I think the problem is with the openni.net.dll). Does anyone know if there is a driver that fits Labview?…
0
votes
0 answers

try to use LabVIEW func in visual c++

I try to include LabVIEW function into my visual C++ project via DLL. In the dll there is just one function: void __cdecl imgpro(uintptr_t *ImageOut3, LVBoolean *BL, LVBoolean *R, LVBoolean *L, LVBoolean *BR); This function process frames from a…