Setting up an external stop trigger function for Spider8 with the catman®Professional measurement wizard
An external stop (software) trigger for Spider8 can be easily implemented by modifying the Measurement Wizard.
An external stop (software) trigger for Spider8 can be easily implemented by modifying the Measurement Wizard.
The stop trigger dialogs, known from MGCplus, cannot be used.
This example was made and tested with catman® 3.1.
Following steps are necessary:
- Use a digital input (e.g. Input 0 -> shortcut Pin2 and Pin13).
- Connect a digital channel at the I/O definition (e.g. I/O channel 10 -> Digital IN at hardware channel 8, DIO Bit 0)
- Changes in sub program "logger" (around line 238):
- Define local variable "DigiKanal"
- Read status of digital channel
- Event "STOP", when digital input set (negative logic -> false) REM /////// External Trigger DIO_Rd 10 DigiStatus IF DigiStatus = 0 EVENT = STOP ENDIF
- Changes in sub program "PeriodicMeasurement" (around line 295):
- Define local variable "DigiKanal"
- Read status of digital channel
- Expand IF clause by digital channel (negative logic -> false) REM /////// External Trigger DIO_Rd 10 DigiStatus IF TotalCount >= SampleSize OR DigiStatus = 0
- If using another I/O channel for the digital channel, the script must be modified (DIO_Rd x DigiStatus).


