LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

basics in speedy 33

Hello , Here is my question . a simple one though (for others , not for me .. 😞 ) . I happen to generate a random set of data . after which i set a condition saying greater than 0.5 . the output of this condition is passed to a select terminal . The select terminal has a 0 for a true condition and a 10 for a false. here is what i am looking to do . i want the values obtained from the select terminal to be stored . Since the whole setup is in a while loop , there are many values that are obtained from the select terminal and i want all the values to be summed and stored . how do i do it ?. To add , this is done along with a speedy 33 hardware module. someone help me please . have attached a file along . Regards NonameNoface .
0 Kudos
Message 1 of 6
(3,091 Views)

Hi NonameNoface,

it looks like this could be the same topic: http://forums.ni.com/ni/board/message?board.id=170&message.id=311551#M311551.
See the attached example, if you want to get the sum of all your value you can do it without using an array. The attachment shows two ways.

Hope it helps

Mike

0 Kudos
Message 2 of 6
(3,081 Views)
Hi Mike , Thanks for your reply .But neither the millisecond multiple function block nor the build array node is supported on a speedy 33 . Pardon my ignorance , but i presume i can find the sum and have it stored even if I get rid of the millisecond multiple function block and build array by using one of the two methods that you had mentioned .Am i correct in saying so ? . Improvising , If i also want to store the order in which the values are generated ,is that possible too ? .. Regards NonameNoface . p:s - wish i could join a NI tutorial class , but i am marooned on an island . 😞 ..
0 Kudos
Message 3 of 6
(3,066 Views)
Hello , Looks like i have managed to find a way to build an array to store my data using a for loop .what i would like to do further is use the values in the array one by one and feed that into the phase terminal of the simulate signal block and generate a waveform . if someone can let me know , how do i call the values from a stacked array one by one ? . thank you . Regards NonameNoface
0 Kudos
Message 4 of 6
(3,032 Views)

Hi NonameNoface,

You can try auto index the array with a for loop and pass each element into the simulate signal block.

Regards,
Stanley Hu
National Instruments
Applications Engineering
http://www.ni.com/support

 
0 Kudos
Message 5 of 6
(3,006 Views)
Thank you all ..Managed to finish the BPSK model on a speedy 33 . much appreciated .. regards , NonameNoface
0 Kudos
Message 6 of 6
(2,984 Views)