ni.com is currently undergoing scheduled maintenance.
Some services may be unavailable at this time. Please contact us for help or try again later.
05-06-2010 02:53 AM
I really hoped never to see my own code in this thread, but after spending 1 1/2 hours yesterday (I was tired) trying to work out how to convert a Hex string into a boolean array, I came up with this. My boss couldn't think of anything better (he was busy, but really thats no excuse considering this code), and when I came in this morning and was about to search the forum for a more efficient way of doing it, I realised what a bad Rube I had made and how simple the solution really is.
(What is worse I now have to send corrected code to a customer as I found an error in my Rube that doesn't occur in the simple one).
Laugh:
I thought it was so funny I had to post it.
James
05-06-2010 11:26 AM
James W wrote:when I came in this morning and was about to search the forum for a more efficient way of doing it, I realised what a bad Rube I had made and how simple the solution really is.
Thus proving what just taking a break from work can do. Next time you are stuck, just sit their and do nothing. Then, when your boss asks what you are doing you can say "im efficiently solving a problem"
05-06-2010 11:54 PM
05-26-2010 03:25 PM - edited 05-26-2010 03:29 PM
I'll call this one, Darin to the rescue. He uses the distributive property (I think thats like a 6th grade thing) to his advantage in summing all elements multiplied by the same number first, before multiplying. Seems that slipped my mind...![]()
05-27-2010 03:09 AM
05-28-2010 08:19 AM
Thoric wrote:Not sure this is necessarily better, it has a few ugly coercion dots, but here's another alternative way to do that calculation using the LabVIEW matrix functions:
![]()
OH, i like this one too.
06-08-2010 12:13 PM - edited 06-08-2010 12:14 PM
Ouch!
As you would have guessed, all terminals are in frame #1. The rest is just locals!
(This is just a tiny part of the entire code!)
06-08-2010 12:56 PM
AAAIIEEEEE!!!
After seeing JDlabview's orange front panel and then seeing this, my eyes are on FIRE ![]()
06-08-2010 01:16 PM
06-08-2010 01:44 PM
for(imstuck) wrote:
dataflow boycott!
I decided to right click and change the stacked sequence to a flat sequence. Then I ran diagram cleanup. BD clean up boycotted as well. After about a 20 second pause, LV crashed having "encountered a serious problem and needs to close."