PDA

View Full Version : Error 000041d6


lawtonca
03-19-2009, 10:26 AM
Hi,
We are occasionally having an issue with our graphics. 99.9% of the time they work fine.
We use the intelligent interface to load the message, then call a macro to transfer and run transitions. Occasionally the graphics will load, transfer but not run the transition to bring the graphics in. In the bottom left of the screen we get the error 'Intell. Interface Error 000041d6 : macro error'

Can anyone tell me what error 000041d6 is?

Thanks very much
Chris

Chyron Spock
03-19-2009, 10:47 AM
Is there a chance that the macro is trying to execute before the II command is complete? What is the macro script?

Chyop
03-24-2009, 05:58 PM
I'm thinking that there is a line in your VBScript (macro) that is causing a problem. I had a couple of pages that worked 99 percent of the time, too; however, occasionally they would fail. While I'm not using Intelligent Interface, I can see where a "macro failed" error code could occur (which is 41d6) if there is a bad line of code somewhere.

For me, I found that a comma was added where it shouldn't have been in one page. And the other page, the code was inefficiently written (there was extra stuff that wasn't really needed). Once I corrected these problems, the macro errors have ceased.

These problems can be a pain in the neck, because it looks like the code should work (and does 99 percent of the time). Try making the macro fail without using II. If you can, an error box should pop up telling you what line it got hung up on.

Steve

lawtonca
03-25-2009, 11:38 AM
Thanks very much for these, I've put a 1 frame delay in the start of the macro and haven't had any other calls (doesn't always mean it isn't happening though... users...)

The macros are very simple the call is made to a macro 'FullonTimedQty'

wait(1)
RunGraphics
wait(1)
SetTimer
tranName = "GFXINQT"
RunTransition

This calls RunGraphics

sceneName = FrameBufferScene(1).Name
cmd = "Y\" + chr(213) + chr(243) + "1\\"
iicommand cmd
InitialiseVars

and RunTranistion

set scene = FrameBuffer(ActiveFrameBuffer).SceneByName(sceneNa me)
set trans = scene.TransitionByName(tranName)
trans.activate

InitialiseVars is:
'Initialise states of straps
imageStrOn = false
textStrOn = false

'Initialise states of other transitions
priceCrashIn = true
qtyChangeIn = true
priceChangeIn = true

strapCount = 0

There is nothing complicated in any of these.

lawtonca
03-25-2009, 11:39 AM
Oh I missed settimer didn't I

set scene = FrameBuffer(ActiveFrameBuffer).SceneByName(sceneNa me)
set node = scene.Element("GameTimer")
set element = node.Element(0)

set gametime = scene.Template(12).Text
element.ResetTime(gametime)
element.Action("Reset")

Chyron Spock
03-25-2009, 12:54 PM
Why do a couple of the lines have "Scene Na me" with a space in them?

lawtonca
03-26-2009, 05:24 AM
I'm not sure why they have come out like that here, I've just re-copied and pasted the macro's into notepad, the extra space doesn't show up the the macro editor in lyric or notepad.