Hi,
I have created a driver for WinCC0A and i want to use internal datapoints. I have already created the internal datapoints
in Para module following the example of SampleDriver.I initialized the values. I was also inspired by SampleDriver for implementing the functions of DrvIntDp(getDpName4Query,answer4DpId,hotLink2Internal)
I have carefully defined the variables maxConnect(number of DPE i will connect to) and maxDp(the total number of DPE).
But i have the following error:
(see attachement)
I discovered that the error comes from this line in the MyDrvRessources.cxx -> isReadyToConnect() -> if(idp_.getState() == DrvIntDp::Ready)
Indeed, DrvIntDp::Ready =FALSE at least one time during execution.
Any suggestions to fix it?
Thanks.
Add internal datapoint to driver
- ange.ogawin
- Posts:18
- Joined: Thu Mar 14, 2019 10:51 am
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: Add internal datapoint to driver
If you want to implement an own driver based on the API toolkit we suggest to attend a WinCC OA API training. During the training you learn how to create a driver and how to handle internal datapoints and data send to/received from a device.
If you are interested in a training please get in contact with your common WinCC OA support.
Best Regards
Leopold Knipp
Senior Support Specialist
If you are interested in a training please get in contact with your common WinCC OA support.
Best Regards
Leopold Knipp
Senior Support Specialist
- ange.ogawin
- Posts:18
- Joined: Thu Mar 14, 2019 10:51 am
Re: Add internal datapoint to driver
Thanks you for the answer.