Start a LIN scheduler

The name of the scheduler to start

The slot number for the scheduler

The device name to start the scheduler on

The active control array for the scheduler

  • Returns a promise that resolves when scheduler is started
// Start scheduler with all parameters
await linStartScheduler('MyScheduler', 0, 'LinDevice1', [true, false, true, false]);
  • Start a LIN scheduler

    Parameters

    • schName: string

      The name of the scheduler to start

    Returns Promise<void>

    • Returns a promise that resolves when scheduler is started
    // Start scheduler with default settings
    await linStartScheduler('MyScheduler');
  • Start a LIN scheduler

    Parameters

    • schName: string

      The name of the scheduler to start

    • slot: number

      The slot number for the scheduler

    Returns Promise<void>

    • Returns a promise that resolves when scheduler is started
    // Start scheduler with specific slot
    await linStartScheduler('MyScheduler', 0);
  • Start a LIN scheduler

    Parameters

    • schName: string

      The name of the scheduler to start

    • slot: number

      The slot number for the scheduler

    • device: string

      The device name to start the scheduler on

    Returns Promise<void>

    • Returns a promise that resolves when scheduler is started
    // Start scheduler with slot and device
    await linStartScheduler('MyScheduler', 0, 'LinDevice1');