Jump to content

Recommended Posts

Hi guys. This semester I'm starting a course system development for control and automation engineering, witch will be based on LabView. Therefore, my University doesn't have a NI hardware, even a MyRIO for us to test our VI and the teacher said that we should test our projects with our own Arduino...

So, I have a little experience in Arduino and I know the basics for LabView. Now I'm in a point that I know that with Arduino I'll not take the best from LabView. I cannot even deploy a code to it.

So, there is where my question comes in...
I'm looking for a new board better then Arduino to use in the classes. I would buy a MyRIO card if I had the money but in Brazil this board is too expensive for me
 Witch one should I get that is closest to myRIO and less expensive than that? I would like to try de deployment of a VI and FPGA..... Is this possible?

Thanks a lot for the help!
Regards

Link to post
Share on other sites
2 hours ago, Ricardo de Abreu said:

Hi guys. This semester I'm starting a course system development for control and automation engineering, witch will be based on LabView. Therefore, my University doesn't have a NI hardware, even a MyRIO for us to test our VI and the teacher said that we should test our projects with our own Arduino...

So, I have a little experience in Arduino and I know the basics for LabView. Now I'm in a point that I know that with Arduino I'll not take the best from LabView. I cannot even deploy a code to it.

So, there is where my question comes in...
I'm looking for a new board better then Arduino to use in the classes. I would buy a MyRIO card if I had the money but in Brazil this board is too expensive for me
 Witch one should I get that is closest to myRIO and less expensive than that? I would like to try de deployment of a VI and FPGA..... Is this possible?

Thanks a lot for the help!
Regards

There is a LabVIEW RIO Evaluation Kit which is a fraction of the cost (has FPGA on board). Alternatively you could use the Arduino with Websockets or HTTP and use LabVIEW to communicate with it. There is also an Arduino toolkit, IIRC.

Edited by ShaunR
Link to post
Share on other sites
7 hours ago, ShaunR said:

There is a LabVIEW RIO Evaluation Kit which is a fraction of the cost (has FPGA on board). Alternatively you could use the Arduino with Websockets or HTTP and use LabVIEW to communicate with it. There is also an Arduino toolkit, IIRC.

I did see the single board RIO, but that IS too much for me. My budget is 10% of the price... 100 USD at most.

I would like not to use Arduino because I can't deploy the VI too it, and let it run for sometime collecting data stand alone.

I was thinking of the BeagleBone black or BeagleBone AI or even raspberry pi

Is there any better option?

Regards

Edited by Ricardo de Abreu
Wrong spelling
Link to post
Share on other sites
13 hours ago, Ricardo de Abreu said:

It sounds good! Really good!!!!!!!!!

Can I still use a PC with a VI as a supervisor for the Arduino running the code?

I've never used the toolkit; I'm just aware of it. I don't know of the limitations or capabilities outside of that page. I would suggest sending them an email explaining what you plan to do and they should be able to tell you.

Link to post
Share on other sites

I saw a seminar by the person who created the program. It basically converts LabVIEW code to an Arduino script such that the Arduino can run without being attached to a computer/LabVIEW etc. I believe you can still communicate with a PC if desired.

 

mcduff

Link to post
Share on other sites
15 hours ago, mcduff said:

I saw a seminar by the person who created the program. It basically converts LabVIEW code to an Arduino script such that the Arduino can run without being attached to a computer/LabVIEW etc. I believe you can still communicate with a PC if desired.

 

mcduff

I saw it on a YouTube video.... Just to convert to Arduino code is not the point...

 

I was searching about the linx 3.0 and a BeagleBone Black board... That is probably the closest i can get for my needs...

But as it is an "old" project maybe there is something newer and better boards that are also compatible....

With this project I saw she can deploy a VI directly to the board and communicate, just like myRIO does...

Does anyone knows anything newer or better boards (with low budget, please)

Link to post
Share on other sites

So the Pi3 can be deployed to with Linx 3.0 as you may have found.  This is an official toolkit from NI that adds the target in the project and you deploy to it like any other device, and is free.  There is no front panel or UI when running on the Pi so keep that in mind.  But the code can be deployed and set to run on startup so that it runs headless.  There is some licensing to be aware of, specifically it can't be used on any commercial applications.  NI has said that in collaboration with the LabVIEW Community Edition (free as in beer expected release in May) that the Linx toolkit is to also have some kind of new release.  The same people that make the Arduino Compiler also make a Pi Compiler which can be used for commercial applications and has the front panel running on the Pi so you can plug in a monitor and see it.

