<< Chapter < Page Chapter >> Page >


You transfer data among block diagram objects through wires. Wires are analogous to variables in text-basedprogramming languages. In , wires connect the control and indicator terminals to the Add and Subtract functions. Each wire has a single data source, but you can wire it to many VIs and functionsthat read the data. Wires are different colors, styles, and thicknesses, depending on their data types. A broken wireappears as a dashed black line with a red X in the middle. The examples in are the most common wire types.

Wire Type Scalar 1D Array 2D Array Color
Numeric Orange (floating-point), Blue (integer)
Boolean Green
String Pink

In LabVIEW, you use wires to connect multiple terminals together to pass data in a VI. The wires must be connectedto inputs and outputs that are compatible with the data that is transferred with the wire. For example, you cannot wirean array output to a numeric input. In addition the direction of the wires must be correct. The wires must beconnected to only one input and at least one output. For example, you cannot wire two indicators together. Thecomponents that determine wiring compatibility include the data type of the control and/or indicator and the data typeof the terminal.

Data types

Data types indicate what objects, inputs, and outputs you can wire together. For example, a switch has a greenborder so you can wire a switch to any input with a green label on an Express VI. A knob has an orange border so youcan wire a knob to any input with an orange label. However, you cannot wire an orange knob to an inputwith a green label. Notice the wires are the same color as the terminal.

The dynamic data type stores the information generated oracquired by an Express VI. The dynamic data type appears as a dark blue terminal, shown at left. Most Express VIsaccept and/or return the dynamic data type. You can wire the dynamic data type to any indicator or input thataccepts numeric, waveform, or Boolean data. Wire the dynamic data type to an indicator that can best presentthe data. Indicators include a graph, chart, or numeric indicator.

Most other VIs and functions in LabVIEW do not accept the dynamic data type. To use a built-in VI or function toanalyze or process the data the dynamic data type includes, you must convert the dynamic data type.

Use the Convert from Dynamic Data Express VI, shown at left, to convert the dynamic data type to numeric,Boolean, waveform, and array data types for use with other VIs and functions. When you place the Convert from Dynamic Data Express VI on the block diagram, the Configure Convert from Dynamic Data dialog box appears. The Configure Convert from DynamicData dialog box displays options that let you specify how you want to format the data that the Convert from Dynamic Data Express VI returns.

When you wire a dynamic data type to an array indicator, LabVIEW automatically places the Convert from Dynamic Data Express VI on the block diagram. Double-click the Convert from Dynamic Data Express VI to open the Configure Convert from Dynamic Data dialog box to control how the data appears in the array.

Use the Convert to Dynamic Data Express VI to convert numeric, Boolean, waveform, and array data typesto the dynamic data type for use with Express VIs. When you place the Convert to Dynamic Data Express VI on the block diagram, the Configure Convert to Dynamic Data dialog box appears. Use this dialog box to select the kind of data to convert to the dynamicdata type.

Automatically wiring objects

LabVIEW automatically wires objects as you place them on the block diagram. You also can automatically wire objectsalready on the block diagram. LabVIEW connects the terminals that best match and leaves terminals that do notmatch unconnected.

As you move a selected object close to other objects on the block diagram, LabVIEW draws temporary wires to showyou valid connections. When you release the mouse button to place the object on the block diagram, LabVIEWautomatically connects the wires.

Toggle automatic wiring by pressing the spacebar while you move an object using the Positioning tool. You can adjust the automatic wiring settings by selecting Tools>>Options and selecting Block Diagram from the top pull-down menu.

Manually wiring objects

When you pass the Wiring tool over a terminal, a tip strip appears with the name of theterminal. In addition, the terminal blinks in the Context Help window and on the icon to help you verify that you are wiring to the correct terminal.

Questions & Answers

how can chip be made from sand
Eke Reply
is this allso about nanoscale material
are nano particles real
Missy Reply
Hello, if I study Physics teacher in bachelor, can I study Nanotechnology in master?
Lale Reply
no can't
where is the latest information on a no technology how can I find it
where we get a research paper on Nano chemistry....?
Maira Reply
nanopartical of organic/inorganic / physical chemistry , pdf / thesis / review
what are the products of Nano chemistry?
Maira Reply
There are lots of products of nano chemistry... Like nano coatings.....carbon fiber.. And lots of others..
Even nanotechnology is pretty much all about chemistry... Its the chemistry on quantum or atomic level
no nanotechnology is also a part of physics and maths it requires angle formulas and some pressure regarding concepts
Preparation and Applications of Nanomaterial for Drug Delivery
Hafiz Reply
Application of nanotechnology in medicine
has a lot of application modern world
what is variations in raman spectra for nanomaterials
Jyoti Reply
ya I also want to know the raman spectra
I only see partial conversation and what's the question here!
Crow Reply
what about nanotechnology for water purification
RAW Reply
please someone correct me if I'm wrong but I think one can use nanoparticles, specially silver nanoparticles for water treatment.
yes that's correct
I think
Nasa has use it in the 60's, copper as water purification in the moon travel.
nanocopper obvius
what is the stm
Brian Reply
is there industrial application of fullrenes. What is the method to prepare fullrene on large scale.?
industrial application...? mmm I think on the medical side as drug carrier, but you should go deeper on your research, I may be wrong
How we are making nano material?
what is a peer
What is meant by 'nano scale'?
What is STMs full form?
scanning tunneling microscope
how nano science is used for hydrophobicity
Do u think that Graphene and Fullrene fiber can be used to make Air Plane body structure the lightest and strongest. Rafiq
what is differents between GO and RGO?
what is simplest way to understand the applications of nano robots used to detect the cancer affected cell of human body.? How this robot is carried to required site of body cell.? what will be the carrier material and how can be detected that correct delivery of drug is done Rafiq
analytical skills graphene is prepared to kill any type viruses .
Any one who tell me about Preparation and application of Nanomaterial for drug Delivery
what is Nano technology ?
Bob Reply
write examples of Nano molecule?
The nanotechnology is as new science, to scale nanometric
nanotechnology is the study, desing, synthesis, manipulation and application of materials and functional systems through control of matter at nanoscale
how did you get the value of 2000N.What calculations are needed to arrive at it
Smarajit Reply
Privacy Information Security Software Version 1.1a
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now

Source:  OpenStax, Labview graphical programming. OpenStax CNX. Apr 09, 2015 Download for free at https://legacy.cnx.org/content/col11408/1.2
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Labview graphical programming' conversation and receive update notifications?