09-17-2008 04:56 PM
I have in my possesion a PCI-6534 card and am trying to generate a 32 bit serial word and 10 MHz clock. I am using the digital waveform editor to create a waveform and signal express to simulate. I have not been able to generate anything close to a 10 MHz clock. Is there a fundamental limitatation to the data rate of this card? Should I be able to generate a 10 MHz clock using this card?
09-18-2008 04:20 PM
Hello Eswansson,
I'm not positive that I understand what you're looking to do, however all but one or two possible cases would be difficult. Before I can provide specific advice it would be helpful to clarify what you're looking to do.
1. Are you using Signal Express or LabVIEW? The thread title mentioned LabVIEW, but Signal Express is in the post. If possible LabVIEW would make this easier.
2. By "generate a 10 MHz clock" do you mean use a 10 MHz signal to clock your digital output, or do you mean that you want to export a 10 MHz signal? If you want to export a 10 MHz signal you can do this by setting an internal 10 MHz clock and clocking the digital output with and also export the clock to a pfi line. The other option would be to use a 20 MHz sample clock and output a 10 MHz clock on the digital line by sending 0,1,0,1... to a particular line.
2. By 32 bit serial word, do you mean 32 samples on a single line? Usually I would refer to 32 bit words as 1 sample on 32 lines, either way should be fine, but it will change things slightly. If you need 32 lines + a clock then you have to use a 10 MHz sample clock and export the sample clock to a pfi line.
If you want to output either 1 or 32 digital lines and also export a 10 MHz clock (which is my best guess as to what you want), I would recommend starting with the Write Dig Chan-Int Clk-Dig Start.vi example program and adding a DAQmx Export Signal VI to export the Dig0/SampleClockTimebase to PFI4.
If this is not what you're looking to do please post back with answers to the above questions so we can get it narrowed down.
Cheers,
09-19-2008 08:56 AM
Hi Brooks.
Thanks for the quick response. I am trying to export a 32 bit serial word on DIOAO. So basically I want to send 32 user defined samples on DIOAO. Sorry I did not understand how the card works until now. Basically I need to generate a 10 MHz clock, the 32 bit serial word (32 samples) and a strobe to send commands into an FPGA. I am trying to use channels DIOAO, DIOA1, and DIOA2 to generate the clock data, data, and strobe to test out my design.
I have access to both signal express and Labview 8.0 on my computer. I am assuming that this is pretty simple but I do not have much experience with creating digital signals.
I tried to use the "Write Dig Chan-Int Clk-Dig Start.vi example program" but have been getting error -89129 when I try to trigger using the onboard clock. I cannot send data to the output buffer.
I was able to use the Export signal VI to export the Dig0/SampleClockTimebase to PFI4. Even tried using this signal on PFI4 as my trigger source with no luck.
Thank you for any help you can provide. I am looking for the easiest solution.
eswansson
09-19-2008 10:32 AM
Hi Brooks, I think I am all set. I was able to use the DAQ assist tool to help me generate my code.
Thanks agian for your quick response.
eswansson