Hi David,
Thanks for your response. I had a look at Pause trigger property, but there is not function to set the source for pause trigger. I can see some list of function to set the source for trigger
Is it possible to use this function to set the source?
I have found an example for Counting digital events using Pause trigger in C#, program seems to work fine, but I dont know how the trigger function works in it.
functions used in that program is:
my task = new task ( "Counter task")
my task.CIchannels.createCountEdgesChannel ( )
mytask. triggers.Pausetrigger.DigitalLevelTrigger (Source, Level)
Trigger souce been set to PFI10 as default in the program, when i connect the source to PFI10 and run the program, I m getting some counts when the pause trigger is High and no counts when the trigger is Low. So thats fine. But when i disconnect the source PFI10 and run the program, still I m getting counts when the trigger is set to High and no counts when it s Low. It behaves same without any change when I connect the source and also when no source been connected. I have attached the program for your reference. Once I have understood the base of this program then it will be easy for me to implement the same function VB. So I would like to get the Basic understanding of the pause trigger and especially in this program. If you need any clarification in my post, I m happy to describe my problem clearly.
Thanks