• Run a UDS sequence.

    Existing calls runUdsSeq(name) and runUdsSeq(name, device) are unchanged. Pass an options object, or a device name plus options, to receive progress for each enabled item.

    Parameters

    • seqName: "{{{udsSeqName}}}"

      The name of the UDS sequence to run (TesterName.SequenceName)

    • Optionaldevice: string

    Returns Promise<void>

    • Resolves when the sequence completes, rejects when it fails
    // Run a UDS sequence
    await runUdsSeq('Tester.Seq0');

    // Run sequence on a specific device
    await runUdsSeq('Tester.Seq0', 'Device1');

    // Report the item that is running and the overall percentage
    await runUdsSeq('Tester.Seq0', {
    onProgress(info) {
    console.log(`${info.phase} ${info.index + 1}/${info.total} ${info.name} ${info.pct}%`);
    }
    });

    await runUdsSeq('Tester.Seq0', 'Device1', {
    onProgress(info) {
    console.log(info.serviceId, info.pct);
    }
    });
  • Run a UDS sequence.

    Existing calls runUdsSeq(name) and runUdsSeq(name, device) are unchanged. Pass an options object, or a device name plus options, to receive progress for each enabled item.

    Parameters

    • seqName: "{{{udsSeqName}}}"

      The name of the UDS sequence to run (TesterName.SequenceName)

    • Optionaloptions: RunUdsSeqOptions

      Options when deviceOrOptions is a device name

    Returns Promise<void>

    • Resolves when the sequence completes, rejects when it fails
    // Run a UDS sequence
    await runUdsSeq('Tester.Seq0');

    // Run sequence on a specific device
    await runUdsSeq('Tester.Seq0', 'Device1');

    // Report the item that is running and the overall percentage
    await runUdsSeq('Tester.Seq0', {
    onProgress(info) {
    console.log(`${info.phase} ${info.index + 1}/${info.total} ${info.name} ${info.pct}%`);
    }
    });

    await runUdsSeq('Tester.Seq0', 'Device1', {
    onProgress(info) {
    console.log(info.serviceId, info.pct);
    }
    });
  • Run a UDS sequence.

    Existing calls runUdsSeq(name) and runUdsSeq(name, device) are unchanged. Pass an options object, or a device name plus options, to receive progress for each enabled item.

    Parameters

    • seqName: "{{{udsSeqName}}}"

      The name of the UDS sequence to run (TesterName.SequenceName)

    • device: string
    • Optionaloptions: RunUdsSeqOptions

      Options when deviceOrOptions is a device name

    Returns Promise<void>

    • Resolves when the sequence completes, rejects when it fails
    // Run a UDS sequence
    await runUdsSeq('Tester.Seq0');

    // Run sequence on a specific device
    await runUdsSeq('Tester.Seq0', 'Device1');

    // Report the item that is running and the overall percentage
    await runUdsSeq('Tester.Seq0', {
    onProgress(info) {
    console.log(`${info.phase} ${info.index + 1}/${info.total} ${info.name} ${info.pct}%`);
    }
    });

    await runUdsSeq('Tester.Seq0', 'Device1', {
    onProgress(info) {
    console.log(info.serviceId, info.pct);
    }
    });