
4Introduction
1.2.2 Analog Input Commands
1.2.2.1 analoginput
Description
Create an analog input object
Syntax
ai = analoginput('mwadlink', id)
Returned Value
ai Analog input object
Arguments
id Card ID
Notes
daqhwinfo('mwadlink') can be used to check the card ID of an
ADLINK DAQ within the system
1.2.2.2 addchannel
Description
Adds a specific analog input channel to the analog input object
Syntax
chans = addchannel(obj, hw_ch)
Returned Value
chans Analog input channel object
Arguments
obj Analog input object
hw_ch Added channel
1.2.2.3 getdata
Description
Return the data acquired from the analog input object
Syntax
data = getdata(obj)
Komentáře k této Příručce