01-25-2019 01:19 PM
I don't think I want to change it to doubles because I will be using the headers as well.
My next hurdle will be manipulating the measurement data. What I have here is before and after measurements on 1 to 4 supply currents. I measure all supplies and then check for changes of 10mA or more according to the latch-up spec.
if I have only 2 supplies, to make it simple, here's what I need to do.
number supply # measurement
1 1 2mA
2 2 1mA
3 1 2mA
4 2 11mA Failure
find difference by subtracting
number 1 from number 3 (Supply1)
number 2 from number 4 (Supply2)
01-25-2019 01:51 PM
I think I found a good way to do it.
01-25-2019 02:27 PM
Will that scale?
How about
mcduff
01-25-2019 02:28 PM
@DickHutchings wrote:
I think I found a good way to do it.
A couple of crossed wires is better than a pile of blue wired indices.
01-25-2019 02:33 PM - edited 01-25-2019 02:44 PM
McDuff, I have no idea how you came up with this arrangement, I'll study it some more. Will it scale? That could be a problem. It needs to do the math on 1, 2, 3 or 4 supplies.
01-25-2019 02:45 PM - edited 01-25-2019 02:46 PM
@DickHutchings wrote:
Will it scale? That could be a problem. It needs to do the math on 1, 2, 3 or 4 supplies.
What is "it"? Please always quote relevant sections when replying. There are many posts above.
How many elements per supply? Two or four? (e.g. If there is only one supply, what's the value of the second element?)
If each supply adds four elements to the array, you could do something like that...
Please show us typical arrays for 1, 2, 3, and 4 supplies so we can understand the problem.
01-25-2019 02:49 PM
@mcduff wrote:
Will that scale?
Your shift registers serve no obvious purpose. regular, non-indexing input tunnels would be sufficient.
01-25-2019 02:51 PM
There are 2 elements per supply and there could be 1,2,3 or 4 supplies. Because I take the measurements on all supplies sequentially and then repeat the measurement once for all the supplies, it's a bit of a tangled mess to work with.
01-25-2019 02:52 PM
@altenbach wrote:
@mcduff wrote:
Will that scale?
Your shift registers serve no obvious purpose. regular, non-indexing input tunnels would be sufficient.
True. But maybe the OP wants to interleaves the arrays at the end to recover the original array, or do something else with the decimated arrays, I have no idea, just leaving options available. But if the array is not needed then you are completely correct, no shift registers needed.
mcduff
01-25-2019 02:57 PM
@DickHutchings wrote:
There are 2 elements per supply and there could be 1,2,3 or 4 supplies. Because I take the measurements on all supplies sequentially and then repeat the measurement once for all the supplies, it's a bit of a tangled mess to work with.
There are billions of possible messes. Can you a bit more specific?
Since the array elements for one supply are not adjacent, would you get one array with three elements if there is only one supply, discarding the second element? I asked for example arrays for 1,2,3, 4 supplies. Please give examples.