02-29-2008 08:08 AM
Oh I realized one more thing. If I switch off the start stop button, the whole process should terminate but it's not doing that. It continues.
Could you please tell me why?
02-29-2008 08:19 AM - edited 02-29-2008 08:20 AM
See attached.
smm wrote:
I tried them all together along with the start stop button and all that and it all works. Thanks to you guys. But I still ahven't been able to figure what to do with the unit in. I know lynn said that it's supposed to be connected to a shift register but when I connect the unit in htp the left or roght wall of the while loop, it gives me a broken line and an error saying you are connecting 2 different data types.

smm wrote:
Also why don't the units get tested in order. As in the states run randomly for any unit instead of doing a unit 1, unit2....unit6. It runs randomly like unit6, unit3, unit4, unit5, unit2, unit1 etc.
02-29-2008 08:45 AM
Thank you. Last question...
Oh I realized one more thing. If I switch off the start stop button, the whole process should terminate but it's not doing that. It continues.
Could you please tell me why?
02-29-2008 07:16 PM
03-03-2008 08:31 AM
I think I fixed that except when you said "In order to stop the program, you will have to put the front panel stop button to the stop terminal." What I think is, when you do this, the hard start-stop button loses it's purpose right?I don't want to have a soft start/stop button. What should I do in this case. how can i ensure that the program stops running.
Also since I have been working on this project, I have noticed that for some odd reason it works correctly only in the debug mode and not in the regular mode. If I use it in the regualr mode, it fails all the units even if they are working. Can you tell me why? I think it should work as well in regular mode as it does in debug mode. For some reason I think it is not taking the wait times into consideration. Please help. It is a little weird. Thanks.
03-03-2008 02:28 PM
I got it working in the non-debug mode as well, but I still cannot fix the hard stop button in thee while loop.
Also can you tell me if it is possible to make the subvi's run in a sequence. That is unit 1 forst, then unti2, unit 3...unit6. As of now it runs arbitrarily like unit6, unit4, unit5, unit2, unit3, unit1. There is no sequence.
03-03-2008 04:37 PM
smm wrote:
Also can you tell me if it is possible to make the subvi's run in a sequence. That is unit 1 forst, then unti2, unit 3...unit6. As of now it runs arbitrarily like unit6, unit4, unit5, unit2, unit3, unit1. There is no sequence.
03-03-2008 05:31 PM
03-04-2008 06:52 AM
Ravens Fan wrote:
Please don't set VI to run when Opened!I made it based on what I assume your boolean logic is that if the DAQ read is False, that means start, and the DAQ read is True, that means Stop. If that is wrong, then the logic will need to be reworked.
Sorry about that. Ya and it is supposed to be when the DAQ read is 1 or true it starts and when it is 0 stops, but for some reason that was not happening. So i just manipulated it to what it does. How different will the logic be if this is the case?
Ravens Fan wrote:
This statement is really in conflict with what I thought one of your requirements was that the 6 devices run in parallel. It is kind of hard to have 6 things running at the same time but in sequence.How out of sequence are these things, is it case of fractions of second between one starting and the next?
03-04-2008 07:29 AM
Also the hard start/stop has been kind of working, but the stop inside the main while loop is not working too well. Like when the entire vi executes, it is supposed to stop executing, but th run arrow still is active which means the vi execution is not getting terminated. zThe stop in the main while loop is activated either by the hard start/stop or the output of the compund or block. But htat isnot happening. Could you please take a look. Thank you so much.