ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

pn sequence

Solved!
Go to solution

hi everybody

i have read the last few posts regarding PN sequence but could not be able to get satisfactory answer so i am again writing the same question which is being asked for 3 to 4 times

 

 i need to generate PN sequence of any order ranging from 0 to 7

please tell me how i can do that?

 

 

regards

aqib

college of aeronautical engineering

risalpur

pakistan

0 Kudos
Message 1 of 4
(3,511 Views)

Get the time, convert it to double type (from time stamp numeral type). Get the modulo 7 of the double number. This is standard way in any programming book. Is this the way its explained elsewhere?

0 Kudos
Message 2 of 4
(3,508 Views)

but by using this method numbers are increasing in incremental order whereas i want random generation of numbers between 0 and 7

0 Kudos
Message 3 of 4
(3,489 Views)
Solution
Accepted by topic author islamabad

Use random number generator and scale the output to 0 to 7


CLA CTAChampionI'm attending the GLA Summit!
Subscribe to the Test Automation user group: UK Test Automation Group
0 Kudos
Message 4 of 4
(3,480 Views)