I'm using Analog discovery to perform microscopy measurements and I need to acquire data from a photodiode while moving the sample. I developed a basic interface on MATLAB but I'm struggling to synchronize the sample movement with the data acquisition since it takes 1.7 seconds to execute the read() function to acquire data from Analog discovery.
I tried with start() function to acquire data in background but it gives me this error: "Background operations not supported for Digilent hardware."
It could be a trigger problem, but I'm not able to change it, and if I try it gives me this error: "Unable to set the 'DigitalTriggers' property of class 'DataAcquisition' because it is read-only".
Is there a way to get the acquisition to start immediately, without waiting 1.7 seconds, once you give the read() command?
Question
Benedetta Talone
Goodmorning,
I'm using Analog discovery to perform microscopy measurements and I need to acquire data from a photodiode while moving the sample. I developed a basic interface on MATLAB but I'm struggling to synchronize the sample movement with the data acquisition since it takes 1.7 seconds to execute the read() function to acquire data from Analog discovery.
I tried with start() function to acquire data in background but it gives me this error: "Background operations not supported for Digilent hardware."
It could be a trigger problem, but I'm not able to change it, and if I try it gives me this error: "Unable to set the 'DigitalTriggers' property of class 'DataAcquisition' because it is read-only".
Is there a way to get the acquisition to start immediately, without waiting 1.7 seconds, once you give the read() command?
Thanks a lot for your support,
Benedetta
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now