Due to lack of documentation, I had to learn python API through example codes. There isn't any examples codes of simultaneous Analog output and Analog input scan. Therefore I had to go with trial and error.
I did find the code for Analog input in the background, but I could not find any code for Analog output in background.
I could not start both the functions together natively. For time being I am using python parellel processing method to run two different python files together at same time. Please find the code in attachment.
I hope there is a elegant solution for this.
You efforts will be appreciated.
Question
Saravanakumar
Device Name: MCC DAQ 1602HS_2AO
DAC0 port - chirp signal out.
Ai0 port - Signal in
Due to lack of documentation, I had to learn python API through example codes. There isn't any examples codes of simultaneous Analog output and Analog input scan. Therefore I had to go with trial and error.
I did find the code for Analog input in the background, but I could not find any code for Analog output in background.
I could not start both the functions together natively. For time being I am using python parellel processing method to run two different python files together at same time. Please find the code in attachment.
I hope there is a elegant solution for this.
You efforts will be appreciated.
chirp_capturing.rar
Link to comment
Share on other sites
3 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