when I use read/search position (from trigger) and a negative (or positive) number (AI Read function), the trigger no longer works. the program just sits there waiting for the trigger. I am using an anolog start trigger.
I have tried only configuring with the AI start vi, but I have not been able to find a way to collect data prior to the start trigger. The only thing that looked like it was the right thing was the "read/search position" terminal on the AI Read vi, but I couldn't get that to work.
I have tried using this parameter. When I do, any data prior to the trigger is written to file as NaN (not a number). It begins writing this from the time I click the start arrow, and switches to actual data when the trigger occurs. No pretrigger data is collected.
I thought that my problem may have been that I was running continuous acquisition, so I changed the number of scans to acquire. When I had a finite value for this, and I had a value greater than zero for pretrigger scans, I got an error saying that "The specified trigger signal cannot be assigned to the trigger resource". (10621). I never had this problem when I didn't have any pretrigger scans. Any suggestions?