AutomationDirect Technical Support
AutomationDirect | Direct Sales in US and Canada | 1-800-633-0405

Point of View Software Frequently Asked Questions AutomationDirect Logo


Question

How to start and stop communication drivers during the runtime?

Answer


  • Start all drivers configured in the application:

    Syntax: StartTask(“Driver�)

    Example: StartTask(“Driver�)
  • Start a specific driver configured in the application:

    Syntax: WinExec(“BINStudio Manager.exe�+� “+“BINDriver.dll�+� “+ “�)

    For example: WinExec(Asc2Str(34)+“C:Program FilesPoint of ViewBINStudio Manager.exe+ Asc2Str(34)+�
    “+Asc2Str(34)+ “C:Program FilesPoint of ViewBINDriver.dll�+ Asc2Str(34)+� “+Asc2Str(34)+
    “MODBU�+Asc2Str(34))

  • Note: The Asc2Str(34) function is used to concatenate quotation marks for paths where there are space chars.
  • Stop a specific driver configured in the application:

    Syntax: EndTask(“Driver�)

    Example: EndTask(“DriverMODBU�)




      FAQ Subcategory: None

      This item was last updated on 2014-02-07
      Document ID: 1481


      The information provided in the AutomationDirect knowledge base is provided "as is" without warranty of any kind. AutomationDirect disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. In no event shall AutomationDirect or its suppliers be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages, even if AutomationDirect or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion of limitation of liability for consequential or incidental damages so the foregoing limitation may not apply.


Copyright © 1999- AutomationDirect.com. ALL RIGHTS RESERVED