« Close

Datasheets and User Guides

Software & Driver

 

3.7 - RPC Configs

LJM uses gRPC to coordinate device connections. This allows LJM to retrieve information about USB-connected LabJack devices.

The below parameters configure LJM RPC behavior.

  • LJM_RPC_HEARTBEAT_PORT
    • Determines the port that LJM uses to coordinate device connections.
    • Default: 50051
    • Windows: cmd command to check if port 50051 is in use: netstat -na | find "50051"
  • LJM_RPC_ENABLE
    • Enables (when true) or disables (when false) RPC communications from a given instance of LJM.
    • Default: true
  • LJM_RPC_TIMEOUT_MS
    • Determines the multi-purpose RPC timeout in milliseconds
    • Default: 1000