Documentation for Detector Pack 2.7. Documentation for other versions of Detector Pack is available too.

Previous page Next page


You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Fluid level detection is operated in the Vehicle tracer interface window which is the part of the Auto-Intellect software. For details on operation of this object refer to the Auto-Intellect. Operator's Guide (the most relevant versions of this document is available in the AxxonSoft documentation repository).

The value of fluid level is also displayed as captions over the corresponding camera video. In addition, a script can be created that allows drawing a vertical line on the video image in the Surveillance Window, showing the level of the fill:

 

For details on scripts refer to the Intellect software. Programming Guide (JScript) (the most relevant versions of this document is available in the AxxonSoft documentation repository).

Script text is given below. After copying, replace cam (camera identifier) and x1, x2, y1, y2 parameters with actual values.

 

if(Event.SourceType == "FLUID_DETECTOR" && Event.SourceId == "1" && Event.Action == "FLUID_ACTION") 
{
 var L = Event.GetParam("param0");
 L=100-L*100; //the L parameter sets the line height
 DoReactStr("MONITOR","","SET_MARKRECT","cam<"+cam+">,color<255>,id<"+cam+">,x1<"+x1+">,x2<"+x2+">,y1<"+L+">,y2<"+y2+">");
 //  координаты x1, x2, y1, y2 set line position in the Surveillance window
}

  • No labels