User`s guide

2 Automa tion Interface
rtdxchannel
Property rtdxchannel,alongwithnumchannels and proctype,isaread-only
property for the RTDX portion of a link for CCS IDE. To see the value of
this property, use
get with the link. Neither set nor invoke work with
rtdxchannel.
rtdxchannel is a cell array that contains the channel name, handle, and
mode for each open channel for the link. For each open channel,
rtdxchannel
contains three elds, a s follow s:
.rtdxchannel{i,1}
Channel name of the ith-channel, i from 1 to the
number of open channels
.rtdxchannel{i,2}
Handle for the ith-channel
.rtdxchannel{i,3}
Mode of the ith-channel, either 'r' for read or
'w' for write
With four open channels,
rtdxchannel contains four channel elements and
three elds for each channel element.
timeout
Property timeout species how long CCS IDE waits for any process to nish.
Two
timeout periods can exist one global, one local. You set the globa l
timeout when you create a link for CCS IDE. The default global timeout
value 10 s. However, when you use functions to read or write data to CCS
IDE or your processor, you can set a local
timeout that overrides the global
value. If you do not set a specic
timeout value in a read or write process
syntax, the global timeout value applies to the operation. Refer to the help
for the read and w rite functions for the syntax to s et the local
timeout value
for an operation.
version
Property version reports the version number of your RTD X software. When
you create a
ticcs object, version contains a string that reports the version
of the RTDX application that you are using. You cannot change this string.
When you upgrade the API, or CCS IDE, the string changes to m atch. Use
display to see the version property value for a link. This example shows
the
apiversion value for object rx.
2-56