Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

MBS FileMaker Plugin Example Databases

Phidget LCD

All examples are included with download of MBS FileMaker Plugin.

Phidget LCD.fmp12

Overview
Tables1
Relationships0
Layouts1
Scripts9
Value Lists0
Custom Functions0
Custom Menus24
File Options
Default custom menu set[Standard FileMaker Menus]
When opening file
Minimum allowed version12.0
Login usingAccount Name; Account= Admin
Allow user to save passwordOff
Require iOS passcodeOff
Switch to layoutOff
Hide all toolbarsOff
Script triggers
OnFirstWindowOpenOff
OnLastWindowCloseOff
OnWindowOpenOff
OnWindowCloseOff
OnFileAVPlayerChangeOff
Thumbnail Settings
Generate ThumbnailsOn; Temporary

 

Tables

Table Name
Statistics
Occurrences in Relationship Graph
Phidget LCD
23 fields defined, 1 record
Phidget LCD

Fields

Table Name: Phidget LCD - 23 Fields
Field NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
PrimaryKeyNormal, TextAuto-Enter: Validation:
  • Only during data entry
  • Not empty
  • Unique
  • Strict validation
Storage:
  • Repetitions: 1
  • Indexing: Minimal
  • Automatically create indexes as needed
  • Index Language: Unicode Raw
