011-0131-01 rev a speed sensor ii users manual

26
Applied Concepts, Inc. 2609 Technology Drive Plano, Texas 75074 972-398-3780 Stalker Speed Sensor II User’s Manual 011-0131-01 rev. A

Upload: others

Post on 07-Dec-2021

21 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 011-0131-01 rev A SPEED SENSOR II USERS MANUAL

 

 

              

                  

Applied Concepts, Inc. 2609 Technology Drive Plano, Texas 75074 972-398-3780

Stalker Speed Sensor II User’s Manual 011-0131-01 rev. A

Page 2: 011-0131-01 rev A SPEED SENSOR II USERS MANUAL

 

    Speed Sensor II User’s Manual 

  2 

Regulatory Statement 

  

Note: This equipment has been tested and found to comply with the limits for a Class A digital device, pursuant to part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment. This equipment generates, uses, and can radiate radio frequency energy and, if not installed and used in accordance with the instruction manual, may cause harmful interference to radio communications. Operation of this equipment in a residential area is likely to cause harmful interference in which case the user will be required to correct the interference at their expense.

Changes or modifications not expressly approved by Applied Concepts, Inc. could void the user's authority to operate the equipment.

 

 

Not intended or approved for Law Enforcement use in the United States. 

 

 

 

Stalker/Applied Concepts

2609 Technology Drive Plano, TX 75074 USA

1-800-STALKER

(972) 398-3750 Sales / (972) 398-3751 Fax

www.stalkerradar.com 

Page 3: 011-0131-01 rev A SPEED SENSOR II USERS MANUAL

 

    Speed Sensor II User’s Manual 

  3 

TableofContents1  Introduction .......................................................................................................................................... 4 

2  Connecting the Speed Sensor to the PC ............................................................................................... 4 

3  PC Application ....................................................................................................................................... 5 

3.1  LoadingtheDeveloper’sKitCD .................................................................................................. 5 

3.2  PollingforSpeedSensorID ........................................................................................................ 5 

3.3  TroubleshootingCommunicationIssues ................................................................................... 6 

4  Configuring the Speed Sensor ............................................................................................................... 7 

4.1  ReadingtheCurrentConfiguration ............................................................................................ 9 

4.2  ChangingandSavingtheConfiguration ................................................................................... 10 

4.3  ConfigurationSettings............................................................................................................... 12 

4.4  ChangingtheBaudRate ............................................................................................................ 12 

4.5  DefaultSettings .......................................................................................................................... 12 

4.5.1  FactoryDefaults ................................................................................................................. 12 

4.5.2  ConfigurationFileDefaults ............................................................................................... 13 

4.6  PrintingSettingValues .............................................................................................................. 14 

4.7  DemoApplicationSoftKeys ..................................................................................................... 14 

4.8  Fork Test ...................................................................................................................................... 15 

4.9  MonitoringSpeedData ............................................................................................................. 16 

4.10  LoggingSpeedData ................................................................................................................... 18 

5  Configuring the Stalker Dashboard Application .................................................................................. 19 

5.1  ApplicationControlFile ............................................................................................................ 20 

5.2  Speed Sensor Configuration File ................................................................................................. 21 

5.3  Softwareupdates ....................................................................................................................... 24 

6  FCC Requirements ............................................................................................................................... 26 

Page 4: 011-0131-01 rev A SPEED SENSOR II USERS MANUAL

 

    Speed Sensor II User’s Manual 

  4 

1 IntroductionAppliedConceptsprovidesaSensorstartupkitthatincludescablesandPCsoftwarethatcanbeusedtoquicklyconnectasensoruptoaPCfortestingandconfiguringthesensor.Thesenorhasmanyconfigurationsettingthatcanbealteredbytheusertooptimizethesensorperformancefortheirparticularapplication.Forthedetailsontheconfigurationregisters,thereuseandtheirsettingrefertotheSpeedSensorIITechnicalGuide.

2 ConnectingtheSpeedSensortothePCBeforeconnectingthesensortothePCbesuretocheckwhichtypeofconnectionyouwanttomake.ThesensorscanbeconnectedusingeitheraRS‐232portorRS‐485port.Thedeveloper’skitwillshipwithacableforoneortheotherdependingonwhichkittheuserordered.IfthekitbeingusedistheRS‐232versionitcanbeconnecteddirectlytoaPC.IfthePCdoesnothavea9pinserialportconnectortheyyouwillneedtouseaUSBtoserialconvertorwhichareavailableatmoststoressellingcomputersupplies.Steps:

ConnectthePower/DatacabletotheSpeedSensor. ConnecttheRS‐485toRS‐232convertertotheDB9connectorifitisaRS‐485cable. ConnecttothePCusingtheprovidedserialcable.Thisisa“straight‐through”serial

cable.(Donotreplaceitwitha“nullmodem”cablewhichwillswapthetransmitandreceivewires).

ConnecttopowerbypluggingthepoweradapterintotheAClineandthenplugthepowerconnectorintothePower/Datacable.IfusingtheDCpowercable,thenplugthecigaretteplugintoa12VDC(nominal)powersupply.

Page 5: 011-0131-01 rev A SPEED SENSOR II USERS MANUAL

 

    Speed Sensor II User’s Manual 

  5 

3 PCApplication

