From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
12-26-2013 06:38 PM
Are any further improvements necessary?If so what could they be?
Solved! Go to Solution.
12-26-2013 07:40 PM
Well, unless you tell us what the program is supposed to do, we cannot really suggest improvmenets. We also cannot inspect or debug a picture, so please attach your VI instead.
Does it work as you want it to? Most of the code does not look very impressive and looks quite fragile. There are also race conditions.
Please attrach your VI, tell us what it is supposed to do. Can you make a version that does not rely on any DAQ hardware, but simulates everything in software?
12-27-2013 04:21 AM
this coding about reaction time measrument..here my attachment.
12-27-2013 04:24 AM
the question at part c number 18...
12-27-2013 05:04 AM
It is your homework, so what do you think can be improved ?
What is currently the problem with the code?
What was the result of your test of the code?
12-27-2013 07:14 AM
There are no any problem but at the result you can see that reaction time 0.2 second and hardware timed reaction time 200ms.The question is how to improve the system so that reaction time and hardware timed reaction time become zero or near to zero( for exampe 0.0003 s)?
12-27-2013 07:15 AM
There are no any problem but at the result you can see that reaction time 0.2 second and hardware timed reaction time 200ms.The question is how to improve the system so that reaction time and hardware timed reaction time become zero or near to zero( for exampe 0.0003 s)?
12-27-2013 07:15 AM
There are no any problem but at the result you can see that reaction time 0.2 second and hardware timed reaction time 200ms.The question is how to improve the system so that reaction time and hardware timed reaction time become zero or near to zero( for exampe 0.0003 s)?
12-27-2013 09:28 AM
You loop rate is based on the number of samples you are acquiring in the DAQ. Since you are setting a loop rate of 100ms using the DAQ Assistant (# samples/sample rate), then 100ms is as accurate as you are going to get.
The other issue you have are race conditions. You have no control of when the DIO will go high vs when it will be read from the DAQ. If you used the error wire to dictate data flow, then you can see the DAQ reaction time go to 0 (the first iteration is i = 0).
01-05-2014 04:53 PM
please any suggest that can be improve in part A, part B and Part c??Spell Check