From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
03-12-2014 03:04 PM
03-12-2014 07:49 PM
First, the USB-6009 is not very suitable for a logic analyzer because it only has software timed digital inputs. So you are limited to how fast you can acquire the data and the timing between successive samples will have significant jitter.
Within those limitations you can somewhat demonstrate the concept of a logic analyzer with the USB-6009 for slow signals. If the flashing sequence of the LEDs is slow enough to be perceptible to the human eye/brain, then you can probably get something like what you want.
Start by looking at the DAQ examples to see if there is one which is close to what you need. Find the best example, copy it to a new name and then modify the copy as needed.
If you want better timing accuracy and resolution, consider using analog inputs. They are hardware timed. With four channels you could probably get 10 kHz or slightly more.
Lynn
03-12-2014 10:01 PM
03-12-2014 10:03 PM
03-12-2014 10:25 PM
03-13-2014 02:46 AM
03-13-2014 06:40 AM