Custom Driver

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
3 posts • Page 1 of 1
jeissonsierrac
Posts:62
Joined: Wed Jun 03, 2015 9:37 pm

Custom Driver

Post by jeissonsierrac »

Hello

I´m trying to develop a NTCIP Driver and I would like to have some information and examples about creating a custom driver for guide me

Thanks

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: Custom Driver

Post by leoknipp »

Hello,

when installing the API-toolkit for WinCC OA you will find a directory "SampleDriver" which is an example for an own driver. In this directory you will also find a README or README.NT file with a short description how the driver is working.
If you are not familiar how to use the WinCC OA API you can get an API training. For details concerning trainings and workshops please get in contact with your common WinCC OA sales contact.

Best Regards
Leopold Knipp
Senior Support Specialist

fmulder
Posts:330
Joined: Wed Feb 03, 2010 9:46 am

Re: Custom Driver

Post by fmulder »

It is not wise to start witha driver when you're not familiar with the API. The LAP section should an X-File to write a Control DLL. A control DLL is the easiest way to start playing with the API. Then step up and try to write a C++ manager and learn how dpSet()'s and dpConnect()'s work

A driver is an asynchronous thing. You can't just do a delay but need to think as a 'state machine'.

So my advise:
* Start with a control DLL
* Then realise that API is not simple and consider a workshop
* Then play with C++ managers
* Then start your driver

You can do a lot wrong in C++

Good luck

Frenk

3 posts • Page 1 of 1