06-01-2008 10:04 AM - edited 06-01-2008 10:04 AM
06-02-2008 06:03 PM
Hi wired,
I am interested to know more about your application. You are trying to create a square wave of a certain frequency. You have noted that you need DDS, which is often useful for phase continuous frequency sweeping, but in this instance you have a constant frequency. Are you going to be using very precise frequencies in your application? DDS is only available in our Arbitrary Waveform Generators. Your signal in an Arbitrary Waveform Generator is stored as samples and recreated based on the selected frequency. This is the basis of DDS to create a precise frequency. This reason i bring it up is that you listed your frequency in terms of bps. If it is possible to use a digital signal to represent your square wave without DDS an HSDIO card may be an option. Are you going to be performing any triggering and how many lines do you need with this device?
The reason for my questions is that your square wave could be represented as an analog or digital signal.
There is a VI in LabVIEW that can be used to create a Pseudo-Random Binary Sequence. I have included a link to the help document.
MLS Sequence Waveform
http://zone.ni.com/reference/en-XX/help/371361D-01/lvwave/mls_sequence_wf/#Output1
06-03-2008 08:34 AM
Thanks for your reply, Steve. I have been working with Samantha in tech support on this, and I think we may have a solution. I do need better frequency resolution than can be had with a counter-generated system. My current thinking is that I could use either a PXI-6652 Timing and Sync module or a PXI-5404 Frequency Generator to generate the DDS output clock. The signal can be routed onto the the PXI backplane on one of the PXI_TRIGx lines. A PXI-6534 HSDIO card could then be used to generate the PRBS (using the Binary MLS VI) and clock the waveform by specifying the PXI_TRIG line as the sample clock. MAX shows that the device route is possible.
NI has also suggested that it might be better to do a front panel route using the available connectors and avoid the backplane, but I'd rather try the backplane approach first, and see what my output signal looks like. My only concern is that the application needs to provide a continuous PRBS, so there can't be any pauses in the datastream. I tried the sample VI for the Cont Write Dig Port-Ext Clk.vi on a PXI-8186 platform using a PXI-6120 for the digital I/O, and I had no problem maintaining a continuous PRBS at 10MHz. Since the 6120 only has a 1024-sample buffer, I'm thinking that the 32MB available on the 6534 should make this an easy task.
If you or Samantha see any problems with this approach, please let me know.
06-03-2008 02:07 PM