03-20-2008 01:49 AM
03-24-2008 10:54 AM
Hello JJ,
The "Output Polarity" setting in Traditional DAQ has the exact same effect as the "Idle State" setting in DAQmx so I think this is the approach you'll want to take. Once you set the output polarity you can phase shift one of the signals by 180 degrees using the "Initial Delay Seconds" attribute on the Counter Set Attributes VI. To do this you'll need to calculate the correct delay in seconds from the pulse frequency. This should allow you to have the two pulses in phase and have the idle state be the opposite.
I was assuming that the reason you didn't want to change the output polarity because of the phase shift that it introduced. If this isn't an acceptable solution for your application it would be helpful if you can explain a little more about what you want to do.
Have a great day!
Cheers,
03-26-2008 01:59 AM