09-11-2014 08:50 PM
Hi I already have a LabVIEW program which communicates with hardware (charge controller & EV prototype) using ethernet through cRIO and NI I/O modules. I have 2 queries.
1) Is it possible to use the program on a Tablet/ phone? What other options do i have besides Data Dashboard for LabVIEW? Is Dashboard only for visualising the indicators or for control as well?
2) Could the communication between the P.C. and hardware be done using WiFi instead of ethernet? How?
I'm a newbie so can you explain a bit in detail?
09-12-2014 07:04 AM
1. No, the data dashboard is the only choice right now as far as I know (If I remember correctly Dashboard should be able to use controls). The best would be to write an application that sends commands via TCP/IP connection using the native development enviroment of the tablet/mobile phone (C? Java?)
2. Yes. The only problem might be with configuration of the WiFi equipment. How? - this depends on the connection of the equipment (draw it)
09-12-2014 09:45 AM - last edited on 08-14-2024 11:17 AM by Content Cleaner
You can write code to do this in many ways but NI has the Remote Panel done for you: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000x3SaCAI&l=en-US
The Dashboard can now control your VI remotely as well.
I'm not sure about WiFi. It's usually used to connect portable hardware to the net rather than to each other. Bluetooth is certainly an option and LabVIEW has a palette of VIs that will help you: Data Communications > Protocols > BT. The Remote Panel or Dashboard will be your easier options though.
09-12-2014 09:53 AM
2) Could the communication between the P.C. and hardware be done using WiFi instead of ethernet? How?
Google ad hoc wifi network
09-14-2014 09:12 PM
Hi the connection is some thing like this:
LabVIEW program on PC >> NI c-RIO communication module via ethernet >> EV Charge Controller >> EV Battery Prototype
1) Now, instead of Ethernet, I'd like to use WiFi to connect this server PC with the hardware. Guidelines?
2) I'd like to connect a client tablet/phone with the server. What is the best method to do so?
09-15-2014 09:45 AM
1) Never done this before but I know there are simple, cheap adapters available. Google: Ethernet to WiFi Bridge
2) This depends on what you're serving. If you want to write something in LabVIEW that reads your test data and analyzes/displays it you could use the Data Dashboard or Remote Panels. You could also do it in another language and create an HTML report that could be read with any browser for instance. There are many choices and they all depend on your needs and abilities.