LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

A Thing of Nightmares. Recommendations when reworking abhorrent code?

Solved!
Go to solution

For your amusement I found this response to someone asking for the password, located in this thread: https://forums.ni.com/t5/Dynamic-Signal-Acquisition/Lock-in-Amplifier-and-DAQmx/td-p/282419

 

"National Instruments does not provide the password for the block diagram for this VI because it contains National Instruments proprietary information. You shouldn't need the password to use these VI's." 

 

Proprietary wiring methodology I presume 

0 Kudos
Message 41 of 68
(1,573 Views)

Excited to see how much crapcreative code NXG's zoom in\out will bring us. I think we're lucky it wasn't available 20 years ago, when there where no coding standards\morals at all.

0 Kudos
Message 42 of 68
(1,523 Views)

Yeah, I could only imagine what this code could have become with such an ability. 

0 Kudos
Message 43 of 68
(1,503 Views)

wiebe@CARYA wrote:

Excited to see how much crapcreative code NXG's zoom in\out will bring us. 


OMG I didn't know that was part of NXG...

 

I fear the worst, because being able to zoom in and out will make it really easy to create OBL (One Big Loop)  programs instead of using a proper programming architecture. 

 

People will make huge block diagrams and say "well you just move here and zoom in to work on this part and zoom in over there for that part".

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 44 of 68
(1,493 Views)

The Prezi presentation of coding, one might say.

0 Kudos
Message 45 of 68
(1,487 Views)

Yep. I do see a need for a zoom in, as you don't want a 1 pixel wire on a 32k screen that we might see in 10 years. But zoom out is a terrible idea.

Message 46 of 68
(1,484 Views)
Solution
Accepted by topic author etvg

@etvg wrote:

It does work. However while I am running experiments in the lab I usually sit down with the code and try to make it simpler. The whole code used to be written in this same manner as some of you have seen in previous questions (@altenbach @bob_schor), and I would like to continue to make it user friendly for the next guy, as I leave in six weeks. I suppose it can be seen as a challenge as well. 

 

Cheers


Well now, That makes it easy!!!  Take a six week vacation and change your name.


"Should be" isn't "Is" -Jay
0 Kudos
Message 47 of 68
(1,464 Views)

wiebe@CARYA wrote:

Yep. I do see a need for a zoom in, as you don't want a 1 pixel wire on a 32k screen that we might see in 10 years. But zoom out is a terrible idea.


But this is something that NI could really fix without the need for zooming.

  1. Put an absolute limit on block diagram size (there really should be one anyway)
  2. Make the block diagram automatically "fit to window" when maximised and the screen is larger than the maximum block diagram size.
========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 48 of 68
(1,459 Views)

@RTSLVU wrote:

wiebe@CARYA wrote:

Yep. I do see a need for a zoom in, as you don't want a 1 pixel wire on a 32k screen that we might see in 10 years. But zoom out is a terrible idea.


But this is something that NI could really fix without the need for zooming.

  1. Put an absolute limit on block diagram size (there really should be one anyway)
  2. Make the block diagram automatically "fit to window" when maximised and the screen is larger than the maximum block diagram size.

From the crashes I have seen with diagram clean-up and very bad code, I think there is at about 65535 pixels wide.

 

Ben

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

wiebe@CARYA wrote:

Yep. I do see a need for a zoom in, as you don't want a 1 pixel wire on a 32k screen that we might see in 10 years. But zoom out is a terrible idea.


Getting a bit offtopic, but I always thought that a dynamic "zoom bubble" that follows the cursor would work great (see also this post). Such simple dynamic nonlinear re-scaling would be no problem for any modern graphics hardware. Now you can precisely position the mouse in the area of interest without losing track of the big picture. 😄

 

 

Message 50 of 68
(1,448 Views)