User Tools

Site Tools


command_line

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
command_line [2020/02/15 14:56]
adminz [Signature Calculation Mode]
command_line [2020/04/12 11:42]
jtwine [Compile Mode]
Line 24: Line 24:
  
 <​code>​ <​code>​
-  -v, --Verbosity ​   (Default: Warning) Compiler verbosity (message level) +  -v, --Verbosity ​       (Default: Warning) Compiler verbosity (message level) 
-  -n, --NoColor ​     (Default: false) No color - do not colorize console output +  -n, --NoColor ​         (Default: false) No color - do not colorize console output 
-  -o, --Options ​     (Default: None) Compiler options +  -o, --Options ​         (Default: None) Compiler options 
-  -f, --File         Required10LC files to compile +  -w, --DisableWarnings ​ (Default: None) Disable specified warnings (message numbers) 
-  --help ​            ​Display this help screen. +  -f, --Files            ​Required ​10LC files to compile 
-  --version ​         Display version information.+  --help ​                ​Display this help screen. 
 +  --version ​             Display version information.
 </​code>​ </​code>​
  
Line 39: Line 40:
 | ''​-N''​ | ''​%%--%%NoColor''​ | Disables the coloring of console output. ​ By default, console output is colored according to the severity of the output (i.e. errors in red, warnings in yellow, etc.) | | ''​-N''​ | ''​%%--%%NoColor''​ | Disables the coloring of console output. ​ By default, console output is colored according to the severity of the output (i.e. errors in red, warnings in yellow, etc.) |
 | ''​-O''​ | ''​%%--%%Options''​ | Sets one or more compiler options. ​ Supported options are listed below. | | ''​-O''​ | ''​%%--%%Options''​ | Sets one or more compiler options. ​ Supported options are listed below. |
 +| ''​-W''​ | ''​%%--%%DisableWarnings''​ | Sets one or more warnings that are to be disabled (suppressed). |
 | ''​-F''​ | ''​%%--%%File''​ | Indicates the files (one or more) that are to be compiled | | ''​-F''​ | ''​%%--%%File''​ | Indicates the files (one or more) that are to be compiled |
  
-Compiler Options:+== Compiler Options ​==
 ^ Option ​ ^ Description ​ ^ ^ Option ​ ^ Description ​ ^
 | WarningsAreErrors | Treats all warnings as errors and stops compilation when the first warning is emitted | | WarningsAreErrors | Treats all warnings as errors and stops compilation when the first warning is emitted |
Line 49: Line 51:
 | DisableOptimizations | This option disables all optimizations |  | DisableOptimizations | This option disables all optimizations | 
 | EnableIntrinsicCommands | This option enables the new intrinsic statements supported by 10LC. When this option is enabled, program 99 is reserved and used for the implementation of intrinsic statements. | | EnableIntrinsicCommands | This option enables the new intrinsic statements supported by 10LC. When this option is enabled, program 99 is reserved and used for the implementation of intrinsic statements. |
-| DebugStep | This option causes generation of a special program (program 98) and inserts calls to this program between lines of code.  The program shows the program line number and waits for you to press <​Enter/​Yes>​ or <​Clear/​No>​ and stores the result in Register E.  Better to use Compiler Directives for this option so it can be turned on and off selectively. |+| DebugStep | This option causes generation of a special program (program 98) and inserts calls to this program between lines of code.  The program shows the program line number and waits for you to press **<​Enter/​Yes>​** or **<​Clear/​No>​** and stores the result in Register E.  Better to use Compiler Directives for this option so it can be turned on and off selectively. |
  
  
Line 89: Line 91:
  
 <​code>​Fluke10LCCompiler Transmit --port COM3 -b9600 -f C:​\TenLCStuff\Script.mrec</​code>​ <​code>​Fluke10LCCompiler Transmit --port COM3 -b9600 -f C:​\TenLCStuff\Script.mrec</​code>​
- 
-A small reminder that when connecting the 9010A to your PC, you will also need a **null modem** adapter or cable. ​ I am personally using a **DTech 10' USB 2.0 to RS232 DB9 Serial Port Adapter Cable** which uses an FTDI chipset, so I would guess that any other adapter that also uses an FTDI chipset would work as well.  Be sure to get that null modem adapter/​cable,​ too. 
  
 ==== Receive Mode ==== ==== Receive Mode ====
command_line.txt · Last modified: 2020/04/12 11:54 by jtwine