3.1 LoadingtheDeveloper’sKitCDInserttheDeveloper’sKitCDinyourPC,andtheautomaticinstallershouldbeginwithinafewseconds.Allowtheinstalltocompletenormallybyclickingonthepromptsfordefaultinstallation.TheprocessinstallsthefollowingitemsonyourPCunderC:\ProgramFiles\Stalkerandincludes:

StalkerDashboardapplicationthatcanbeusedtoconfigure,monitorandcontrolSpeedSensors.

A.pdfversionofthismanual. SpecificationsforeachoftheSpeedSensormodels. Configurationfilesforeachofthemodels. Cabledrawingsforreference.

TheinstallationprocessalsocreatesashortcuticononthedesktopfortheDashboardapplication.SeveralshortcutstotheinstalleditemsarecreatedundertheStalkertabintheWindowsStartMenu.

3.2 PollingforSpeedSensorIDOncethesensorisconnectedtothePCandpowerisconnected,double‐clicktheStalkerDashboarddesktopicontostartthedemoapplication.Themainscreenbelowappears.

PlacethemousepointerovertheSlogoandarolloverpopupmessagedisplaystheversionofcodeloadedintheSpeedSensor(e.g.Stationary232Ver:2.0.0).Thedisplayofthisversionisassurancethattheunitispoweredandcommunicatingsincetheapplicationmustpollittofindoutthisinformation

Page 6: 011-0131-01 rev A SPEED SENSOR II USERS MANUAL

 

    Speed Sensor II User’s Manual 

  6 

3.3 TroubleshootingCommunicationIssuesIftheversionisblankwhentheSpeedSensorispolledasabove,theunitisnotcommunicatingwiththePC.TheproblemcouldbeapowerproblemwiththeSpeedSensororacommunicationlinkproblembetweenthePCandSpeedSensor.

Forsuspectedcommunicationlinkproblemsortochangetheserialportorthebaudrate,clickon“Options”inthemainscreenandselect“ChangeSerialPortSettings”fromthepull‐downmenu.

ChangethePortsettingtomatchthePC’sserialportbeingusedbytheDashboardapplicationandtheBaudratetomatchthebaudratesettingintheSensor.

 

Page 7: 011-0131-01 rev A SPEED SENSOR II USERS MANUAL

 

    Speed Sensor II User’s Manual 

  7 

4 ConfiguringtheSpeedSensor

Whenviewingthemainscreenofthedemoapplication,thenameofaconfigurationfileisdisplayedinthetitlebar(e.g.[ConfigureStationary2322.0.0.cfg]).ThisfiledefinesalloftheconfigurablesettingsthatareavailableonaparticularmodelofSpeedSensor.Sincefeaturesandsettingsareaddedandchangedindifferentversionsofsoftware,thefilenamealsoincludestheversion(2.0.0)thatthefile’ssettingsapplyto.Theexamplesinthismanualareforagenericversionofthespeedsenor.Ifyouaretestingaspecificversionofthesensoryoumayneedtochangetoaconfigurationfilesentwiththatspeedsensorforthesystemtoworkproperly.Ifyouareusingadifferentversionofthespeedsensor,withadifferentconfigurationfile,notalloftheoptionsshownheremaybeavailable.Refertothatsensor’sspecificmanualforitsuniqueconfigurationcontrols.

Ifthefilenameisforadifferentunit,openalistofotheravailableconfigurationfilesbyselecting“SelectNewStartupConfigFile”fromtheConfigpull‐downmenu.

Thedialogboxonthenextpagewillopenandallowforaselectiontobemade.ItisimportantthatthemodelandsoftwareversionintheconfigurationfilenamematchthemodelandversionintheProductID.ThedialogboxwillcontaintheSensormodelandcurrentsoftwarerevisioninthebluetitlebar.

Page 8: 011-0131-01 rev A SPEED SENSOR II USERS MANUAL

 

    Speed Sensor II User’s Manual 

  8 

Ifthereareno.cfgfilesinthelist,makesurethe“Lookin”windowissetfortheConfigurationUtilitiesfolderunderC:\ProgramFiles\Stalker–thestandardinstallationlocationforthesefiles,orC:\ProgramFiles(x86)\Stalkerfora64bitOS.Ifthecorrectfileisstillunavailable,alowerversionnumberforthatmodelwillwork,butitmaynotprovideaccesstonewerfeatures.ThematchingconfigurationfileisalwaysavailablefromStalker.Contactussowecansendittoyou.

Page 9: 011-0131-01 rev A SPEED SENSOR II USERS MANUAL

 

    Speed Sensor II User’s Manual 

  9 

4.1 ReadingtheCurrentConfigurationFromtheConfigpull‐downmenu,select“EditFirmwareValues”.TheapplicationwillpolltheSpeedSensortoreadallthesettingsdefinedintheconfigurationfileandthendisplaytheConfigurationwindowbelow.

Thesettingsaregroupedbytypeandthedifferenttypescanbeselectedbyclickingontheappropriatetab.Moretabscanbemadevisiblebyclickingontheleftandrightarrowsnexttothelasttabontheright.

Page 10: 011-0131-01 rev A SPEED SENSOR II USERS MANUAL

 

    Speed Sensor II User’s Manual 

  10 

