|
|
| . |
Command Line Switches Command line switches allow automated Bode Tool operation from the command line. Refer to the usage and examples below. Usage bode_NT [-control<0-9>] Most command line switches shown above are direct analogies to the data that would be entered into the fields in the Bode Tool GUI. Instructions When using the command line switches in a script, set as many parameters as you can. The Bode Tool will use the values from the last session, if you do not specify the value at the command line. Be sure to specify -noise or -sineSweep. When using the -noise switch, specify the testType (usage below) to make sure you have the intended test type. Examples bode_NT -control 1 bode_NT -exciteAmp 5000 -autoStart bode_NT -firstMotor 3 -phantomMotor 5 -exciteAmp
5000 -autoStart Bode NT -noise -exciteAmp 5000 Notes The -autoStart switch starts a sine sweep test with the specified command line settings as soon as the program starts. The results will be displayed when the test in completed. For safety reasons, the large abort button will be displayed during the test. The -autoStop switch causes the Bode Tool to exit after the measurement is taken. Using this switch along with the -autoStart facilitates automated data collection with the Bode Tool using a batch file or something similar. In this situation, renaming and saving fr.txt will make it easier to collect frequency response measurements at many locations or perform other repetitive tests. The -exciteAmp switch sets both the sine sweep amplitude and noise amplitude to the value specified by -exciteAmp. The -fileName command line switch that causes the bode tool to use file name specified instead of fr.txt for storing the test data. This is useful during automated tests that require several trials controlled by an external program. The -fileName switch must be last of all the command line switches entered. Using the -secondMotor or -secondCoeff command line switches are considered to imply that the test should be performed as a two motor test, if in the sine sweep mode. The -secondMotorEnabled mode turns the multiple motor test mode on and off. This is useful for running automated test on multiple motor systems where you want to test the motor in a linear, yaw, and independent mode. The -testType mode lets the user choose what type of noise based test to use. The index indicates which test type to use, in the order they are listed in the drop down box in the main Bode Tool screen.
For example: The userInput and userOutput switches correspond to the User Buffer test type indices. The customInput and customOutput switches correspond to the Custom test type indexes. Custom index uses only hex inputs, whether they are led by "0x" or not. For example:
|
|||||||||||
| | | Copyright © 2001-2008 Motion Engineering |