I modified the TS 4.0 HMI to where it has a button (in the execution view) that launches (adobe acrobat) a summary .pdf report. This is not really a callback question, but more of a what am I doing wrong question. In the attached bitmap, (please pardon the mess, but I kept trying stuff to isolate the problem and didn't clean up) this callback is called when the user clicks the "LaunchReport" button in the Execution View. It currently is called when a MouseUp event happens with this button, but that was just an attempt to find the real problem. Anyway, I've disabled the troublesome code. If I hard-code a path to a pdf, the button click causes that pdf to open up in adobe.
What I need to do, however, is get the sequenceContext so that I can get to a FileGlobal containing the report path and pass that in instead. I cannot seem to set a breakpoint in this code to find where the error is. All I know is that if I enable the code, adobe never comes up. I thought it was possibly in my GetFileGlobal VI, so I commented him out still the same behavior. In the final code, I'd like to route the reportpath found in fileglobal upto the LaunchExternalViewer 'FilePath' input.
As experiments, I kept the hard coded value there, but I tried wiring the Engine reference to the GetUIMessage Node, etc - with and without my GetFileGlobal VI, the code just does nothing. I'm wondering if there's anything obviously wrong here.