04-30-2021 03:06 PM - edited 04-30-2021 03:35 PM
With all respect, I provoking you... here you make some affirmations...
"Exactly! I would strongly recommend that you don't post all these flawed and offtopic code images full of race condition, local variable overuse, generic labeling, deeply stacked sequences, value property overuse and Rube Goldberg constructs in general. It really has nothing to do with the topic of this thread and is thus not helpful. Yes, one can use a chart to only display the last 100 points, but here we also need to take the FFT of the last 100 points of data that streams forever and I don't think it is a good idea to read out the history data with each iteration."
here... https://forums.ni.com/t5/LabVIEW/Waveform-Graph-showing-entire-data-history/td-p/4146679/page/2
Speak / critics / academic words... well... sustain what you say. demonstrate that you are best that a guy that have nothing in comun with LabView and make this .vi in 3 weeks. you have 3 weeks to make it SIGNIFICANTLY BEST !!! let see in what time a LabView guru it make this... better and... how better !!!
here you have the .vi... think that will be a copyright protected program, will be a comercial program, I risk and I sacrifice them, I'l put it here to see... how good are you.
we do not speak about this sub routine... here you help me. for the moment I don't change it with your recommendations.
make you... a sinonim of this... in another way. be best that a greenhorn. 😉
let see you... I bet that you don't make it 30% better !!! I make this and I DON"T KNOW LABVIEW. you have a life... in... LabView.
LabView 2020 please (I love NXG look 😉 )
P.S. you need a .csv file... I edit the message and attach the.csv file
04-30-2021 03:56 PM
Have a look at the Unofficial forum rules and guidelines: https://forums.ni.com/t5/Community-Documents/Unofficial-Forum-Rules-and-Guidelines/ta-p/3536495
There you will find a lot of good suggestions to get the help you want. Note that "egging on other forum members" is not one of the suggestions.
04-30-2021 04:11 PM
So, you're asking one of the best developers around to rewrite your program for free? 🙄
As for "30%" better... measured by what metric? Your opinion?
I would argue that someone could easily make it "30% better" in just a few minutes by fixing any one of the many issues. For example:
And, if someone wanted to spend an entire hour on this and convert it into a simple producer / consumer architecture with an event structure it would become a couple orders of magnitude better. Cramming everything into a single loop like you've done makes adding new features or even following the logic to debug something extremely difficult.
But hey, maybe your taunt will work! I personally don't think anyone is likely to be goaded into doing work for you for free. Maybe if you were to make a friendly wager, as voted by the community here.
04-30-2021 04:13 PM
here is nothing about egging of no one... here is about theorems and demonstration. nothing more. all of us make affirmations... but... have no value without demonstrate that we have right. I give at altenbach the possibility to put value in what he say... from my point of view nothing bad in this.
the theorem are...
" Exactly! I would strongly recommend that you don't post all these flawed and offtopic code images full of race condition, local variable overuse, generic labeling, deeply stacked sequences, value property overuse and Rube Goldberg constructs in general. It really has nothing to do with the topic of this thread and is thus not helpful. Yes, one can use a chart to only display the last 100 points, but here we also need to take the FFT of the last 100 points of data that streams forever and I don't think it is a good idea to read out the history data with each iteration. " from here https://forums.ni.com/t5/LabVIEW/let-s-rock-altenbach/td-p/4146989
this affirmation / theorem must have value... I ask it to demonstrate what it affirm. nothing more.
If this post not respect the forum rules, please inform me and erase them.
Best regards, Marcelo
04-30-2021 04:19 PM
@BowenM wrote:
So, you're asking one of the best developers around to rewrite your program for free? 🙄
As for "30%" better... measured by what metric? Your opinion?
I would argue that someone could easily make it "30% better" in just a few minutes by fixing any one of the many issues. For example:
- Giving your controls / indicators meaningful names
- Preventing your program from hammering your HDD by reading a file every loop iteration
- Not hammering control property nodes every loop iteration
- And fixing... well, whatever it is you're doing here
And, if someone wanted to spend an entire hour on this and convert it into a simple producer / consumer architecture with an event structure it would become a couple orders of magnitude better. Cramming everything into a single loop like you've done makes adding new features or even following the logic to debug something extremely difficult.
But hey, maybe your taunt will work! I personally don't think anyone is likely to be goaded into doing work for you for free. Maybe if you were to make a friendly wager, as voted by the community here.
please... not elementary things... I specify that this .vi is not "polished", I just make it work... 😞 this things I have it on my list... I know it, I say it to altenbach that I know... this elementary things...
04-30-2021 04:30 PM
@xipxid wrote:
this affirmation / theorem must have value... I ask it to demonstrate what it affirm. nothing more.
have you ever googled "altenbach+labview"?
04-30-2021 04:35 PM
@BowenM
wait... you put here an... elementary absolute truth !!! "one of the best developer" !!! and a false affirmation "to rewrite your program for free" all in one proposition.
this part of program are far to be all program. my intention are to give an example for this community about how is made a piece of code by a "greenhorn" in comparation with "one of the best developer"
in this life... only the death is for free, I don't ask about nothing for free. and this... of course... for free 😉 I put it here... for free... this ideea ! if altenbach will want to colaborate... well... will be for free
04-30-2021 04:39 PM
I read more than you can imagine on this forum about more than you can imagine... I thank to altenbach for his help and I say that I was honored when we change some memories in another post.
04-30-2021 04:49 PM - edited 04-30-2021 05:08 PM
@xipxid wrote:
Speak / critics / academic words... well... sustain what you say. demonstrate that you are best that a guy that have nothing in comun with LabView and make this .vi in 3 weeks. you have 3 weeks to make it SIGNIFICANTLY BEST !!! let see in what time a LabView guru it make this... better and... how better !!!
Sorry, I have nothing to prove here. We can talk once you have almost 45k posts, 30k+ kudos and over 2000 solutions here in the forum.
Looking at your code, I would delete it, study the requirements document, and start from scratch. It is completely botched. And no, I would not do the work for you, because I don't get paid for it and you would get all the credit. And yes, I could make it orders of magnitude better and I would not need 3 weeks! Maybe 30 minutes. It would do the same more efficiently and with 20% of your code.
Some quick comments to get you started:
04-30-2021 06:33 PM
Well... I bet and... I win... thank you very much altenbach, an honor and a real pleasure to meet you here.
As I tell you in another conversation, this is a part of a program, with almost a month ago I start to read about LabView, as I say, I'm in the big machine (tractors, harvesters, forestry machine etc.) electronic service side, when a machine in Spain, France, Portugal have electric / electronic problems and official service (the official dealer or a service company) can't repair them it call me to go there and give a solution. I have almost no contact with software. I have friends that work in AI, microcontrollers etc. for Honeywell, for ex. Erixon etc. Together with 30 years ago we start our careers in various sides of electronics. All of them know, more or less to use LabView. I don't know. Well... I start a project that include hardware and software, the hardware is almost done, it is in alpha stage in tests, now I need the software. As you say "study the requirements document"... well the program that I need, don't have a "requirements document". What I try to do... is not a program, is a "visual requirements document". This are some... unusual approach for a software but what I want for this program not exist, I don't know what I need to ask / use in this program, I try to make a visual relational functions to see how it work, what I need (graphs, sliders, visual effects, open files, save files, buttons, measures, symbols etc.) for this reason in the vi is an entire disaster, for the moment I use variables, I hide temporary unused buttons on a stacked structure to not be on entire desktop and so on. I need to finish the hardware tests ( I use 2 infrared heaters to heat something, I need to finish the PCB, I need to implement data collection from sensors , cascade PID and so on in 2 microcontrollers etc.) What I need is a "visual requirements document". I can't, I have no knowledge to make a program. What I want is a... let say... a "visual model" for what I want, closest possible to future program. After that I have this "visual requirements document" I can ask a LabView profesional to made a program that I pay for it.
"Looking at your code, I would delete it, study the requirements document, and start from scratch. It is completely botched. And no, I would not do the work for you, because I don't get paid for it and you would get all the credit. And yes, I could make it orders of magnitude better and I would not need 3 weeks! Maybe 30 minutes. It would do the same more efficiently and with 20% of your code."
Here you say some truths but make some mistakes, " I would not do the work for you, because I don't get paid for it and you would get all the credit.". Well this is a big mistake, when I ask for help (and I ask for help and you help me... with the clear graph) I respectuos thank you, If I ask somebody to work for me, is normal to pay his work because if somebody ask me to work... well... I ask to pay me.
I hope that you DO NOT UNDERSTSND that can be in LabView a comparation between me and you. Or... can be like an ant to an... elephant... if you want. Our jobs / specialties are completely different. About competition in LabView between us... well... is a non sense to speak about that.
All that I want was... catch your attention and... I catch it. What I want is to see a reaction from a professional LabView programmers about difficulty of this project and I see it. My conclusion about that is that this is a simple project for an LabView professional. Seems that my old best friend that help me (when is not coronavirus destroyed ;( ) have right with that.
Well... thank you again and best regards, Marcelo