LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to create 4 bit lfsr in labview

Remember the "num to array" function on the boolean pallete that is used right after the seed# control? There is one that goes in reverse (bool array to num) use that to get the number...
Everytime you change the seed# you get a psuedo random number output...
If you just through the function palletes you should be able to figure this stuff out pretty easy (assuming you understand the underlying logic of what you are trying to accomplish)...


Message Edited by TWGomez on 04-11-2008 01:03 PM
________________________________________________________

Use the rating system, otherwise its useless; and please don't forget to tip your waiters!
using LV 2010 SP 1, Windows 7
________________________________________________________
0 Kudos
Message 21 of 23
(1,196 Views)
unfortunately i did my lfsr differently. I never included the seed, 8bit integer or any of the other objects to the left of the original diagram. I simply created a constant and to each of the shift registers, then connected the output of the xor to a graph( which had a boolean 0,1 connected in between) . I simply couldn't find those objects shown on the diagram. Please tell me how to navigate to them...eg the seed, 8 bit integer etc. I would be extremely grateful.
0 Kudos
Message 22 of 23
(1,187 Views)
Two minutes of fidling around you should be able to find those things...Did your instructor show you LabVIEW yet?
 
Right click on the block diagram a palette comes up...press the little pushpin icon in the top left to make it stay there...
Click in the "Programming" pallete (if not already there), then the "Numeric" Palette for anything to with numbers...the "Boolean" pallete for anything to do with boolean...It kind of follows common sense logic...
The little blue up arrow in the top left of the pallete takes you the current paletes "parent pallete"...
Click the search and you can search for things...
 
No more holding your hand for that stuff, I'm only going to answer real programming questions from now on...
😉
 
 
________________________________________________________

Use the rating system, otherwise its useless; and please don't forget to tip your waiters!
using LV 2010 SP 1, Windows 7
________________________________________________________
Message 23 of 23
(1,180 Views)