Shift Registers in LabVIEW (Higher Resolution) from 2010

  Рет қаралды 29,555

NI Apps

NI Apps

Күн бұрын

Пікірлер: 7
@bilalghani4190
@bilalghani4190 5 жыл бұрын
WHERE'S VANEET
@TrickyNekro
@TrickyNekro 3 жыл бұрын
Well explained! It helped! Thank you!
@joshmusic9766
@joshmusic9766 3 жыл бұрын
will the first few iterations of the RNG be still divided by 5? this will give a lower average for the first few iterations. If you have some sort of true or false condition such as "if the average is lower than 5, then stop", then the system will often stop prematurely. How do you work around this?
@TomasLKarlik
@TomasLKarlik 3 жыл бұрын
In the while loop, you have access to the current iteration number. Since the edge case mentioned is true only for the first few iterations, specifically while the iteration number is less than the size of the moving average (5 in this case), you can hook up an if-conditional to divide by the iteration number when the iteration number is less than 5, and by 5 otherwise. You could make the wiring a bit simpler by taking a min value between the iteration number and the moving average size, which is an efficient shorthand for an upper limit. However, the moving average won't be of the same size for those elements, so the results you get are not consistent and, depending on your use case, they might be outright useless, so in general, it's best to calculate moving average only for the points where it makes sense and discard the edge cases.
@ydino5215
@ydino5215 5 жыл бұрын
Just curious, is this the best way to do a moving average?
@NIApps
@NIApps 5 жыл бұрын
Here is a forum post about doing a moving average in LabVIEW: forums.ni.com/t5/LabVIEW/Simple-Moving-Average-VI/td-p/3274490
@jonathananderson371
@jonathananderson371 3 жыл бұрын
Very nice but it seems the range of your random number generator is 0-10 not 1-10 as you stated at 0:30
Using Loops in LabVIEW
4:09
NI Apps
Рет қаралды 289 М.
How to use Shift Registers in LabVIEW
11:37
Manish Vohra
Рет қаралды 13 М.
버블티로 부자 구별하는법4
00:11
진영민yeongmin
Рет қаралды 28 МЛН
How I Turned a Lolipop Into A New One 🤯🍭
00:19
Wian
Рет қаралды 13 МЛН
Sigma baby, you've conquered soap! 😲😮‍💨 LeoNata family #shorts
00:37
Clusters in LabVIEW (High Resolution)
3:27
NI Apps
Рет қаралды 24 М.
Using Feedback Nodes in LabVIEW FPGA
4:19
NI (now part of Emerson)
Рет қаралды 23 М.
Shift Register en LabVIEW
16:30
TutoCNC
Рет қаралды 8 М.
Using Arrays in NI LabVIEW
3:52
NI Apps
Рет қаралды 382 М.
Using the Tools Palette in NI LabVIEW
6:37
NI Apps
Рет қаралды 158 М.
LabVIEW Structures (For Loop and While Loop)
16:38
DunwoodyRobotics
Рет қаралды 117 М.
Shift Registers
3:39
MST-ME4840
Рет қаралды 63 М.
LabVIEW Case Structures
25:54
Industrial IT and Automation
Рет қаралды 35 М.
Creating Sub VIs in NI LabVIEW
5:23
NI Apps
Рет қаралды 444 М.
NI-DAQmx multi-channel data acquisition LabVIEW program
29:49
Zachary Neale
Рет қаралды 140 М.
버블티로 부자 구별하는법4
00:11
진영민yeongmin
Рет қаралды 28 МЛН