06-22-2015 02:27 AM
Can the USB-6002 be used to generate PWM signals?
If so, which is the maximum frequency and minimum pulse width?
What is the speed of the digital lines when used as output? Can I use teh digital lines to send digital pulses of about 2 microseconds?
Thanks,
Aaron
06-23-2015 05:30 AM
Hey Aaron
Pulling data fro mhe datasheet:
COUNTER
Number of counters 1
Resolution 32-bit
Counter measurements Edge counting, rising or falling
Counter direction Count up
Counter source PFI 0 or PFI 1
Maximum input frequency 5 MHz
Minimum high pulse width 100 ns
Minimum low pulse width 100 ns
TIMEBASE
Timebase frequency 80 MHz
Timebase accuracy ±100 ppm
Timing resolution 12.5 ns
PFI Line outputs probably would be more suitable.
Regards
J
06-23-2015 05:51 AM
I asked NI for asistance. They told me to post my questions in the forum. Then I get a NI engeneer posting the datasheet...
This is far from a decent custumer support!
Can someone, plese, answer my question is a comprenhensive way?
All the best,
Aaron Velez
06-23-2015 06:05 AM
Hi Aaron
Aplogies you feel that way, typically techincal support calls/e-mails are a paid for service, the forums have a wide community (not just NI Egnineers) that can help solve issues//answer questions.
I was merely answering the question of minimum pulse widths and frequencies etc..
What specifically are you looking to get?
Have you tried coding with the 6002?
Regards
J
06-23-2015 06:28 AM
Then it is very unfortunate that the so call paid services told me to post my question in the Forum.
I understand that the main fault was when a NI support told me (by phone) to post my question in the Forum....
So, do not owrry, it is not your fault. I will contact custumer support again.
Thanks,
Aaron
06-23-2015 06:44 AM
Hi Aaron
If there is a valid SSP (Standard Service Program) associated with your NI account then yuo shouldn't have any issue using the phone support 🙂
Regards
J
06-23-2015 09:01 AM
08-07-2018 06:40 AM
Hi! I have the same question. Did you get the answer at the end? Which the max frequency?
08-08-2018 03:15 AM
The USB-6002's counter can only detect (and count) events. They cannot be used to create PWM signals. You can test this yourself by adding a USB-6002 in NI MAX (either a real one or a simulated one), then clicking "Create Task". Navigate to Generate Signals » Counter Output » Pulse Output, and it will show you "No supported devices found" afterwards. Digital Output has only "Line Output".
Here the solution Dennis_Knutson described comes into play: You can use a LabVIEW program to output 1s and 0s in quick succession. However, I strongly disadvise like Dennis did, as the timing of this software-based approach will be quite bad, you will experience a lot of jitter. The execution rate of your output loop will spread a lot, additional to that comes the transfer time through your USB. In chapter 4 here you can get a general impression of jitter on a PC: Make it Faster: More Throughput or Less Latency?
08-08-2018 04:36 AM
I did a service request to NI using my SSP to ask if it's possible to generate a PWM signal with my USB-6000. I wanted a PWM signal to control a H-Bridge motor driver. The answer by the application engineer was NOT and the only way is to generate PWM signal by software in case you need a low frequency and low resolution signal.
With this answer I always use my RIO Eval Kit when I need to generate a PWM signal
I hope this helps you a little bit more