<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Does GeoEvent Simulator have a headless mode? in ArcGIS GeoEvent Server Questions</title>
    <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/does-geoevent-simulator-have-a-headless-mode/m-p/1263761#M3900</link>
    <description>&lt;P&gt;I have a development scenario in which I would like to run GeoEvent Simulator without the GUI, so that I can run it automatically. Is there a way to run GeoEvent Simulator in headless mode, such as on the command line, without any user interaction required?&lt;/P&gt;</description>
    <pubDate>Thu, 02 Mar 2023 21:16:00 GMT</pubDate>
    <dc:creator>GaryLSheppardJr</dc:creator>
    <dc:date>2023-03-02T21:16:00Z</dc:date>
    <item>
      <title>Does GeoEvent Simulator have a headless mode?</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/does-geoevent-simulator-have-a-headless-mode/m-p/1263761#M3900</link>
      <description>&lt;P&gt;I have a development scenario in which I would like to run GeoEvent Simulator without the GUI, so that I can run it automatically. Is there a way to run GeoEvent Simulator in headless mode, such as on the command line, without any user interaction required?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2023 21:16:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/does-geoevent-simulator-have-a-headless-mode/m-p/1263761#M3900</guid>
      <dc:creator>GaryLSheppardJr</dc:creator>
      <dc:date>2023-03-02T21:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: Does GeoEvent Simulator have a headless mode?</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/does-geoevent-simulator-have-a-headless-mode/m-p/1264122#M3906</link>
      <description>&lt;P&gt;If you open a command-line window and change directory to where the &lt;FONT face="courier new,courier"&gt;GeoEventSimulator.exe&lt;/FONT&gt; is found (&lt;FONT face="courier new,courier"&gt;C:\Program Files\ArcGIS\Server\GeoEvent&lt;/FONT&gt; is the default) you can run the simulator from a command line with a variety of arguments. Executing the command&amp;nbsp;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;GeoEventSimulator.exe --help&lt;/FONT&gt;&lt;/STRONG&gt; will display the arguments in a Windows dialog.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GeoEventSimulator_CLI.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/64318iFB201DD2F12AFA4A/image-size/large?v=v2&amp;amp;px=999" role="button" title="GeoEventSimulator_CLI.png" alt="GeoEventSimulator_CLI.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2023 19:05:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/does-geoevent-simulator-have-a-headless-mode/m-p/1264122#M3906</guid>
      <dc:creator>RJSunderman</dc:creator>
      <dc:date>2023-03-03T19:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: Does GeoEvent Simulator have a headless mode?</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/does-geoevent-simulator-have-a-headless-mode/m-p/1264127#M3907</link>
      <description>&lt;P&gt;Including the above as text to support keyword search.&lt;/P&gt;&lt;LI-CODE lang="c"&gt;GeoEvent Simulator Command Line Arguments

Usage options:
GeoEventSimulator.exe [Server:value] [Port:number] [Filename:value] [Skip:number] [Events:number] [Per:number] [Continuous:flag] [Play:value] [TimeField:number] [SetTime:flag]
GeoEventSimulator.exe /?
GeoEventSimulator.exe

Usage examples:
start GeoEventSimulator.exe Server:localhost Port:5565 Filename:vehicles.csv Skip:3 Events:2 Per:5000 Continuous:Once Play:Step TimeField:1 SetTime:Yes
start GeoEventSimulator.exe Server:localhost Port:5565 Filename:vehicles.csv Skip:0 Events:1 Per:1000 Continuous:Cont Play:Play TimeField:0 SetTime:Yes
start GeoEventSimulator.exe Server:localhost Port:5565 Filename:vehicles.csv TimeField:3 RealRateSpeed:200 Continuous:Once Play:play
start GeoEventSimulator.exe Server:localhost Port:5565 Filename:vehicles.csv Play:Play
start GeoEventSimulator.exe Filename:vehicles.csv Play:Play
start GeoEventSimulator.exe Port:5566 Filename:vehicles.csv Play:Play
start GeoEventSimulator.exe

Description:
Using the command line arguments you can run the simulation and optionally:
1. Connect to &amp;lt;ServerHostName&amp;gt;:&amp;lt;ServerPort&amp;gt;.
2. Load simulation file located in &amp;lt;Filename&amp;gt; and skip the first &amp;lt;SkipFirstLineCount&amp;gt; lines.
3. With PlayAction=Play - Start sending &amp;lt;EventsCount&amp;gt; events per &amp;lt;PerMS&amp;gt; milliseconds,
until reaching the last event or continously in a loop, depending on &amp;lt;ContinuousPlayMode&amp;gt;.
4. With PlayAction=Step - Send the first &amp;lt;EventsCount&amp;gt; events once.

Arguments:
Server, ServerHostName Specifies the server host name. Default: {localhost}
Port, ServerPort Specifies the server port number. Default: {5565}
Filename Specifies the full path to the simulation file to load
Skip, SkipFirstLineCount Specifies the number of lines to skip when loading the simulation file. Default: {0}
Events, EventsCount Specifies how many Events to send per interval. Default: {1}
Per, PerMS Specifies the constant interval value in milliseconds. Default: {1000}
Continuous, ContinuousPlayMode Specifies whether to to simulate events in a continuous loop. Default: {Continuous}
Options for Continuous: {Continuous | Cont | C | Yes | Y | True | T}
Options for Once; {Once | O | No | N | False | F}
Play, PlayAction Specifies the play action. Default: {Stop}
Options: {Play | Step | Stop}
TimeField Specifies the zero based index of the Time Field. Default: {1}
RealRateSpeed Specifies the real rate speed factor in percentages. Switches the simulator to Real Rate mode. Default: {100}
SetTime, SetTimeToCurrentTime Specifies whether to override the Time Field value with the current time (in the ISO 8601 format). Default: {No}
Options for yes: {Yes | Y | True | T}
Options for no : {No | N | False | F}
/?, ?, -h, -help, --h, --help Shows this help


Other usage options:
GeoEventSimulator.exe [ServerHostName] [ServerPort] [Filename] [SkipFirstLineCount] [EventsCount] [PerMS] [ContinuousPlayMode] [PlayAction]

Other Usage examples:
start GeoEventSimulator.exe localhost 5565 vehicles.csv 3 2 5000 Once Step
start GeoEventSimulator.exe localhost 5565 vehicles.csv 0 1 1000 Cont Play
start GeoEventSimulator.exe localhost 5565 vehicles.csv 0 1 1000 Continuous
start GeoEventSimulator.exe localhost 5565 vehicles.csv 0 1 1000
start GeoEventSimulator.exe localhost 5565 vehicles.csv 0 1
start GeoEventSimulator.exe localhost 5565 vehicles.csv 0
start GeoEventSimulator.exe localhost 5565 vehicles.csv
start GeoEventSimulator.exe localhost 5565
start GeoEventSimulator.exe localhost
start GeoEventSimulator.exe&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 03 Mar 2023 19:10:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/does-geoevent-simulator-have-a-headless-mode/m-p/1264127#M3907</guid>
      <dc:creator>RJSunderman</dc:creator>
      <dc:date>2023-03-03T19:10:44Z</dc:date>
    </item>
  </channel>
</rss>

