G Web Development Software

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW and G Web Development Software on the same Windows

Solved!
Go to solution

Dear NI Experts,

I am a LabVIEW Community v2021 user.  I can do simple Labview programme.

 

I've found that there is a new G Web Community version.

 

  1. So what are these 2 software's relationship?
  2. Can they exist in the same Windows 10 OS?
  3. Do they conflict with each other?
  4. If I can run Labview Community v2021, do I still need G Web Community?
  5. Is there MQTT plugin supported in G Web Community?

 

Thank you in advance.

0 Kudos
Message 1 of 5
(3,156 Views)
Solution
Accepted by topic author HKPhysicist
  1. So what are these 2 software's relationship?
    1. They are separate applications, that can be used together.
    2. The G Web Development Software gives you the ability to publish web pages using G (LabVIEW's graphical programming language). If you are not familiar with web development environments (HTML, CSS, JavaScript, etc.), this is a great benefit.
    3. The look and feel of the block diagrams is different from LabVIEW 2021, but it is still G. 
  2. Can they exist in the same Windows 10 OS?
    1. Yes, they are different applications.
    2. As a developer you could create an application in LabVIEW and use the G Web Development Software to create an 'application' that publishes the data to the web. 
  3. Do they conflict with each other?
    1. No. See answers to question 2.
  4. If I can run Labview Community v2021, do I still need G Web Community?
    1. No, but LabVIEW 2021 and G Web allow developers to implement different functionality.
  5. Is there MQTT plugin supported in G Web Community?
    1. I am not an expert on RabbitMQ which MQTT is part of.
    2. My educated guess, you will need to create JavaScript code to communicate with RabbitMQ from the G Web development Software. Someone else may have more experience on this topic.

To summarize, download the Community version of the G Web Development software and try it out. There are examples included and online, along with tutorials.

Message 2 of 5
(3,132 Views)

Thank you!  Very clear explanation!  😀

0 Kudos
Message 3 of 5
(3,118 Views)

MQTT is a communications protocol that's often used for IOT devices (but I've used it in more general scenarios).

LabVIEW can easily do MQTT with add-on software.  Use the VIPM tool (VI Package Manager) to look for MQTT add-ons.  I use the one by Francoise Normandin.

 

I don't know of a MQTT add-on for G Web software.  In my experience, I've used MQTT to communicate on the backend, not to frontend software such as what you would create with G Web.  That's not to say you can't do it, but I don't think it's as common a use case as, for example, a bunch of devices wanting to send data to a database backend, which can then publish data to a frontend with JSON or another data format.

 

Brian Powell
Stravaro, LLC


Learn more about the DSH Pragmatic Software Development Workshops.
0 Kudos
Message 4 of 5
(3,065 Views)

Yes, I also feel that a Windows exe program will be much faster than a web browser with the same MQTT functionality.

 

I will stick on Labview 2020 and see what I can do!

 

I have also installed those MQTT addon from within VIPM.

0 Kudos
Message 5 of 5
(3,028 Views)