4.2 ChangingandSavingtheConfigurationThesettingsintheSpeedSensorcanbechangedbyselectingothervaluesfromthesettings’pull‐downmenusasshownbelow,forexample,changingtheunitsfromMPHtokm/H(KilometersperHour).ClicktheOptionsMenuandselecttheUploadProposedValuestoSensortosavethesettingschangestotheSpeedSensor.ThechangescanbeconfirmedbyobservingthattheSensorValuesarenowequaltotheProposedValues.

WhenUploadProposedValuestoSensorbuttonisclicked,theStalkerDashboardapplicationsendsseparatecommandstotheSpeedSensortoseteachvalue.TheSpeedSensorrespondstoeachcommandwithitsneworcurrentsettingvalue.ThenewsettingsarestoredintheSpeedSensor’sinternalmemoryandarerememberedevenwhentheunitisturnedoffandbackon.

IftheSpeedSensorrespondstotheapplicationwithavaluedifferentfromthedesiredvalue,anerrormaybeseenasshownbelow.

Page 11: 011-0131-01 rev A SPEED SENSOR II USERS MANUAL

 

    Speed Sensor II User’s Manual 

  11 

Thiswarningcanbecausedbythesereasons:

Iftheapplicationtriestochangeasettingthatisnotdefinedforaparticularmodelorversion,theSpeedSensorreturnsthevalue“255”meaningthatitdoesnotunderstandtherequest.MakesuretheapplicationisusingthecorrectconfigurationfileandthatallsettingsintheconfigurationfileareapplicabletothatSpeedSensormodel.

IfanillegalvalueissenttotheSpeedSensor,itignoresitandrespondswithalegal

value.SomesettingsrequiretheinternalstatemachineoftheSpeedSensortorunbeforethesettingisactuallychanged.TheSpeedSensorcanrespondtotheapplication’scommandmessagebeforethestatemachinehasrun,sotheinitialresponsemaynotbethedesiredsetting.Re‐opentheConfigurationswindowafterthewarningtoverifythatthesettingdidactuallychange.ThesesettingsareMode,Zone,TransmitterControl,StrongLock,FastLock,TestandForkEnable.

Somesettingsareread‐onlysettings,andtheSpeedSensorwillrespondwithits

internalvalueregardlessofwhatvaluewasrequested.ThesesettingsareGetProductIDandGetCurrentAGCGain.RefertotheendoftheSpeedSensorConfigurationFilesectionfordetailsoncontrollingwarningscausedbythesesettings.

Page 12: 011-0131-01 rev A SPEED SENSOR II USERS MANUAL

 

    Speed Sensor II User’s Manual 

  12 

4.3 ConfigurationSettingsTherearemanySpeedSensorconfigurationsettings.SomeapplytoallSpeedSensorsbutothersarespecifictocertainmodels.Allsettingsforallmodelsaredescribedindetailin

BasicConfiguration SerialPortConfiguration TargetRecognition TargetFiltering SpeedPresentation LockingTargets SpeedAlarm Audio TXPowerSave Testing System

4.4 ChangingtheBaudRateSincethebaudrateoftheSpeedSensorandthebaudrateoftheDashboardapplicationmustbethesameforcommunicationstowork,usethefollowingstepstochangethebaudrate.

OpentheConfigSettingsgridasdescribedaboveandclickontheSerialPortConfigurationtabtoseetheserialportsettings.

Changethebaudratetothenewdesiredvalueandsavethesetting.AtthispointtheSpeedSensorandtheDashboardapplicationarestillcommunicatingwiththepreviousbaudrate;thebaudrateoftheSpeedSensorhasnotchangedyet.

TurntheSpeedSensoroffandbackontocompletethebaudratechangeintheunit. ConfiguretheScoreboardapplication’sbaudratetothenewdesiredvalueasdescribed

inSection3.3above.Youmayneedtocloseandreopentheapplicationtocompletetheprocess.

4.5 DefaultSettingsTherearetwotypesofdefaultvaluesfortheSpeedSensors.Factorydefaultsarehard‐codedintotheunitandcannotbemodified.ConfigurationFiledefaultsaresavedintheconfigurationfilesdiscussedabove.Theycanbechangedinthefileandsavedforcustomuserdefaultvalues.

4.5.1 FactoryDefaultsThefactorydefaultsforeachsettingandeachproductarelistedinAppendixD.Toreturnallvaluestotheirfactorydefaults,performthefollowingsequence:TurntheSpeedSensoroffusingtheswitchontheProgrammingBox.PressandholdtheredResetbuttononthebox(orgroundtheAUXpin)whileturningtheunitbackon.Releasetheredbuttonafter2or3seconds.Turntheunitoffbrieflyandthenbackonagain.BecarefulusingthismethodbecausealloftheSpeedSensor’ssettingsarechangedbacktofactorydefaults.Ifothersettingshadbeenconfiguredforacustomapplication,theywillneedtobesetagain.

Page 13: 011-0131-01 rev A SPEED SENSOR II USERS MANUAL

 

    Speed Sensor II User’s Manual 

  13 

4.5.2 ConfigurationFileDefaultsToconfiguretheSpeedSensorwiththedefaultvaluesinthecurrentlyselectedconfigurationfile,selectthe“InitializeRadarWithConfigFileDefaults”fromtheConfigpulldownmenu.Makesurethatthedesiredconfigurationfileisselected(asdescribedinthebeginningofSection5)beforeinitializingwithdefaults.

