34
Argus Encoder Family Version 2.6 API Developer’s Guide
Properties Exposed Through IVTRCenter
There are two access methods,
Get()
and
Put()
, available for this property. The
Get()
method queries the tape deck to determine the current setting of its out-
point. It returns the retrieved value to the calling application. The
Put()
method
accepts time code as an argument, sending a command to the tape deck to set
its out-point or mark-in to that value.
Where val is defined as a
_bstr_t
, the
Get()
and
Put()
methods for MarkOut
are called as follows:
val = m_IVtr->GetMarkOut();
m_IVtr->PutMarkOut(val);
TapeInserted –
This property, a BOOL, determines whether or not there is a tape
inserted in the tape deck. The single access method available for this property
is
GetTapeInserted()
. It returns a value of 1 if there is a tape inserted, 0 if there
is not.
TimeStamp –
This property, a BSTR, represents the time stamp currently on the
tape deck. Its format is “hh:mm:ss:ff.” For example, a time stamp of
“01:02:03:04” translates as 1 hour, 2 minutes, 3 seconds, and 4 frames. There
is a single access method available for this property. Where val is defined as a
_bstr_t
, the access method is:
val = m_IVtr->GetTimeStamp();
Calling
GetTimeStamp()
prompts the VTR component to query the tape deck
for the current time code, which the
Get()
method then returns.
VTRRemoteMode –
This property, a BOOL, determines whether the encoder is
set to local or remote mode. There is a single access method available for
VTRRemoteMode. Where val is defined as a BOOL, the access method is:
val = m_IVtr->GetVTRRemoteMode();
Calling the
Get()
method prompts the VTR component to query the tape deck
as to whether it is in remote or local mode. The method returns 1 if the tape
deck is set to remote-control mode, or to 0 if the deck is set to local-
control mode.
VTRType –
This property, a long, indicates the type of protocol used to commu-
nicate with the tape deck. Both
Get()
and
Put()
methods are available to access
VTRType. The
Get()
method returns a long, and the
Put()
method accepts a
long as an argument.
Currently the only supported value for this property is SONY9_PIN(0).