VizToolkit – Sample Application by Hormon

I’ve created simple application using VizToolkit controls library. Project files are avaible for download in our Download section. I decided to share both Visual Studio 2005 and Visual Studio 2008 projects. They are both included in a package. I hope this will help you to get started.

VizToolkit Sample App

VizToolkit Sample App

This simple application allows user to connect to viz|engine on local machine (localhost) and send commands. It also displays responses from viz.

If you have any problems running this example or any questions regarding it – please feel free to place a comment under this post entry. I will try to answer to all of them.

5 Comments

HannesMarch 25th, 2009 at 17:13

check the vizSend.exe in you viz program folder ;-)

HormonMarch 25th, 2009 at 22:22

:-) I know that. The point of this app was to show how easy it is to use VizToolkit controls in any external control application. This simple example just shows several mechanisms and proper usage of these controls.

Regards

cmdcnnJanuary 28th, 2010 at 22:34

How about controlling a remote VizRt engine? I don’t see the server name or port number being set on the code or configuration files…

cmdcnnJanuary 28th, 2010 at 22:35

Never mind, I just did!

HormonJanuary 29th, 2010 at 10:59

Glad to hear you worked it out for yourself. As I recall in this particular example both VizMachine and VizPort were set in designer window, so the code for this is placed in “Form1.Designer.cs” file. You can of course set this programatically. One thing you should be aware of though is when you set new VizMachine or VizPort property of VizConnection component, and connection to VizMachine is established it would probably be closed. In my projects I always make sure new new viz machine is being assigned only when connection to previous machine is closed. This way I can be sure no unexpected exceptions are triggered.

Leave a comment

Your comment