04-06-2010 08:42 AM
Hey
Using the above DAQmx Trigger Property Node with 'Pause.DigLvl.When' the PWM signal under question seems to randomly stop in either a high or low state when paused, even with the '10214' numeric inputted to the node, or a created control and selected in Low state. This random behaviour also happens when parameters are changed to select 'high' state stopping.
Any help would be appreciated.
Skyman
04-08-2010 05:35 AM
Hey Skyman,
I have tried out the pause trigger on a continuous pulse train generation, and it has worked as expected. When I set the pause trigger line (PFI0 in my case) high, the last generated digital value will be held until the pause trigger is set low. I have attached my simple little application.
As you will see in the attached screen cap, I have hooked digital line 0:0 to the counter0 output. I then connected digital line 0:1 to the PFI0 line of my card. Using the test panel in MAX I can see the counter output oscillate at 1Hz, until I set line 0:1 high - at which point the counter out will hold the latest value, until is set line 0:1 low again.
Please try this out, and let us know how you get on.
Best wishes,