06-01-2007 04:32 PM - edited 06-01-2007 04:32 PM

Message Edited by smercurio_fc on 06-01-2007 04:34 PM
06-01-2007 04:35 PM
('hope it works. Some sites block direct linking. Looks OK for me so far....).
06-01-2007 04:42 PM
Hello,
Thanks for the quick response, so I have decided that before I go home on a Friday evening that I would rate the responses as high as possible, gave all of "labview wizards" a high 5! So, I think on that note all of us will go home smiling for the weekend. But be prepared on Monday morning for any more posts to this thread if I get hosed up anymore.
Thank again!
Kaspar
![]()
06-02-2007 06:51 AM
06-04-2007 08:11 AM
Hello,
Ok, its Monday morning and I have questions. I have tweaked my code to use a for loop instead of a while loop. here is the latest picture from imageshack
(for some reason when I insert the thumbnail for forums link, I cannot see the picture). The purpose of the code is to go thru a loop 8 times (because I want to update a unsigned byte) and do the following each time thru the loop...
I have initialized the a 8 element array of zeroes and intended to use the "replace array) each time I go thru the loop to update array with the current hardware value.
Regards,
Kaspar
06-04-2007 08:24 AM - edited 06-04-2007 08:24 AM
Message Edited by GerdW on 06-04-2007 03:24 PM
Message Edited by GerdW on 06-04-2007 03:25 PM
06-04-2007 08:28 AM
06-04-2007 08:50 AM
Hello,
Sorry for not using the shift register, I have added them and have moved the updated array outside of the for loop. I have enabled highlighted execution and have used probes to observe the data coming from the hardware and the loop counter. The hardware data is always high and the updated array after the loop is zeros. Here is the updated code
06-04-2007 08:55 AM
06-04-2007 09:37 AM
Hello,
I hosed it up, I updated my code very quickly and had the wrong connection to the updated array. I have tried it out and in the first test case it appears to work the way I want it to. Thanks for the help! Here is the update code picture
Have a great day! The Labview wizards on the forum are great...I always rate their answers with a 5 every time I get a response to something I have posted on the forum