me 411/511prof. sailor data acquisition & labview lecture goals… –learn the basics of how to...
TRANSCRIPT
ME 411/511 Prof. Sailor
Data Acquisition & LabView
• Lecture goals…– Learn the basics of how to use and modify LabView Virtual
Instruments– Become familiar with the data acquisition hardware used in the
lab
Note: some screen shots may be from prior versions of LabView, but the functionality is essentially unchanged…
ME 411/511 Prof. Sailor
This front panel area is essentially the “front panel”of the virtual instrument that you will create. The userof your VI sees this.
ME 411/511 Prof. Sailor
This block diagram (aka wiring diagram) is the “guts” ofyour virtual instrument. The user does not see this, butthis is essentially what controls the functionality of yourInstrument. It is comparable to the inside of an actualInstrument.
You can see both the block diagram and front panel togetherby clicking “Window Tile Left and Right” or “… Tile Up andDown”
Block diagram and front panel menus
• File• Edit• View• Project• Operate• Tools• Window• Help
ME 411/511 Prof. Sailor
ME 411/511 Prof. Sailor
Useful Toolbars – Controls and Functions
• Right click in Front Panel to get Controls
• Right click in Block/wiring Diagram (back panel) to get Functions
ME 411/511 Prof. Sailor
Sample vi
• Open LabView and select New vi
• In wiring diagram add 2 numeric constants and a multiplication operator
• In Instrument window add a numeric indicator or meter
ME 411/511 Prof. Sailor
• Cursor turns into a wiring spool.
• Click on appropriate terminals to connect inputs and output of multiplication operation
• Click Run button in Front panel to obtain result.
ME 411/511 Prof. Sailor
LabView tips and shortcuts
• Undo last <ctrl> z• Remove all broken wires
<ctrl> B• Right click on a function
or control to learn more about it– Properties– Description and Tip– Help (gets wiring diagram)
• Wires/connections are color-coded for variable type