Tutorial · Chapter 1
title: "Getting Started — from install to first run" chapter: 1 source: "Doc/QMachineStudio UserManaul.pdf" images:
- install-overview.png
- first-run.png
- license-check.png
Getting Started
A step-by-step guide for first-time users. Install → first run → license check takes about 15 minutes.
캡처 대기
public/manual/gui/install-overview.pngRecommended system
| Item | Recommended |
|---|---|
| OS | Windows 10 or later (64-bit) |
| CPU | Intel i5 or better |
| RAM | 8 GB or more |
| Storage | 2 GB free |
| Runtime | .NET Framework 4.8 · (optional) USB license dongle |
Install
- Run the installer (e.g.
QMS_Setup_x.x.x.exe). - Default install path is
D:\QMS; change if needed. - A shortcut
QMachineStudiois placed on the desktop. - First-time only: install the USB dongle driver from Tools → Install Drivers.
Windows permissions
- The install folder requires write access — install as administrator.
- Some antivirus tools block
*.xms/*.xdfaccess — add the install folder to the exclusion list.
First run
캡처 대기
public/manual/gui/first-run.png- Launch via the desktop shortcut or
QMachineStudio.exe. - If the recent-projects list is empty, use File → New to create a sample project.
- Editor · Solution Explorer · Output panes appear when the app is ready.
Exit via × or File → Exit. Unsaved changes prompt to save.
Open a sample project
The installer ships sample projects:
| Path | Description |
|---|---|
SampleProject/ChartDemo | Charts · logs · file demo |
SampleProject/Communication/TCP ServerClient | TCP server / client |
SampleProject/Fieldbus/ModbusTCP_Client | Modbus/TCP |
SampleProject/GUI/UISample1920x1080 | FHD UI sample |
Open via File → Open Project and pick the .xproj file.
License check
캡처 대기
public/manual/gui/license-check.pngTools → Check License shows the current license state.
- Valid — USB dongle present and authorized; a blue badge appears at the bottom.
- No dongle — not plugged in or driver not installed; badge shown in gray.
- Runtime only — development features disabled; execution allowed.
Contact sales@ict-lab.com for licensing questions.
Your first script
Create an empty project with File → New Project, paste this into the Run1
module, then Build → Build All.
FUNCTION OnSystemStart()
{
Log("Hello, QMachineStudio!");
TOWERLAMP.SetLamp("RUN");
return true;
}
FUNCTION OnSystemStop()
{
TOWERLAMP.SetLamp("STOP");
return true;
}Press Start → Hello, QMachineStudio! appears in the Output pane and the tower
lamp switches to the RUN state.
Troubleshooting
| Symptom | Check |
|---|---|
| Build error "Module not found" | Is the module included in Solution Explorer? |
| Runtime error "License invalid" | Reseat USB dongle / install driver |
| IO not updating | Verify board connectivity in Tools → IO Test |
Output shows !!!--- logs | Init sequence error — inspect Init.xms |
Next steps
- Main Window — overall layout
- Shortcuts — keyboard shortcuts
- Run Module — write actual machine-control scripts
- XScript Basics — variables · functions · sequences · steps