09-15-2009 02:41 PM
Hi !
I would like to generate a triangle and a square wave (same frequency) on two different outputs with my PCI-6733 and an external sample clock. Is this possible? Thx!
09-16-2009 01:31 PM
janhui,
This is absolutely possible and exactly what the card was made for! First I would recommend you start with the Cont Gen Voltage Wfm-Int Clk-On-Board Regeneration.vi found in the Example Finder (Help»Find Examples). You can get to this VI by going to Hardware Input and Output»DAQmx»Analog Generation»Voltage. You can see that this example can be used to generate Sine, Triangle, Square, or Sawtooth of a specified frequency and amplitude. Now it just becomes an issue of modifiying this VI to include 2 different types of waves. I became curious and have uploaded to the community what I think is a solution for you. I still suggest you learn all or the concept related to this code, I have just (hopefully) sped up the process. This is not to be generally expected. We will generally help you with problems, but do not traditionally write code however in this case I was curious and you gain the fruits of my curiosity.
09-16-2009 01:34 PM