This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$projectPath = "D:\temp\NewHMIProject12\NewHMIProject12.optix" | |
$optixIdePath = "C:\Program Files\Rockwell Automation\FactoryTalk Optix\Studio 1.6.2.36\FTOptixStudio.exe" | |
$7zipPath = "C:\Program Files\7-Zip\7z.exe" | |
$outputPath = "C:\Users\LabUser\Downloads\" | |
$platform = "Yocto_arm64" | |
$optixPanelPassword = "SomeComplexPassword" | |
# Create a temporary directory for the export process | |
Write-Host "Creating temporary directory for export..." | |
$tempDir = New-Item -ItemType Directory -Path "$env:TEMP\OptixExportTemp" -Force |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
filebrowser: | |
image: filebrowser/filebrowser:latest | |
container_name: filebrowser | |
ports: | |
- "18081:80" # Access via http://address:18081 | |
volumes: | |
- /storage/sd1/:/srv/sd1 # Assuming the SD is plugged in | |
- /storage/usb1/:/srv/usb1 # Assuming the USB is plugged in | |
- /persistent/data/shared:/srv/shared # Shared folder where all services can share data |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copy this file to the same folder where the FTOptixRuntime.exe was exported | |
# Then execute the script as administrator | |
Write-Host "Stopping FactoryTalkOptixRuntimeService" | |
# Stop the service first | |
$stopResult = sc.exe stop "FactoryTalkOptixRuntimeService" | |
if (($stopResult -like "*1062*") -or ($stopResult -like "*1060*")) { | |
Write-Host "The service has not been started, no need to stop." |