07-11-2011 10:21 AM
Hi there
my application should generate a digital stream in clock rate A with bus width (number of bits) very from 1 to 4 bits
The DUT will response always on on bit but with clock rate B.
1. can i use the hardware compare mechanism of the hsdio boards.
2. if answer is YES is there any sample that can help me getting started.
Thanks for advance
Gabel Daniel
Solved! Go to Solution.
07-12-2011 02:12 PM
Hi,
Yes, you can do hardware compare with different acquisition and generation rates. There are several examples that are included with the NI-HSDIO driver. There are a few hardware compare examples you would want to check out.
Jon S
07-13-2011 12:08 AM
Hi Jon
Thanks for the reply
Gabel Daniel
07-15-2011 04:59 PM - edited 07-15-2011 05:00 PM
Hi,
One good example to use as a starting point can be found in the NI Example Finder. Navigate to "Hardware Input and Output" >> "Modular Instruments" >> NI-HSDIO >> Dynamic Acquisition and Generation >> Hardware Compare - Error Locations.vi. You'll need to explicitly wire in your new rate into the "niHSDIO Configure Sample Clock.vi" on your response task.
There is also a portion of this code that warns if the stimulus and response waveforms are not the same size. This is not necessary, and could be deleted from the program. You are allowed to have different size stimulus and response waveforms.
Jon S