LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

connector pane clad question


macaba a écrit:
tidiedCode.PNG

 

Unless the diagram is paint-ed, this is the correct answer. However, it might depend on the configuration of the diagram clean up.

0 Kudos
Message 21 of 29
(1,651 Views)

That's a badly written question showing badly written code.  It does not test people's knowledge of LabVIEW...  Well.... maybe some...

 

Still a badly written question.  They should not "encourage" code where the wire goes from right to left..

0 Kudos
Message 22 of 29
(1,643 Views)
Ray, these kind of questions occur in CLAD exam. I got one, wired from lt <-- rt. Smiley Wink
- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 23 of 29
(1,631 Views)
Everything is backwards now, like out there is the true world, and in here is the dream.- avatar....:smileywink:
0 Kudos
Message 24 of 29
(1,624 Views)
I know that's how they write the exams.   I'm saying they should improve their exams.  There's no need to show badly written code for that.  If they want to chek someone's understanding of the dataflow, then make it a harder question using well written code..  😉
0 Kudos
Message 25 of 29
(1,618 Views)

Full disclosure: I am a LV snob.

 

Here is an old joke pointed at me:

 

"Those who think they know everything are particularly iritating to those of us who do."

 

Question:

 

Is it just me or do others feel embarasment when they see bad LV code examples coming from an NI source?

 

Over the years Christian has made his mark here on the forums in that he has set the standard for well written code. But that standard which many of us push is not shared by NI. I guess I really wish that they would listen to us more.

 

Waxing philosophical:

 

LabVIEW is a beautiful creature whos' features are often ignored by its creator.

 

Ben

 

(Sometimes refered to as the LabVIEW Evangilist)

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 26 of 29
(1,612 Views)

Ben wrote:

 

Is it just me or do others feel embarasment when they see bad LV code examples coming from an NI source?

 


It's not just you.  I've often remarked that many of the NI functions wouldn't pass the CLD.  We preach adherence to good style, but don't always practice it.

Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

0 Kudos
Message 27 of 29
(1,607 Views)

Ben wrote: 

Is it just me or do others feel embarasment when they see bad LV code examples coming from an NI source?

 


I'll let you into a secret- we are human too (eeek!) and it takes time for us to pick up good practice too! (Our learning curve is steeper than most though which helps)

 

Also when you look at 'badly-written' customer code, day after day, it rubs off on you (its rare to find the good coding practices that you preach!)

Message Edited by macaba on 04-07-2010 08:08 AM
0 Kudos
Message 28 of 29
(1,603 Views)

Ben wrote: 

"Those who think they know everything are particularly iritating to those of us who do."

 

Question:

 

Is it just me or do others feel embarasment when they see bad LV code examples coming from an NI source?

 


yes..  (I had that poster up on my wall at University.. Still have it..  Sometimes it applies to me... Other times it applies to others..  It's an interesting perspective).

 

 

Glad my comment struck someone's nerve..  How do you convince people of doing someting right if you keep showing how to do it wrong...

 

I'm going through the worst spagetti code I have ever seen in my career..  I'll limit my comments..  The author didn't even have the audacity to put his name in the code..  No comments whatsoever in the code.. Not even a header... Smiley Mad

 

We have to preach the right coding methods or at least to the best of our knowledge and we need to prevent examples or test questions which seem to indicate that it's okay to do so because the source did it..  Or someone else did it..

 

Thanks Ben!  🙂

0 Kudos
Message 29 of 29
(1,551 Views)