# 1.1.9 OA_ConnectToOrigin

## Contents

### Description

Connect to Origin project and show the main window of Origin. Using ApplicationSI will not open new instance.

### Controls and Indicators

 Visible is a property which allows you to change the visible state of the Origin application window. The different states include hidden, shown, minimized, maximized, and bring to front. It must be one of the following value: MAINWND_HIDE = 0 MAINWND_SHOW = 1 MAINWND_SHOWMINIMIZED = 2 MAINWND_SHOWMAXIMIZED =3 MAINWND_SHOW_BRING_TO_FRONT =100  The default value is MAINWND_SHOW. error in(no error) contains error information that occur before this VI or function runs. Origin.IOApplication is a reference to Origin.ApplicationSI. Error Out contains error information.
 Note: This VI is available since Origin 8 SR2, but the connectors were modified in SR4, so you will have to replace it from the SR4 palette.