.NET

Fast, Real-Time, High-Speed Data Server Components


KINETICART.SERVERS.USING SERVER COMPONENTS

KineticaRT Server components are all based on Windows .NET objects and may be used anywhere .NET objects may be used. The following text describes how to use them within Microsoft Visual Studio. The KineticaRT Simulate library is used as an example throughout.

Installing the Controls

To install a component, run its installer (setup application) which is available on the KineticaRT web site at http://www.kineticart.co.uk.

This will install the executable code into the selected installation directory; typically "C:\Program Files\KineticaRT Ltd\KineticaRT.Servers.Simulate"

At this point, the component is unlicensed. Most of the KineticaRT Components require a design time license. You will be asked to enter this the first time you attempt to build your product. If you enter an incorrect license code or no code at all, most components will not work and you will receive a license exception when you run your application. The Simulate library is free.

Using Microsoft Visual Studio - Visual Basic or C#

Making the component available

The component must be added to your projects references list by right clicking on the project and selecting "Add Reference". To use the Simulate library, the following two files must be added:

  • KineticaRT.dll
  • KineticaRT.Logic.Simulate.dll

Creating an object

Create a new object within your code and assign it to a variable.

C# example:

MySineWave = new KineticaRT.Simulate.SineWave () ;

Configuring the object

Set the properties of the object.

C# example:

MySineWave.Period = 5 ;

Making use of the object

If you read the Value property of the SineWave object, you will find that it will be changing over time. To see the sinewave clearly you should connect it to one of the KineticaRT Controls such as the Dial Control. See Using KineticaRT Controls for details. You may also use it with KineticaRT Logic components such as the Expression component. See Using KineticaRT Logic for details.