Skip to content

Latest commit

 

History

History
929 lines (668 loc) · 16.9 KB

File metadata and controls

929 lines (668 loc) · 16.9 KB

CSM API

CSM Internal

Naming Check.vi

-- Controls --

  • Name("" to use uuid): Returns any argument(s) that may be used in the current state string. These arguments come after the ">>" characters

-- Indicators --

  • Name(dup): Returns any argument(s) that may be used in the current state string. These arguments come after the ">>" characters

Check.vi

-- Controls --

  • BroadcastRegistry in:
  • Status:
  • Source:
  • Target:

-- Indicators --

  • BroadcastRegistry out:
  • Response Message Info:

Delete Source Module.vi

-- Controls --

  • BroadcastRegistry in:
  • Source:

-- Indicators --

  • BroadcastRegistry out:

Delete Target Module.vi

-- Controls --

  • BroadcastRegistry in:
  • Source:

-- Indicators --

  • BroadcastRegistry out:

Initialize.vi

-- Controls --

  • BroadcastRegistry in:

-- Indicators --

  • BroadcastRegistry out:

List Entries.vi

-- Controls --

  • BroadcastRegistry in:

-- Indicators --

  • BroadcastRegistry out:
  • Array:

List Status in Registry.vi

-- Controls --

  • BroadcastRegistry in:

-- Indicators --

  • BroadcastRegistry out:
  • Status:

Register.vi

-- Controls --

  • BroadcastRegistry in:
  • status:
  • source:
  • api:
  • target:

-- Indicators --

  • BroadcastRegistry out:

Remove Module.vi

-- Controls --

  • BroadcastRegistry in:
  • Source:

-- Indicators --

  • BroadcastRegistry out:

Unregister.vi

-- Controls --

  • BroadcastRegistry in:
  • Status:
  • Source:
  • api:
  • Target:

-- Indicators --

  • BroadcastRegistry out:

Broadcast Item Key.vi

-- Controls --

  • status:
  • target:
  • source:

-- Indicators --

  • key:

Preview.vi

-- Controls --

  • BroadcastRegistry in:

-- Indicators --

  • Registry:
  • BroadcastRegistry out:

Remove response API from List.vi

-- Controls --

  • API:
  • output cluster in:

-- Indicators --

  • output cluster out:

Concatenate State with Arguments.vi

-- Controls --

  • Arguments:
  • State:

-- Indicators --

  • State with Arguments:

CSM-Name to CSM-Mode.vi

-- Controls --

  • String:

-- Indicators --

  • ParentCSM Name:
  • CSM Mode:
  • Requested Name:

Format Timestamp.vi

-- Controls --

  • timestamp:
  • format string:

-- Indicators --

  • String:

Hex Str to U8 Data.vi

-- Controls --

  • HEX String (0-9,A-F):

-- Indicators --

  • u8 Data[]:

Parse Next Single-line State.vi

-- Controls --

  • States Queue:

-- Indicators --

  • Next Single-line State:
  • Remaining States Queue:

Remove Comments from Line.vi

-- Controls --

  • single-line text:

-- Indicators --

  • single-line text without comments:

Splite Reason String Part.vi

-- Controls --

  • Single-line -& Reason:

-- Indicators --

  • CSM Name:
  • `State:
  • `Arguments:

Splite Single-line Message.vi

-- Controls --

  • single-line text:

-- Indicators --

  • operator:
  • state:
  • args:
  • source/target:

Trim Single line Text.vi

-- Controls --

  • single-line text:

-- Indicators --

  • trimmed text:

CSM Not Allowed Message.vi

-- Controls --

  • State:
  • CSM:

Cache-Broadcast Registry Search Result.vi

-- Controls --

  • CSM Name:
  • Broadcast state:

-- Indicators --

  • Array:

FGV-BroadcastRegistry.vi

-- Controls --

  • Source:
  • Target:
  • Status:
  • API:
  • Operation:

-- Indicators --

  • response message:

global-Broadcast Cache Change Flag.vi

全局变量,用于标记广播缓存是否发生变化

global-CSMQ FGV Change Flag.vi

全局变量,用于标记 CSM 模块管理信息是否发生变化

global-GEvnt Filter Change Flag.vi

全局变量,用于标记 Global Event 的过滤条件是否发生变化

Cache-GEvt Filter Object.vi

