hexagon logo

Skipping TIP command through SELECT/CASE.

I am experimenting with running a single program on two different machines. When the two machines have different probes and styli, I thought I'd be able to select probe and stylus angle depending on the machine. This turns out not to be the case when considering the following block of code. PC-DMIS will run each tip command, even though it should skip to CASE/1 and only run TIP/T1A60B0. The same behavior occurs when using IF_GOTO statements instead of SELECT/CASE. Does anybody know of a workaround?

ASSIGN/VAR=1

SELECT/VAR

CASE/0
LOADPROBE/PROBE1
TIP/T1A45B0
END_CASE

CASE/1
LOADPROBE/PROBE2
TIP/T1A60B0
END_CASE

END_SELECT
Parents Reply Children
No Data