01-14-2008 01:00 PM
01-15-2008 05:20 PM
Hello,
I was a little confused by your wording. However, I am assuming that since your two counters are in use that you are wanting to output / generate a digital pulse on a digital line. Please provide further details about your application if this is not what you want to accomplish.
To output as pulse on a digital line a sample clock will be needed. Please refer to the forum post linked below. This customer is asking a similar question. The code attached there is writing out a waveform, where each point of the waveform is updated in correlation with the sample clock rate. This is why the two tasks have the same sample clock rate specified.
You would be interested in changing the Sample Mode to Continuous and changing the waveform points to match your desired pulse. I have attached a simple example that might work out for you. Please note that small changes will need to be made to customize this example to you application.
Finite digital generate waveform
01-16-2008 01:09 PM
01-17-2008 10:59 AM
01-17-2008 03:37 PM
01-18-2008 01:24 PM
Hello,
The first program attached below is the 7.0 version of the code I previously posted and the second program is from the forum I linked. I hope seeing the code in 7.0 helps.
01-23-2008 01:42 PM