Other than the Pi, the MyRIO is really the intended platform for students.  NI has partnered with Universities to offer a discount bringing the price of one I believe to $500.  I'm not a student so I can't see it.  But used ones on ebay pop up all the time from students who bought one for a class and no longer need it.  I picked one up for under $200.  The price of a raw Pi ($30-60) compared to the MyRIO ($500 retail) is a huge jump.  But NI justifies the price with all the stuff you get.  I mean the raw Pi doesn't even come with a case.  But the MyRIO has a real-time embedded Linus OS, an FPGA, built in Wifi, USB network, USB host, a bunch of IO, and the support of NI.  If your project needs an FPGA, and you want to program it in LabVIEW it is by far the cheapest option.  If you don't need an FPGA then it can be seen as over priced.  I'd start with the Pi3 and Linx and see what is possible.  There are lots of online videos and tutorials and the upfront cost is pretty low.

Link to post
Share on other sites
23 hours ago, hooovahh said:

So the Pi3 can be deployed to with Linx 3.0 as you may have found.  This is an official toolkit from NI that adds the target in the project and you deploy to it like any other device, and is free.  There is no front panel or UI when running on the Pi so keep that in mind.  But the code can be deployed and set to run on startup so that it runs headless.  There is some licensing to be aware of, specifically it can't be used on any commercial applications.  NI has said that in collaboration with the LabVIEW Community Edition (free as in beer expected release in May) that the Linx toolkit is to also have some kind of new release.  The same people that make the Arduino Compiler also make a Pi Compiler which can be used for commercial applications and has the front panel running on the Pi so you can plug in a monitor and see it.

Other than the Pi, the MyRIO is really the intended platform for students.  NI has partnered with Universities to offer a discount bringing the price of one I believe to $500.  I'm not a student so I can't see it.  But used ones on ebay pop up all the time from students who bought one for a class and no longer need it.  I picked one up for under $200.  The price of a raw Pi ($30-60) compared to the MyRIO ($500 retail) is a huge jump.  But NI justifies the price with all the stuff you get.  I mean the raw Pi doesn't even come with a case.  But the MyRIO has a real-time embedded Linus OS, an FPGA, built in Wifi, USB network, USB host, a bunch of IO, and the support of NI.  If your project needs an FPGA, and you want to program it in LabVIEW it is by far the cheapest option.  If you don't need an FPGA then it can be seen as over priced.  I'd start with the Pi3 and Linx and see what is possible.  There are lots of online videos and tutorials and the upfront cost is pretty low.

I saw about myRIO S2....

But I can't afford one $200 USD is more then R$ 800 BRL while a BeagleBone Black is around R$ 300 BRL much more affordable for me....

Untill now my choose will be a BeagleBone Black or Green... Because the number of IO pins they have and because there is no need of a SD card to boot the system.

But the lack of FPGA and the speed of it when compared to RPi that brings me down...

I would like to see more options and solutions in this way but I don't know if they exist....

Link to post
Share on other sites
4 hours ago, Ricardo de Abreu said:

Raspberry Pi4 vs BeagleBone Black Vs arduino.....

Raspberry Pi and BeagleBone are full-fledged Linux computers. Arduino is a microcontroller.

Compare their specifications and I/O to see which one meets your requirements.

See also https://forums.ni.com/t5/NI-Blog/LabVIEW-Community-Edition/ba-p/3970512, especially the part about "Hobbyist Hardware".

Link to post
Share on other sites
4 hours ago, hooovahh said:

Just an FYI Pi4 isn't officially supported by LINX yet, but several people performed some manual steps to get it working.

I saw this guide! I was completely decided about BeagleBone but when I saw this guide, and some comparations on speed, and memory, the raspberry is much better....

On the other hand BeagleBone has much more IO and no need a SD card to boot

For me BeagleBone is more indicated because of the interaction with the sensors and IOs

But raspberry is more powerful...

I don't know what to do...

 

Link to post
Share on other sites

