11-20-2013 04:13 AM
I am able to get the pixel to the right end, and I built another array to connect to the X-Y graph using another set of co-ordinates to minus Y by steps of 0.08;
it did not move to the right, stop, and carry on downwards.
Instead, it formed a line with two pixels, one pixel travelling to the right and the other downwards.
How can I get the pixel to go to the right, stop, and then go downwards from there? I think I need to do something right with the shift registers?
11-20-2013 04:47 AM
11-20-2013 04:52 AM
"Wow, what sorcery is this?!"
Thanks GerdW for your reply!
May I know what function is that thing on the left please? Also, does it mean I can house my x and y co-ordinates in there?
11-20-2013 05:06 AM
"You need an array of points and a FOR loop to iterate over the array..."
"REALLY?! If that is true, I will be so so happy!!!"
Not sure why this comes as a surprise given that I laid it all out for you in pseudo-code in one of the other two threads running on the same subject.
You have not taken the time to learn the basics of the language and seem to be working on the basis of asking repeated questions until someone writes the code for you. Be aware that this approach whilst initially fruitful scales very poorly to larger applications.
11-20-2013 05:24 AM
I tried adding the "Array Constant" and adding in constants and built like the above picture, but it does not connect properly; the source and sink are not compatible.
I have another thought about this, if I connect like the picture above, how can I do my calculation for the amount of steps to take travelling around the rectangle?
Thanks!
11-20-2013 05:30 AM
@ToeCutter wrote:
"You need an array of points and a FOR loop to iterate over the array..."
"REALLY?! If that is true, I will be so so happy!!!"
Not sure why this comes as a surprise given that I laid it all out for you in pseudo-code in one of the other two threads running on the same subject.
You have not taken the time to learn the basics of the language and seem to be working on the basis of asking repeated questions until someone writes the code for you. Be aware that this approach whilst initially fruitful scales very poorly to larger applications.
I know I am not well-trained in Labview, but trust me I am doing my best to work my head around all these. I have a coursework to submit in two weeks' time and have been trying to know how can the basics taught, help me me with this coursework; I have a lot of versions of .vi however, many times I am stuck in a certain way.
It is probably my approach to certain problems which was incorrect, I have been given quite a few options and have been working on them.