Top Banner
Samuel Alberg Thrysøe, PhD, Assistant Professor, Contact info: Email: [email protected], Phone: +45 25533552 Virtuel Instrumentation: LabView Introduktion 2
27

Samuel Alberg Thrysøe, PhD, Assistant Professor, Contact info: Email: [email protected], Phone: +45 25533552.

Dec 31, 2015

Download

Documents

Luke Stevens
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript

Cardiac MRI

Samuel Alberg Thryse, PhD, Assistant Professor,Contact info: Email: [email protected], Phone: +45 25533552Virtuel Instrumentation:LabView Introduktion 22RepetitionWhere do you program in LabView?

Front PanelBlock DiagramWhere would you insert Waveform Charts?

Front PanelBlock DiagramWhich of these is an indicator? 5

Which of theseis an Express VI? 6

Which is the For Loop?7

What is this structure?8

Loop TunnelIndekseret TunnelShift registerIO ThreadWhat is this structure?9

Loop TunnelIndekseret TunnelShift registerIO Thread

Which function can return a value from an Array element?10

Which function inserts a value into an Array?11

12LabView GraphsWaveform Charts UpdatingStrip ChartLike paper stripData scrolls to the right, when it reaches right side, old data are pushed out to the leftScope ChartWhen data reaches right side, the display is blanked and the plot restartsSweep ChartLike the Scope Chart, but instead of blanking the display, a vertical line is shown drawing the data

13

Waveform Charts vs GraphsWaveform ChartOne datapoint at a timeShows history of received valuesThe chart is updated whenever a new datapoint is receivedOnly receives dataX-axis is timeWaveform GraphShows many datapoints at a timeShows data arraysThe graph is updated when alle datapoints are availableAll points plotted simultaneously 14Waveform GraphsReceives data in the form ofInitial X-valueDelta XY data Numerical arrayCan also just receive Y-dataInitial X-value is 0 by defaultDelta X is 1 by default15

Waveform Graphs16

Starts at 0 (default)Delta X = 1 (default)Waveform Graphs17

Starts at 110Delta X = 5 (max = 5*100 + 110)

Waveform Graphs18

Starts at 0 (default)Delta X = 1 (default)Build ArrayXY graphsCartesian plotsWaveform graphsPlots data with constant samplingEg every 5 secondsXY graphsPlots X,Y coordinatesExpects inputs of bundled X + Y arrays

19Express XY graphs20

Front panel ->Graph ->Express XY Graph

2.1 Graph Exercises212.1.1 Waveform Graphs2.1.2 Sine and Cosine2.1.3 XY Graphs*2.1.4 Dice Throws 3

22LabView File I/OLabView File I/ORead/write formatsBinaryTextSpreadsheetLabView Measurements File (*.lvm)23Read from LVM file

Write to LVM file

Write to LVM file24

Write to Spreadsheet25

2.2 File I/O262.2.1 Save to LVM2.2.2 Save to Spreadsheet

*2.3 Advanced Graphs*2.3.1 Sampling and Reconstruction*2.3.2 Lissajous Curves*2.3.3 Eindhovens Triangle27