What I want to do is pretty hard but this is a good challenge.
I want to control a LED from a website.
If the user click on a button in a webpage available worldwide, it turns on the LED. I know it's possible. If I succeed in doing this, there are many possible applications.
So I will have my Labview codes running on a computer dedicated for that. A cDAQ-9189 with an ethernet connection (because it is stable compared to USB connexions that fail with time) is connected to the LED with a module (DOT 24V).
Do you think this hardware part can work ? In my case what's the best choice between cDAQ and CRio ?
Any tip / idea ?
Of course, if the hardware is ok the hard part will be finding a way to connect Labview codes to a website (I have some ideas exporting the Labview codes as an executable then turning them into Windows services, etc..)
Daniel Parrot has a seminar called Build A Web App for Your Test System in 30 Minutes that shows how you can use the LabVIEW NXG Web Module to create the kind of system you describe.
The webinar shows how to modify an existing LabVIEW application to make data available in SystemLink Cloud and then how to write a WebVI (the actual web page) that is hosted in SystemLink cloud to access the same data. Hopefully it can be a useful starting point!
Did you have a chance to look through the content of the Webinar? The end result of it is that you have a LabVIEW application that is controlled by a webpage (WebVI) securely over the public internet. I think it aligns pretty well with the type of task you are describing.