06-12-2007 04:50 AM
06-14-2007 04:15 AM
Hello,
The definition of Error -201062 is "Measurements: Selected lines do not support buffered operations". This is because you are trying to perform a timed operation on a digital line which does not support this.
All M Series boards have the capability to perform correlated digital I/O which allow you to generate or acquire hardware timed digital waveforms. This is only possible using Port 0 of these devices.
Looking at the product page for the PCI-6251, the summary explains that the device has "Correlated DIO (8 clocked lines, 10 MHz); analog and digital triggeringCorrelated DIO (8 clocked lines, 10 MHz); analog and digital triggering"
http://sine.ni.com/nips/cds/view/p/lang/en/nid/14124
The M Series User Manual, also gives details on digital waveform acquisition and generation, and explains that it is only available on port 0. So depending on the number of lines your device has on port 0, it will determine how many clocked digital channels that you can have. In the case of the PCI-6251, there are 8 lines.
http://digital.ni.com/manuals.nsf/websearch/9F6B44D406AE5C6E86257221006EE8A5
Also - the specifications of the device give this information, in a similar format :
http://digital.ni.com/manuals.nsf/websearch/64B7323DE2FA2CD9862572260058BC7A
So you will need to make use of Port 0 to perform buffered digital I/O. There is no function which allows you to select which port you will be able to use for this.
There is more information on M Series generally, and the functionality of these devices on our website at the following location:
http://zone.ni.com/devzone/cda/tut/p/id/3614
I hope this helps, please let me know if you have any questions
Regards
Hannah
NIUK & Ireland