Reading/Controlling Arduino with iPhone Dashboard

Hello

I'm new using Dashboard OR so please bear with me.

I'm working on the installer is a TCP/IP connection between my computer and an Arduino with WiFi shield. The computer has a VI that connects to the Arduino, currently the Arduino is the server and receives data from sensors that it displays in graphics and medium. VI also adjustable a yellow and Red limits for data from the sensor, and when the latter is reached, a stop test command is sent to the Arduino.

I am trying to add a smartphone to the current configuration. Initially, I had planned to write an application with a custom telnet but I thought that the dashboard could better work (such as graphics display). I downloaded the dashboard for iPhone but were unable to establish a connection to the Arduino when it is not connected to the computer VI. The connection itself has no effect on the side of the iPhone app shows continually links and nothing else. The only way I know that a connection has been established, it's that the Arduino is defined in the light of an LED only when connected.

I have three major concerns are:

1. are there any documents to be able to use the dashboard with iPhone? If not, is the iPhone Dashboard more limited than the dashboard iPad for which there is of the documents? I have not been able to find a lot of documentation for dashboard with iPhone, iPad only (http://www.ni.com/white-paper/13757/en/).

2. relying on Q1. is it possible to add controls to the iPhone (I have to be able to send a command to stop the phone if the installation should work) of dashboard?

3 should. the dashboard be connected to a computer running a VI? My original plan to was to directly connect to the Arduino. skip the command stop via the computer, it is doable but diverted.

Hope to hear from you,
Yusif Nurizade

The version of the phone has 'charts', but not 'graphics '. In LabVIEW terminology this means that you can see the latest data and history, but history is stored locally in this table (not the server). You will see that the history of data points that your client has received. In the version of phone we also do support the scalar data types, which means that you can see only one of the data point. Basically, this means that it is not enough for streaming of signals. The dashboard will update the table by adding a single fixed-rate data point (as described here: http://digital.ni.com/public.nsf/allkb/DF058CF63BC25E29862579EB0062E828). No matter what the server made the dash displays only data to the fixed rate, and it will drop all intermediate values arriving between the last update and the next update. It should only be used to see a preview of the last value and certain values passed.

There are several ways to see the differences between the versions, but perhaps not in the form that you are missing. First of all, this page describes the data types supported for each version:

http://digital.NI.com/public.nsf/allkb/D9B247551BE7F46A8625795000552CDE

This page shows the new features available in version 2.x (which is available on the tablets):

http://www.NI.com/white-paper/14033/en/

Whatever it is described as a new feature on this page is not available in versions of phone, which are based on the 1.0 version of the application.

"2. my current setup is Arduino as the server and the client computer. I have to back to allow the phone access to the data on the computer? "You said that theDashboard does not need to delve into TCP/IP at low altitude, so I wonder if there is a way to connect to the VI computer without involving the Arduino or reversal of the client-server relationship.

I'm assuming that the data that you actually care comes from the Arduino, so at some level, the Arduino could still be considered a server. The concept of client and the server gets a little fuzzier when you introduce an intermediary, i.e. what would be your LabVIEW application. From the point of view of the Arduino the LabVIEW application would be a customer (it connects to the Arduino). From the point of view of the phone the LabVIEW application is the server (the phone connects to it). How your application is connect to the Arduino using its Protocol, acquire all relevant data, convert it to an appropriate data type and publish it in a way that is accessible to the application of data dashboard (i.e. a shared variable or a web service).

Tags: NI Products

Similar Questions

  • Timed signal generation TTL with the NI USB-6501 to be read by Arduino Uno

    First of all, I want to apologize - I am very, very new to LabVIEW and brand new to the development of the software of control equipment in general. I tried to find an answer to this question already, but I'm not entirely sure what I'm looking for.

    I have currently a work program LabVIEW which operates a gun card NI USB-6501. Due to the nature of having a machine that springs from a powerful beam of electrons, we want to assure you that if the computer controlling stalls or fails for any reason, we have built-in security that can stop the gun. Our current idea is to connect an Arduino Uno on a PIN on the USB-6501 and LabVIEW to generate a timed signal, which may read the Arduino. If the signal fails (indicating that the control computer has queued or off), the Arduino triggers a power relay that is independent of the control computer and turns off the gun.

    I understand that the USB-6501 operates on TTL signals, so the signal that I should be something in the sense of "output TTL high, wait 1 second, output low expectations, a second, repeat TTL ', but I have no idea how to go about programming in LabVIEW. My first thought was that it is a square wave by using the function "simulate the signal" output, or to have trigger an iterative Boolean signal, by using the function 'DAQmx write', but I don't really understand how do to implement or another idea, or if an idea would even work.

    Any advice would be greatly appreciated.

    Hi Elizabeth,.

    THINK THE STREAM!

    When do you DATAFLOW think everything falls in places!

    Several problems:

    -You have to put that MAKE impulse VI in his own loop parallel to your main VI!

    -When you place this generation of impulses in the effects loop ("TTL arduino low-high") you should put the CreateTask and StopTask outside the loop: no need to create/stop the task in each iteration.

    -Why are there points of constraint to waiting functions?

    -Why is there bent wires? You know Ctrl-U?

    -LabVIEW comes with an extensive library of example screws: you looked at all these examples DAQmx?

    -Suggestion: Learn more about the "structures of producer-consumer"!

  • Hello after that I downloaded IOS 10 my watch to lose control of my Iphone and he couldn't reconnet. What should I do? Can anyone help?

    Hello after that I downloaded IOS 10 my watch to lose control of my Iphone and he couldn't reconnet. What should I do? Can anyone help?

    Hello

    The following steps may help:

  • I m confused with iPhone 7

    iPhone 7 that many people have seen today... The iPhone 7 is water resistant, you can use it for it s raining, but... Can you take pictures under water with iPhone 7/more? Can throw you in a pool and it will work fine after this?

    PD: It s beautiful!

    The iPhone is water resistant, it is not water PROOF.

    You can read the note here http://www.apple.com/iphone-7/

  • Control DMX with AS3

    I try to write a program in AS3 (probably using the Flex SDK) that controls a light theatre DXM Pro USB system. The program must be able to send data to several DMX channels to control the light level, allowing the projects to light either pre-tuned and executed in a particular order.

    I saw libraries to work with DXM inr VB and c#, but I'm trying to determine if someone has written an AS3 library to send data to the DXM Pro USB device. I've never used AS3 to communicate directly with a USB device, so I'm a little loss to know where to start. Obviously, this will be a project written for AIR, because it will need access to system devices.

    Does anyone know of such a library? If this is not the case, can someone point me in the right direction for reading on communicate with devices USB in AS3?

    I didn't have a wrapper, as I wanted to be installed with the installer for Adobe AIR. And I checked Netlab. It worked fine, but I wanted to manage the problem at the level of the code, so I could have more control over it.

    I finally solved the problem with Serproxy, which runs in the background and makes USB ports available via 5331-5334 ports (COM 1-4) on localhost. Because the DMX USB Pro emulates a COM port, it was quite easy to connect via Serproxy (insofar that I made sure that the DMX USB Pro was not assigned a port above 4).

    I used NativeProcess, that's new in AIR 2.0. I was not familiar with this subject, so I thought I'd share the code here in case others want to use it.

    if (NativeProcess.isSupported)
       var file:File = File.applicationDirectory.resolvePath("serproxy.exe");
       var nativeProcessStartupInfo:NativeProcessStartupInfo = new NativeProcessStartupInfo();
       nativeProcessStartupInfo.executable = file;
       nativeProcessStartupInfo.workingDirectory = File.applicationDirectory;
       process = new NativeProcess();
       process.addEventListener(Event.ACTIVATE, handleProcessActivation);
       process.start(nativeProcessStartupInfo);
    } else {
       Alert.show("Unable to start Serproxy.");
    }

    I have connected to the port on localhost using the plug then used a ByteArray to getting the right information to the DMX USB Pro.I was also an event handler to exit the nativeprocess instance when the application closed.

    Thanks to all who responded. If someone needs help, namely the correct information to switch to the DMX USB Pro, I'd be happy to share what I know. Their documentation is a little sparse, but a little experimentation allowed me to find the right bytes to send.

  • Control Automation with Siri on Mac?

    Control Automation with Siri on Mac?

    I am aware that Siri on a Mac of Sierra does not yet support Apple HomeKit.

    As another example illustrating Siri on a Mac is currently quite limited, it is not extensible by developers unlike Siri on iOS.

  • Is the new lightning-> adapter Jack works with iPhone 6?

    Is the new lightning-> adapter Jack works with iPhone 6? Or is it only compatible with iphone 7?

    Hello

    It is also compatible with the iPhone 6.

  • The EarPods come with iPhone 7?

    The EarPods come with iPhone 7?

    Hello

    Yes - iPhone 7 comes with EarPods with a lightning connector.

    It also comes with a lightning to 3.5 mm Jack adapter, so that the EarPods can be plugged into a Socket 3.5 mm on another device, if you wish.

  • Airpod will come in the same package with iPhone 7 in October?

    I heard they arrive in October, but they will come with iPhone 7 in the same package? I will be able to choose between Airpod and EarPods?

    Hello

    No - Airpod are a separate purchase.

    EarPods (wired, with lightning connector) are provided with the iPhone 7 and 7 more.

  • The AirPod are compatible only with iphone 7? Or we can use it with more than 6 s... or any android device?

    The AirPod are compatible only with iphone 7? Or we can use it with more than 6 s... or any android device?

    Here are the tech specs: http://www.apple.com/shop/product/MMEF2AM/A/airpods

    They are bluetooth devices, so they work with the iPhone 5 or more.

    See you soon,.

    GB

  • Sync to iphoto with Iphone hangs on during synchronization. In addition the google map can be charged when I click on the places of Mediathek. Error message: "this page has not loaded correctly Google Maps. See the JavaScript console for more technical de

    Sync to iphoto with Iphone hangs on during synchronization. In addition the google map can be charged when I click on the places of Mediathek. Error message: "this page has not loaded correctly Google Maps. See the JavaScript console for more technical details. »

    Perhaps the reason for the problem of synchronization is the problem with the loading of google map?

    Error message: "this page has not loaded correctly Google Maps. See the JavaScript console for more technical details. »

    Apple has not renewed the contract with Google to access Google servers.

    If the old version of iPhoto, which are still using Google's servers for the cards and places are either crashing or hanging.  Places are only work in iPhoto 9.5.1 or newer, who use places of Apple servers.

    There is more support for iPhoto from Apple.  You must update iPhoto 9.5.1 with the Mavericks. It would work well, only it is no longer buying this update to Apple.

    Perhaps the reason for the problem of synchronization is the problem with the loading of google map?

    It is very likely.  If iPhoto work very well when you are offline, then your problems will be caused by the connection failed to Googles servers.

    See this: Bug: iPhoto 9.4 crashing when viewing the scene

  • Is anyone able to run Adobe CS5 with El Capitan now? I've read about problems with Illustrator and photoshop, but these seem to be in 2015 Octobe5. She improved at all? I need to upgrade that I am running an old OS v but I need to run CS5.

    I've read about problems with Illustrator and photoshop on EL Capitan, but these seem to be in October 2015. She improved at all? I need to upgrade that I am running an old OS v but I need to run CS5. Can not afford to go to CC. I have a Macbook Pro.

    CS5 and 10.11 are not supported and will never be supported by Adobe or Apple.

    However it works for some, more actually, but not all. There are sporadic problems with Illustrator, Photoshop seems to be the best. Do not expect an improvement and keep in mind that anyone from Adobe, Apple or anywhere else will fix it.

    Do a clean install

    Make sure you have the Apple Java

    h ttps://support.Apple.com/kb/DL1572?locale=en_US

    Make sure you have your serial number and if you are having problems with the serial number or the serialization however adobe of web server will not support your problem.

    update the application via photoshop.

  • How can I read a pdf with ebook reader Touch samo

    How can I read a pdf with ebook reader and where I could put the pdf in the day

    > where I could put the pdf in the day
    You can put the files on the SD card that can be inserted into the slot for SD card available on the left. Supported file formats are: PDF and EPUB

  • How can I synchronize the notes of macbook or imac with iphone 4?

    Somehow more notes are not synchronized.

    How can I synchronize the notes of macbook or imac with iphone 4?

    I found the help of apple, to login to icloud for my iphone. As soon as I visit icloud. com that I am advised to implement the icloud on the phone, but it is.

    If your MacBook and iMac running El Capitan (OS X 10.11) and that you upgraded to the new features of notes, sync will alone with an iPhone running iOS 9 or later (which is not possible to do it on an iPhone 4). See the quote below: upgrade your notes with iOS 9 and OS X El Capitan - Apple Support

    When you open Notes in iOS 9 and OS X El Capitan for the first time and select Upgrade now, both your notes on your device and your notes on iCloud.com will modernize. And if you connect to iCloud with the same Apple ID on your other iOS devices 9 and OS X El Capitan, all changes made to a note on a single device instantly appear on other devices.

  • What do I need read a dvd with my MacBook Pro without the real DVD player?

    What do I need read a dvd with my MacBook Pro? As such things do I need?

    A dvd player

Maybe you are looking for

  • Lenovo Y460 - my enter key fell out and I can't put it back

    Hey guys, I got my Y460 for over 2 years now, very few complaints, although my tab key has fallen but can easily be broken out in place and a part of the computer above the speakers before broken but superglue took care of that - but my enter key fel

  • display the RGB data with plotscaledintensity

    Hello I have a buffer that is from a standard visible camera.    The data buffer is people with the R, G and B in each pixel components.    Which means the compponent R are in positions of table of 0, 3, 6, 9 etc, the elements of G are 1, 4, 7, 10 et

  • Simple examples of analog output USB-6343

    I've tried passing by 'find' examples and does not know how to find what I want. I'm doing a simple analog output on a USB-6343.  Examples of waveforms say they work with the USB-6343, but I really don't want a waveform, just analog of output does no

  • to start a black window titled C:\WINDOWS\SYSTEM32\RTHDCPL. EXE is displayed & system does not stop correctly

    I use Windows XP SP3 installed in Bootcamp on an Apple computer. The only way I can shut down Windows to hold down the Start button. Restore to an earlier date has not helped.

  • Keep records for read-only reset

    I uploaded a few photos from my iPhone using the cloud and kept that find whatever program I opened in, the computer would not save changes as it said that the file or folder is read-only.  I checked the file by clicking on properties and ensure that