-- Indicators --

  • CSM:LogFilter.lvclass:

FGV-GEvt Filter Obj.vi

-- Controls --

  • Set(T)/Get(F):
  • Rules-v1:

-- Indicators --

  • CSM:LogFilter.lvclass:

FGV-GlobalEventRef.vi

-- Controls --

  • Create(F):

-- Indicators --

  • CSM Global Log Event:

FGV-StatusChangeEventRef.vi

-- Controls --

  • Name("" to use uuid) in:

-- Indicators --

  • Status Change Event:

GEvt-BackgroundThread.vi

GEvt-Convert Filter Rules - v1.0.vi

-- Controls --

  • Rules-v1:

-- Indicators --

  • GlobalLogFilter:

GEvt-Filter Global Log - v1.0.vi

-- Controls --

  • Rules-v1:
  • Cross CSM Data (in):

-- Indicators --

  • Matched? (dup):
  • Cross CSM Data:

GEvt-Generate Complete Log.vi

-- Controls --

  • CSM Global Log Event:
  • event data:
  • Enable?:
  • CSM:LogFilter.lvclass:

-- Indicators --

  • CSM Global Log Event out:

GEvt-Generate Interrupt Log.vi

-- Controls --

  • CSM Global Log Event:
  • Current State:
  • Arguments:
  • Name("" to use uuid):
  • CSM:LogFilter.lvclass:

-- Indicators --

  • CSM Global Log Event out:
  • event data:

GEvt-Generate Module Created Log.vi

-- Controls --

  • CSM Global Log Event:
  • Name("" to use uuid):
  • Created?:
  • CSM:LogFilter.lvclass:

-- Indicators --

  • CSM Global Log Event out:
  • event data:

GEvt-Generate Module Destroyed Log.vi

-- Controls --

  • CSM Global Log Event:
  • Name("" to use uuid):
  • Enable?:
  • CSM:LogFilter.lvclass:

-- Indicators --

  • CSM Global Log Event out:
  • event data:

GEvt-Generate Register Log.vi

-- Controls --

  • CSM Global Log Event:
  • Current State:
  • Arguments:
  • Name("" to use uuid):
  • CSM:LogFilter.lvclass:

-- Indicators --

  • CSM Global Log Event out:
  • event data:

GEvt-Generate Remaining States Log.vi

-- Controls --

  • CSM Global Log Event:
  • Remaining States:
  • Name("" to use uuid):
  • Enable?:
  • CSM:LogFilter.lvclass:

-- Indicators --

  • CSM Global Log Event out:
  • event data:

Gevt-ThreadQueueName.vi

-- Indicators --

  • ThreadQueueName:

GEvt-Generate State Change Log.vi

-- Controls --

  • CSM Global Log Event:
  • Current State:
  • Arguments:
  • Source Message.*State:
  • Source Message.*Arguments:
  • Source Module:
  • Name("" to use uuid):
  • CSM:LogFilter.lvclass:

-- Indicators --

  • CSM Global Log Event out:
  • event data:

GEvt-Generate Status Log.vi

-- Controls --

  • CSM Global Log Event:
  • Current State:
  • Arguments:
  • Name("" to use uuid):
  • CSM:LogFilter.lvclass:

-- Indicators --

  • CSM Global Log Event out:
  • event data:

GEvt-Generate Unregister Log.vi

-- Controls --

  • CSM Global Log Event:
  • Current State:
  • Arguments:
  • Name("" to use uuid):
  • CSM:LogFilter.lvclass:

-- Indicators --

  • CSM Global Log Event out:
  • event data:

GEvt-Generate with Rule Check.vi

-- Controls --

  • LogFilter in:
  • event data:
  • CSM Global Log Event in:

-- Indicators --

  • CSM Global Log Event out:

GEvt-Set Source Filter Rules - v1.0.vi

-- Controls --

  • Rules-v1:

GEvt-ThreadQueueName.vi

-- Indicators --

  • ThreadQueueName:

GEvt-WatchdogThread.vi

-- Controls --

  • WatchDogQ:

Filter Check.vi

-- Controls --

  • Cross CSM Data in:
  • GlobalLogFilter in:

-- Indicators --

  • Matched? (dup):
  • Cross CSM Data out:
  • GlobalLogFilter.lvclass (dup):

List Rules as Strings.vi

