02-18-2013 05:43 AM
Is it ok ?
02-18-2013 07:47 AM
This is not what i need. How can i make array of 7 axis X values?
02-18-2013 08:49 AM - edited 02-18-2013 08:50 AM
This takes the 6 string bytes and creates 3 U16 values of X, Y, and Z. Then it bundles them into a cluster. Send the cluster to the loop tunnel and set for auto-indexing. Or if you want a separate X array, Y array, and Z array, send the 3 U16 values to an auto-indexing tunnel without bundling into a cluster.
02-18-2013 10:11 AM
>>Send the cluster to the loop tunnel and set for auto-indexing. Or if you want a separate X array, Y array, and Z array, send the 3 U16 values to an auto-indexing tunnel without bundling into a cluster.
When i send U16 value to the loop tunnel, it makes me array with all the same elements, like in my VI. What is wrong?
02-18-2013 10:16 AM
If you need each scalar inside the loop, do what I told you. You can use a lossy queue to fix the array size.
02-18-2013 11:01 AM
Like this?
02-18-2013 11:14 AM
No. That does not even use the shift register and build array that I mentioned. Here is a very much undebugged and basic example
02-18-2013 11:19 AM
Thank you for help me with so simple things but i have one more question.
What if i want to have 5 values 1D array of axis X, 15 values 1D array Y and 20 values axis Z?
02-18-2013 11:21 AM
Use a different lossy queue for each.
02-18-2013 11:22 AM
Since it sounds like you get 1 point for each axis per loop, you will have to loop the 20 times. Go ahead and autoindex all of the values out. You can use Array Subset to reduce the number of samples to work with.