ThedefaultvaluesinthestandardconfigurationfilesavailablefromStalkerRadarareequaltothefactorydefaultslistedinAppendixD.Ifchangesaremadetovaluesforacustomconfiguration,theymaybesavedasdefaultvaluesinanewconfigurationfileforlateruse.Onceallchangesaremade,select“SaveSensorValuesToNewFileAsDefaults”fromtheOptionspull‐downmenu.

Savethenewconfigurationfilewithanamedescribingthecustomapplication.Thenexttime“SelectNewStartupConfigFile”isselectedfromtheOptionspull‐down,thenewfilewillbeavailablealso.Iftheboxaboveischeckedfor“SaveAsStartupConfigFile”,thenewlycreatedfilenamewillappearinthetitlebarandthatfileisthenusedfortheconfigurationtasks.

Page 14: 011-0131-01 rev A SPEED SENSOR II USERS MANUAL

 

    Speed Sensor II User’s Manual 

  14 

4.6 PrintingSettingValuesThecurrentconfigurationsettingsinaSpeedSensorcaneasilybeprintedforarecordofvalues.Apreviewofthepagestobeprintedcanbeselectedbyclickingon“PrintPreview”.Toprintthepages,select“Print”fromtheOptionspull‐downmenu.AWindowsPrintscreenwillappearforyoutoselectaprintertoprintthefileto.Selectthedesiredprinterorusethedefaultprinter.Thetableofconfigurationvalueswillprintwithaheaderatthetopofeachpagethatshowsthedate,Sensortype,andsoftwareversion.

4.7 DemoApplicationSoftKeysWhenusingtheStalkerDashboardapplicationtocommunicatewiththeunit,severalsoftkeysareavailableforconfigurationandcontroloftheunit:

Page 15: 011-0131-01 rev A SPEED SENSOR II USERS MANUAL

 

    Speed Sensor II User’s Manual 

  15 

ForkOn/OFF–Togglestheforkmodeonandoff.Usedwhentestingwithatuningfork.Mode–clickingthisbuttonalternatesthemodeoftheunitbetweenStationaryandMoving.ThiscapabilityisonlyavailableintheTrafficSpeedSensorwhichhasbothmodesofoperation.Units–SelectsthetypeofunitsthattheSensorwilloutputandbedisplayedinthespeedwindows.Transmit/Hold–clickingthisbuttonturnsonandofftheradartransmitter.ThestatusdisplaysasTransmitorHold.Zone–WheninStationarymode,clickingthisbuttoncyclesthroughtheAway,ClosingandBothzones.WheninMovingmode,italternatesthezonebetweenSamelaneandOppositelane.LockingSpeeds–Thoughnotshownasasoftkey,aStrongtargetorFasttargetspeedcanbelockedbyclickingthewindowshowingthedesiredspeedtobelocked.ThelockedspeedwillbeshownintheLockwindow.Toclearthelockedspeed,clicktheLockspeedwindow.

4.8 ForkTestAForkTestcanberuntoensureproperoperationofaSpeedSensorradar.TuningforksarecalibratedtoringatacertainfrequencythatsimulatesaDopplerreturnfromamovingobject.Sincetheyarenottrulydirectionalsignalsandsincetheradarnormallyfiltersoutnon‐directionalsignals,a“forkmode”isprovidedtoeasilyreadtuningforks.

WhentheForkModestatusonthedemoapplication’smainscreenisOn,strikeaforkandholditinfrontoftheradar’slenstoseeitscalibratedspeedreadoutinthetargetwindow.Ifthespeedstampedonthetuningforkmatchesthespeeddisplayed,theradarisseeingtargetsandreportingthemproperly.

Page 16: 011-0131-01 rev A SPEED SENSOR II USERS MANUAL

 

    Speed Sensor II User’s Manual 

  16 

ForkModeisautomaticallyturnedonforoneminutewhentheSpeedSensorispoweredup.Thisallowsaquickforktestbeforethemodeisautomaticallyturnedoffandtheradaragainprocessesonlydirectionaltargets.Ifalongerforkperiodisdesired,turnonforkmodeusingtheForkEnableconfigurationsetting(setting47).Whenenabledinthismanner,forkmodestaysonfor10minutesbeforeitautomaticallyturnsoffagain.

4.9 MonitoringSpeedDataTheradartransmittermustbeonfortheSpeedSensortoregisterspeeds.ThedemoPCapplicationcanbeusedtomonitorspeedsthattheSpeedSensordetects.Otherequipmentorapplicationscanalsomonitorthespeeddatafromtheunitbydecodingthemessagesittransmitsovertheseriallink.

Severalmessageformatsareavailableandcanbeselected.RefertotheSpeedSensortechnicalmanualforthecontentandorganizationofthefieldsforthedifferentformats.TheyvaryfromsimpleASCIIcharacterstringstolongerformatsreportingmultiplespeedsandstatusinformation.Therearealsostreamingformatsandpollingformats.

TheRS‐232modelscanstreamdatainanyformatexceptEEwhichisreservedasapolling‐onlyformat.Whenevertheradartransmitterison,theSpeedSensorstreamsoutspeedmessagesintheselectedmessageformatatafixednumberofmessageseachsecond.

TheRS‐232modelscanalsocommunicateusingtheFormatEEhandshaking(orpolling)method.Insteadofautomaticallystreamingdataout,itsendsasingleFormatEEspeedmessagepacketonlywhenthecontrollerasksforone.TheStationarySpeedSensorreportsthestrongtargetspeedvalue,andtheSpeedometerandTrafficSpeedSensorsreportthevehiclespeedvalue.

