10-26-2010 10:38 AM
hello
let start from the begining
specification 10% : creating an array containing 100 values between 0- 4 ?
10-27-2010 04:22 AM
Hi fifa,
I would like to help you get started with your project, how far have you progressed with this so far?
It would be helpful if you could post a bit of code and highlight the specific issues you are encountering at the moment.
How much experience have you had in programming in LabVIEW?
Please make your request more tailored to a specific problem and I can help! Don't forget to add some code!
Regards,
10-28-2010 04:51 AM
Hi,
I have done question 1 and 2
10-28-2010 04:51 AM
I have done question 1 and 2
10-28-2010 04:52 AM
I have done question 1 and 2
10-28-2010 04:53 AM
specification 1 and 2
10-28-2010 09:35 AM
Why don't you go ahead and post what you've got and then we can provide feedback and suggestions on how to improve the code. We're still not going to write the assignment for you.
11-02-2010 06:35 AM
Hi there mate,
Sorry to disturb u again but I need some serious help with these question.
I have attached what I have done so far.
This question is designed to work on a set of sampled data from a thickness sensor. The samples are stored in an appropriate array of up to 100 elements. The values represent the depth of the insulation around a particular cable. The thickness can vary from 0- 4 mm represented by a corresponding real value stored in the array. As long as the depth is between 1 and 4 mm the cable falls within the allowable specification however if it falls below 1 mm it is deemed to be too thin.
1).
Thin values tend to appear as sections or patches along the length of the cable i.e. values of less than 1 mm stored in successive array elements. To design a VI that will meet specification 1 and will also calculate the number of these thin patches. The front panel will now have an extra indicator to display the number of patches.
2). To design a VI that will meet Specification 2 and will also be capable of detecting and displaying the start index and the length (number of successive elements less than 1 mm) of each thin patch.
Hint: Look at Array indicators.
11-02-2010 09:38 AM - edited 11-02-2010 09:38 AM
It appears that all that you want to do is to count the number of elements in the array that are less than 1. The code you have doesn't make much sense. In the case structure you are doing exactly the same thing for both cases. Also, since you are trying to get a count, the shift register should be initialized with a scalar, not an array. Why would you use an array for just a count?
Besides, this can be done far more easily:
11-06-2010 09:21 PM
This does seem a lot easier than using a case structure but I am not sure how the patches from spec 2 can incorporated into this VI?