LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Automated testing

Since you don't feel the necessity to take one of the tutorials, I think I would prefer to see you try to write something yourself first. It's really not all that hard. Just try to create a string array exactly like the Boolean array with shift register.

 

As a hint, part of your diagram will look like this:

 

Message Edited by Dennis Knutson on 03-09-2009 01:03 PM
Message 21 of 30
(1,927 Views)
Well I plan on taking the tutorials when I get enough available time at work, Im fitting this project in when I have time and today I had time to work on this labview programming. I tried doing what you said and without the experience and not doing the tutorials I didnt get that far, a lot of the stuff Ive learned on here is from scratch and from getting help from you guys I understand a lot of it now but like I said this is the last part of the program that I need to figure out so maybe a bigger hint or if someone else could help me out just a little bit more I would appreciate it....Dennis youve been a great help so far
0 Kudos
Message 22 of 30
(1,909 Views)
I got something that runs but just displays the message everytime, instead of when it should only display when its failed
0 Kudos
Message 23 of 30
(1,900 Views)
All right, here's the rest of the image.
0 Kudos
Message 24 of 30
(1,899 Views)
Do I need to hook anything up to the right side shift register outside the while loop?
0 Kudos
Message 25 of 30
(1,895 Views)

Only if you want to see the results.Smiley Wink

 

Sure. Just right click on the shift register and select 'Create Indicator'. This is a string array. I thought you wanted the same thing for the Boolean array. something to show you which test passed or failed. Create the Boolean Array in the same way as the string array.

Message Edited by Dennis Knutson on 03-09-2009 02:34 PM
0 Kudos
Message 26 of 30
(1,893 Views)
Dennis this is what I have, it runs but is not displaying the failure message from the select...the boolean part I believe is working fine, it says passed or failed at the end like I want. I want any failures to all be posted at the end also which is what I am tryin to figure out, I believe I am very close
0 Kudos
Message 27 of 30
(1,884 Views)

NO!

 

You only placed text in one case. Do you not think that you might get a failure in one of the other cases?

0 Kudos
Message 28 of 30
(1,873 Views)
Dennis, I know I only placed it in one case I just decided Id do that and see if I could get an error in that one case and make sure I was doing it right before I placed it in every case...and what I have was not displaying the error message from that case when there was an error...
0 Kudos
Message 29 of 30
(1,846 Views)
I thought what what you wanted was a status message from every test. If you want to display just the message from the failing test, you have the index value from the Boolean search and you can use that to index the array of strings. Since, for some reason you want to continue testing after a failure is seen, don't you want to have the status from all of the failures? If you are going to through away this information, why would you continue testing after the first failure?
0 Kudos
Message 30 of 30
(1,827 Views)