ToenableFormatEEpolling,makesuretheradartransmitterisonandthattheMessageFormatisconfiguredforEE.Thenselect“StartEEPolling”fromtheOptionspull‐downmenuonthemainscreenasshownbelow.TheDashboardapplicationwillthenbeginsendingEEFormatRequestsanddisplayingthevaluesreturnedfromtheSpeedSensor.Tostopthepollingfromtheapplication,select“StopPolling”fromthesamemenu.

Page 17: 011-0131-01 rev A SPEED SENSOR II USERS MANUAL

 

    Speed Sensor II User’s Manual 

  17 

TheRS‐485modelscanonlyusehandshakingmethodssincetheyarealwaysaslaveonthelink.Theyneversenddataunlessthecontrollerasksforit.TheycancommunicateusingFormatEEpollingasdescribedabove,butonlyiftheunit’saddressis2,thefactorydefault.

TheStationaryRS‐485modelcanalsousethemoreflexibleEApolling.Withthismethod,thecontrollersendsanEArequestasdescribedinAppendixB,andtheSpeedSensorreturnsasinglemessageofwhateverSerialPortOutputFormatisselected.SincetheEArequesthasaddressfields,thecontrollercanpollanyindividualunitonapoint‐to‐multipointlinkandgetbackaspeedreportfromonlythatunit.TheDashboardapplicationdoesnotsupportEApolling.

TheStalkerDashboardapplicationdisplaysthespeedsitreceivesintheappropriatespeedwindows.ForaStationarySpeedSensor,thestrongesttargettheradarseesshowsintheSTRONGwindow.Ifafaster,weakersignalisdetected,itshowsintheFASTwindow.Andifeitherastrongorfasttargetislocked,thatspeedshowsintheLOCKwindow.ATrafficSpeedSensordisplaysallofthesespeedsplusthevehiclespeedintheVEHICLESPEEDwindow.TheSpeedometerSpeedSensoronlyreportsvehiclespeedwhichdisplaysintheVEHICLESPEEDwindow.

Intheexamplebelow,aStationarySpeedSensorisreportingastrongtargetspeedof25MPHandafastertargetspeed(whichhasbeenlocked)of40MPH.Notethearrowsabovethespeedwindows.Thedownarrowssignifythatthetargetsareapproachingtheradar(closingspeeds).Uparrowssignifytargetsmovingaway(awayspeeds).

Page 18: 011-0131-01 rev A SPEED SENSOR II USERS MANUAL

 

    Speed Sensor II User’s Manual 

  18 

4.10 LoggingSpeedDataWhentheSpeedSensorissendingspeeddataintheEEFormat(thehandshakeprotocol),theDashboardapplicationcanlogthedatatoafileforlaterreview.Thiscomma‐delimitedfilelistseachspeedentrywithatimestampandcaneasilybeimportedtoaspreadsheetortexteditor.Loggingisnotenabledbydefault,soafewsettingsintheapplication’scontrolfilearenecessarytogetitstarted.Followthestepsbelowtoenablelogging:

LocatethefilenamedDashboard.iniinthe“C:\ProgramFiles\Stalker\Dashboard\Application”folder.

Ifthefileisnotinthatlocation,rightclickonthedemoapplicationdesktopiconandselect“Properties”toopenthepropertieswindowfortheicon.ClickontheShortcuttabandlookinthe“Startin:”fieldforthelocationoftheapplicationexecutablefileandtheDashboard.inifile.

OpentheDashboard.inifileinanytexteditorsuchasWordPadorNotepad. FindtheENABLE_SPEED_LOGGINGlineandensuretheparameterisset=1. Ifloggingofzerospeedsisdesired,settheLOG_ALL_SPEED_DATAparameter=1.Ifonly

non‐zerospeedsaredesired,setit=0. TypeinthedesirednameofthelogfileaftertheDATA_LOG_FILEparameter.The

defaultisSpeedLog.csv.ThelogfilewillbecreatedinthesamefolderastheapplicationexecutableandDashboard.inifiles.

SetthepollingintervalwiththeEE_FORMAT_INTERVALparameter.Thenumberrepresentsmillisecondsbetweenpolls,andthedefaultvalueis100ms(tentimespersecond).

Toinitiatelogging,makesuretheradartransmitterisonandthattheSerialPortOutputFormatisconfiguredforEE.Thenselect“StartEEPolling”intheActionspull‐downmenu.Tostoplogging,select“StopEEPolling”.ThedemoapplicationappendsnewdatatothelogeachtimetheEEFormatisstarted.

Page 19: 011-0131-01 rev A SPEED SENSOR II USERS MANUAL

 

    Speed Sensor II User’s Manual 

  19 

ThefilecreatedisacommadelimitedfileandcanbeopenedwithaTXTprogramofExcel.Thedatawillconsistofdate,time,speedanddirectionandlooklikethis:

2012/09/24 12:35:39:131,32,1 2012/09/24 12:35:39:241,33,1 2012/09/24 12:35:39:381,33,1 2012/09/24 12:35:39:475,33,1 2012/09/24 12:35:39:569,9,-1 2012/09/24 12:35:39:709,10,-1 2012/09/24 12:35:39:803,11,-1 2012/09/24 12:35:39:897,11,-1 2012/09/24 12:35:40:006,12,-1