-- Controls --

  • GlobalLogFilter in:

-- Indicators --

  • Rule Strings:
  • GlobalLogFilter out:

CSM Check - LogType.vi

-- Controls --

  • Matched Previous?:
  • Cross CSM Data (in):
  • GlobalLogFilter.lvclass:

-- Indicators --

  • Matched? (dup):
  • Cross CSM Data:
  • GlobalLogFilter.lvclass (dup):

CSM Check - State.vi

-- Controls --

  • Matched Previous?:
  • Cross CSM Data (in):
  • GlobalLogFilter.lvclass:

-- Indicators --

  • Matched? (dup):
  • Cross CSM Data:
  • GlobalLogFilter.lvclass (dup):

CSM Check - StateType.vi

-- Controls --

  • Matched Previous?:
  • Cross CSM Data (in):
  • GlobalLogFilter.lvclass:

-- Indicators --

  • Matched? (dup):
  • Cross CSM Data:
  • GlobalLogFilter.lvclass (dup):

Group Check - CSM.vi

-- Controls --

  • Matched Previous?:
  • Cross CSM Data (in):
  • GlobalLogFilter.lvclass:

-- Indicators --

  • Matched? (dup):
  • Cross CSM Data:
  • GlobalLogFilter.lvclass (dup):

Group Check - LogType.vi

-- Controls --

  • Matched Previous?:
  • Cross CSM Data (in):
  • GlobalLogFilter.lvclass:

-- Indicators --

  • Matched? (dup):
  • Cross CSM Data:
  • GlobalLogFilter.lvclass (dup):

Group Check - State.vi

-- Controls --

  • Matched Previous?:
  • Cross CSM Data (in):
  • GlobalLogFilter.lvclass:

-- Indicators --

  • Matched? (dup):
  • Cross CSM Data:
  • GlobalLogFilter.lvclass (dup):

Group Check - StateType.vi

-- Controls --

  • Matched Previous?:
  • Cross CSM Data (in):
  • GlobalLogFilter.lvclass:

-- Indicators --

  • Matched? (dup):
  • Cross CSM Data:
  • GlobalLogFilter.lvclass (dup):

Set CSM LogType Filter.vi

-- Controls --

  • LogType:
  • GlobalLogFilter in:

-- Indicators --

  • GlobalLogFilter out:

Set CSM State Filter.vi

-- Controls --

  • CSM:State:
  • GlobalLogFilter in:

-- Indicators --

  • GlobalLogFilter out:

Set CSM StateType Filter.vi

-- Controls --

  • LogType:
  • GlobalLogFilter in:

-- Indicators --

  • GlobalLogFilter out:

Set Global CSM Filter.vi

-- Controls --

  • Group:CSM:
  • GlobalLogFilter in:

-- Indicators --

  • GlobalLogFilter out:

Set Global LogType Filter.vi

-- Controls --

  • Group:LogType:
  • GlobalLogFilter in:

-- Indicators --

  • GlobalLogFilter out:

Set Global State Filter.vi

-- Controls --

  • Group:State:
  • GlobalLogFilter in:

-- Indicators --

  • GlobalLogFilter out:

Set Global StateType Filter.vi

-- Controls --

  • Group:LogType:
  • GlobalLogFilter in:

-- Indicators --

  • GlobalLogFilter out:

Log State Type.vi

-- Controls --

  • Complete(T)/Start(F):
  • Source Module:
  • ‘State:

-- Indicators --

  • CSM_GlobalLog_STATE_TYPE:

Parse Register Message.vi

-- Controls --

  • state:
  • Module Name :
  • args:

-- Indicators --

  • target:
  • source:
  • status:
  • api:

Parse State with Arguments String.vi

-- Controls --

  • State with Arguments: The State string that requires the argument.

-- Indicators --

  • State:
  • Arguments:
  • Target Module:
  • Message Symbol:

Parse Unregister Message.vi

-- Controls --

  • state:
  • Module Name :
  • args:

-- Indicators --

  • target:
  • source:
  • status:
  • api:

Dequeue Element.vi

-- Controls --

  • timeout in ms (-1):
  • Priority Queue:

-- Indicators --

  • timed out?:
  • Cross JKI State Machine State:
  • Priority Queue(dup):
  • High Priority?:

Enqueue Element.vi

