Skip to main content
Home
ComScript Manual

Search form

Main menu

  • Home
  • collect

You are here

Home » ComScript Manual » Commands » Device Communication
  • ComScript Manual
    • What is ComScript
    • Profiles
    • Device and Connection Types
    • Commands
      • Profile setup
      • Device Communication
        • canconnect
        • closeport
        • collect
        • send
        • setdevice
      • Data Parsing and Testing
      • Email and File Transfer
      • File Handling Operations
      • File Read and Write
      • General
      • Hex and Decimal Conversion
      • Loops and Conditional Expressions
      • Math
      • Time, Date and Timing
      • Variables
    • Profile Editor
    • Variables
    • Data Parsing
    • Data Interface
    • Arrays
    • Binary and Hex Comms
    • Timing and Intervals
    • Execution speed
    • Terminal Emulator
    • Support

canconnect

canconnect

Attempts to connect to a device. Sets variable to True if connection is successful, False otherwise

Attributes:

var: the variable to store the result in
device: the name of the device

Example:

 <canconnect var="isconnected" device="MyDevice" />

‹ Device Communication up closeport ›
Powered by Drupal