5 ConfiguringtheStalkerDashboardApplication

TheStalkerDashboardapplicationforcommunicatingwithandconfiguringSpeedSensorsconsistsofasetoffileswhichresideonthePC.TheDeveloper’sKitCDprovidedwiththeSpeedSensorProgrammingBoxKitsinstallsallofthefileslistedbelow(initalics)ontheuser’sPCundertheC:\ProgramFiles\Stalkerfolder.

StalkerDashboard.exeisthePCdemoapplicationexecutablefileusedtocontrolandcommunicatewiththeSpeedSensors.Dashboard.iniisthecontrolfileforthedemoapplication.ThesetwofilesareinstalledintheC:\ProgramFiles\Stalker\Dashboard\Applicationfolder.

TheexecutablefileandtheDashboard.inicontrolfileareusedasapairwhentheapplicationisrunning.Theexecutablefilereadsparametersfromthecontrolfileduringinitialization.Andtheexecutablefilealsoupdatesthecontrolfileduringoperation.Forthisreason,onlyoneexecutablefileinafoldershouldberunatatime.IfmorethanoneexecutableisrunningandtryingtousethesameDashboard.inifile,theexecutableswillinterferewitheachother.

ItispossibletorunmorethanoneapplicationatatimeononePCif,forexample,thereisanotherSpeedSensorconnectedtodifferentserialport.SimplycopytheexecutablefileandtheDashboard.inifiletoadifferentfolderwheretheycanrunwithoutinterference.

TherearealsouniquestandardconfigurationfilesforeachmodelandsoftwareversionofSpeedSensor:ConfigureTraffic232x.x.x.cfgisforaTrafficSpeedSensorversionx.x.x.ConfigureStationary232x.x.x.cfgisforanRS‐232StationarySpeedSensor.ConfigureStationary485x.x.x.cfgisforanRS‐485StationarySpeedSensor.ConfigureSpeedometer232x.x.x.cfgisforanRS‐232SpeedometerSpeedSensor.ConfigureSpeedometer485x.x.x.cfgisforanRS‐485SpeedometerSpeedSensor.ThesefilesareinstalledintheC:\ProgramFiles\Stalker\ConfigurationUtilitiesfolder.

Page 20: 011-0131-01 rev A SPEED SENSOR II USERS MANUAL

 

    Speed Sensor II User’s Manual 

  20 

5.1 ApplicationControlFileThecontrolfile,Dashboard.ini,isanASCIItextfilethatmaybeeditedwithanytexteditorsuchasWordPadorNotepad.IthasseveralcontrolparametersthatcanbechangedtoaffecttheoperationoftheSpeedSensorapplication.Seeacopyofthefilebelowwithexplanationsoftheparametersfollowing.

[Stalker]PORT=COM1BAUD=9600

SOURCE_ID=1DESTINATION_ID=2

CONFIG_FILE=C:\ProgramFiles\Stalker\ConfigurationUtilities\ConfigureStationary2322.0.0.cfgCONFIG_FILE_LOCATION=C:\ProgramFiles\Stalker\ConfigurationUtilities

GET_CFG_INTERVAL=5000RESPONSE_TIMEOUT=500RETRY=2

EE_FORMAT_INTERVAL=100

ENABLE_SPEED_LOGGING=1LOG_ALL_SPEED_DATA=0DATA_LOG_FILE=SpeedLog.csv

PORTdefinesthePCserialportusedforcommunicationwiththeSpeedSensor.WhentheserialportischangedusingtheOptionspull‐down“ChangeSerialPortSettings”function,thisparameterintheDashboard.inifileisautomaticallychanged.Itcanalsobechangedbyeditingthefile.AftertheCOMportischanged,theapplicationneedstobeclosedandre‐openedforthenewlyselectedporttobeused.BAUDdefinesthebaudratetobeusedforcommunicationwiththeSpeedSensor.AswithPORTabove,thisparametercanalsobechangedviatheOptionspull‐down“ChangeSerialPortSettings”functionorbyeditingthefile.Andafterchangingthebaudrate,theapplicationneedstobeclosedandre‐openedforthesettingtotakeeffect.

SOURCE_IDisalwayssetto1andDESTINATION_IDisalwayssetto2.WhencommunicatingwithaSpeedSensor,theapplicationisalwaysthemasterofthelink(ID1)andtheSpeedSensorisalwaystheslave(ID2).Donotchangethesevalues.

CONFIG_FILEdefinestheSpeedSensorconfigurationfileusedduringasession,andCONFIG_FILE_LOCATIONdefinesthepathtothatfile.Theseparametersareupdatedbytheapplicationwhen“SelectNewStartupConfigFile”isselectedfromtheConfigpull‐downmenu.Thecontentofconfigurationfilesisdiscussedindetailinthenextsection.

GET_CFG_INTERVALdefineshowoften(inmilliseconds)theapplicationpollstheSpeedSensortoupdatethestatusfieldsinthemainwindow.Thisparameterappliestothestatusfieldsonly(Units,Mode,Zone…)–notthespeedwindows.Thedefaultis5000ms(5seconds).Thisparametervaluecanbeincreasedtoreducethemessagetrafficonthelink.RESPONSE_TIMEOUTisthetimeinmillisecondsthattheapplicationwillwaitforaresponsefromtheSpeedSensorbeforearetryorfailure.Thedefaultis500ms(½second).RETRYdefinesthenumberoftimestheapplicationwillresendaconfigurationsettingtotheSpeedSensorifitdoesn’tgetaresponse.

