From f8d0aa8ec41a50dee5b2b763b84c87c416eba5a7 Mon Sep 17 00:00:00 2001 From: Jan Breuer <jan.breuer@jaybee.cz> Date: 周六, 25 4月 2015 23:02:44 +0800 Subject: [PATCH] Update readme with Multiple Identical Capabilities --- README.md | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d5af5ba..7b8fbbb 100644 --- a/README.md +++ b/README.md @@ -13,12 +13,17 @@ A command pattern is divided by colon ":" to show command hierarchy - Pattern "SYSTem:VERsion?" mathes strings "SYST:version?", "system:ver?", "SYST:VER?", ... + Pattern "SYSTem:VERsion?" matches strings "SYST:version?", "system:ver?", "SYST:VER?", ... The SCPI standard also uses brackets "[]" to define optional parts of a command. - Pattern "SYSTem:ERRor[:NEXT]?" mathes "SYST:ERR?", "system:err?" and also "system:error:next?", ... + Pattern "SYSTem:ERRor[:NEXT]?" matches "SYST:ERR?", "system:err?" and also "system:error:next?", ... +Special character `#` represents number so it is possible to define pattern according to SCPI-99:6.2.5.2 Multiple Identical Capabilities + + Pattern "OUTput#:FREQuency" matches "OUT:FREQ" as well as "OUT3:FREQ" and "output10:frequency". + +Appropriate numbers are available using function `SCPI_CommandNumbers` Command callback ----------- -- Gitblit v1.9.1