skip to main content
Setting Up the Samples : Setting up an example on Windows
 

Setting up an example on Windows

The following steps provide the process of setting up the schema, building the IP, and configuring the OpenAccessSDK810_C service.
1. Build the IP module:
Open the Visual Studio project under install_dir\ip\oac\example and build the IP module. The projects are configured to place the DLL in the install_dir\ip\bin folder.
*For example1, example2, and example3, the module name is oadamip_example.dll.
*For the memory example, the module name is oadamipmem.dll.
2. Run the OpenAccess SDK Management Console and modify the OpenAccessSDK810_C service to specify the IP module and schema\example as the schema path.
a. Run the OpenAccess SDK Management Console.
b. Expand the OpenAccessSDK810_C service to the IP Parameters folder.
c. Modify ServiceIPModule to oadamip_example.dll (oadamip_example1.dll, for example1). For the memory sample, set this attribute to oadamipmem.dll.
d. Expand the Data Source Settings node:
*Select example for the example1, example2, or example3 example.
*Select memory for the memory example.
e. Select the IP Parameters folder.
f. Modify DataSourceIPSchemaPath to install_dir\ip\schema\example, where example is replaced by example1, example2, example3, or memory.
g. Save the settings and restart the OpenAccessSDK810_C service.
3. From an OpenAccess SDK client, connect to the IP module you have just built:
*Use the example data source for example1, example2, or example3. These IP examples do not require a user name and password.
*Use the memory data source to connect to the memory sample. memory requires the user name pooh and the password bear.