Example #1
0
        /// <summary>
        /// Gets the int16 array on the brick
        /// </summary>
        /// <returns>The int16 array.</returns>
        /// <param name="handle">Handle to the array on the Brick.</param>
        public Int16MemoryArray GetInt16Array(byte handle)
        {
            var array = new Int16MemoryArray();

            array.Connection = this.connection;
            array.Handle     = handle;
            return(array);
        }
Example #2
0
        /// <summary>
        /// Creates a new int16 array on the brick
        /// </summary>
        /// <returns>The int16 array.</returns>
        /// <param name="size">Size of the array.</param>
        public Int16MemoryArray CreateInt16Array(int size)
        {
            var array = new Int16MemoryArray();

            array.Connection = this.connection;
            array.CreateArray(size);
            return(array);
        }