Change OPC DA driver number in a scripts

Discussion about recent product features & solutions!
4 posts • Page 1 of 1
dceballos
Posts:2
Joined: Wed Sep 26, 2018 9:28 am

Change OPC DA driver number in a scripts

Post by dceballos »

Is it possible to change the driver number of an OPC DA at runtime in a script? Thanks

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

Re: Change OPC DA driver number in a scripts

Post by leoknipp »

Is your question related to the driver number defined at the _distrib config (within the _address configuration panel)?
Or is related to the driver number defined when starting the OPC DA client (progs file)?

Best Regards
Leopold Knipp
Senior Support Specialist

dceballos
Posts:2
Joined: Wed Sep 26, 2018 9:28 am

Re: Change OPC DA driver number in a scripts

Post by dceballos »

Good Morning. Already solved. It was _distrib. Thank you so much.

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

Re: Change OPC DA driver number in a scripts

Post by leoknipp »

Plesase take into account that you have to configure all driver related configs (_address, _smooth, _cmd_conv, _msg_conv) again if you have the driver number for the ´_distrib config.
Only those configs which you have added before you need to reconfigure.

Best Regards
Leopold Knipp
Senior Support Specialist

4 posts • Page 1 of 1