beautypg.com

Srcs, Types, Channels – Measurement Computing DAQFlex User Guide User Manual

Page 81

background image

DAQFlex Software User's Guide

DAQFlex Message Reference – Reflection messages – AO

81

SRCS

Set the edge trigger type.
Message

"@AITRIG:SRCS"

Response

"AITRIG:SRCS=implementation>value"

implementation FIXED%, PROG% (programmable), HWSEL% (hardware selectable),

or not specified if value is NOT_SUPPORTED

value

HW/DIG, HW/ANLG, or returns NOT_SUPPORTED if the device
doesn't support triggering analog input scans.

Example

"AITRIG:SRCS=PROG%HW/DIG,HW/ANLG"

TYPES

Get the types of trigger sensing that are supported by the device.
Message

"@AITRIG:TYPES"

Response

"AITRIG:TYPES=implementation>value"

implementation FIXED%, PROG% (programmable), HWSEL% (hardware selectable),

or not specified if value is NOT_SUPPORTED

value

/ or returns NOT_SUPPORTED if the device
doesn't support triggering analog input scans.

type

EDGE, LEVEL

condition

RISING, FALLING, if type is EDGE.

HIGH, LOW if type is LEVEL.

Example

"AITRIG:TYPES=PROG%EDGE/RISING,EDGE/FALLING"

AO

Gets the analog output properties of a device.

Properties

CHANNELS, FACCAL, MAXCOUNT, MAXRATE, OUTPUTS, RANGES, SELFCAL

CHANNELS

Get the number of analog output channels on a device.
Message

"@AO:CHANNELS"

Response

"AO:CHANNELS=<implementation>value"

implementation

FIXED%, PROG%, or not specified if value is NOT_SUPPORTED

value

The number of D/A channels on a device, or returns

NOT_SUPPORTED if the device doesn’t support analog output.

Example

"AO:CHANNELS=FIXED%4"