IslayRod Posted November 30, 2010 Share Posted November 30, 2010 Does the functionality exist to select and test a PMAC device without having to display the dialog box "pmacDevice.Selectdevice". My computer will only be attached to 1 device and I don't want to require the operator to select a that device. Thanks, Islay Link to comment Share on other sites More sharing options...
Sina.Sattari Posted November 30, 2010 Share Posted November 30, 2010 Hi Islay, If you know the device number, lets say device 0 and it will always be the same one, just use [b]Pmac.Open(m_nDevice, out m_bDeviceOpen);[/b] and pass 0 as [b]m_nDevice[/b] value. Link to comment Share on other sites More sharing options...
IslayRod Posted December 1, 2010 Author Share Posted December 1, 2010 Thanks Sina that works. Islay Link to comment Share on other sites More sharing options...
Recommended Posts