The name of the UDS sequence to run (TesterName.SequenceName)
Optionaldevice: string// 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.
The name of the UDS sequence to run (TesterName.SequenceName)
Optionaloptions: RunUdsSeqOptionsOptions when deviceOrOptions is a device name
// 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.
The name of the UDS sequence to run (TesterName.SequenceName)
Optionaloptions: RunUdsSeqOptionsOptions when deviceOrOptions is a device name
// 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)andrunUdsSeq(name, device)are unchanged. Pass an options object, or a device name plus options, to receive progress for each enabled item.