12-02-2013 03:01 PM
Dear friends,
Actually, i am trying to do open loop control system where I can actuate and measure the displacment at the same time. However, my problem is about the lag or the gab time between generating and measuring the signal. initially,I have tested my NI USB-6211 by connecting wires from AI 12 to Ao0 to test the performance as can be shown in the attached file. I have used some example in generating a continuous signal and I have added a code that can measure a signal continuously. I have used a DC voltage controller in the front panel to manipulate the signals for testing the response.
Is there any way to develop the code to enhance the performance and reducing the lag between generating and measuring a signal .
I have attached the code that I used to test the performanc of NI USB-6211.
Best wishes,
Khalid
12-03-2013 03:50 AM
If you guys could heep i would be thankful
12-03-2013 03:52 AM
Could you post the vi in 2011?
File>Save for previous version
12-03-2013 04:06 AM
Hi Koen,
Thank you so much for your reply. I have saved the file as you requested.
Khalid
12-03-2013 04:10 AM
Hello khalid,
You've saved it in 2012.
Instead of 2011
Koen
12-03-2013 04:21 AM
Hi Koen
I am so sorry. I have saved the file in 2011.
Khalid
12-03-2013 04:24 AM
Hello khalid,
You've saved it in 2012 again
Koen
12-03-2013 04:35 AM
could do you try this, it does not work could you guide me how I save the file in the specific versión.
12-03-2013 04:52 AM - edited 12-03-2013 04:54 AM
I don't know the reason why you use 2 loops.
I combined them and added a difference waveform.
Hopefully this will help, you could try playing with sample rate too.
12-03-2013 05:15 AM
Hi Koen,
I have tried to run the code that is improved but give an error. I have attached the error.
Khalid