Page 21: 011-0131-01 rev A SPEED SENSOR II USERS MANUAL

 

    Speed Sensor II User’s Manual 

  21 

EE_FORMAT_INTERVALdefineshowoften(inmilliseconds)theapplicationpollstheSpeedSensorforaspeedreportinEEFormat.Pollingbeginsafterselecting“StartEEPolling”fromtheActionspull‐downmenu,andpollingstopsafterselecting“StopEEPolling”.Thedefaultvalueis100ms(1/10secondor10timespersecond).ThevaluecanbeincreasedordecreasedtospeeduporslowdowntherateofEEFormatpolling.

ENABLE_SPEED_LOGGINGdefineswhetheraspeedlogfileisgeneratedforthecurrentsession.Loggingisenabledwhentheparameterisset=1anddisabledwhenset=0.LoggingonlytakesplaceiftheSpeedSensor’sSerialPortDataFormatissetforEEFormat.LOG_ALL_SPEED_DATAisusedtoinhibitlogging0speeds.Whenset=1allspeedsareloggedincluding0speeds.Whenset=0onlyspeedsabove0arelogged,andthelengthofthelogfileisreduced.DATA_LOG_FILEdefinesthefilenameforthespeedlog.ThisfilewillbesavedinthedirectorywheretheapplicationfileandtheDashboard.inifilereside.

5.2 SpeedSensorConfigurationFile1. TheSpeedSensorconfigurationfilesarealsoASCIIfileswhichcanbeeditedwithatexteditor.

StalkerRadarprovidesadifferentfileforeachdifferentmodelofSpeedSensorandforeachdifferentsoftwareversionforeachmodel.ThesestandardconfigurationfilesdefinethesettingsfromAppendixDthattheapplicationcancontrolinaunit.Ashortportionofaconfigurationfileisshownbelow.Notethatthefileisorganizedinaseriesoftextblocks:threeblocksintheexamplebelow.

Page 22: 011-0131-01 rev A SPEED SENSOR II USERS MANUAL

 

    Speed Sensor II User’s Manual 

  22 

Theorderoftheblocksinthe.cfgfiledeterminestheorderinwhichthesettingsandtheirvalueswillbedisplayedintheConfigurationwindow.Aslongastheblocksaremovedasunits,theycanbearrangedinanyorder.

BlocksforthesettingsusedmostoftencouldbeplacedatthetopofthesectionsotheirvaluesappearatthetopoftheConfigurationswindow.Blocksforsettingsthatareneverusedcouldevenbedeletedfromthefiletospeedupthe“EditFirmwareValues”process.WerecommendcopyingthestandardfileprovidedbyStalkerRadartoafilewithanewnamebeforemakingchanges.Inthatway,manycustomconfigurationfilescanbecreatedfordifferentuses,andthestandardfileisalwaysavailabletofallbackonforcompletecontrol.

Eachblockrepresentsadifferentconfigurationsettingandhasthefollowingformat:

[TransmitterControl]PACKET_TYPE=1COMMAND_ID=42ANTENNA_NUMBER=1VALUE_BYTES=1DATA_TYPE=1VALUE_MIN=VALUE_MAX=VALUE_ITEMS_DISPLAY=Hold,TransmitVALUE_ITEMS_FIRMWARE=0,1DEFAULT_VALUE=1DISPLAY=1

Thefirstlineintheblockdefinesthenameofthesettinginbrackets.ThisisthesettingdescriptionthatdisplaysintheleftcolumnoftheConfigurationsscreen,anditcanbechangedtoanynamedesired.

PACKET_TYPEshouldbeset=1.Donotchangethisvalue.ItisusedinthePacketTypefieldoftheConfigurationProtocoldescribedinAppendixEwhentheapplicationisbuildingcommandstosendtotheSpeedSensor.COMMAND_IDistheSettingID(indecimalformat)fromAppendixDthatcorrespondstothesettingdescription.ANTENNA_NUMBERshouldbeset=1.Donotchangethisvalue.ItisusedintheAntennaNumberfieldoftheConfigurationProtocoldescribedinAppendixEwhentheapplicationisbuildingcommandstosendtotheSpeedSensor.VALUE_BYTESisthenumberofbytesthatthesettingvalueuses.DonotchangethisvaluefromthevalueprovidedinthestandardconfigurationfilesfromStalkerRadar.DATA_TYPEcontrolsthebehaviorofthevaluefields.Whenset=1(listtype),onlythevalueslistedinVALUE_ITEMS_DISPLAYarevalid.Whenset=2(free‐formnumerictype),inadditiontothevaluesinthelist(ifany),theusercanalsoenteranynumericvalueintherangefromVALUE_MINthroughVALUE_MAX.VALUE_MINdefinestheminimumacceptablevaluewhenDATA_TYPE=2.VALUE_MAXdefinesthemaximumacceptablevaluewhenDATA_TYPE=2.VALUE_ITEMS_DISPLAYdefinesthetextthatwillappearaspull‐downselectionsintherowforagivensettingintheConfigurationswindow.Thevaluesareseparatedbycommaswithnospacesandmaybesettoanydesiredtext.VALUE_ITEMS_FIRMWAREdefinestheactualvaluestheapplicationusestocommunicatewiththeSpeedSensor.Thesevaluesarealsoseparatedbycommas,andtheordercorrelatesona

