i would like to use multiple daq-crads which run in parallel in analog scan mode/analog output. And for simplicity of the programm i thought that i just run the ul.a_in_scan with multiprocessing. The problem now is that in the individual processes the memhandle i reserved with ul.scaled_win_buf_alloc(total_count) seems to be invalid (so it says in the errorcode: mcculw.ul.ULError: Error 35: Pointer is not valid.).
In the singel card programm i wrote for just one cards use with out any parallelizing it works quit well.
Are there some limitation with ul.libary refered to parallelizing. I even tried a lock but it doesnt work. Or has any one experience with multiprocessing with the ul.libary
Question
LostPhysicist
Hello,
i would like to use multiple daq-crads which run in parallel in analog scan mode/analog output. And for simplicity of the programm i thought that i just run the ul.a_in_scan with multiprocessing. The problem now is that in the individual processes the memhandle i reserved with ul.scaled_win_buf_alloc(total_count) seems to be invalid (so it says in the errorcode: mcculw.ul.ULError: Error 35: Pointer is not valid.).
In the singel card programm i wrote for just one cards use with out any parallelizing it works quit well.
Are there some limitation with ul.libary refered to parallelizing. I even tried a lock but it doesnt work. Or has any one experience with multiprocessing with the ul.libary
Thanks for your help in advance
input_mulitcrads_inprogress.py
Edited by LostPhysicistLink 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