06-29-2018 02:25 PM
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.
Thanks.
Solved! Go to Solution.
06-30-2018 03:53 AM
Kindly upload your updated code so that equeue error can be sorted out.
07-02-2018 06:58 AM
Please find the attached VI
07-02-2018 07:38 AM
Hello asukumari,
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.
07-02-2018 08:09 AM
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.