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
2 answers

Labview change properties of control by code

How could I change max and min values in control "fill slide" by code? Here is my program and it should take max and min values from CSV file and change scale range in fill slide's properties. How could i get access to fill slide's…
user3210023
  • 164
  • 13
0
votes
3 answers

Taking numbers from csv file using labviiew

My program should take all numbers from CSV file put them to array and have some problems. Have can I take some char of string? Here my program: https://drive.google.com/file/d/0B7eFfQuRzPgAX3o3WmJIb2dzMFU/view?usp=sharing Example of csv fie: 1, 2,…
user3210023
  • 164
  • 13
0
votes
1 answer

Excel discard user event?

I have an Excel sheet that updates every 1 Second (via Labview using ActiveX)and has to be visible to the user. And I cannot set "Application.UserInteractive" to "FALSE" throughout the application as the User could use the system for other excel…
user3345850
  • 141
  • 2
  • 11
0
votes
1 answer

Labview TCP connection with Java

I'm trying to send data from Labview over a TCP socket and receiving the data with Java. I'm using an example TCP VI from Labview (I cant post pictures). I realize there's a TCP read, I haven't gotten to that point yet. My problem is dealing with…
Ryan
  • 1
0
votes
2 answers

Convert string of strings to string array in LabVIEW

Is there a way to convert a string of strings to a string array in LabVIEW. eg. "test hello yeh ok" becomes [0] = test [1] = hello [2] = yeh [3] = ok
timeshift117
  • 1,720
  • 2
  • 18
  • 21
0
votes
1 answer

Can anyone explain to me this LabView simulation?

I'm currently learning LabView in college and I saw this simulated there on class notes. I've been absent the day this has been asked: I asked my friends, but no one explained well. All they said: do not forget that when the user inputs a number to…
George Chalhoub
  • 14,968
  • 3
  • 38
  • 61
0
votes
1 answer

StdOut From Windows GUI Shows in Console But isn't Logged

I am launching LabVIEW from a batch file to automate a build. From my build step I am printing to StdOut by doing the following within LabVIEW with .NET and the Windows API-- I am going to use some pseudo code…
gfree
  • 479
  • 7
  • 16
0
votes
0 answers

Sampling FFT for Arduino Labview

I wan to build a FFT graph for my vibration sensor using arduino and labview. By using Labview Interface with Arduino I manage to get Amplitude vs Time graph. But I wan to use the frequency analysis on labview coding to identify the harmonic of…
Royal DeviLz
  • 15
  • 3
  • 12
0
votes
1 answer

Automated way to update installer GUID in LabVIEW

When updating a product to a new tag, we like to make a new installer so that the new product doesn't overwrite the old one when we're testing. (I'm aware of the issues with this, it's primarily for testing purposes.) I believe I read that they…
Poik
  • 2,022
  • 27
  • 44
0
votes
2 answers

Recording Waveform Signal into Excel Spreadsheet

I'm currently trying to record the data of my voltage signal overtime, I'm having 3 signals (x,y,z) running at a time. I using random number generator in my attachment as example. I wan to record all 3 of my signal with respect to time and displayed…
Royal DeviLz
  • 15
  • 3
  • 12
0
votes
0 answers

FFT Frequency Analysis on LABView

I'm newbie to digital signal processing. I'm currently trying to create a frequency analysis graph for my sensor which using the ADC of my arduino. The signal produced was in a voltage signal amplitude overtime. I wonder which was the correct FFT…
Royal DeviLz
  • 15
  • 3
  • 12
0
votes
3 answers

Access violation (0xC0000005) at EIP=0x3052D62C

I had this error when i tried to run application (EXE) file create from vi. Access violation (0xC0000005) at EIP=0x3052D62C Version: 1.0.0.0 I have already repaired LabView but still the same error appear, any help? Thank you in advance, Thanya
Thanya
  • 1
  • 1
  • 1
0
votes
2 answers

How to communicate Java and Labview through TCP/IP, and send data buffers of float point?

I am working on a university project, where I require communicating Java with Labview, bidirectional, and send and receive data in floating point, in data buffers, because the application in Labview generates data at high speed, but I temporarily…
Raul
  • 465
  • 5
  • 16
0
votes
1 answer

Display multiple data and timestamp overtime in rows Labview

How do I display multiple data with respect to my timestamp in array form and written on my excel file? I have 3 signal randomly generated, I wan to display these signal overtime when I met a certain condition and my vi will start writing them in a…
Royal DeviLz
  • 15
  • 3
  • 12
0
votes
2 answers

python set() in LabVIEW

Porting some python code to LabVIEW and I run across the python set(). Is there a better way of representing this in LabVIEW other than with a variant or array?
Bondolin
  • 2,793
  • 7
  • 34
  • 62