Beispiel #1
0
        unsafe static int Main(string[] args)
        {
            PhxCommon myPhxCommon = new PhxCommon();

            PhxCommon.tCxpRegisters sCameraRegs = new PhxCommon.tCxpRegisters();
            PhxCommon.tPhxCmd       sPhxCmd     = new PhxCommon.tPhxCmd();
            int nStatus = 0;

            myPhxCommon.PhxCommonParseCmd(args, ref sPhxCmd);
            myPhxCommon.PhxCommonParseCxpRegs(sPhxCmd.strConfigFileName, ref sCameraRegs);
            nStatus = phxlive(sPhxCmd.eBoardNumber, sPhxCmd.eChannelNumber, sPhxCmd.strConfigFileName, sCameraRegs);
            return(nStatus);
        }
Beispiel #2
0
        unsafe static void Main(string[] args)
        {
            PhxCommon myPhxCommon = new PhxCommon();

            PhxCommon.tCxpRegisters sCameraRegs = new PhxCommon.tCxpRegisters();
            PhxCommon.tPhxCmd       sPhxCmd     = new PhxCommon.tPhxCmd();

            myPhxCommon.PhxCommonParseCmd(args, ref sPhxCmd);
            myPhxCommon.PhxCommonParseCxpRegs(sPhxCmd.strConfigFileName, ref sCameraRegs);


            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new GrabAndStimAS_PHX_2016(sPhxCmd.eBoardNumber, sPhxCmd.eChannelNumber, sPhxCmd.strConfigFileName, sCameraRegs));
        }