Multiple Pulse U3 in Matlab
Posted 13 January 2011 - 09:31 AM
Posted 13 January 2011 - 09:42 AM
Posted 13 January 2011 - 11:17 AM
Consider using add/go/get blocks with the put_wait iotype:
The resolution is 128 us, so you could do about 128 or 256 but not exactly 200 us. Is that OK?
The point of an add/go/get block with the put_wait iotype is that you are sending a bunch of commands to the U3 in a single low-level packet. One complication is that there is a limit to how many commands fit in a single packet. There is mention of this towards the end of Section 3.1:
Actually, looking at that I see that an AIN read with QuickSample=1 and LongSettling=0 takes roughly 100 us, so you might be able to use AIN reads to get a different delay than 128 us.
If you need the 200 us to be more exact, we can get into using a timer output with a stop timer to do that.
Posted 14 January 2011 - 09:00 AM
Posted 14 January 2011 - 01:11 PM
Posted 19 January 2011 - 05:49 AM
Posted 19 January 2011 - 10:01 AM
Posted 19 January 2011 - 12:00 PM
Posted 19 January 2011 - 01:08 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users