Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

shift triggered delayed pulse counter while running?

Hi,

My application is this: I have an external TTL trigger pulse, which starts a triggered delayed pulse on a NI6601. Before the pulse fires I want to shift(increase/decrease) the delay. I used GPCTR_ChangeParameter() to set a new ND_COUNT_1. But this does not work. Also the NIDAQ manual tells me this can be done only with simple pulse generation.
How can my goal be achieved? Should a stop the counter and start a new (not triggered) delayed pulse?
I use LabWindows/VisualC for programming.
BTW: I assume the counter counts to zero?!

Thanks,
Tobias
0 Kudos
Message 1 of 2
(3,165 Views)
Dear Tobias,

it is not possible to change the settings after the trigger is armed.
If you want to change trigger properties, you must disarm the trigger. Then configure the trigger and to reload the trigger.
I have found some websites, which descibe aproximately this topic.

Take a look on this sites:

http://zone.ni.com/devzone/conceptd.nsf/webmain/D2757CFF47D694F686256802007B8B32?opendocument

http://zone.ni.com/devzone/conceptd.nsf/webmain/D926B3E67F647C7986256802007B8530?opendocument

Hope this helps.

Best Regards.

Sebastian N.
NI Germany
0 Kudos
Message 2 of 2
(3,165 Views)