Aaron,
Visual Logic doesn't have access to the Ross Talk/Smart GPI board to be able to send a message. The easiest way to do this is with scripting, and the good news is it's fairly straightforward, especially if you know at least where to find scripts and how to execute them. You can put a script on the OnOnline event of the Scene Object that reads a Text Object, and sends out that text as part of your GPI message string. Below is an example where I'm sending out a message that reads GPI 44, based on the text "44" being entered into the scene. GPI Board 1 is called on as it's index value of 0 when having the engine Get the GPI Board. If you're trying to send out a message on GPI Board 2, you'd use the index value of 1 in the script, etc.

Here is a copy of that script you're welcome to use and customize to fit your needs:
'get GPI Board 1
dim gpiboard as xpGPIBoard
engine.GetGPIBoard(0,gpiboard)
'get text object
dim text as xpTextObject
self.GetObjectByName("Text",text)
gpiboard.SendMessage("GPI " & text.Text)
------------------------------
Jeff Mayer
Ross Video
------------------------------
Original Message:
Sent: 12-20-2022 00:06
From: Aaron Rice
Subject: XPression Visual Logic & GPI Triggers
I'm looking to have a layer in a scene where I can enter a GPI number that I want fired off when the scene goes online, and that number would be a published item that can be changed. If blank, it would do nothing. I didn't think there was a way to do this using the scene director, since I don't know that there's a way to use a variable for the Rosstalk event.
Is there a way to do this with Visual Logic? I'm not too knowledgeable with actual scripting to build from scratch.
Any help is greatly appreciated!
-Aaron