is a huge scam by NI to repackage the C/C++ language and sell it back to you.stay away.
3/18/2009 12:57:49 PM
We use it pretty much exclusively in my group for rapid R&D test developement. It has its uses. But i'll stick with the theme:
3/18/2009 5:49:46 PM
MATLAB FTW?
3/18/2009 8:45:22 PM
Matlab is never FTW unless you are comparing it against Maple
3/18/2009 9:12:24 PM
i always liked Maple, but I think I would prefer matlab nowadays. luckily I have no use for either at this point in my life :-D
3/18/2009 9:27:50 PM
I always liked MATLAB. Sadly, I have no use for it at this point in my life :-(as for LabView, i'm SOOOOOOO glad i never have to learn how to use this shit. I'm actually in the process of ripping out an entire industrial LabView system designed by EADS and rewriting it my damn self in C.[Edited on March 18, 2009 at 10:04 PM. Reason : ]
3/18/2009 10:02:32 PM
why would you do that?sounds like a lot of redundant effort[Edited on March 18, 2009 at 10:07 PM. Reason : s]
3/18/2009 10:07:01 PM
3/18/2009 10:09:11 PM
I loved it in my all of my 400 level engineering classes... All my classmates who thought it was cool to hate maple had to work these epic multi-page problems out by hand with tedious transformations and calculus. I just asked my professors if it was ok if I used Maple after I'd set up the problem properly. They said, "of course - thats why we teach it to you" and after all, the tedious calculations didn't have anything to do with the subject matter of those higher level courses anyway.So, long story short - the "cool people" who hated maple spent hours on their homework while I just plugged shit in and clicked print. I got a lot of glares when I would turn in my big stack of white papers next to all their yellow pages of handwriting
3/18/2009 10:13:37 PM
yes, i'd much rather use maple over doing things by handbut there are much better math packages out there than maple
3/18/2009 10:15:58 PM
mebbe so but maple's the one that I know (knew) and its not all that hard in the first place to use it to just do random hw assignments.
3/18/2009 10:17:16 PM
3/18/2009 10:22:40 PM
I see... However, without knowing the slightest thing about your situation, I would have these concerns:1) Maintenance. Now you are on the hook for fixing every little problem. Its nice to have a vendor you can call and/or blame if something goes wrong.2) Scalability. I'm sure your code will work fine but what happens when you're busy on something else and mgmt decides they need this other feature that will take up all your time to implement? If you were using a vendor tool, you could just offload that requirement on their AE.3) Verification. This is related to #1, but how do you verify what you're doing? Sounds like a big risk which might be ok, but I'm risk averse, personally. Have you ever heard this phrase: "No one ever got fired for buying IBM NI." In fact, this is probably a major reason why your system is in the state its in now.4) Free lunch. If you invite NI to come help you, they might buy you lunch.[Edited on March 18, 2009 at 10:37 PM. Reason : almost forgot the most important reason not to leave NI...]
3/18/2009 10:33:58 PM
(1) we have a bunch of C programmers or at least people who can hack their way through C. no one knows squat about LabView. and some of us (like myself) have a philosophical hostility to the idea of LabView.(2) EADS is hugely expensive. they're the european version of our NASA. we can do it cheaper. we can also do it better because these are our devices and it's all right here in plant. rather than trying to deal long distance with their umbrella org in Southern California. and, again, we have devs and test engineers here who know C. (3) as a mfr. of medical devices, all we do is verification at the FDA-traceable level. our entire company eats and breathes verification.(4) we may use NI's TestStand as our executive. that's not cheap either. we can still get that lunch. and not have to buy EADS's lunch.anyhow, i want the challenge. theres a lot of high visibility on this project. so either they'll sing my praises or fire me. either way i add a significant project to my CV[Edited on March 18, 2009 at 10:45 PM. Reason : ]
3/18/2009 10:43:48 PM
sounds well thought out.... you have my approval to carry on.
3/18/2009 10:50:09 PM
aye aye. by your leave, sir.
3/18/2009 10:51:19 PM
Labview is such a crappy program. It's like an incredible machines for engineers except all the levels suck and you never win.I actually use math cad and prefer it to maple. I wouldn't compare it to matlab though.
3/19/2009 8:15:57 AM
[quote]Labview is such a crappy program.[quote]its good for some applications, like for non-programmer scientists who want to get some basic prototype experiment with a DAQ card up and running quickly.... but for more complex applications, you're shooting yourself in the foot if you choose to design in labview. you should see the convoluted symbolic contortions you have to go through just to stream some input into a log file, for instance.any time you've got App Engineers trying really hard to sell you some proprietary system, telling you that "once you learn it, you'll never want to go back"... man, thats some sketchy shit there. if you get approached by some LabView evangelist, ask them this: "If I already know how to program in C/C++ why the fuck would i want to learn how to program in some proprietary expensive system that is just a GUI wrapper around a C/C++ compiler?"
3/19/2009 11:12:28 AM
oh god - all you had to say was that it was a GUI who in their right mind would want to use a GUI??
3/19/2009 3:17:35 PM
3/19/2009 4:42:31 PM
Do you also feel this type of anger toward Simulink?
3/19/2009 4:50:42 PM
^^ must not be since I made an A in the class...Regardless, I didn't need to use Maple in power systems. In fact, that wasn't even a 400 level class if I remember correctly. I mostly used it in my communications classes. There were some other classes I used it in too, but I can't remember which ones.[Edited on March 19, 2009 at 5:12 PM. Reason : s]
3/19/2009 5:08:54 PM
Seriously, which classes at the 400 level allowed you to just punch it in maple and turn it in, I'd love to know?You're right, power was 305.
3/19/2009 5:14:44 PM
Like I said, communications for sure and I know there were a number of other classes too, but I don't even remember all the classes I took back then.... Just took a look at my old homeworks and in addition to my communications classes, I used maple for homework assignments in ECE 301 (shudder), ECE 314 (circuits 3), and I couldn't find any assignments from 403 (analog circuits), but I'm pretty sure I used it in that class also. Didn't have to use it for 303 (emag) or 305 (power) since those problems were mostly straightforward and relatively easy. Control Systems was matlab so maple wouldn't have had any application anyway[Edited on March 19, 2009 at 5:28 PM. Reason : s]
3/19/2009 5:17:34 PM
I turned in a TON of ECE homework from matlab. Pretty much anything you would have used a calculator on. I lost my TI-89 for a couple semesters.[Edited on March 19, 2009 at 11:30 PM. Reason : .]
3/19/2009 11:29:31 PM
^ there's no reason not to Engineers should be all about efficiency anyway. We should've gotten bonus points for being more efficient than our peers
3/19/2009 11:31:03 PM
xpcTarget ftw?
3/19/2009 11:50:27 PM
MATLAB is the single most useful thing I ever came across in my EE/CPE undergrad. I don't understand why people bitch and moan about it. It kicks so much ass. If you think Maple is better than Matlab you've either never used the latter or you're just a complete idiot.meh towards labview. I had to learn it for one of my projects, I definitely liked the data acquisition integration and testing features it has but programming does suck a bit.
3/20/2009 2:18:54 AM
I don't think Maple is better than Matlab. My OP said that I was pretty sure I'd prefer matlab to Maple nowadays... I just didn't learn matlab until control systems so Maple was what I used[Edited on March 20, 2009 at 7:44 AM. Reason : s]
3/20/2009 7:44:24 AM
This is what my last labview "program" looked like.
3/20/2009 7:54:00 AM
bump
10/4/2010 9:28:11 PM
I've been working with Labview lately and figure I'd give this forum a shot at this question. I have a hysteresis-like plot that I need to calculate the difference between the two curves to make sure they are in tolerance.In Labview, the waveforms are in terms of dt so the x values are one waveform and the y values are another. It's easy enough to subtract corresponding x and y values for the same t but this isn't hysteresis. I need to calculate the difference between 2 points of xy.For example, if my data is X Y0 .11 .12 .13 .14 .14 .33 .32 .31 .30 .3The hysteresis would be the difference in the Ys at the same point, or0 .21 .22 .23 .24 .2This is one instance where I think I could do this calculation better with pure C++ but it would be an ugly brute force type of function and I'd like to avoid that if there is some type of Labview built in that will do it for me.
10/4/2010 9:40:18 PM
If I were doing what your describe in Matlab:
for i=min(X):max(X) Y_diff(i)=max(Y(X==i))-min(Y(X==i));end
10/5/2010 12:27:39 PM
LOL AT MYSELF ITT
10/5/2010 2:56:11 PM
Im sure theres a better way, but a solution would be to:1. Get min value in X array2. While loop2a. search array for min X2b. if found, note index and increment search start point for next search2c. if not found terminate while loop3. compare Y(index1) Y(index2) Y(index3) etc4. Place minX and Ydif in new array5. remove X(index1,2,3,etc) and Y(index1,2,3,etc) from arrays6. start back at 1 until no more valuesThis assumes you don't know how many instances of X and assumes X values will not ramp up and down as in the example.
10/5/2010 5:41:40 PM
10/5/2010 9:59:38 PM
so....you did what I posted?What size data sets are you working with? Is there some requirement to do this more quickly?
10/6/2010 8:47:53 AM
Did you ever check the LabView code exchange website for hysteresis functions?http://search.ni.com/nisearch/app/main/p/bot/no/ap/tech/lang/en/pg/1/ps/10/sn/ssnav:cod/q/hysteresis/ses/false/
10/6/2010 1:01:41 PM
^ Believe me, I scoured all of that, and stared at all the signal processing and waveform palettes available as well as posted it to LV forum. I got one reply saying to run the data through a curve fitting function and go from there. I actually looked at this and may come back to it if I get anal about the code.^^ Ugh, sorta. I don't think my example data set is perfectly displayed. In particular, it defintely ramps up and down. The data sets (for now) are 6 arrays of ~20k items. I got a chance to run it today and it seemed to take a C2D (not quite sure how fast) ~6 seconds to do the computation.[Edited on October 6, 2010 at 9:01 PM. Reason : .]
10/6/2010 9:00:21 PM
Fuck LabView I'm part of the cabal at my company that regularly cockblocks any LabView sales reps from NI ever getting a toehold in here. we've got one test system that uses LabView (developed by a 3rd party) and it is an unmitigated disaster. probably more the fault of the 3rd party, but even still.
10/8/2010 11:43:04 PM
10/11/2010 10:57:07 AM
10/16/2010 5:31:33 PM
I'm about to have to learn some labview to finish a thesis project .... if anyone knows any sites other than the NI site for tutorials and such, it'd be much appreciated
2/17/2011 9:20:12 PM
they have a lot of self-contained library examples within the application itself. experiment with them, thats the quickest way
2/17/2011 11:40:12 PM
I took the basics 1 class and was understanding the labview paradigm (data flow, tunnels, registers, controls, etc) in a couple weeks. Able to debug some pretty convoluted non documented code in maybe a month.joe, I think you really sold yourself short not bothering to pick it up. Maybe you just never got the concept but I can't imagine doing some of the stuff I've done over the past few months in a text based language. The run time debug tools alone, being able to break execution, probe wires, is worth the price of admission.
2/18/2011 6:35:29 AM
2/18/2011 10:52:23 AM
2/18/2011 6:13:20 PM
tldrand the soap box is that way -->
2/19/2011 7:44:12 PM
haha, I knew you'd pussy out
2/19/2011 8:01:47 PM
2/21/2011 12:33:34 PM