07-16-2008 12:29 PM
07-17-2008 04:17 PM
Hi BadScientist,
I was able to run some test code using a simulated 6259 and exporting my clock to PFI0 and was not able to find any errors. The 6259 specifications also state that this device has the ability to route your sample clock to PFI0. If you are receiving errors, make sure to route signals within the same DAQ device. It is a common mistake and very easy to make. As a side note, you can also use the function called DAQmx Export Signal.vi in place of the property node to achieve the same functionality. Once again, please elaborate on how the Export Function failed.
07-18-2008 10:55 AM
07-21-2008 01:33 PM
BadScientist,
If you would like to divide the frequency of the signal that is input on PFI0 then you could utilize a counter for this. This thread describes a method for this divide down. You would need to specify the source of ticks as PFI0 and keep in mind that you can only divide down by an integer multiple of 4 or greater. The divided clock can be accessed by selecting Ctr#InternalOutput as the clock source for your application. For example, if you wish to use the divided clock for an analog output then the DAQmx Timing.vi (set as Sample Clock) for the analog output would have Ctr#InternalOutput as the source. No external connections are necessary in this case. Hope this helps!
07-21-2008 01:58 PM
07-22-2008 08:24 PM
BadScientist,
I have included a screenshot of the portion of code that will divide down your signal by an integer multiple > 4 and output the divided signal on Ctr#InternalOutput.