Unique identifier of each record in this table
          CreationTimestampNormal, TimestampAuto-Enter:
          • Creation timestamp
          Validation:
          • Only during data entry
          • Strict data type: 4 digit year
          • Not empty
          • Strict validation
          Storage:
          • Repetitions: 1
          • Indexing: None
          • Automatically create indexes as needed
          • Index Language: German
          Date and time each record was created
                  CreatedByNormal, TextAuto-Enter:
                  • Creation account name
                  Validation:
                  • Only during data entry
                  • Not empty
                  • Strict validation
                  Storage:
                  • Repetitions: 1
                  • Indexing: None
                  • Automatically create indexes as needed
                  • Index Language: German
                  Account name of the user who created each record
                          ModificationTimestampNormal, TimestampAuto-Enter:
                          • Modification timestamp
                          Validation:
                          • Only during data entry
                          • Strict data type: 4 digit year
                          • Not empty
                          • Strict validation
                          Storage:
                          • Repetitions: 1
                          • Indexing: None
                          • Automatically create indexes as needed
                          • Index Language: German
                          Date and time each record was last modified
                                  ModifiedByNormal, TextAuto-Enter:
                                  • Modification account name
                                  Validation:
                                  • Only during data entry
                                  • Not empty
                                  • Strict validation
                                  Storage:
                                  • Repetitions: 1
                                  • Indexing: None
                                  • Automatically create indexes as needed
                                  • Index Language: German
                                  Account name of the user who last modified each record
                                          DeviceNameNormal, TextAuto-Enter:
                                          • Allow editing
                                          Validation:
                                          • Only during data entry
                                          Storage:
                                          • Repetitions: 1
                                          • Indexing: None
                                          • Automatically create indexes as needed
                                          • Index Language: German
                                              DeviceSerialNumberNormal, NumberAuto-Enter:
                                              • Allow editing
                                              Validation:
                                              • Only during data entry
                                              Storage:
                                              • Repetitions: 1
                                              • Indexing: None
                                              • Automatically create indexes as needed
                                              • Index Language: German
                                                  DeviceIDNormal, NumberAuto-Enter:
                                                  • Allow editing
                                                  Validation:
                                                  • Only during data entry
                                                  Storage:
                                                  • Repetitions: 1
                                                  • Indexing: None
                                                  • Automatically create indexes as needed
                                                  • Index Language: German
                                                      DeviceLabelNormal, TextAuto-Enter:
                                                      • Allow editing
                                                      Validation:
                                                      • Only during data entry
                                                      Storage:
                                                      • Repetitions: 1
                                                      • Indexing: None
                                                      • Automatically create indexes as needed
                                                      • Index Language: German
                                                          ChannelNormal, NumberAuto-Enter:
                                                          • Allow editing
                                                          Validation:
                                                          • Only during data entry
                                                          Storage:
                                                          • Repetitions: 1
                                                          • Indexing: None
                                                          • Automatically create indexes as needed
                                                          • Index Language: German
                                                              ChannelClassNormal, NumberAuto-Enter:
                                                              • Allow editing
                                                              Validation:
                                                              • Only during data entry
                                                              Storage:
                                                              • Repetitions: 1
                                                              • Indexing: None
                                                              • Automatically create indexes as needed
                                                              • Index Language: German
                                                                  ChannelClassNameNormal, TextAuto-Enter:
                                                                  • Allow editing
                                                                  Validation:
                                                                  • Only during data entry
                                                                  Storage:
                                                                  • Repetitions: 1
                                                                  • Indexing: None
                                                                  • Automatically create indexes as needed
                                                                  • Index Language: German
                                                                      ChannelSubclassNormal, TextAuto-Enter:
                                                                      • Allow editing
                                                                      Validation:
                                                                      • Only during data entry
                                                                      Storage:
                                                                      • Repetitions: 1
                                                                      • Indexing: None
                                                                      • Automatically create indexes as needed
                                                                      • Index Language: German
                                                                          ScreenSizeNormal, NumberAuto-Enter:
                                                                          • Allow editing
                                                                          Validation:
                                                                          • Only during data entry
                                                                          Storage:
                                                                          • Repetitions: 1
                                                                          • Indexing: None
                                                                          • Automatically create indexes as needed
                                                                          • Index Language: German
                                                                              WidthNormal, NumberAuto-Enter:
                                                                              • Allow editing
                                                                              Validation:
                                                                              • Only during data entry
                                                                              Storage:
                                                                              • Repetitions: 1
                                                                              • Indexing: None
                                                                              • Automatically create indexes as needed
                                                                              • Index Language: German
                                                                                  MaxBackLightNormal, NumberAuto-Enter:
                                                                                  • Allow editing
                                                                                  Validation:
                                                                                  • Only during data entry
                                                                                  Storage:
                                                                                  • Repetitions: 1
                                                                                  • Indexing: None
                                                                                  • Automatically create indexes as needed
                                                                                  • Index Language: German
                                                                                      MinBackLightNormal, NumberAuto-Enter:
                                                                                      • Allow editing
                                                                                      Validation:
                                                                                      • Only during data entry
                                                                                      Storage:
                                                                                      • Repetitions: 1
                                                                                      • Indexing: None
                                                                                      • Automatically create indexes as needed
                                                                                      • Index Language: German
                                                                                          MaxContrastNormal, NumberAuto-Enter:
                                                                                          • Allow editing
                                                                                          Validation:
                                                                                          • Only during data entry
                                                                                          Storage:
                                                                                          • Repetitions: 1
                                                                                          • Indexing: None
                                                                                          • Automatically create indexes as needed
                                                                                          • Index Language: German
                                                                                              MinContrastNormal, NumberAuto-Enter:
                                                                                              • Allow editing
                                                                                              Validation:
                                                                                              • Only during data entry
                                                                                              Storage:
                                                                                              • Repetitions: 1
                                                                                              • Indexing: None
                                                                                              • Automatically create indexes as needed
                                                                                              • Index Language: German
                                                                                                  LastEventNormal, TextAuto-Enter:
                                                                                                  • Allow editing
                                                                                                  Validation:
                                                                                                  • Only during data entry
                                                                                                  Storage:
                                                                                                  • Repetitions: 1
                                                                                                  • Indexing: None
                                                                                                  • Automatically create indexes as needed
                                                                                                  • Index Language: German
                                                                                                      TextNormal, TextAuto-Enter:
                                                                                                      • Allow editing
                                                                                                      Validation:
                                                                                                      • Only during data entry
                                                                                                      Storage:
                                                                                                      • Repetitions: 1
                                                                                                      • Indexing: None
                                                                                                      • Automatically create indexes as needed
                                                                                                      • Index Language: German
                                                                                                          ContrastNormal, NumberAuto-Enter:
                                                                                                          • Allow editing
                                                                                                          Validation:
                                                                                                          • Only during data entry
                                                                                                          Storage:
                                                                                                          • Repetitions: 1
                                                                                                          • Indexing: None
                                                                                                          • Automatically create indexes as needed
                                                                                                          • Index Language: German
                                                                                                              BackLightNormal, NumberAuto-Enter:
                                                                                                              • Allow editing
                                                                                                              Validation:
                                                                                                              • Only during data entry
                                                                                                              Storage:
                                                                                                              • Repetitions: 1
                                                                                                              • Indexing: None
                                                                                                              • Automatically create indexes as needed
                                                                                                              • Index Language: German

                                                                                                                  Layout Objects: Phidget LCD

                                                                                                                  Regular Fields

                                                                                                                  Field Name: Phidget LCD::DeviceName
                                                                                                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                                  • Top: 117 pt
                                                                                                                  • Left: 210 pt
                                                                                                                  • Bottom: 148 pt
                                                                                                                  • Right: 463 pt
                                                                                                                  • Anchoring: Left, Top
                                                                                                                  Field Format:
                                                                                                                  • Edit Box
                                                                                                                  Field Behavior:
                                                                                                                  • Allow field to be entered: In Find mode, In Browse mode
                                                                                                                  • Touch keyboard type: Default for Data Type
                                                                                                                  • Go to next field using: Tab key
                                                                                                                  Yes

                                                                                                                  Field Name: Phidget LCD::DeviceSerialNumber
                                                                                                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                                  • Top: 152 pt
                                                                                                                  • Left: 210 pt
                                                                                                                  • Bottom: 183 pt
                                                                                                                  • Right: 463 pt
                                                                                                                  • Anchoring: Left, Top
                                                                                                                  Field Format:
                                                                                                                  • Edit Box
                                                                                                                  Field Behavior:
                                                                                                                  • Allow field to be entered: In Find mode, In Browse mode
                                                                                                                  • Touch keyboard type: Default for Data Type
                                                                                                                  • Go to next field using: Tab key
                                                                                                                  Yes

                                                                                                                  Field Name: Phidget LCD::DeviceID
                                                                                                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                                  • Top: 187 pt
                                                                                                                  • Left: 210 pt
                                                                                                                  • Bottom: 218 pt
                                                                                                                  • Right: 463 pt
                                                                                                                  • Anchoring: Left, Top
                                                                                                                  Field Format:
                                                                                                                  • Edit Box
                                                                                                                  Field Behavior:
                                                                                                                  • Allow field to be entered: In Find mode, In Browse mode
                                                                                                                  • Touch keyboard type: Default for Data Type
                                                                                                                  • Go to next field using: Tab key
                                                                                                                  Yes

                                                                                                                  Field Name: Phidget LCD::DeviceLabel
                                                                                                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                                  • Top: 222 pt
                                                                                                                  • Left: 210 pt
                                                                                                                  • Bottom: 253 pt
                                                                                                                  • Right: 463 pt
                                                                                                                  • Anchoring: Left, Top
                                                                                                                  Field Format:
                                                                                                                  • Edit Box
                                                                                                                  Field Behavior:
                                                                                                                  • Allow field to be entered: In Find mode, In Browse mode
                                                                                                                  • Touch keyboard type: Default for Data Type
                                                                                                                  • Go to next field using: Tab key
                                                                                                                  Yes

                                                                                                                  Field Name: Phidget LCD::Channel
                                                                                                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                                  • Top: 257 pt
                                                                                                                  • Left: 210 pt
                                                                                                                  • Bottom: 288 pt
                                                                                                                  • Right: 463 pt
                                                                                                                  • Anchoring: Left, Top
                                                                                                                  Field Format:
                                                                                                                  • Edit Box
                                                                                                                  Field Behavior:
                                                                                                                  • Allow field to be entered: In Find mode, In Browse mode
                                                                                                                  • Touch keyboard type: Default for Data Type
                                                                                                                  • Go to next field using: Tab key
                                                                                                                  Yes

                                                                                                                  Field Name: Phidget LCD::ChannelClass
                                                                                                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                                  • Top: 292 pt
                                                                                                                  • Left: 210 pt
                                                                                                                  • Bottom: 323 pt
                                                                                                                  • Right: 463 pt
                                                                                                                  • Anchoring: Left, Top
                                                                                                                  Field Format:
                                                                                                                  • Edit Box
                                                                                                                  Field Behavior:
                                                                                                                  • Allow field to be entered: In Find mode, In Browse mode
                                                                                                                  • Touch keyboard type: Default for Data Type
                                                                                                                  • Go to next field using: Tab key
                                                                                                                  Yes

                                                                                                                  Field Name: Phidget LCD::ChannelClassName
                                                                                                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                                  • Top: 327 pt
                                                                                                                  • Left: 210 pt
                                                                                                                  • Bottom: 358 pt
                                                                                                                  • Right: 463 pt
                                                                                                                  • Anchoring: Left, Top
                                                                                                                  Field Format:
                                                                                                                  • Edit Box
                                                                                                                  Field Behavior:
                                                                                                                  • Allow field to be entered: In Find mode, In Browse mode
                                                                                                                  • Touch keyboard type: Default for Data Type
                                                                                                                  • Go to next field using: Tab key
                                                                                                                  Yes

                                                                                                                  Field Name: Phidget LCD::ChannelSubclass
                                                                                                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                                  • Top: 362 pt
                                                                                                                  • Left: 210 pt
                                                                                                                  • Bottom: 393 pt
                                                                                                                  • Right: 463 pt
                                                                                                                  • Anchoring: Left, Top
                                                                                                                  Field Format:
                                                                                                                  • Edit Box
                                                                                                                  Field Behavior:
                                                                                                                  • Allow field to be entered: In Find mode, In Browse mode
                                                                                                                  • Touch keyboard type: Default for Data Type
                                                                                                                  • Go to next field using: Tab key
                                                                                                                  Yes

                                                                                                                  Field Name: Phidget LCD::ScreenSize
                                                                                                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                                  • Top: 397 pt
                                                                                                                  • Left: 210 pt
                                                                                                                  • Bottom: 428 pt
                                                                                                                  • Right: 463 pt
                                                                                                                  • Anchoring: Left, Top
                                                                                                                  Field Format:
                                                                                                                  • Edit Box
                                                                                                                  Field Behavior:
                                                                                                                  • Allow field to be entered: In Find mode, In Browse mode
                                                                                                                  • Touch keyboard type: Default for Data Type
                                                                                                                  • Go to next field using: Tab key
                                                                                                                  Yes

                                                                                                                  Field Name: Phidget LCD::Width
                                                                                                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                                  • Top: 432 pt
                                                                                                                  • Left: 210 pt
                                                                                                                  • Bottom: 463 pt
                                                                                                                  • Right: 463 pt
                                                                                                                  • Anchoring: Left, Top
                                                                                                                  Field Format:
                                                                                                                  • Edit Box
                                                                                                                  Field Behavior:
                                                                                                                  • Allow field to be entered: In Find mode, In Browse mode
                                                                                                                  • Touch keyboard type: Default for Data Type
                                                                                                                  • Go to next field using: Tab key
                                                                                                                  Yes

                                                                                                                  Field Name: Phidget LCD::MaxBackLight
                                                                                                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                                  • Top: 467 pt
                                                                                                                  • Left: 384 pt
                                                                                                                  • Bottom: 498 pt
                                                                                                                  • Right: 463 pt
                                                                                                                  • Anchoring: Left, Top
                                                                                                                  Field Format:
                                                                                                                  • Edit Box
                                                                                                                  Field Behavior:
                                                                                                                  • Allow field to be entered: In Find mode, In Browse mode
                                                                                                                  • Touch keyboard type: Default for Data Type
                                                                                                                  • Go to next field using: Tab key
                                                                                                                  Yes

                                                                                                                  Field Name: Phidget LCD::MinBackLight
                                                                                                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                                  • Top: 467 pt
                                                                                                                  • Left: 210 pt
                                                                                                                  • Bottom: 498 pt
                                                                                                                  • Right: 289 pt
                                                                                                                  • Anchoring: Left, Top
                                                                                                                  Field Format:
                                                                                                                  • Edit Box
                                                                                                                  Field Behavior:
                                                                                                                  • Allow field to be entered: In Find mode, In Browse mode
                                                                                                                  • Touch keyboard type: Default for Data Type
                                                                                                                  • Go to next field using: Tab key
                                                                                                                  Yes

                                                                                                                  Field Name: Phidget LCD::MaxContrast
                                                                                                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                                  • Top: 502 pt
                                                                                                                  • Left: 384 pt
                                                                                                                  • Bottom: 533 pt
                                                                                                                  • Right: 463 pt
                                                                                                                  • Anchoring: Left, Top
                                                                                                                  Field Format:
                                                                                                                  • Edit Box
                                                                                                                  Field Behavior:
                                                                                                                  • Allow field to be entered: In Find mode, In Browse mode
                                                                                                                  • Touch keyboard type: Default for Data Type
                                                                                                                  • Go to next field using: Tab key
                                                                                                                  Yes

                                                                                                                  Field Name: Phidget LCD::MinContrast
                                                                                                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                                  • Top: 501 pt
                                                                                                                  • Left: 210 pt
                                                                                                                  • Bottom: 532 pt
                                                                                                                  • Right: 289 pt
                                                                                                                  • Anchoring: Left, Top
                                                                                                                  Field Format:
                                                                                                                  • Edit Box
                                                                                                                  Field Behavior:
                                                                                                                  • Allow field to be entered: In Find mode, In Browse mode
                                                                                                                  • Touch keyboard type: Default for Data Type
                                                                                                                  • Go to next field using: Tab key
                                                                                                                  Yes

                                                                                                                  Field Name: Phidget LCD::LastEvent
                                                                                                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                                  • Top: 652 pt
                                                                                                                  • Left: 210 pt
                                                                                                                  • Bottom: 683 pt
                                                                                                                  • Right: 990 pt
                                                                                                                  • Anchoring: Left, Top
                                                                                                                  Field Format:
                                                                                                                  • Edit Box
                                                                                                                  Field Behavior:
                                                                                                                  • Allow field to be entered: In Find mode, In Browse mode
                                                                                                                  • Touch keyboard type: Default for Data Type
                                                                                                                  • Go to next field using: Tab key
                                                                                                                  Yes

                                                                                                                  Field Name: Phidget LCD::Text
                                                                                                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                                    OnObjectModify
                                                                                                                  • Script: Send Text
                                                                                                                  • Modes: Browse
                                                                                                                  • Top: 557 pt
                                                                                                                  • Left: 210 pt
                                                                                                                  • Bottom: 628 pt
                                                                                                                  • Right: 463 pt
                                                                                                                  • Anchoring: Left, Top
                                                                                                                  Field Format:
                                                                                                                  • Edit Box
                                                                                                                  Field Behavior:
                                                                                                                  • Allow field to be entered: In Find mode, In Browse mode
                                                                                                                  • Touch keyboard type: Default for Data Type
                                                                                                                  • Go to next field using: Tab key
                                                                                                                  Yes

                                                                                                                  Field Name: Phidget LCD::Contrast
                                                                                                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                                  • Top: 502 pt
                                                                                                                  • Left: 297 pt
                                                                                                                  • Bottom: 533 pt
                                                                                                                  • Right: 376 pt
                                                                                                                  • Anchoring: Left, Top
                                                                                                                  Field Format:
                                                                                                                  • Edit Box
                                                                                                                  Field Behavior:
                                                                                                                  • Allow field to be entered: In Find mode, In Browse mode
                                                                                                                  • Touch keyboard type: Default for Data Type
                                                                                                                  • Go to next field using: Tab key
                                                                                                                  Yes

                                                                                                                  Field Name: Phidget LCD::BackLight
                                                                                                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                                  • Top: 467 pt
                                                                                                                  • Left: 297 pt
                                                                                                                  • Bottom: 498 pt
                                                                                                                  • Right: 376 pt
                                                                                                                  • Anchoring: Left, Top
                                                                                                                  Field Format:
                                                                                                                  • Edit Box
                                                                                                                  Field Behavior:
                                                                                                                  • Allow field to be entered: In Find mode, In Browse mode
                                                                                                                  • Touch keyboard type: Default for Data Type
                                                                                                                  • Go to next field using: Tab key
                                                                                                                  Yes

                                                                                                                  Buttons

                                                                                                                  Button PropertiesCoordinatesScript/Script Step
                                                                                                                    Type:
                                                                                                                  • Text: Send Text
                                                                                                                  • Top: 557 pt
                                                                                                                  • Left: 498 pt
                                                                                                                  • Bottom: 588 pt
                                                                                                                  • Right: 637 pt
                                                                                                                  • Anchoring: Left, Top
                                                                                                                  Perform Script [ “Send Text” ]

                                                                                                                  Scripts:


                                                                                                                  Button PropertiesCoordinatesScript/Script Step
                                                                                                                    Type:
                                                                                                                  • Text: Load Library
                                                                                                                  • Top: 117 pt
                                                                                                                  • Left: 498 pt
                                                                                                                  • Bottom: 148 pt
                                                                                                                  • Right: 637 pt
                                                                                                                  • Anchoring: Left, Top
                                                                                                                  Perform Script [ “Load Library” ]

                                                                                                                  Scripts:


                                                                                                                  Button PropertiesCoordinatesScript/Script Step
                                                                                                                    Type:
                                                                                                                  • Text: Open LCD
                                                                                                                  • Top: 156 pt
                                                                                                                  • Left: 498 pt
                                                                                                                  • Bottom: 187 pt
                                                                                                                  • Right: 637 pt
                                                                                                                  • Anchoring: Left, Top
                                                                                                                  Perform Script [ “Open LCD Phidget” ]

                                                                                                                  Scripts:


                                                                                                                  Button PropertiesCoordinatesScript/Script Step
                                                                                                                    Type:
                                                                                                                  • Text: Close LCD
                                                                                                                  • Top: 195 pt
                                                                                                                  • Left: 498 pt
                                                                                                                  • Bottom: 226 pt
                                                                                                                  • Right: 637 pt
                                                                                                                  • Anchoring: Left, Top
                                                                                                                  Perform Script [ “Close” ]

                                                                                                                  Scripts:


                                                                                                                  Script Hierarchy

                                                                                                                  Load Library
                                                                                                                  Open LCD Phidget
                                                                                                                  Close
                                                                                                                  Close All
                                                                                                                  Send Text
                                                                                                                  Clear Fields
                                                                                                                  -
                                                                                                                  Attached
                                                                                                                  Detached

                                                                                                                  Next Script: [Open LCD Phidget]
                                                                                                                  Script NameLoad Library
                                                                                                                  Run script with full access privilegesOff
                                                                                                                  Siri Shortcut VisibleOff
                                                                                                                  Include In MenuYes
                                                                                                                  Layouts that use this script
                                                                                                                  Scripts that use this script
                                                                                                                  Script Definition
                                                                                                                  Script Steps
                                                                                                                  • If [ MBS("IsWindows") ]
                                                                                                                  • Set Variable [ $r; Value:MBS( "Phidget.Load"; "C:\Program Files\Phidgets\Phidget22\phidget22.dll") ]
                                                                                                                  • Else If [ MBS("IsMacOS") ]
                                                                                                                  • Set Variable [ $r; Value:MBS( "Phidget.Load"; "/Library/Frameworks/Phidget22.framework") ]
                                                                                                                  • Else If [ MBS("IsLinux") ]
                                                                                                                  • Set Variable [ $r; Value:MBS( "Phidget.Load"; "libphidget22.so") ]
                                                                                                                  • End If
                                                                                                                  • If [ $r ≠ "OK" ]
                                                                                                                  • Show Custom Dialog [ Title: "Failed to load library"; Message: $r; Default Button: “OK”, Commit: “Yes” ]
                                                                                                                  • Halt Script
                                                                                                                  • End If
                                                                                                                  Fields used in this script
                                                                                                                    Scripts used in this script
                                                                                                                      Layouts used in this script
                                                                                                                        Tables used in this script
                                                                                                                          Table occurrences used by this script
                                                                                                                            Custom Functions used by this script
                                                                                                                              Custom menu set used by this script

                                                                                                                                Previous Script: [Load Library]Next Script: [Close]
                                                                                                                                Script NameOpen LCD Phidget
                                                                                                                                Run script with full access privilegesOff
                                                                                                                                Siri Shortcut VisibleOff
                                                                                                                                Include In MenuYes
                                                                                                                                Layouts that use this script
                                                                                                                                Scripts that use this script
                                                                                                                                  Script Definition
                                                                                                                                  Script Steps
                                                                                                                                  • If [ MBS("Phidget.Loaded") = 0 ]
                                                                                                                                  • Perform Script [ “Load Library” ]
                                                                                                                                  • End If
                                                                                                                                  • Set Field [ Phidget LCD::LastEvent; "Create at " & Get(CurrentTimestamp) ]
                                                                                                                                  • Set Variable [ $$phidget; Value:MBS( "Phidget.Create"; "LCD" ) ]
                                                                                                                                  • Set Variable [ $r; Value:MBS( "Phidget.SetScriptTrigger"; $$phidget; "Attach"; Get(FileName); "Attached" ) ]
                                                                                                                                  • Set Variable [ $r; Value:MBS( "Phidget.SetScriptTrigger"; $$phidget; "Detach"; Get(FileName); "Detached" ) ]
                                                                                                                                  • #open asynchronously
                                                                                                                                  • Set Variable [ $r; Value:MBS( "Phidget.Open"; $$phidget ) ]
                                                                                                                                  • If [ $r ≠ "OK" ]
                                                                                                                                  • Set Field [ Phidget LCD::LastEvent; "Failed to open at " & Get(CurrentTimestamp) ]
                                                                                                                                  • Commit Records/Requests [ No dialog ]
                                                                                                                                  • Show Custom Dialog [ Title: "Failed to open device."; Message: $r; Default Button: “OK”, Commit: “Yes” ]
                                                                                                                                  • Else
                                                                                                                                  • Set Field [ Phidget LCD::LastEvent; "Opened at " & Get(CurrentTimestamp) ]
                                                                                                                                  • Commit Records/Requests [ No dialog ]
                                                                                                                                  • End If
                                                                                                                                  Fields used in this script
                                                                                                                                  Scripts used in this script
                                                                                                                                  Layouts used in this script
                                                                                                                                    Tables used in this script
                                                                                                                                    Table occurrences used by this script
                                                                                                                                    Custom Functions used by this script
                                                                                                                                      Custom menu set used by this script

                                                                                                                                        Previous Script: [Open LCD Phidget]Next Script: [Close All]
                                                                                                                                        Script NameClose
                                                                                                                                        Run script with full access privilegesOff
                                                                                                                                        Siri Shortcut VisibleOff
                                                                                                                                        Include In MenuYes
                                                                                                                                        Layouts that use this script
                                                                                                                                        Scripts that use this script
                                                                                                                                          Script Definition
                                                                                                                                          Script Steps
                                                                                                                                          • If [ Length ( $$phidget ) > 0 ]
                                                                                                                                          • Set Variable [ $r; Value:MBS("Phidget.Close"; $$phidget) ]
                                                                                                                                          • Set Variable [ $r; Value:MBS("Phidget.Release"; $$phidget) ]
                                                                                                                                          • Set Variable [ $$phidget; Value:"" ]
                                                                                                                                          • End If
                                                                                                                                          • Perform Script [ “Clear Fields” ]
                                                                                                                                          • Set Field [ Phidget LCD::LastEvent; "" ]
                                                                                                                                          Fields used in this script
                                                                                                                                          Scripts used in this script
                                                                                                                                          Layouts used in this script
                                                                                                                                            Tables used in this script
                                                                                                                                            Table occurrences used by this script
                                                                                                                                            Custom Functions used by this script
                                                                                                                                              Custom menu set used by this script

                                                                                                                                                Previous Script: [Close]Next Script: [Send Text]
                                                                                                                                                Script NameClose All
                                                                                                                                                Run script with full access privilegesOff
                                                                                                                                                Siri Shortcut VisibleOff
                                                                                                                                                Include In MenuYes
                                                                                                                                                Layouts that use this script
                                                                                                                                                  Scripts that use this script
                                                                                                                                                    Script Definition
                                                                                                                                                    Script Steps
                                                                                                                                                    • Set Variable [ $r; Value:MBS("Phidget.ReleaseAll") ]
                                                                                                                                                    • Set Variable [ $$phidget; Value:"" ]
                                                                                                                                                    • Set Field [ Phidget LCD::LastEvent; "" ]
                                                                                                                                                    • Perform Script [ “Clear Fields” ]
                                                                                                                                                    Fields used in this script
                                                                                                                                                    Scripts used in this script
                                                                                                                                                    Layouts used in this script
                                                                                                                                                      Tables used in this script
                                                                                                                                                      Table occurrences used by this script
                                                                                                                                                      Custom Functions used by this script
                                                                                                                                                        Custom menu set used by this script

                                                                                                                                                          Previous Script: [Close All]Next Script: [Clear Fields]
                                                                                                                                                          Script NameSend Text
                                                                                                                                                          Run script with full access privilegesOff
                                                                                                                                                          Siri Shortcut VisibleOff
                                                                                                                                                          Include In MenuYes
                                                                                                                                                          Layouts that use this script
                                                                                                                                                          Scripts that use this script
                                                                                                                                                            Script Definition
                                                                                                                                                            Script Steps
                                                                                                                                                            • If [ Length ( $$phidget ) > 0 ]
                                                                                                                                                            • #clear existing drawing
                                                                                                                                                            • Set Variable [ $r; Value:MBS( "Phidget.Clear"; $$phidget) ]
                                                                                                                                                            • #write some text
                                                                                                                                                            • Set Variable [ $text1; Value:GetValue(Phidget LCD::Text; 1) ]
                                                                                                                                                            • Set Variable [ $text2; Value:GetValue(Phidget LCD::Text; 2) ]
                                                                                                                                                            • Set Variable [ $r; Value:MBS( "Phidget.WriteText"; $$phidget; 4; 0; 0; $text1 ) ]
                                                                                                                                                            • Set Variable [ $r; Value:MBS( "Phidget.WriteText"; $$phidget; 4; 0; 1; $text2 ) ]
                                                                                                                                                            • #define backlight and contrast to make it readable
                                                                                                                                                            • Set Variable [ $r; Value:MBS( "Phidget.SetProperty"; $$phidget; "Backlight"; 1) ]
                                                                                                                                                            • Set Variable [ $r; Value:MBS( "Phidget.SetProperty"; $$phidget; "Contrast"; ,5) ]
                                                                                                                                                            • #and send all now
                                                                                                                                                            • Set Variable [ $r; Value:MBS( "Phidget.Flush"; $$phidget) ]
                                                                                                                                                            • Set Field [ Phidget LCD::BackLight; MBS("Phidget.GetProperty"; $$phidget; "Backlight") ]
                                                                                                                                                            • Set Field [ Phidget LCD::Contrast; MBS("Phidget.GetProperty"; $$phidget; "Contrast") ]
                                                                                                                                                            • End If
                                                                                                                                                            Fields used in this script
                                                                                                                                                            Scripts used in this script
                                                                                                                                                              Layouts used in this script
                                                                                                                                                                Tables used in this script
                                                                                                                                                                Table occurrences used by this script
                                                                                                                                                                Custom Functions used by this script
                                                                                                                                                                  Custom menu set used by this script

                                                                                                                                                                    Previous Script: [Send Text]Next Script: [-]
                                                                                                                                                                    Script NameClear Fields
                                                                                                                                                                    Run script with full access privilegesOff
                                                                                                                                                                    Siri Shortcut VisibleOff
                                                                                                                                                                    Include In MenuNo
                                                                                                                                                                    Layouts that use this script
                                                                                                                                                                      Scripts that use this script
                                                                                                                                                                      Script Definition
                                                                                                                                                                      Script Steps
                                                                                                                                                                      • Set Field [ Phidget LCD::DeviceName; "" ]
                                                                                                                                                                      • Set Field [ Phidget LCD::DeviceSerialNumber; "" ]
                                                                                                                                                                      • Set Field [ Phidget LCD::DeviceID; "" ]
                                                                                                                                                                      • Set Field [ Phidget LCD::DeviceLabel; "" ]
                                                                                                                                                                      • Set Field [ Phidget LCD::Channel; "" ]
                                                                                                                                                                      • Set Field [ Phidget LCD::ChannelClass; "" ]
                                                                                                                                                                      • Set Field [ Phidget LCD::ChannelClassName; "" ]
                                                                                                                                                                      • Set Field [ Phidget LCD::ChannelSubclass; "" ]
                                                                                                                                                                      • Set Field [ Phidget LCD::ScreenSize; "" ]
                                                                                                                                                                      • Set Field [ Phidget LCD::Width; "" ]
                                                                                                                                                                      • Set Field [ Phidget LCD::MaxBackLight; "" ]
                                                                                                                                                                      • Set Field [ Phidget LCD::MinBackLight; "" ]
                                                                                                                                                                      • Set Field [ Phidget LCD::MaxContrast; "" ]
                                                                                                                                                                      • Set Field [ Phidget LCD::MinContrast; "" ]
                                                                                                                                                                      • Commit Records/Requests [ No dialog ]
                                                                                                                                                                      Fields used in this script
                                                                                                                                                                      Scripts used in this script
                                                                                                                                                                        Layouts used in this script
                                                                                                                                                                          Tables used in this script
                                                                                                                                                                          Table occurrences used by this script
                                                                                                                                                                          Custom Functions used by this script
                                                                                                                                                                            Custom menu set used by this script

                                                                                                                                                                              Previous Script: [Clear Fields]Next Script: [Attached]
                                                                                                                                                                              Script Name-
                                                                                                                                                                              Run script with full access privilegesOff
                                                                                                                                                                              Siri Shortcut VisibleOff
                                                                                                                                                                              Include In MenuNo
                                                                                                                                                                              Layouts that use this script
                                                                                                                                                                                Scripts that use this script
                                                                                                                                                                                  Script Definition
                                                                                                                                                                                  Script Steps
                                                                                                                                                                                    Fields used in this script
                                                                                                                                                                                      Scripts used in this script
                                                                                                                                                                                        Layouts used in this script
                                                                                                                                                                                          Tables used in this script
                                                                                                                                                                                            Table occurrences used by this script
                                                                                                                                                                                              Custom Functions used by this script
                                                                                                                                                                                                Custom menu set used by this script

                                                                                                                                                                                                  Previous Script: [-]Next Script: [Detached]
                                                                                                                                                                                                  Script NameAttached
                                                                                                                                                                                                  Run script with full access privilegesOff
                                                                                                                                                                                                  Siri Shortcut VisibleOff
                                                                                                                                                                                                  Include In MenuNo
                                                                                                                                                                                                  Layouts that use this script
                                                                                                                                                                                                    Scripts that use this script
                                                                                                                                                                                                      Script Definition
                                                                                                                                                                                                      Script Steps
                                                                                                                                                                                                      • Set Field [ Phidget LCD::LastEvent; "Attached at " & Get(CurrentTimestamp) ]
                                                                                                                                                                                                      • Set Variable [ $r; Value:MBS("Log"; "Attached at " & Get(CurrentTimestamp)) ]
                                                                                                                                                                                                      • Set Variable [ $parameter; Value:Get(ScriptParameter) ]
                                                                                                                                                                                                      • Set Variable [ $phidget; Value:JSONGetElement ( $parameter ; "ID" ) ]
                                                                                                                                                                                                      • Set Field [ Phidget LCD::DeviceName; MBS("Phidget.GetProperty"; $phidget; "DeviceName") ]
                                                                                                                                                                                                      • Set Field [ Phidget LCD::DeviceSerialNumber; MBS("Phidget.GetProperty"; $phidget; "DeviceSerialNumber") ]
                                                                                                                                                                                                      • Set Field [ Phidget LCD::DeviceID; MBS("Phidget.GetProperty"; $phidget; "DeviceID") ]
                                                                                                                                                                                                      • Set Field [ Phidget LCD::DeviceLabel; MBS("Phidget.GetProperty"; $phidget; "DeviceLabel") ]
                                                                                                                                                                                                      • Set Field [ Phidget LCD::Channel; MBS("Phidget.GetProperty"; $phidget; "Channel") ]
                                                                                                                                                                                                      • Set Field [ Phidget LCD::ChannelClass; MBS("Phidget.GetProperty"; $phidget; "ChannelClass") ]
                                                                                                                                                                                                      • Set Field [ Phidget LCD::ChannelClassName; MBS("Phidget.GetProperty"; $phidget; "ChannelClassName") ]
                                                                                                                                                                                                      • Set Field [ Phidget LCD::ChannelSubclass; MBS("Phidget.GetProperty"; $phidget; "ChannelSubclass") ]
                                                                                                                                                                                                      • Set Field [ Phidget LCD::ScreenSize; MBS("Phidget.GetProperty"; $phidget; "screensize") ]
                                                                                                                                                                                                      • Set Field [ Phidget LCD::Width; MBS("Phidget.GetProperty"; $phidget; "width") ]
                                                                                                                                                                                                      • Set Field [ Phidget LCD::MaxBackLight; MBS("Phidget.GetProperty"; $phidget; "MaxBacklight") ]
                                                                                                                                                                                                      • Set Field [ Phidget LCD::MinBackLight; MBS("Phidget.GetProperty"; $phidget; "MinBacklight") ]
                                                                                                                                                                                                      • Set Field [ Phidget LCD::BackLight; MBS("Phidget.GetProperty"; $phidget; "Backlight") ]
                                                                                                                                                                                                      • Set Field [ Phidget LCD::MaxContrast; MBS("Phidget.GetProperty"; $phidget; "MaxContrast") ]
                                                                                                                                                                                                      • Set Field [ Phidget LCD::MinContrast; MBS("Phidget.GetProperty"; $phidget; "MinContrast") ]
                                                                                                                                                                                                      • Set Field [ Phidget LCD::Contrast; MBS("Phidget.GetProperty"; $phidget; "Contrast") ]
                                                                                                                                                                                                      • Commit Records/Requests [ No dialog ]
                                                                                                                                                                                                      Fields used in this script
                                                                                                                                                                                                      Scripts used in this script
                                                                                                                                                                                                        Layouts used in this script
                                                                                                                                                                                                          Tables used in this script
                                                                                                                                                                                                          Table occurrences used by this script
                                                                                                                                                                                                          Custom Functions used by this script
                                                                                                                                                                                                            Custom menu set used by this script

                                                                                                                                                                                                              Previous Script: [Attached]
                                                                                                                                                                                                              Script NameDetached
                                                                                                                                                                                                              Run script with full access privilegesOff
                                                                                                                                                                                                              Siri Shortcut VisibleOff
                                                                                                                                                                                                              Include In MenuNo
                                                                                                                                                                                                              Layouts that use this script
                                                                                                                                                                                                                Scripts that use this script
                                                                                                                                                                                                                  Script Definition
                                                                                                                                                                                                                  Script Steps
                                                                                                                                                                                                                  • Set Field [ Phidget LCD::LastEvent; "Detached at " & Get(CurrentTimestamp) ]
                                                                                                                                                                                                                  • Set Variable [ $r; Value:MBS("Log"; "Detached at " & Get(CurrentTimestamp)) ]
                                                                                                                                                                                                                  • Set Variable [ $parameter; Value:Get(ScriptParameter) ]
                                                                                                                                                                                                                  • Perform Script [ “Clear Fields” ]
                                                                                                                                                                                                                  Fields used in this script
                                                                                                                                                                                                                  Scripts used in this script
                                                                                                                                                                                                                  Layouts used in this script
                                                                                                                                                                                                                    Tables used in this script
                                                                                                                                                                                                                    Table occurrences used by this script
                                                                                                                                                                                                                    Custom Functions used by this script
                                                                                                                                                                                                                      Custom menu set used by this script

                                                                                                                                                                                                                        Download example: Phidget LCD

                                                                                                                                                                                                                        Used functions: