4. DAQ, petla while.pdf
(
1055 KB
)
Pobierz
Microsoft Word - 4. DAQ, petla while.doc
Warszawa, 2003
Akwizycja danych w LabVIEW
Tradycyjne NI-DAQ
Określone VI do
obsługi:
•wejść analogowych
•wyjść analogowych
• we/wy cyfrowych
• liczników
NI-DAQmx
Następna generacja
driverów:
• VI do wykonywania
zadań
• Jeden zestaw VI do
wszytkich typów
pomiarów
Politechnika Warszawska, Wydział Inżynierii Produkcji, Instytut Technologii Maszyn
The Data Acquisition palette in LabVIEW contains a palette for traditional NI-DAQ and one for
NI-DAQmx.
Traditional VIs are divided by the type of measurement; DAQmx VIs are divided by the type of
task.
You must complete several steps before you can use the Data Acquisition VIs. The devices should
be configured for the computers in this class.
NI-DAQ software must be installed on the computer
You must have installed an E-series DAQ board and configured it using Measurement &
Automation Explorer (MAX).
For more information on installing and configuring National Instruments hardware, consult the
DAQ Quick Start Guide:
http://digital.ni.com/manuals.nsf/websearch/E502277FE33ED60686256B3B0056AEDF?OpenDocu
ment&node=132100_US
Tradycyjny NI-DAQ - woltomierz
Politechnika Warszawska, Wydział Inżynierii Produkcji, Instytut Technologii Maszyn
Tradycyjny NI-DAQ – symulowany
woltomierz
All Functions>Time&Dialog>Tick Count
Politechnika Warszawska, Wydział Inżynierii Produkcji, Instytut Technologii Maszyn
Ponieważ nie dysponujemy czujnikiem temperatury i kartą DAQ, stwórzmy symulator próbkowania
jednego kanału.
Wykorzystaj funkcję
Tick Count
z palety
All Functions/Time&Dialog.
Stwórz ikonę kopiując wzór z
AI Sample Channel
Nie zapomnij o konektorze
Zapisz jako
AI Sample Channel Demo.vi
i zastąp nim
AI Sample Channel
w przyrządzie
WoltomierzTradycyjny.vi
, zapisz jako
WoltomierzTradycyjnySym.vi
„Ekspresowe” VI z DAQ Assistant
Politechnika Warszawska, Wydział Inżynierii Produkcji, Instytut Technologii Maszyn
You can launch the DAQ Assistant in several ways. Complete the following steps to launch the
DAQ Assistant from a LabVIEW block diagram.
1. Open LabVIEW and create a New VI. Switch to the block diagram (Ctrl+E).
2. The DAQ Assistant Express VI is located in the
Input
subpalette of the
Functions
palette. Place
the DAQ Assistant on the block diagram by dragging and dropping it from the Functions palette.
The Assistant should automatically launch when you drop the VI on the diagram.
When you place this Express VI on the block diagram, the DAQ Assistant launches to create a new
task. After you create a task, you can double click the DAQ Assistant Express VI in order to edit
that task. For continuous measurement or generation, place a while loop around the DAQ Assistant
Express VI.
DAQ Assistant - konfiguracja
Politechnika Warszawska, Wydział Inżynierii Produkcji, Instytut Technologii Maszyn
DAQ Assistant – możliwe opcje
Politechnika Warszawska, Wydział Inżynierii Produkcji, Instytut Technologii Maszyn
Plik z chomika:
darekisap
Inne pliki z tego folderu:
1. Podstawy, panel czolowy.pdf
(1133 KB)
2. Diagram, funkcje palety narzedzi.pdf
(831 KB)
3. Tworzenie VI, subVI, debugging.pdf
(689 KB)
4. DAQ, petla while.pdf
(1055 KB)
5. Petla for, przebiegi czasowe, struktury, wzory.pdf
(913 KB)
Inne foldery tego chomika:
3 - Moeller - programy, poradniki
4 - Schneider Electric - DTR, programy do SEPAM, EVOLIS, LF
5 - SIEMENS - LOGO !
7 - ALSTOM AREVA - DTR, programy
8 - Legrand
Zgłoś jeśli
naruszono regulamin