Jump to content

Prevent/disable Ledcontrol From Trying To Load


BamBam

Recommended Posts

Posted

Hello Fellow Pinheads,

 

I am trying to run a VP table called Centigrade37_FS_B2S on my 3-Screen Cabinet.  I am not yet running a LEDWiz on my rig, but this table keeps giving me a Script Error for Line 1816.  This is what I see highlighted within the script when the error pops up:

 

CheckLEDWizTool
 
Sub CheckLEDWizTool
    dim check
    Set check = CreateObject("Scripting.FileSystemObject")
    If check.FileExists("LedWizToolBox.vbs") Then
        ExecuteGlobal GetTextFile("LedWizToolBox.vbs")
ExecuteGlobal GetTextFile("ledcontrol.vbs")

 

I assumed it was looking for the ledcontrol.vbs, which I downloaded and added to my "C:\Visual Pinball\Tables" folder.  I then tried running the table again.  The next time I got a Windows error that said:

 

Error: Unable to initialize LedWizard or Pac-Drive, verify you've registered the led driver DLL's and the board is connected.

 

The table will allow me to play so long as I clear all the error messages manually.  As I am not running a LEDWiz or Pac-Drive at this time, I would like to disable this command within the script.  Any thoughts on how this may be done?

 

I am trying to get my head wrapped around all of the new goodness since returning to the hobby after a brief hiatus away from my build.

 

I presume that these controllers are being activated to run the new bling etc.

 

Thanks in advance for any assistance you may be to provide.

 

John 

  • Content Provider
Posted

Try putting a single quote mark in from of CheckLEDWiztool to comment that line out

 

'CheckLEDWizTool

Archived

This topic is now archived and is closed to further replies.

×
  • Create New...