Hi! I am trying to make a program that can do sound presenation based on informaton from one analog input channel. That is, I want to start to present noise when one of my microphone has received a signal with its level above a threshold. Also, I only want to do the noise presenation after 1 second of the onset of the recording. In other words, i want to ignore events in the first second after the recording system starts. As is shown in the attached file, as well as in the screen shot, I have prepared such a program. However, I continually receive the error message saying that there is some problem with the trigger setting. But why it is invalid?
When I read the examples showing how to use analog input to trigger recording or analog output, they always use APFI. But as I said, I want to use a specific analog input channel as a trigger source. By the way, my daq card is PXIe 6358, and thus it has the analog triggering function.
I know this question can be very naive and I possibly have misunderstood APFI or analog trigger in general. Please feel free to teach me.
"Possible reason(s):
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.
Property: Start.AnlgEdge.Src
Corresponding Value: PXI1Slot2/ai0
Valid Choices: APFI0, APFI1
Task Name: _unnamedTask<6>"