probe_basic icon indicating copy to clipboard operation
probe_basic copied to clipboard

Add Probe protection subroutine for wireless probes

Open Alexfehr1987 opened this issue 2 years ago • 0 comments

Currently in Probing routines its just checked if the Probe is in the Machine, but not if its "connected". Especially for Wireless Probes a check would save tips. I solved this by adding a probe protection subroutine in every probing routine, which checks if the connection is established and pauses the programm if its not connected:

o<probe_protection> sub #<probe_error_pin> = #5399 M66 P0 (Probe Protection) o100 while[#<probe_error_pin> EQ 1] (MSG, Probe not active!) M0 M66 P0 #<probe_error_pin> = #5399 o100 endwhile o<probe_protection> endsub M2 (end program)

Maybe something like this can be added to the routines in the future

Alexfehr1987 avatar Apr 30 '23 20:04 Alexfehr1987