Problem with synchronization
Добавлено: 19 ноя 2012, 21:29
Does anyone know the scheme of a system that:
Checks if a new number (let's call it "x") appeared at an indicator and if so:
Checks if the current value of the amplitude ("A") of the sine wave generated by NI 9263 and captured to LabView by NI 9205 is greater than 0.9*MAX_AMPLITUDE (this value is known) and if so:
Multiplies x by A and puts the result in an array and until a new number appears on an indicator, multiplies each following value of the amplitde by x (but doesn't put the result in an array! -->> array size = number of
new numbers on an indicator).
For example: 3, 4, 5, 5, 5 on a indicator means 5 "new numbers" not 3.
if not then:
it waits for A>0,9*MAX_AMPLITUDE then it does the above and until that happens it does the above for a previous number (multiplies sin by it but doesn't put the result in a array)
I'm sorry for my english as I don't know it very well...thank you for help!
Checks if a new number (let's call it "x") appeared at an indicator and if so:
Checks if the current value of the amplitude ("A") of the sine wave generated by NI 9263 and captured to LabView by NI 9205 is greater than 0.9*MAX_AMPLITUDE (this value is known) and if so:
Multiplies x by A and puts the result in an array and until a new number appears on an indicator, multiplies each following value of the amplitde by x (but doesn't put the result in an array! -->> array size = number of
new numbers on an indicator).
For example: 3, 4, 5, 5, 5 on a indicator means 5 "new numbers" not 3.
if not then:
it waits for A>0,9*MAX_AMPLITUDE then it does the above and until that happens it does the above for a previous number (multiplies sin by it but doesn't put the result in a array)
I'm sorry for my english as I don't know it very well...thank you for help!