02-09-2008 09:02 PM
02-11-2008 04:45 PM
Hi Wrongway,
The PFI line on the 6009 is only an input so it will not able to generate a trigger. This can be found in the specifications here on page 16. However, you can use another digital line to output a signal which can then be shared among the other 6009s which will be acquiring data. This signal should be generated in software and written to the digital line. Let me know if this helps.
Regards,
Kent L.
02-12-2008 12:44 AM
02-13-2008 12:40 PM
Hi Wrongway,
The digital levels you specified will be enough for the PFI lines. As for the sampling rate, the USB-6009 is software timed. The output will cut into your sampling rate but the exact amount depends on how you program the acquisition and the specifications of your computer hardware. You can test this out for yourself to see what the resulting sampling rate is and whether or not it meets your needs.
Regards,
Kent
02-13-2008 01:36 PM
For clarification, the digital output must be software timed but the analog input can still be hardware timed. If you are just using it as a digital trigger, your analog input should be able to sample at the rate you need.
Regards,
Kent
02-14-2008 04:04 PM
According to the device block diagram it appears that the
USB microcontroller is completely independent of the ADC. Since the USB
microcontroller handles the digital lines, then it seems that the analog
sampling rate would not be affected; The USB bus bandwidth would see an
increase in traffic, which I'm not concerned about with 12 MBits at my
disposal. The issue I have with this approach is that the primary ADC
providing the triggering would be software timed.
So, my question now is how accurately can the software triggered USB-6009 be
clocked. If I want to clock it, via software, at 40 kHz what guarantees
me that LabView can successfully clock it at exactly 40 kHz. I say that, because
you have all of the delays imposed by the USB bus/controllers and possibly the
operating system. Is LabView capable of accurately controlling the
clocking of the USB-6009 despite all those mentioned factors?
Thanks again for responding.
02-14-2008 04:25 PM
02-14-2008 11:36 PM
Sorry, for my ignorance, but I'm a LabView and ADC
newbie. Thank you all for answering my numerous questions.
I’ll ask these questions in response to Andrew S’s post.
I've been working with LabView and I believe I understand what you were telling
me in your post. I don't have the
hardware yet to try this out, so I'm more or less trying to make sure I
understand how the triggering process works before purchase.
From what I understand now I can set up three AI tasks, one for each USB-6009, using
DAQ Assistant. After I specify signal type, number of channels,
input range, and terminal configuration I can then set the task timing. I
would then choose to acquire continuously, external for clock type, PFI 0 for
clock source, and rising edge. Then I would set the ‘start on digital
trigger’ attribute. With all of the PFI
lines tied to one DO line, I would then send the pulse that would trigger the
AI tasks. All three ADCs' AI sampling would then start simultaneously on
the next hardware clock.
The only concerns I have about this approach is do the devices get forced, by maybe
LabView, to start off of the same hardware edge? You mentioned that they start off of the same
HW edge in your post, but I’m just not sure how that is accomplished. Is it just one of those things that has to be accepted
and I should not worry about it? Also, even if all three ADCs start at exactly the same point
in time won't the devices' timing drift relative to each other after a certain
amount of run time?
02-15-2008 12:11 PM
02-17-2008 09:41 AM
From your experience Andrew, would you say that the
USB-6009s can realistically handle being clocked by an external TTL compliant
source at 40 kHz continuously?
Would I definitely get 40 kS/s, about 5 kS/s per channel? Well, taking
into consideration interchannel delays probably 20 kS/s overall and 2.5 kS/s per
channel are better estimates.