4. Below (also attached) is the altered example
any advise on how to correct this and obtain data for a pre-alloted time period and/or using a stop trigger is appreciated.
Solved! Go to Solution.
Kindly upload your updated code so that equeue error can be sorted out.
Please find the attached VI
I went through your vi and found that you were releasing the queue while the acquisition is being carried out. Secondly you have to set the boolean "Acquisition completed" to false when the vi is initialized. Find the attached code.
And one more thing rather than looking for stop trigger why dont you acquire the number of samples that will be generated during the one cycle e.g 50000 samples per cycle.
Well again the problem is the following:
Number of samples @ 1.25 GS/sec = 1.25x10^9 samples/second. What if I want to repeat this for N cycles.
How will I tell my program that the next pulse from my pulse generator is going to occur exactly at time T and start acquiring data from T to T+k (where k is the next occurrence of trigger). When using an external trigger, you control exactly when to start acquiring data and when to stop.