You could add additional I/O to the Pi by connecting Arduinos to it.  If you install LINX on the Arduino(s), your deployed LabVIEW application can control I/O on the Pi AND on the Arduino(s) using the LINX toolkit.

I haven't done this personally (I'm using another home-grown method), so I don't have a "How To" for it.  However, I know that I've stumbled on the above idea in one of my recent Google searches.

Edited by Bryan
Link to post
Share on other sites
  • 1 month later...

There is nothing perfectly fit for everything. Pick the one closet to what you want and go with it instead just wondering about it. Use your brain to learn how to program LabVIEW first.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Similar Content

    • By David Akinpelu
      I am implementing a TCP connection between MyRio(client) and Python(server). The goal is to send data from the server to the client, perform some calculations, and send the result to the server. I need to keep changing the data being sent to the client. I noticed the first data works fine and the result returned to the server, but the client could not read subsequent data. I debugged and was able to detect that the error is coming from the first read function is the "Reading values subvi"  but I don't know how to correct it. How do I go about it?
      I have attached the files below.
      Reading Unknown Bytes from TCP.vi Second_client.vi SimpleServer.py
    • By jossie
      Hello I am quite new to labview and I have some questions regarding labview. We have came up with a simulation build in labview as shown in the folder. However, we will be making use of Myrio to connect current and voltage sensors to send the data to labview when labview is running. We are currently having difficulties trying to search if it is possible to send the wave files and the popout messages ( messagebox.vi and Player2Wins.vi) to NI Dashboard for Labview in Ipad by using myrio. Is it possible for myrio to store wave files and the additional VIs and sending these to NI Dashboard for Labview? 
       
      Otherwise, it is possible for Labview to send the entire program.vi, messagebox.vi and Player2Wins.vi to cloud and people are able to see the GUI in program.vi remotely? ( We have found information like Labview web services etc. We hope that people are able to view our GUI and press the " Press start" button as well as closing the popout messages in a website not from our local network). 
       
      I sincerely apologize if what I am asking does not make sense to people who are reading this. I hope that someone will help me with this as it is very difficult for me to do and I need some guidance from people who are familiar with these. Thanks for taking your time to read and your reply. 
      Simulation_Build_(3).zip Pop-up_Message.vi Player2Wins.vi
    • By grjgrj
      Hello. I need change some code for SbRIO-9626 with LabVIEW 2018. I have code from LabVIEW 2015. Right now I have only LabVIEW 2018. And I worked with it for SbRIO-9627.
      LabVIEW FPGA, LabVIEW Real-Time, NICRIO1800 driver istalled.
      And I install Xilinx ISE 11.5 Compilation Tool too. 
      When I start compilation FPGA VI I got error about problem with compilation too (see attachment picture).
      Could you tell me how I can solve this problem? 
      It is very important. 

    • By prabhakaran
      Hi,
       
       
      I am trying to use image convolution inside FPGA. My Image size is around 6kx2k. The convolution is applied properly until 2600 pixels in x resolution. After that, the values seem to miss previous row data. 
       
      In Detail: As convolution is matrix operation, image data needs to be stored for the operation. But it seems there is an inadvertent error storing only 2600 pixels per row inside FPGA. And hence the filtered output is calculated assuming these pixels to be 0. 
       
      I have tried with different image sizes, different convolution kernels, and also in different targets (cRIO 9030 and IC 3173). All results are same.
       
      I have attached a screenshot of FPGA VI and an example image.
       
      The example image shows an input image of 4000x2500 of same pixel value 16.The kernel is 3x3 of values 1 with divider=1. The RT image is processed using IMAQ convolute inside RT controller and has value 144 [(9*16)/1] for all pixels. But the FPGA processed image (zoomed in) has 144 until 2597 pixels and then 112 (7*16- showing 1 column of 2 rows missing) at 2598, 80 (5*16- showing 2 columns of 2 rows missing) at 2599 and 48 after that (missing 3 columns of 2 rows- current row is always present). This shows the data is missing from the previous rows after 2600 index.
       
      Is there some mistake in the code or any workaround available?


    • By tdavid
      Hi,
      If I generate an FPGA IP core from my LabVIEW code, can I use it somehow in traditional FPGA development environments, such as Vivado?
      Thanks,
      David
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.