Page 23: 011-0131-01 rev A SPEED SENSOR II USERS MANUAL

 

    Speed Sensor II User’s Manual 

  23 

onetoonebasiswiththeorderofthelistforVALUE_ITEMS_DISPLAY.TheavailablevaluesforeachsettingaredefinedinAppendicesCandD.DEFAULT_VALUEisthedefaultvaluedescribedintheConfigurationFileDefaultssection.Itmaybesettoanylegalvalueforthesetting–eitherfromtheVALUE_ITEMS_FIRMWARElistorbetweenVALUE_MINandVALUE_MAX.DISPLAYdefineswhetherthesettingisdisplayedintheConfigurationsscreen.Whenset=1,thesettingisdisplayed.Whenset=0,thesettingisnotdisplayed.Thismethodcanbeusedtoskipdisplayingsettingsofnointerestwithouthavingtodeletethewholeblockfromthefile.

Formostcommands,theSpeedSensorisabletochangethesettingandreportthenew,desiredvalue.However,somesettingsareonlyusedforpollingormonitoringthestatusoftheunitandcannotactuallychangethesettingintheunit.Fortheseread‐onlysettings,theSpeedSensorstillsendsaresponse,butitrespondswiththeinternalsettingvalueandmayresultintheapplicationprogramdisplayingthefollowingscreen.

Thesesettingsare#37GetProductIDand#50GetCurrentAGCGain.EnsurethattheDISPLAYparameterforthesesettings=0sothattheapplicationwillnottrytochangethemandgenerateawarning.ChooseContinuetofinishtheoperationbutmakethenecessarychangetotheconfigurationfiletopreventthewarningfromappearingagain.

Page 24: 011-0131-01 rev A SPEED SENSOR II USERS MANUAL

 

    Speed Sensor II User’s Manual 

  24 

5.3 SoftwareupdatesTheDashboardprogramhastheuniqueabilityofuploadingnewsoftwaretoSpeedSensorswithversion2.0.0orlatercodealreadyinstalled.IfyourSpeedSensorhassoftwarethatisearlierthan2.0.0,otherPCApplicationslocatedontheProgramCDcanbeusedforcommunicatingtotheSpeedSensor.Checkwiththefactorytodetermineifversion2.0.0isavailableforyourtypeofSpeedSensor.Ifsoftwareversion2.0.0isavailable,theSensorcanalsobesenttothefactoryforupgradingtothelatestprogram.ThissectiondetailstheprocessofuploadinganewsoftwareprogramtoyourSpeedSensor.Checkingforanewversionofsoftware:

ContacttheCustomerServiceDepartmentatStalkerRadarandinquireaboutanewversionofsoftware.PleasehaveyourcurrentversionavailablewhenaskedsoitcanbedeterminedifthereisanewloadforyourSensor.AnewversioncanbesentbyemailandwillinstallonyourharddriveunderC:\ProgramFiles\Stalker\....inasubfolderthatgroupsthedifferentversionstogether.ThedashboardversionnumbercanbefoundbyclickingonAboutinthemainmenubar.

DashboardSetupOncethenewcodehasbeensavedtoyourharddisk,opentheDashboardprogram.Clickonthe“Options”menuandthenclickon“ReprogramRadar”.Anewwindowwillappearasseenbelow.FollowtheinstructionstodeterminewhichtypeofSensoryouhave.Clickontheappropriateselectionboxforyourradarintheupperrightcornerofthescreen.Clickon“OK”toproceed.

Anotherwindowwillopentoshowtheavailablefilesthatcanbeuploadedtothesensor.Selecttheprogramthatistobeuploadedtotheunit,inthiscase“s3_sta_200.p”locatedundertheStalkerS3Stationarysection,seepicturebelow.Inthisexample,thisprogramisthelatestversionavailablefortheStationarytypeofSensor.Thefolderstructuremayvarybysystem.Doubleclickontheiconofthedesiredversionandclickon“Ok”onthepopupwindow.Theprogramwillstarttouploadthecodeandaprogressmeterwillshowatthebottomofthewindow.ProgramsfortheRS485versionsoftheSpeedSensorwillhavethenumber“4”inthefilenamejustbeforetherevisionnumber,e.g.“s3_sta4_200.p”.

Page 25: 011-0131-01 rev A SPEED SENSOR II USERS MANUAL

 

    Speed Sensor II User’s Manual 

  25 

Whentheuploadiscomplete,anotherpopupwindowwillappeartoannounceasuccessfulupload.

OneoftheothertypesofSensors,SpeedometerorTraffic,maybeinstalledintheSensoraswellbuttheproperconfigurationfilewillneedtobeappliedforproperoperation.Iftheconfigurationisincorrectfortheprogramjustuploaded,awarningscreenwillappearandallowyoutobrowseforanappropriateconfiguration.

Page 26: 011-0131-01 rev A SPEED SENSOR II USERS MANUAL

 

    Speed Sensor II User’s Manual 

  26 

6 FCCRequirementsThis device is approved as an intentional radiator under FCC Part 15 with FCC identifier IBQACMI007. 

No additional licensing is required to operate this device. 

Operation is subject to the following two conditions:

(1) This device may not cause harmful interference, and

(2) This device must accept any interference received, including interference that may cause undesired operation.