Batch file to re-start sfp.exe

Tips and advice for getting the most from Scope. No questions here please.

Moderators: valis, garyb

Post Reply
User avatar
asktoby
Posts: 208
Joined: Thu Mar 13, 2003 4:00 pm
Contact:

Post by asktoby »

My scope cards suffer from the problem that their contacts have become dirty.
This means that, whenever I boot windows, there's about a 50/50 chance that the scope card will not work. The solution to this is to reach behind the tower, wiggle the cable harness coming out of the back of the Scope card, and then re-start sfp.exe.

This gets tiresome.

To alleviate the process, I have written the following simple *.batch file to restart sfp.exe with one click.

Simply save this as restartSFP.bat and store it in your start menu or wherever is convenient for you.

HTH

restartSFP.bat
==============
REM kill the scope process
taskkill /IM sfp.exe
REM this just introduces a short delay whilst the scope process is closed
ping localhost >nul
REM re-load scope
C:ScopeAppBinsfp.exe
User avatar
at0m
Posts: 4743
Joined: Sat Jun 30, 2001 4:00 pm
Location: Bubble Metropolis
Contact:

Post by at0m »

Nice workaround, asktoby :smile:

Just to add some more options, here's my favorite Scope starting line:
"start /low C:/Scope/App/Bin/SFP.exe -s"

The "start /low" starts Scope in low priority mode, reducing amount of occasional clicks when big mixer panels (with lots of VU) are shown. The "-s" switch starts SFP in the tray, with StartProject.pro instead of the full NewProject.pro project.

Enjoy!
more has been done with less
https://soundcloud.com/at0m-studio
dawman
Posts: 14368
Joined: Sun Jul 24, 2005 4:00 pm
Location: PROJECT WINDOW

Post by dawman »

at0m,
Is this trick something I could use? I'm looking 4 all the tips I can get 4 my new DAW.
User avatar
astroman
Posts: 8452
Joined: Fri Feb 08, 2002 4:00 pm
Location: Germany

Post by astroman »

no, it's just the proof that after more than 20 years of GUI programming the command line is still there and about to stay forever... :razz:
(M$ always had it and Apple just fell back to the shell script)
[kidding off]

anyway Jimmy, for your 'live' application I'd just set 'startup' and 'new project' to the specific one you use on stage (in preferences dialog and make startup-project active).
Then Scope will always come up with that thing regardless of reboot or manual restart.
I assume you don't switch projects during the gig (?)

the 'low priority' switch may be worth a try though, as you have Giga on the same machine (if I remember correctly)

cheers, Tom
Post Reply