Forums › General Discussions › Running Spike with Presets from Command Line
- This topic has 2 replies, 2 voices, and was last updated 8 years, 3 months ago by
JasonS.
- AuthorPosts
JasonSParticipantMorning,
Thanks for the great products you are producing!
I’m looking for a way to start Spike from a batch file that will either:
1) Allow me to set the parameters of the spectrum analyser from the command line OR
2) Allow me to start spike with a saved PresetI’m able to do this using the APIs and a custom program, but in some instances I would like to use the latest Spike functionality.
I’m running a remote pc with an SA44b connected and using tightvnc to connect to it, hence the need to start spike with some predefined parameters.
Many thanks for your help.
Regards
Jason
AndrewModeratorHi Jason,
Sounds like you have a cool setup.
Out of curiosity, are you aware of the fast preset loading with the Ctrl+# keys? If you save a preset (Through the ‘Preset’ file menu), you can quick load it with this shortcut. If you are opening Spike remotely, you can load the preset right after the application launches.Currently we do not have any command line functionality or the ability to programmatically control Spike, nor is there a way to start Spike with a start up preset. It has to be done through the file menu or the keyboard shortcut.
Let me know if you have additional questions.
Regards,
Andrew Montgomery
JasonSParticipantAh, thanks Andrew (appreciate the quick response)
I should be able to use ‘send keys’ command /or something similar in the batch file to load the preset then. Forgot about the shortcut.
I’ll give that a go. Thanks Andrew.
- AuthorPosts
You must be logged in to reply to this topic.