07-12-2013 02:41 AM - edited 07-12-2013 02:45 AM
Hi,
from here I've found out, we can use both (internal & external) references to generate signals. The question is, can I use one analog output from the same device as reference for other channel which use external reference?
one more question, is there any reference example of using 2 DIO of 6733 to generate 10MHz clock with different phase?
regards,
Yan
07-15-2013 04:50 AM
Anyone has tested this before?
07-15-2013 05:46 AM
Hi Yan,
I do not see any reason why the PXI-6733 should not accept a voltage originating from the device itself as reference voltage. A problem might be that the reference voltage is not available in the very beginning when putting out the first sample. Consider if this is an issue in your application.
For creating 2 clock signals with different phase, use a CO task with 2 channels. Apply an "initial delay" to one of the channels. The following example features only one CO channel. Simply place a second "DAQmx Create Channel" VI in front of the first one.
https://decibel.ni.com/content/docs/DOC-12164
-Topper
07-15-2013 09:19 AM
hi Topper, thanks for the answer, but I dont think I really understand with your suggestion about applying an initial delay. Can you please explain a little bit more? thanks.
Actually, I need the second pulse train as a reset of an application.
Do you think I can use your suggestion?
regards,
Yan.
07-15-2013 10:21 AM
Please have a look at the example. There is a float constant below the "DAQmx Create Channel" VI that says "0.00". That is the initial delay in seconds. Use 5e-8 to have a phase delay of 180° for a 10 MHz signal.
I am not sure what kind of application you refer to and how it would reset. Please give some details.
07-16-2013 08:39 AM
hi topper, I should provide two signals of 10MHz, with 1/4 phase difference between signal 1 and signal 2.
signal 1 should be used as application's CLOCK, and signal 2 should be used as application's RESET. Which means, I should generate signal 1 from the start to feed my DUT, and signal 2 only when I need to reset my DUT.
regards,
Yan.
07-17-2013 10:11 AM
I see. You can define a duty cycle of 0.5 for signal 1 and a duty cycle of 0 for signal 2. When you need to reset your device, write new duty cycles (0.5 and 0.5) with DAQmx Write to your device.
07-18-2013 07:52 AM
hi topper, thanks for your suggestion.
but I still dont get it how to apply it in labview, can you please show me how to do it? with event structure?
regards,
Yan.
07-22-2013 10:45 AM
Did you try an implementation with the example I linked? Where exactly did you get stuck?