I am having good success with building a GUI that is built around the analogIn_Record.py example. Thanks to those that have helped me get this far.
I'm looking to have the data aligned so that there are no duplicates from the buffer(the buffer as I understand is where the recently recorded data is kept in a serial fashion). I think I have correctly determined that I need to use the FDwfAnalogInStatusData2 function to do this. I have found the documentation to be a little limited, but I also have found this forum post as well -> https://forum.digilentinc.com/topic/9747-analogin-record-problem/
Despite the explanations I'm still having difficulty with understanding how to implement the function. I have also had a look at AnalogIn_record_Trigger.py as well. The circular buffer is interesting and it sounds like what I might need for my project but its not trivial with what it's doing so I will need to spend more time with it. Maybe its not what I need?
Basically I am having trouble with knowing where to being. I've tried to poke at it and understand its behavior but I'm not getting anywhere to fast. Despite what I enter for a variable index it seems to still return the full buffer?
I know I've kind of provided limited information. I don't want anyone to feel obligated "do the work for me" it for me but I think I could benefit from a push. Let me know what I can do help to provide understanding on my question. I'll provide updates on any other questions I may have.
TLDR; In short I need a layman explanation of what the FDwfAnalogInStatusData2 does based on what index number is provided, and how i is used to align the data.
Question
Chazzo
I am having good success with building a GUI that is built around the analogIn_Record.py example. Thanks to those that have helped me get this far.
I'm looking to have the data aligned so that there are no duplicates from the buffer(the buffer as I understand is where the recently recorded data is kept in a serial fashion). I think I have correctly determined that I need to use the FDwfAnalogInStatusData2 function to do this. I have found the documentation to be a little limited, but I also have found this forum post as well -> https://forum.digilentinc.com/topic/9747-analogin-record-problem/
Despite the explanations I'm still having difficulty with understanding how to implement the function. I have also had a look at AnalogIn_record_Trigger.py as well. The circular buffer is interesting and it sounds like what I might need for my project but its not trivial with what it's doing so I will need to spend more time with it. Maybe its not what I need?
Basically I am having trouble with knowing where to being. I've tried to poke at it and understand its behavior but I'm not getting anywhere to fast. Despite what I enter for a variable index it seems to still return the full buffer?
I know I've kind of provided limited information. I don't want anyone to feel obligated "do the work for me" it for me but I think I could benefit from a push. Let me know what I can do help to provide understanding on my question. I'll provide updates on any other questions I may have.
TLDR; In short I need a layman explanation of what the FDwfAnalogInStatusData2 does based on what index number is provided, and how i is used to align the data.
Link to comment
Share on other sites
5 answers 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