-- Controls --

  • High Priority?(F):
  • timeout in ms (-1):
  • Cross JKI State Machine State:
  • Priority Queue:

-- Indicators --

  • Priority Queue(dup):

Get Queue Status.vi

-- Controls --

  • Priority Queue in:

-- Indicators --

  • # pending insert:
  • # pending remove:
  • Priority Queue out:
  • # elements in queue:

Not a Refnum.vi

-- Controls --

  • Priority Queue.lvclass:

-- Indicators --

  • NaN/Path/Refnum?:

Obtain Priority Queue.vi

-- Controls --

  • create if not found? (T):
  • name:

-- Indicators --

  • created new?:
  • Priority Queue:

Release Priority Queue.vi

-- Controls --

  • force destroy? (F):
  • Priority Queue:

CSMP-Async Call.vi

-- Controls --

  • state:
  • args:
  • source/target:
  • Module Name:
  • Msg Type:

-- Indicators --

  • state out:
  • args out:
  • source/target out:
  • Pre-State out:
  • Pre-Args out:
  • error:

CSMP-Broadcast.vi

-- Controls --

  • state:
  • args:
  • source/target:
  • Module Name:
  • Msg Type:

-- Indicators --

  • state out:
  • args out:
  • source/target out:
  • Pre-State out:
  • Pre-Args out:
  • error:

CSMP-PostPostMsg.vi

-- Controls --

  • state:
  • args:
  • source/target:
  • Pre-State in:
  • Pre-Args in:
  • session error:
  • Module Name:
  • Response Arguments:

-- Indicators --

  • state out:
  • args out:
  • source/target out:
  • Pre-State out:
  • Pre-Args out:
  • error:

CSMP-PostSendMsg.vi

-- Controls --

  • state:
  • args:
  • source/target:
  • session error:
  • Module Name:
  • Response Arguments:

-- Indicators --

  • state out:
  • args out:
  • source/target out:
  • error:

CSMP-Register Status.vi

-- Controls --

  • state:
  • args:
  • source/target:
  • Module Name:

-- Indicators --

  • state out:
  • args out:
  • source/target out:
  • Pre-State out:
  • Pre-Args out:
  • error:

CSMP-Sync Call.vi

-- Controls --

  • state:
  • args:
  • source/target:
  • Response Timeout(5000ms):
  • Module Name:

-- Indicators --

  • state out:
  • args out:
  • source/target out:
  • Pre-State out:
  • Pre-Args out:
  • error:

CSMP-Unregister Status.vi

-- Controls --

  • state:
  • args:
  • source/target:
  • Module Name:

-- Indicators --

  • state out:
  • args out:
  • source/target out:
  • Pre-State out:
  • Pre-Args out:
  • error:

Auto Resize All MultiListbox Columns (Uniform Text).vi

-- Controls --

  • IgnoreCols(Empty as default):
  • Array:
  • Control in:

Dashboard Cell Resize.vi

-- Controls --

  • Cluster:
  • Cluster Size:Height:
  • Cluster Size:Width:
  • 引气压力P4 4:

-- Indicators --

  • Bounds:Area Height:
  • Bounds:Area Width:

Dashboard Cell2 Array Resize.vi

-- Controls --

  • Num Columns:
  • Cluster:
  • Num Rows:
  • area height:
  • area width:
  • Array 2:

Open CSM BD.vi

-- Controls --

  • Current Module("" to generate a ID):
  • CSM:

Open CSM FP.vi

-- Controls --

  • Current Module("" to generate a ID):
  • CSM:

Select Greater_nevstop.vi

-- Controls --

  • A:
  • B:

-- Indicators --

  • lesser:

Append Application Directory If Relative.vi

-- Controls --

  • Relative path (.):

-- Indicators --

  • Application Directory (+ Relative):

Convert File Extension (Path)__ogtk.vi

-- Controls --

  • new ending (none):
  • file name:

-- Indicators --

  • prev ending:
  • new filename:

Convert File Extension (String)__ogtk.vi

-- Controls --

  • new ending (none):
  • file name:

-- Indicators --

  • prev ending:
  • new filename:

Parse VI Documentation String.vi

-- Controls --

  • NOTE-Map:
  • Documentation:

-- Indicators --

  • Ctrl-Doc Map:
  • Control Docs:
  • Core Doc:
  • Documentation (dup):