Jump to content

Warning Limits


Recommended Posts

Hi there

Dos somebody know if it is possible to change the Warning limits for all measuring programs at once, i can change them inside the program via "Resources\measurement plan editor Charateristics" but there is an information in blue " **= from higher setting (Measurement Plan/Group) these settings must be changebel somewhere.

warning limits.jpg

Link to comment
https://qualityforum.zeiss.com/topic/8772-warning-limits/
Share on other sites

I don't think it is possible to change all test plans with one setting in Calypso.
The value is stored in the "inspset" file of the test plans.
Replace the entry #warningLimitCF '->' 100) to your warning limit.
I have changed over 4000 test plans to a different warning limit using the Textcrawler 3 tool.
Link to comment
https://qualityforum.zeiss.com/topic/8772-warning-limits/#findComment-39512
Share on other sites

I never really understand why one would like to install something to preform a task that windows easily can handle by it self? Unless, you need to replace somthing with a complex logic using regex etc...

Anyhow, if you arn't able to install stuff, then make a batch file with this content:
@echo off
set "path=C:\path\to\your\programs"
set "file=inspset"
set "tempfile=filenametemp.txt"

for /r %path% %%F in (*.*) do if "%%~nF" == "inspset" (
	pushd %%~dpF
	(for /f "delims=" %%i in (inspset) do (
		set "line=%%i"
     		setlocal enabledelayedexpansion
      	set "line=!line:#warningLimitCF '->' 100=#warningLimitCF '->' 75!"
     		echo(!line!
	endlocal
   	))>"%tempfile%"
  	del %file%
  	rename %tempfile%  %file%
	)
popd
)
I bet it does the job quicker then any installed programs also.
Link to comment
https://qualityforum.zeiss.com/topic/8772-warning-limits/#findComment-39520
Share on other sites

  • 1 year later...
×
×
  • Create New...