How can we call a .vsq file in canalyzer?

493 Views Asked by At

I'm working on CANalyzer and I want to call a file (.vsq) in it using CAPL. How can we do this?

1

There are 1 best solutions below

0
Shyam On

I can confirm that it is not possible to start/stop a visual sequence directly via CAPL. Only way to automate (control start/stop) a Visual Sequencer is via COM interface.

WORKAROUND
TO START
To start a sequence via CAPL, add a "Wait For" command at the start of the sequence, assign a system variable to it and enable "Start sequence on measurement start". In CAPL, change the system variable as per the condition which you had set to start the visual sequence.

CHECK IF STOPPED
There is no way to stop a visual sequence via CAPL. But you can check if the sequence is running or not by adding a "Set" command at the end of the sequence and keep monitoring if that system variable has changed or not.