I am looking for a timer synchronization solution for AO and AI for a real-time control appliaction. I attached an exemplary program with PID. It works fine for the "No clock" option in clock source. For "Onboard / External Clock" it does not work, returning error 10014 at ULx Write (Analog 1D DBL 1Chan 1Sample) - Measurements: Specified operation cannot be performed while the task is running. I am kindly asking for advice or sources from which I will be able to learn and understand how to synchronize AI / AO in RT for USB-1208HS-4AO. I found and attached below a similar example from DAQmx, where you can see that the clock source for AO is the output from the AI clock (red circle). How can I implement that by using ULx LabVIEW library for USB-1208HS-4AO (MCC DAQ devices)?
Question
Bartłomiej Sikora
I am looking for a timer synchronization solution for AO and AI for a real-time control appliaction. I attached an exemplary program with PID. It works fine for the "No clock" option in clock source. For "Onboard / External Clock" it does not work, returning error 10014 at ULx Write (Analog 1D DBL 1Chan 1Sample) - Measurements: Specified operation cannot be performed while the task is running. I am kindly asking for advice or sources from which I will be able to learn and understand how to synchronize AI / AO in RT for USB-1208HS-4AO. I found and attached below a similar example from DAQmx, where you can see that the clock source for AO is the output from the AI clock (red circle). How can I implement that by using ULx LabVIEW library for USB-1208HS-4AO (MCC DAQ devices)?
pid_ctrl_example1.vi
Link to comment
Share on other sites
2 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