using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NIDAQmx
{
    public class PXI : BaseDevice
    {
        internal PXI(DAQmxSession session, string deviceName) : base(session, deviceName)
        {
            _Session.CheckResult(_Session.GetDelegate<Internal.Internal.DAQmxGetDevPXIChassisNum>()(DeviceName, ref chassisnum));
            _Session.CheckResult(_Session.GetDelegate<Internal.Internal.DAQmxGetDevPXISlotNum>()(DeviceName, ref slotnum));
        }
        private uint chassisnum = 0;
        private uint slotnum = 0;
        public uint ChassisNum => chassisnum;
        public uint SlotNum => slotnum;
    }
}
