Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
LabVIEW-Measurements.pdf
Скачиваний:
61
Добавлен:
29.05.2015
Размер:
3.37 Mб
Скачать

Chapter 3 Installing and Configuring Your Measurement Hardware

physical quantity you are measuring, the sensor or actuator you are using, and the associated DAQ hardware.

As you configure channels in the DAQ Channel Wizard, you give each channel configuration a unique name that is used when addressing your channels in LabVIEW. The channel configurations you define are saved in a file that instructs the NI-DAQ driver how to scale and process each DAQ channel by its name. You can simplify the programming required to measure your signal by using the DAQ Channel Wizard to configure your channels.

Assigning VISA Aliases and IVI Logical Names

On Windows, you can assign meaningful VISA Aliases and IVI Logical Names to your instruments that you control using VISA and IVI. Assign VISA Aliases in the Devices and Interfaces section in Measurement & Automation Explorer. Configure IVI Logical Names in the IVI section in Measurement & Automation Explorer. The aliases and logical names can be used in your LabVIEW application development to refer to your instrument. For example, you can assign the alias scope to the port that has a scope connected to it. Refer to Part IV, Instrument Control in LabVIEW, for more information about communicating with special purpose instruments.

On UNIX, you can set VISA Aliases to make VISA resource names easier to remember by running visaconf.

Configuring Serial Ports on Macintosh

Launch the VISA Find Resource function, available on the Functions» Instrument I/O»VISA»VISA Advanced palette. When you launch this function, new ports are automatically detected and assigned VISA resource names.

Configuring Serial Ports on UNIX

Run visaconf. Click the Add Static Resource button and create a new resource name, such as ASRL99::INSTR. Then fill in the remaining fields.

LabVIEW Measurements Manual

3-4

www.ni.com

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]