08-09-2005 04:11 PM
08-09-2005 09:08 PM
08-09-2005 09:21 PM
Something else you should consider is handing the errors properly. You have error clusters passing through, but they don't do anything...
Mike...
08-10-2005 07:25 AM
08-10-2005 09:05 AM
I understand that this was a quick thing, but when you start handging titles after your name people start look to you for examples and guidance. So if they see you doing (or in this case, not doing) something they will think it's alright too. I hate to think how many problems I've helped people fix that came about because they were modeling their programming style after what they saw in the examples that ship with LV.
Mike...
08-10-2005 10:37 AM
Since when did the developer zone become a beauty contest... it is for us to help people out. Most of us don't have time to answer questions as it is because of work and are just doing this to help promote LV and help new developers become better. Here, my examples have been corrected... Sorry for any confusion.
I am proud of my titles by the way... I am not boasting about my abilities...
08-10-2005 11:52 AM
I'm sorry if I offended you, it wasn't intended. The point is that the yellow bars by our names--and in your case the titles (which you have every right to be proud of) make us role-models, like it or not. That's just the way things are.
Mike...
07-26-2012 03:39 PM - edited 07-26-2012 03:48 PM
Ian, thanks for the example, I found this really helpful.
I am working on a similar program, where the subVI is a continuous wavefunction generator which outputs to Ao - this is a case where there is no predictable "done" condition, so the subVI can't terminate itself. Instead, the main program determines when the wavefunction needs to be changed, started, stopped, etc.
Of course, I could probably keep the function generator code in the main VI, such as in a "wave function change" case structure. Then I wouldn't need to control a running subVI. However, I like having a stand-alone subVI for the wavefunction generation which I can run and test independently of the main code.
07-26-2012 09:17 PM
@Gustep12 wrote:
Ian, thanks for the example, I found this really helpful.
I am working on a similar program, where the subVI is a continuous wavefunction generator which outputs to Ao - this is a case where there is no predictable "done" condition, so the subVI can't terminate itself. Instead, the main program determines when the wavefunction needs to be changed, started, stopped, etc.
Of course, I could probably keep the function generator code in the main VI, such as in a "wave function change" case structure. Then I wouldn't need to control a running subVI. However, I like having a stand-alone subVI for the wavefunction generation which I can run and test independently of the main code.
Hi Gustep12,
It is great that it helped 🙂
And, what surprises me is that this VI(s) still helping after nearly 7 years since it was uploaded... lol Cheers!