Using multiple video displays
Starting with Epson RC+ 8.0, you can use multiple video displays in your application. For each display, you can select which camera video to display.
To use multiple displays, you must set the SpelVideoControl property for each display.
The example below shows initialization that includes two video displays.
VB Example:
Private Sub Form_Load(sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
m_spel = New Spel
m_spel.Initialize()
m_spel.Project = "c:\EpsonRC80\projects\test\test.sprj"
SpelVideo1.VideoEnabled = True
SpelVideo1.GraphicsEnabled = True
SpelVideo1.Camera = 1
SpelVideo2.VideoEnabled = True
SpelVideo2.GraphicsEnabled = True
SpelVideo2.Camera = 2
m_spel.SpelVideoControl = SPELVideo1
m_spel.SpelVideoControl = SPELVideo2
End Sub
C# Examples:
private void Form_Load)object sender, EventArgs e)
{
RCAPINet.Spel m_spel = new RCAPINet.Spel();
m_spel.Initialize();
m_spel.Project = @"c:\\EpsonRC80\\project\\test\\test.sprj";
SpelVideo1.VideoEnabled = true;
SpelVideo1.GraphicsEnabled = true;
SpelVideo1.Camera = 1;
SpelVideo2.VideoEnabled = true;
SpelVideo2.GraphicsEnabled = true;
SpelViodeo2.Camera = 2;
m_spel.SpelVdieoControl = SPELVideo1;
m_spel.SpelVideoControl = SPELVideo2;
}