Esempio n. 1
0
        public byte AxtPulseMethodeGet(short m_nAxis)
        {
            uint value = 0;

#if PROGRAM_RUNNING
            if (GetRunAxis(m_nAxis) == false)
            {
                return(0);
            }
            if (CAXM.AxmMotGetPulseOutMethod(m_nAxis, ref value) == (uint)AXT_FUNC_RESULT.AXT_RT_SUCCESS)
            {
                return((byte)value);
            }
            else
            {
                return(0);
            }
#else
            return(0x00);
#endif
        }