Error -200265 occurred at an unidentified location
An attempt has been made to use an invalid analog trigger source. Ensure that the trigger source you specify matches the name of the virtual channel in the task or matches the name of a non-scannable terminal that the device can use as an analog trigger source.
This is a DAQmx error. Without your code, the best we can recommend is that you follow those (above) directions to make sure that your code specifies a valid trigger source.