Want to learn Raspberry Pi?

Covers setup, intro to python and shell programming, creation of a GUI, etc…

6 Likes

You can also do all of the above by programming Raspberry Pi 2 & 3 graphically using labview as demonstrated and explained here:

https://www.labviewmakerhub.com/

look under codename LYNX

Nope. The above covers learning the basics of a UNIX system, creating shell programs to automate things in the system such as backups. As well as other aspects. Yes, you can use Labview to run programs on a Pi, but that is only one limited use of the device.

Why do you need the shell if you can use the device in other manners?

Any information or control available via shell can also be controlled via LabVIEW. And yes you can create a front panel to run on device display.

I could even make a LabVIEW shell to run on RPi if it would help your understanding. This would be a silly exercise since it would be a LabVIEW wrapper around the same functionality available through your existing shell, but it demonstrates the point that while you can utilize the shell manually to do things in LINUX, you can also control these things programmatically via LabVIEW.

To create a cheap computer for grandma to check her mail and browse old lady porn.
To learn Unix
To create an internet connected, database driven kiosk.

all of which are easily done in labview as well…utilizing Pi

Now here is what you cannot do utilizing techniques outside the scope of LabVIEW:

You cannot, with only one programming language, control all of the following:

Rpi
BeagleBoneBlack
Arduino
Digilent
Sparkfun
Kinect One

That capability can be found in only one place: LabVIEW

Show me a website, maintained in labview, that is database driven and connected to the internet. There are thousands of Pi’s doing that.

Show me a web browser and email application that grandma can use.

Explain how labview can help someone learn Unix.

Look,labview is fine for control systems applications, but it most definitely is not a general purpose programming language. You can’t create an operating system, dbms, spreadsheet, etc in anything but a toy way. Because those aren’t what the product was designed for. Control an oscilliscope, bench meter, etc for a test setup? Yes that is something labview is suited for. If you want to do that for commercial work (something you sell), be prepaired to pay thousands in software and licensing fees.

1 Like

Wrong, you can program in C on all of the above. And unlike labview ‘programmed’ Arduino you don’t need to keep you Arduino attached to the programming computer for it to still run.

Or Python… or any number of general programming languages.

Oh and as you noted in your class you need to pay a fee to use the Arduino.

All of those things exist and are already out there. Your exercise takes more time than I have to give to the ungrateful. If you want to clear your ears, you can listen and learn and one by one, you will see where and how this is true in every case.

You are suggesting that you can program any language on any device? Oh my!

And no, the PC does not need to remain attached to run apps on target. The non-physical attachment is there only to load the files onto the target.

Then provide links. :blankspace:

https://www.labviewmakerhub.com/

So a search for labview email turned up a page for how to register on the site and nothing else. So one up one down. In other words labview can’t be used for any of the standard computer activities I mentioned. While the Raspberry Pi can, and it doesn’t require any programming for much of that.

When I performed same google search, I got 3.7 million results. Not one.

For your sake, lets take this offline.

I search the link you supplied above. If you want to make the claim that labview can be used to create a general application to allow grandma to browse the web and send/receive emails then provide a link to one example.

Your proslytizing the labview religion is starting to wear thin.

2 Likes

Well I don’t know what ridiculous query you did, but I have 3.7 million hits that you need to investigate.

Wearing thin, but only in the extremely limited understanding of electronics scope of DMS as directed by the uninformed. Come out of the darkness and into the light, DMS…

Then provide just one link to an email application and web browser that grandma can use.

“When all you have is a hammer, everything starts to look like nails.”

I’m outside the “box” on this one. My .02:
C/C++/Python/Linux/etc are open source = little or no cost
Labview not so. Expensive license and what looks like move to the cloud - think Photoshop model.
Yes there are games you can play w/ student license, etc.
Plan on selling your widget that uses Labview, be prepared to ante up - probably big time.
C/C++/Python/Linux/etc lots of documentation, app notes, examples, classes, etc. - little or no cost
Labview?
Labview on an Arduino is a novel idea - not sure how practical.
What I’d like to see is some basic Labview programs making the Virtual Bench do something useful and interesting. Same w/ the other ELab gear that have comm ports.

“Yes you can drive a 1” bolt through a piece of plywood. Never mind the damage."

1 Like

@artg_dms, thank you for chiming in. However, the limitations you set on LabVIEW are not correct. Users can get free LabVIEW that is fully functional, I can show how but on a personal level. Businesses, as defined by the fact that they are turning profits and can pay, are required to do so to be licensed.

All of the docs suggested
C/C++/Python/Linux/etc
are usable in LabVIEW, and the LabVIEW code libraries and docs are also usable in LabVIEW case, but not otherwise.

So the surprising reality is that LabVIEW is the practical case, which is why all the rapidly evolving LV libraries for embedded targets out there are written by makers the world over, as opposed to NI engineers exclusively.

DMS should join in the fun, stop doing things to hinder my ability to effectively develop and train internal to DMS, else I need to go somewhere where I am not meeting insane resistance with my attempts to move things forward. I refuse to waste any more of my time and energy arguing this one. Its akin to having to argue to support ohm’s law… I have a lot of projects running in parallel, and since you guys are lining up to obstruct my path, negatively influencing those clever enough to help me and learn from me, I am running out of an inclination to continue efforts at DMS.

I would like to see use made of VirtualBench also, but there are some issues on that front as well, and I have been asking for #1 and #2 to be fixed since we got it, and directly to you @artg_dms . In fact, I even scheduled a class to put the thing to work, but the class got zero interest (and probably complaints galore):

1, The tethering cable makes that embedded target usable only on that desk. I don’t have any projects I can limit to that desk.
2. The wireless interface is crippled? Wired in OK in a lot of cases, but for bots and the sorts of things I am fiddling with, I need wireless BT or WIFI comms.
3. RPi3 has just replaced all the $3k embedded LV targets of old. However, RPi suffers some drawbacks because there is no FPGA. VB has the FPGA. So it becomes very interesting once again where we need hardwired processing of a fast datastream. Don’t worry, it will come up, and likely soon when video processing a stream for a robot, say for AI or something.

Guys, the simpler things in engineering have all been done, over and over. Now we have to do things that are more complex to make it happen. LabVIEW offers the advantage of being a single environment with options for targets across the board. Since we have to do all this code leveraging to get our development times down to something reasonable, there is no way I would go a direction other than LabVIEW.

So while I am also frustrated that nobody followed through when I attempted to teach LabVIEW at DMS (except for Mr. Duffy), you guys had the option to learn it there as well. And now that you are seeing why you should have jumped on that bandwagon, I can understand your being frustrated as well. Slapping each other on the back as you make unfunny jokes about how smart you are to avoid that learning, well I am sure it was fun at the time. But when the industry selects a direction, and the industry is a much larger than our little ecosphere at DMS, you are now not in position to use the powerful option. You can influence the membership at DMS and perhaps get them to exclusively avoid the best answer, but this does nothing in the way of getting useful electronic products in develop at DMS, which was my personal goal, and now I am once again the lone ranger working on that front. No help for me from DMS… just this…and the fact that scheduling classes is now a problem for me as well.

Fortunately for me there are other spaces around, the best of which for electronics folks are not only embracing LabVIEW, but their whole labs run on virtual instruments. It would be nice to not meet so much resistance with my projects and goals, but just like being banned from DMS auto on the exact day I am attempting to install the new engine into the engine bay, I don’t see the resistance I am encountering as anything more than self-serving obstruction to prevent DMS members from realizing who possesses strong talent alongside work-ethic.