[Home]History of HalScope

LinuxCNCKnowledgeBase | RecentChanges | PageIndex | Preferences | LinuxCNC.org

Revision 4 . . (edit) May 16, 2014 3:41 pm by Kirk Wallace [Improved the layout of the Otherwise section]
Revision 3 . . May 16, 2014 3:10 pm by Kirk Wallace [Added note on halscope options that don't seem to be documented]
Revision 2 . . May 4, 2006 4:33 pm by Jmkasunich
  

Difference (from prior major revision) (minor diff)

Added: 10a11,30

Otherwise Undocumented Information



One can invoke halscope at a command line
<html><table style="border:1px solid black; background-color:#ccddff; padding:5px;"><tr><td>
halscope
</td></tr></table></html>
Which will return an error if it doesn't find a running HAL configuration. If you have LinuxCNC or an HAL application running, halscope will come up and be ready to use.

Invoking halscope with -h at a command line
<html><table style="border:1px solid black; background-color:#ccddff; padding:5px;"><tr><td>
halscope -h
Usage:
halscope [-h] [-i infile] [-o outfile] [num_samples]
</td></tr></table></html>

-i with a file name appended starts halscope and configures it using the named file. Without -i, halscope tries to load autosave.halscope . Normally one would invoke halscope and connect signals, set signal levels, positions, trigger level and such. If you plan on using the setup again, select File then Save Configuration and give your file a name. When halscope quits it also automatically saves the active configuration in autosave.halscope, so alternatively, you could copy the autosave.halscope file and rename the copy. Beware, the autosave.halscope file gets saved on every program exit, so don't use the autosave.halscope file to reuse a configuration you want to hold on to.

Another option, and maybe preferred, is to invoke halscope with the -o option which saves a configuration file to the file name after the -o .
<html><table style="border:1px solid black; background-color:#ccddff; padding:5px;"><tr><td>
halscope -o encoder_debugging.halscope
</td></tr></table></html>

The last halscope option is an entry to change the number of samples captured, but this is covered in the Advanced HAL Tutorial documentation.

LinuxCNCKnowledgeBase | RecentChanges | PageIndex | Preferences | LinuxCNC.org
Search:
Published under a Creative Commons License