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

setdevice

setdevice

Sets the current device to be used for data transmission.  Automatically replaces previously set device.
A device must be set before attempting any communication.

Attributes:

name: the name of a device previously declared in the profile

Example:

 <setdevice name="MyDevice" />

‹ send up Data Parsing and Testing ›
Powered by Drupal