Changing [P] parameters at runtime.

Question:

How can P1 to P4 parameters be altered when the application is being executed?

Solution:

If the driver is communicating, you must to the following: stop communication via StopComm() function, edit [P] parameters, and then restart communication via StartComm() function.

Example:

Driver1.StopComm()
Driver1.p1 = 0
Driver1.p4 = 90
Driver1.StartComm()

Print Friendly, PDF & Email

Este artigo foi útil? Was this helpful?

Classificação média - Average rating 0 / 5. Count: 0

Leave a Reply

Your email address will not be published.Required fields are marked *