05-07-2008 11:05 PM
07-24-2008 02:05 PM
Hi Ali, here the problem is both software and hardware. The 6501 doesn't have correlated I/O, the timing of the exit is controlled by the software. The minimum timed loop that can be controlled by software on a windows computer is 1ms, so you can get up to 1khz with this card, but as windows can produce jitter (jitter is the difference of time between the one expected and the one obtained).on your system, that is why you can't see a uniform pulse width. As you stated before changing to a Real Time system would help as there would be less jitter, but USB cards are not supported in RT. You could use a DAQ Card that has Correlated I/O the 6229 has correlated I/O for port 0, but you have to modify the program. Because if you send on demand, the timing is done by software. You can use the example in;
http://zone.ni.com/devzone/cda/epd/p/id/1566
Depending on your applications there are other boards you could use for example a 7811R is a card with 160 DIO Correlated (this one has FPGA so you control how it works and you can get precision up to 25 NS. you could also try high speed DIO cards, This cards have digital lines controlled by hardware for example the 6533 can work up to 2MHZ there are cards of more than 100Mhz. You could also try using the counter to generate the pulses. You could try this with the 6229, but this only have 2 counters; the 6602 has 8 counters and 32 static lines (software timed)