10-04-2016 08:24 AM
Hi community,
how can I write data into an array in differents directions?
here is my vi but i dont know how to do it in LabVIEW.
Thank you for your answer
Solved! Go to Solution.
10-04-2016 08:33 AM
Where does the data come from? How many different orientations could you have? Why does your picture so a 20° orientation, but behaves more like 45° (one over, one up, one over, one up)?
At the end of the day, you will probably need a loop and the Replace Array Subset function working on an array that you keep in a shift register.
10-04-2016 08:46 AM
I'm not going to give you the answer. (I suspect a homework assignment is involved)
However, since you know the angle and the number of elements you want to place in a line along that angle, this primitive is likely going to become your best friend
10-04-2016 08:49 AM
Thank you for your reply. I only simulated the data.
i get the data from the sensor (1D Array of 10 values) and i want to plot it on the intensity graph depending from the orientation.
The orientation changes between 0 to 180°.
Thx
10-04-2016 02:05 PM
Hi Jeff·Þ·Bohrer,
it is not an assignment. Im working on a project.
i tried your suggestion but dont get any useable results
can u help me please?
thx
10-04-2016 02:12 PM
I'm flying today and have no LabVIEW available. I'll look in @ Thursday. I bet others will beat me to a solution.
10-05-2016 04:45 PM
10-06-2016 03:46 PM - edited 10-06-2016 03:55 PM
@JÞB wrote:@I'm flying today and have no LabVIEW available. I'll look in @ Thursday. I bet others will beat me to a solution.
Well, Well, Well! One time the 8-Ball missed by a mile! No one went to town and got jiggy on the problem! It really was a fun little vi to write. I'll start with a tease: Code capture (Backsaved to 9.0 since it depends on no features that haven't been around for a long long time) to follow in a spoiler. For those playing along for fun and games, duplicate the code without peeking.
File this under the heading "Polar is cool - Cartesian is square!"
10-06-2016 04:56 PM
Hi Jeff·Þ·Bohrer,
you are the best. That is exactly what i need to plot the Data on the intensity graph
Thank you very much