Device-Specific Property by Vendor Reference


Device-specific properties apply only to hardware devices of a specific type or from a specific vendor. For example, the BitsPerSample property is supported only for sound cards, while the NumMuxBoards property is supported only for National Instruments devices.

The properties are grouped according to these supported vendors:

AdvantechDevice-specific Advantech properties for analog input (AI) and analog output (AO) objects
Measurement ComputingDevice-specific Measurement Computing properties for analog input (AI) and analog output (AO) objects
National InstrumentsDevice-specific National Instruments properties for analog input (AI) and analog output (AO) objects
Parallel PortDevice-specific parallel port properties
Sound CardDevice-specific sound card properties for analog input (AI) and analog output (AO) objects

You can display device-specific properties with the set function. The device-specific properties are displayed after the base properties.

Advantech

Property Name

Description

Device Objects

TransferMode

Specify how data is transferred from data acquisition device to system memory

AI, AO

Measurement Computing

Property Name

Description

Device Objects

OutOfDataMode

Specify how value held by analog output subsystem is determined

AO

TransferMode

Specify how data is transferred from data acquisition device to system memory

AI, AO

National Instruments

Property Name

Description

Device Objects

Coupling

Specify input coupling mode

AI

ExternalClockSource

Specify which signal generates an analog output update across channels

AO

ExternalSampleClockSource

Specify which signal provides clock for sample conversions across channels

AI

ExternalScanClockSource

Specify which signal starts series of conversions across channels

AI

HwDigitalTriggerSource

Specify which signal initiates data acquisition

AI, AO

NumMuxBoards

Specify number of external multiplexer devices connected

AI

OutOfDataMode

Specify how value held by analog output subsystem is determined

AO

TransferMode

Specify how data is transferred from data acquisition device to system memory

AI, AO

Parallel Port

Property Name

Description

Device Objects

BiDirectionalBit

Specify BIOS control register bit that determines bidirectional operation

DIO

PortAddress

Indicate base address of parallel port

DIO

Sound Card

Property Name

Description

Device Objects

BitsPerSample

Specify number of bits sound card uses to represent each sample

AI, AO

StandardSampleRates

Specify whether valid sample rates snap to small set of standard values, or if you can set sample rate to any value within allowed bounds

AI, AO

Getting Command-Line Property Help

To get command-line property help, you should use the daqhelp function. For example, to get help for the sound card's BitsPerSample property:

daqhelp BitsPerSample

You can also get property characteristics, such as the default property value, using the propinfo function. For example, suppose you create the analog input object ai for a sound card and want to find the default value for the BitsPerSample property.

ai = analoginput('winsound');
out = propinfo(ai,'BitsPerSample');
out.DefaultValue
ans =
    16
  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS