Interfacing to a frame grabber from WiT is simple, and WiT Engine uses the same mechanism. All you need to do is to use a WiT configuration file that includes support for the frame grabber you are using. If you are already using a frame grabber board in WiT and you have saved your WiT configuration then your .Net application will use the same defaults as WiT. You can also set a configuration file to explicitly load support for your frame grabber when WiT Engine is initialized. Use the args parameter of the Init4 method to specify the WiT configuration file you wish to use, e.g.: “-config emu.wrc”.
For this example, add “-showStatus 0” to the args parameter to suppress the WiT status window on startup, so that the application looks more like a standalone program.
|