05-22-2007 05:19 AM
05-23-2007 06:32 AM
05-23-2007 07:36 AM - edited 05-23-2007 07:36 AM
Message Edited by Support on 07-16-2007 10:52 AM
05-24-2007 03:18 AM
05-24-2007 04:04 AM
05-24-2007 04:12 AM
05-24-2007 04:40 AM
05-24-2007 04:52 AM
05-24-2007 05:04 AM
Hi Adam,
This has been a great help to me, I am writing an application in VB, so this is fine. I am writing a project with edge counting and using the pause trigger functions you have noted me. So hopefully there should be some process in my project. As you might have seen my traditional DAQ program which I have attached before, I just want to write the same functionality as our hardware, requirements and programming language has not changed except the driver ( DAQmx). Hope this could be a good start for to make the trigger work with edge counting function. I have written another project in VB for Pulse train generation, So the idea is giving the output of the pulse train as the terminal for pause trigger and giving the trigger output ( gate output) to other 7 counters. Does is make sense ? or is there any other way around to solve this issue?
Thanks
05-24-2007 09:36 AM
Hi Adam,
I have written the program and it seems to be fine. but when i am stopping the task, I have two functions in it
If taskIsRunning = True Then
1) DAQmxErrChk DAQmxStopTask(taskHandle)
2) DAQmxErrChk DAQmxClearTask(taskHandle)
End If
I am getting an error " Error: - 200088 Task specified is invalid or does not exist. There is some error been generated when accessing cleartask.
Thanks