The Command File Configure dialog allows the user to program and execute the functions within the IBPD System in Command Line Mode and is one of the CLADS features. The Command File Configure Dialog will be unique for each protocol and will be part of the protocols dialogs. The CLADS allows the user to create unique commands for a custom application that the user has compiled. This allows the incorporation of the IBPD System into any real time environment.
The Command Line Argument (CLA) File is the main file that is the used in the Command Line mode. The system is organized in step by step functionality and is allowed to ignore those functions that are omitted in the list of command line arguments incorporated in the CLA file. This feature is useful for background operations with third party programs or user designed programs for those unique interface requirements during the product development process. When the Command File is Configured and Saved it creates two files, UserFilename.CMD that is essential to the IBPD System and a header file with the same name UserFilename.h. The format of these files are detailed on this page. The header file contains a standard C language string array of the user commands created in the Command File Configure dialog shown below. These user generated commands give added flexibility to the IBPD System allowing access for third party programs to communicate and access data results of the selected protocol. This allows the user to gain real time operation and obtain results from memory with minimum debug overhead.
Developers are always analyzing COTS vs In-house build and control when developing products. With complexity of software features required in today's product development arena many of the COTS fixed function programs do not meet the special needs of the developer. Many times several program applications have to be purchased and many times fall short of development requirements only to add more time to the development. BASIL Networks over the years has experienced which inspired us to create the IBPD system focused on the developer. Running the IBPD System in Command Line Argument Mode allows hands free repeated operations through a Command Line Argument file that is considered a recipe of commands for the IBPD System dialogs. In developing the CLA file we realized that this system is applicable to many third part programs so we extended it further to a Command Line Argument Development System (CLADS) which we will explain as we go through the configuration process. The processing of a Command Line Argument in C, C++ etc. is so well documented on the web with a simple search, however BASIL Networks also offers a command Line Arguments processing code snippet in standard C that may be added to a Windows or Linux development environment to save time for program development. It is the same Parser that is used in the IBPD System..
The Command Line Mode for the IBPD System is a simple three step process:
Since we have not explained where the actual Command Line Argument Commands are generated we have incorporated a CLA Command editing tool for this very purpose. The CLA Command Dialog gives the user complete control for developing a set of commands for applications that allow Command Mode operations. CLA commands may be created for any Compiler, Macro Assembler, third party API like MatLab, 7-Zip applications and saved in a user specified CLA Command (CLC) file for future use in generating CLA files and shortcuts. There are two types of command Line argument support, In-Line that function like GCC, MASM, CL, msdev, devenv type compilers and assemblers and File type that allow a single file name that contains the recipe file of commands. The IBPD System supports both and allows the command line arguments/switches to be created in a line by line form for easy editing. This will be shown following this page.
Create / Edit Command File Main Menu
Edit Descriptor - This function allows the user to edit the User Field Descriptors to help identify the command used in the associated field. If these fields are used they will be compared with the Command & Control functions assigned in the database. The user should check the spelling to insure they are correct in the selected fields.
Review Descriptors - This function allows the user to view the field descriptors and make any corrections required before saving the descriptors. These descriptors are place in the command file and are assigned to them only. Each command file has its own set of user defined commands.
Update Descriptors - This function will update the descriptors for the command file.
Make/Edit CLA File - Make A Command Line Argument file for this command file.
Save Command List File - This allows the user to save the command file list for future additions and editing.
MAIN MENU - Return to the Calling program. Throughout the IBPD-100 dialogs navigation is reduced to essential links for the user convenience. The Return buttons will return you to the previous calling program and not necessarily to the MAIN Startup dialog.
Command Files List
This is a list of command (*.CMD) files the user has saved for future recall and editing. This list is a user generated list loaded by and shown in . The list is stored in the default directory setup by the user. Each protocol incorporates this dialog since each Command File is different for each protocol.
Load CMD File List
Load/select a list file and load the command files it holds into the listbox. IF the Active field is blank a browser will appear for the user to navigate through their system for a List file to load.
List of Command Files
This is a user generated list of command files for a selected(*.lst) file the user saved earlier. The use may save this list in a different file if it has been edited or just update the list file. Single clicking on a line in the listbox will select the command file for viewing and editing. The listbox will hold up to 128 Command Files per list.
CMD File to Edit / Create
This is the Command File that is currently being displayed. The *.cmd file also includes a user comment during its creation that may be viewed by clicking on the Edit/View File Comment button. If this is blank and the user clicks the New/Update Cmd File button a browser will pop-up for the user to create a filename to store the configuration data entered in the dialog. The user may also add this file to the Command File listbox and save the list for later review and editing.
This is the data file that is used to program the device.
Data File Associated Parameters
These are parameters used by the IBPD System which associates the data file with the proper programmer and part number from the user databases. The are several user Field Descriptors and data fields that the user may use for added control that the IBPD Stsrem I²C protocol controller will respond to as well as a comment section that the user may enter comments about the Command File functions and use. The creation data, last modified dates and file size are included on the dialog and in the CMD file as a reference.
Xfer Data From Database - This function allows the user to transfer the selected part and parameters to the Command File and insures that the part exists in the database and is available on the system. This transfers the database file the part is located in and the bus protocol required to program the part. If the user has selected a device programmer the Device ID is also transferred, else No Programmer Selected is displayed. This insures that the proper programming device and the devices data file are all matched for automatic programming.
This page - Each dialogs help page is included in the loading of the program. We also have the same help on-line. IF the system has been upgraded we will post the files for that upgrade and allow the user to either upgrade or maintain their current version level.
Status Last Command Executed
Typical status field of the last executed function pertaining to the dialog displayed.
Copyright© 1990-2018 BASIL Networks, PLLC. All