(Page 3 of 7 in this chapter)


2.2 Setting Up the CT Access Environment

Note: Before using NaturalText, make sure NaturalText firmware files are loaded to Diva daughterboards. For more information, refer to the NaturalText Installation Manual.
To initialize the CT Access environment prior to calling NaturalText functions, perform the following steps:

  1. Initialize CT Access by running ctainitialize.

    
    
  2. Create queues for CT Access events with the ctaCreateQueue function.

    
    
  3. Use the function ctaCreateContext to create CT Access contexts and obtain CT Access context handles (ctahds).

    
    
  4. Attach processing resources to returned CT Access handles by calling ctaOpenServices.

    
    Note:  The function ctaOpenServices can be used to open one service or multiple services. You can open several services at once by passing an array of service names or calling ctaOpenServices multiple times. However, only one instance of the TTS service can be opened on a particular CT Access context handle (ctahd) at a given time.
    
For more information about starting services with CT Access functions refer to the CT Access Function Reference Manual.



(Page 3 of 7 in this chapter)


tech_support@nmss.com
Copyright © 1997, Natural MicroSystems, Inc. All rights reserved.