User's Manual

Table Of Contents
Appendix B – SDK NCL-API and Port Server______________________ Boomer II User Manual & Integrator’s Guide
Copyright Wavenet Technology © November 2003 98 BM210012WT37
Multisession API: If successful this operation will result in the
creation of two MSMQ queues for use by the
client. One MSMQ will be used to send
messages from the VDD to the client and the
other for messages from the client to the VDD.
Note that the client does not deal with MSMQ
queues directly because all operations are
wrapped in API calls. The Multisession API can
only use the VDDOpen call. The VDDOpenPort
function is not available.
Single session API: If successful this operation will result in the
opening of the “com1” serial port if VDDOpen is
used, or the provided serial port if VDDOpenPort
is used.
Prototypes:
int VDDOpen(void)
int VDDOpenPort(char *cPortName) [singlesession API only]
Description:
Opens a session with the VDD.
Input to VDDOpen:
None
Input to VDDOpenPort:
cPortName Null terminated string, naming the com port to use.
For example, “COM2”, “COM11”
Output:
Return value = 0 Operation was successful
Return value 0 Operation failed. Value specifies the error type