05-11-2012 02:51 PM
Hi,
Noob question of the day! I am building an array and would like to clear shift registers between runs. I have attached a VI. It runs a while loop every second and adds that iteration number to an array. I then display the length of the array. I would like it such that each time I press run, the program starts with a "blank slate." Any standard way of clearing everything. I would love to do something like:
%
clc
clear
if it were matlab...
Solved! Go to Solution.
05-11-2012 02:53 PM - edited 05-11-2012 03:11 PM
Right-click the shift register on the right left and select "create constant".
(also use a real stop button, or at least make your boolean latch action (right-click...mechanical action...latch when released))
)*EDIT: corrected right to left)
05-11-2012 03:05 PM
Altenbach means create the constant on the left side of the shift register.
Shift registers are a basic, but important LabVIEW topic. I would recommend looking at the online LabVIEW tutorials
LabVIEW Introduction Course - Three Hours
LabVIEW Introduction Course - Six Hours
05-11-2012 03:05 PM
Ahh got it figured out. Umm agreed on the stop button. I think you mean the left shift register.
05-11-2012 03:10 PM
What do you know, I guess the problem is that I am left handed. 😄 Sometime I even confuse up and down. 😮
Yes I meant the right-click the left shift register.