ci-server-engineer/examples/CI-Eng-Sample/feed/cieng_feed_start.cmd
cliu d299bdf312 Sample: merged live-data feed (cieng_feed.ps1) replaces trend_feed.ps1
- feed/cieng_feed.ps1: -Seconds (default, LEVEL +/-25 %), -UntilFlag (DEMO.FEED_ON for the
  display Start/Stop), -Alarms (+/-33 %, crosses L/H), -System (SYSTEM.* items, skipped while
  the monitoring processes run); single-copy lock; log in %TLS_LST_PATH%\cieng_feed.log
- feed/cieng_feed_start.cmd, feed/install_feed.ps1: installed to C:\Users\Public\CI-Eng-Sample\feed
  (outside the CI Server package) for the server-side display command
- Item CI-Eng-Sample.DEMO.FEED_ON in 02_item_df.qli / 91_remove_item_df.qli
- Tested on CI Server R1.03.00 2026-10-06: default run, single copy, start wrapper with flag
  stop, system items written and skipped with a monitor process present

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 10:15:14 +11:00

6 lines
514 B
Batchfile

@echo off
rem Starts cieng_feed.ps1 in the background (CI Server R1.03.00). Called by the display button
rem "Start" (server-side command, runs as the CI Server service account CIX_PROCESS) from the
rem fixed install folder C:\Users\Public\CI-Eng-Sample\feed (install_feed.ps1). Returns at once;
rem the feed runs until the button "Stop" writes CI-Eng-Sample.DEMO.FEED_ON = 0.
start "" /b powershell.exe -NoProfile -ExecutionPolicy Bypass -WindowStyle Hidden -File "%~dp0cieng_feed.ps1" -UntilFlag -Alarms -System