05-12-2009 05:53 PM
05-13-2009 03:19 AM - edited 05-13-2009 03:20 AM
Oh yea! Then I have trouble finding the correct function in Labview it is a big relief to know I can calm down and turn to the Express Vi palette. I have often wondered what people were doing before there were Express VIs. A veteran once took me aside whispered into my ear that they were forced to program and do some thinking while they coded.
I also took the liberty to show the underlying code behind this idea. Old Rube would have been pleased if he was able to this. Take notice of the genius behind the often used "Dynamic To Waveform Array.vi" and the "Waveform Array To Dynamic.vi"
05-18-2009 01:21 PM - edited 05-18-2009 01:23 PM
I found this code in the forum today. I have seen worse, but it was an interesting angle of attacking a problem in Labview
Found here http://forums.ni.com/ni/board/message?board.id=170&thread.id=409573
05-21-2009 06:20 PM
05-21-2009 06:33 PM
for easier viewing...:)
05-21-2009 08:04 PM
Well, the VI could be derived from very old code. 😉
In the early days of LabVIEW (e.g. 4.0) the "stop if true" mode did not exists. (Also wiring the termination terminal was optional back then).
05-21-2009 11:40 PM - edited 05-21-2009 11:44 PM
05-22-2009 03:14 AM
Dont know if it is true in this case, however coding standards can quite often lead to rube's. for example a coding standard might be
"All while loop conditions must exit on True" (I know you can set the stop condition to whatever you like in more recent LV versions), but i often came across scenarios where standards meant making rubes. I suppose this makes sense in some way if for example your whole project had "stop while loop on true condition" your managers/peers can do reviews that little bit easier .
craigc
05-25-2009 11:23 AM
I have not seen this one before. To add two numbers do we could do it simple. But using a Matlab script node is more elegant
Found here http://forums.ni.com/ni/board/message?board.id=170&thread.id=411133
05-25-2009 11:47 AM
Coq rouge wrote:I have not seen this one before. To add two numbers do we could do it simple. But using a Matlab script node is more elegant
Found here http://forums.ni.com/ni/board/message?board.id=170&thread.id=411133
LOL and there seems to be extra code in the Mathscrip node. Why rename IL2 before returning it?