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

namespace NIDAQmx
{
    public class PCI : BaseDevice
    {
        internal PCI(DAQmxSession session, string deviceName) : base(session, deviceName)
        {
            _Session.CheckResult(_Session.GetDelegate<Internal.Internal.DAQmxGetDevPCIBusNum>()(DeviceName, ref busNum));
            _Session.CheckResult(_Session.GetDelegate<Internal.Internal.DAQmxGetDevPCIDevNum>()(DeviceName, ref devNum));
        }
        private uint busNum=0;
        private uint devNum=0;
        public uint BusNum => busNum;
        public uint DevNum => devNum;
    }
}
