SVG trace data assigned to Sprite

I'm trying to shoot the trace data of svg that happens to my file flex using XML.

I have a path in the following format:

"264 273 l 264 326 c 273 320 279 311 279 300 c 279 289 273 279 264 273 z m.

I tried to decode the path and it inspired the sprite using the normal functions of moveto, lineto and curveto in the sprite.graphics object.

I have problems to draw perfect curves.

I came across spark.primitives.Path who accepts paths svg as shown above, but I am struggling to find a way to assign this path for the sprite, I'm drawing.

Is it possible to attribute this to a sprite?

Hello

Try this little application... it can help you

David.

http://ns.Adobe.com/MXML/2009.

xmlns:s = "library://ns.adobe.com/flex/spark".

xmlns:MX = "library://ns.adobe.com/flex/mx" minWidth = "955" = "600" creationComplete = minHeight "application1_creationCompleteHandler (event)" > "

Import mx.core.IVisualElement;

Import mx.events.FlexEvent;

Import spark.components.Group.

Import spark.core.SpriteVisualElement;

Import spark.primitives.Path;

[Bindable] private var NormColor: int = 0x00FF00;

[Bindable] private var OverColor: int = 0x55FF55;

private var mySprite:SpriteVisualElement = new SpriteVisualElement();

private var myGroup:Group = new Group();

private var myPath:Path = new Path();

protected function application1_creationCompleteHandler(event:FlexEvent):void

{

myGroup.verticalCenter = 0;

myGroup.horizontalCenter = 0;

myGroup.width = 40;

myGroup.height = 40;

myPath.fill = defaultFill;

myPath.stroke = defaultStroke;

myGroup.addElement (myPath);

this.addElement (mySprite as IVisualElement);

mySprite.width = 40;

mySprite.width = 40;

mySprite.x = 100;

mySprite.y = 100;

mySprite.addChild (myGroup as DisplayObject);

}

protected function button1_clickHandler(event:MouseEvent):void

{

myPath.data = "' M6.115, 27.036L0, l 18, 6.115 - 8.98v5.972c5.896, 0, 8.856 - 2.986, 8.856 - 9.109 H 9.051 L 18, 0l8.966, 5.883" + "

"h-5.972c0,6.123,2.986,9.109,9.059,9.109V9.02L36,18l-5.947,9.036v-6.072c-6.072,0-9.059,3.0 36 - 9.059, 9.159h5.972L18, 36 +.

'l-9.152-5.877h6.124c0-6.123-3.062-9.159-8.856-9.159V27.036z ';

}

]]>

Tags: Flex

Similar Questions

  • How can I assign multiple sprites?

    Hello:
    I am trying to assign several sprites when I roll over a button. Basically, he says:

    on mouseEnter me
    visibility of Sprite (3) = 1
    visibility of Sprite (4) = 1
    visibility of Sprite (5) = 1
    end
    on mouseLeave me
    visibility of Sprite (3) = 0
    visibility of Sprite (4) = 0
    visibility of Sprite (5) = 0
    end
    How will I know it affects 3 of them in one line? I tried:

    on mouseEnter me
    Sprite (3,4,5) visibility = 1
    end

    but it did not work.
    It is not a problem when its is only a few sprites... but I would need to assign 10-15.
    Any help would be great...
    Thank you!
    Rafael.

    You can use a repeat loop where you make a list of the numbers of sprite
    then go through this list

    on mouseEnter me
    Repeat with i in [3,4,5]
    visibility of Sprite (i) = 1
    end repeat
    end

    OR

    on mouseEnter me
    mySprites = [3,4,5]
    Repeat with i in mySprites
    visibility of Sprite (i) = 1
    end repeat
    end

    This would be the way to set the directoly. You cannot use a
    a lot of tight loops repeat if there is a lot of the latter, since
    that will tend to lock up Director until the end of the rehearsal loop.
    A simpler method is to use sendAllSprites.

    In the script that sits on the sprites you want to control the
    visibility of, add a handler custom like this:

    on setVisible, LIvVE
    Sprite (me.spriteNum) .visible = LIvVE
    end

    Then, on your button, you would have a code like this:

    on mouseEnter me
    sendAllSprites(#setVisible,1)
    end

    on mouseLeave me
    sendAllSprites(#setVisible,0)
    end

    Now, when the mouse is over (or leaves) this sprite, any sprite who
    a custom manager puts its visibility on or off

  • Pass trace data R & S NUMBER tabular vector Network Analyzer

    Hello

    I work on the automation of certain measures of Network Analyzer. I am using the NUMBER of Rohde & Schwarz Network Analyzer and I am communicating with the instrument via GPIB. One of the measures I have to get the values of S parameters for a range of frequencies and display them in a tabular mode which can then be exported to excel.

    So, how can I do labview to get me these frequency tracking data and the corresponding value of the S parameter without using the marker function? I was unable to find a functional block which could make this feature in the palette driver instrument for this instrument, which is available through the the NOR / Rohde & Schwarz Web site.

    I'd appreciate really any comment about it.

    Thank you

    Vivek

    Hi Vivek,

    in this LabVIEW driver, there are 2 screws:

    RSZV is Started.vi

    RSZV Application Example.vi

    You will find how to read any trace.

    Kind regards

    Milo

  • How to delete and add traces data?

    In my code below, I would add two buttons by clicking on a button ("Remove") that it will remove a trace of data and plot it back by clicking on the button ("Add") as in the examples:

    Complete data plotted by the class running

    [http://s13.postimage.org/gw5bz9ak3/A02773.jpg]

    Now with a simple click on a last given to remove button point to disappear

    [http://s13.postimage.org/u87pzxsc3/A02774.jpg]

    another click and last data point disappear and so on

    [http://s2.postimage.org/fjxevg1ph/A02775.jpg]

    The reverse operation would be performed by clicking on the 'Add' button: each click will be add a data point
    import javafx.application.Application; 
    import javafx.beans.property.SimpleDoubleProperty; 
    import javafx.event.EventHandler;  
    import javafx.scene.chart.NumberAxis; 
    import javafx.scene.chart.XYChart; 
    import javafx.stage.Stage; 
    import javafx.scene.Scene; 
    import javafx.scene.chart.LineChart; 
    import javafx.scene.control.Button;
    import javafx.scene.input.MouseEvent; 
    import javafx.scene.layout.BorderPane; 
    
    public class XYMove extends Application {
    
    BorderPane pane; 
    XYChart.Series series1 = new XYChart.Series(); 
    
    SimpleDoubleProperty rectinitX = new SimpleDoubleProperty(); 
    SimpleDoubleProperty rectX = new SimpleDoubleProperty(); 
    SimpleDoubleProperty rectY = new SimpleDoubleProperty(); 
    
    @Override 
    public void start(Stage stage) { 
     
    final NumberAxis xAxis = new NumberAxis(12, 20, 1);
    
    double max = 12;
    double min = 3;
    
    max *= (1+((double)3/100));
    min *= (1-((double)3/100));
    
    final NumberAxis yAxis = new NumberAxis(min, max, 1); 
    
    xAxis.setAnimated(false);
    yAxis.setAnimated(false);
    
    yAxis.setTickLabelFormatter(new NumberAxis.DefaultFormatter(yAxis) { 
    
        @Override 
        public String toString(Number object) { 
            return String.format("%2.0f", object); 
        } 
    }); 
    
    final LineChart<Number, Number> lineChart = new LineChart<Number, Number>(xAxis, yAxis); 
    
    lineChart.setCreateSymbols(false); 
    lineChart.setAlternativeRowFillVisible(false); 
    lineChart.setAnimated(false); 
    lineChart.setLegendVisible(false);
    
    series1.getData().add(new XYChart.Data(1, 3)); 
    series1.getData().add(new XYChart.Data(2, 8)); 
    series1.getData().add(new XYChart.Data(3, 6)); 
    series1.getData().add(new XYChart.Data(4, 7)); 
    series1.getData().add(new XYChart.Data(5, 5)); 
    series1.getData().add(new XYChart.Data(6, 6)); 
    series1.getData().add(new XYChart.Data(7, 4)); 
    series1.getData().add(new XYChart.Data(8, 7)); 
    series1.getData().add(new XYChart.Data(9, 6)); 
    series1.getData().add(new XYChart.Data(10, 7));
    series1.getData().add(new XYChart.Data(11, 6)); 
    series1.getData().add(new XYChart.Data(12, 7));
    series1.getData().add(new XYChart.Data(13, 6));
    series1.getData().add(new XYChart.Data(14, 12)); 
    series1.getData().add(new XYChart.Data(15, 10)); 
    series1.getData().add(new XYChart.Data(16, 11)); 
    series1.getData().add(new XYChart.Data(17, 9)); 
    series1.getData().add(new XYChart.Data(18, 10));
    
    pane = new BorderPane(); 
    pane.setCenter(lineChart); 
    Scene scene = new Scene(pane, 800, 600); 
    lineChart.getData().addAll(series1); 
    
    stage.setScene(scene);         
    
    scene.setOnMouseClicked(mouseHandler); 
    scene.setOnMouseDragged(mouseHandler); 
    scene.setOnMouseEntered(mouseHandler); 
    scene.setOnMouseExited(mouseHandler); 
    scene.setOnMouseMoved(mouseHandler); 
    scene.setOnMousePressed(mouseHandler); 
    scene.setOnMouseReleased(mouseHandler); 
    stage.show();
    } 
    
    EventHandler<MouseEvent> mouseHandler = new EventHandler<MouseEvent>() { 
    
    @Override 
    public void handle(MouseEvent mouseEvent) { 
    
        if (mouseEvent.getEventType() == MouseEvent.MOUSE_PRESSED) {             
            rectinitX.set(mouseEvent.getX()); 
        } 
        else if (mouseEvent.getEventType() == MouseEvent.MOUSE_DRAGGED || mouseEvent.getEventType() == MouseEvent.MOUSE_MOVED) { 
            LineChart<Number, Number> lineChart = (LineChart<Number, Number>) pane.getCenter(); 
            NumberAxis xAxis = (NumberAxis) lineChart.getXAxis(); 
    
            double Tgap = xAxis.getWidth()/(xAxis.getUpperBound() - xAxis.getLowerBound()); 
            double newXlower=xAxis.getLowerBound(), newXupper=xAxis.getUpperBound();             
            double Delta=0.3;
            
            if(mouseEvent.getEventType() == MouseEvent.MOUSE_DRAGGED){
            if(rectinitX.get() < mouseEvent.getX()&& newXlower >= 0){    
                newXlower=xAxis.getLowerBound()-Delta;
                newXupper=xAxis.getUpperBound()-Delta;
            }
        else if(rectinitX.get() > mouseEvent.getX()&& newXupper <= 22){    
                newXlower=xAxis.getLowerBound()+Delta;
                newXupper=xAxis.getUpperBound()+Delta;
            }    
            xAxis.setLowerBound( newXlower ); 
            xAxis.setUpperBound( newXupper );                        
            }                                        
            rectinitX.set(mouseEvent.getX());                                 
         } 
      } 
    }; 
        public static void main(String[] args) {
            launch(args);
        }
    }
    Thank you!

    I would use an ObservableList (probably supported by LinkedList) of XYChart.Data to store the collection of data "deleted". Create buttons as usual; handler of your button 'Delete' should remove the last element of the series and add it to the first element of data deleted messages points. The 'Add' button should delete the first item in the deleted data points and add it at the end of the series. You can bind the property of 'disable' the delete and Add button at Bindings.isEmpty (series1.getData ()) and Bindings.isEmpty (deletedDataPoints), respectively.

    Something like

    ObservableList> deletedDataPoints = FXCollections.observableList(new LinkedList>());
    ...
    removeButton.setOnAction(new EventHandler() {
      @Override
      public void handle(ActionEvent event) {
        deletedDataPoints.add(0, series1.getData().remove(series1.getData().size()-1));
      }
    });
    addButton.setOnAction(new EventHandler() {
      @Override
      public void handle(ActionEvent event) {
        series1.getData().add(deletedDataPoints.remove(0));
      }
    });
    removeButton.disableProperty().bind(Bindings.isEmpty(series1.getData()));
    addButton.disableProperty().bind(Bindings.isEmpty(deletedDataPoints));
    

    Another approach would be to use a separate list for all data points and keep an integer variable storing the number of data points are displayed. The "delete" button would decrement the displayed number, and your button 'Add' would increment the number in the display. Both would also call

    series1.getData().setAll(allDataPoints.sublist(0, numberOfDisplayedPoints));
    

    You might even be able to make the numberOfDisplayedPoints an IntegerProperty and bind the property data of the series in a pleasant way. This approach runs probably and the previous approach (using a stack of removed points), because you do not directly offer the graph as much more information on what has changed.

    Two approaches to problems (in the sense that you must carefully define your application logic and then to implement) if the underlying data is likely to change.

  • SVG trace element not working in FF 6.06 but works in all other browsers and validated by W3C service

    Hello
    I'm writing a game using SVG and for some reason the path element is not dispaying in FF 6.06.

    It follows the SVG 1.1 as per the W3C documentation and works in all other browsers, I tried same IE9. It must be something simple, but I can't. OK, it is validated by the w3c validation service. Here is the URL and also the source.

    http://www.ironagegames.com/iasb350bc/help/SVGTests/MyMan.svg

    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <svg
       xmlns:svg="http://www.w3.org/2000/svg"
       xmlns="http://www.w3.org/2000/svg"
       version="1.1"
       width="600"
       height="600" >
    <g transform='translate(100,0)'>
    <!--<rect x='0' y='0' height='60' width='20' style='stroke:red;fill:none;stroke-width:1px;' />-->
    <circle cx='10' cy='5' r='4' style='stroke:none; fill:BurlyWood;' />
    <path d='m 2 10, l 16 0, a 2 4 0 0 1 2 4, l 0 18, c 0 2, -3 2, -3 0, l 0 -18, -2 0, 0 40,
    c 0 2, -4 2, -4 0, l 0 -22, l -2 0, 0 22, c 0 2, -4 2, -4 0, l 0 -40, -2 0, 0 18, c 0 2, -3 2, -3 0,
     l 0 -18, a 2 -4 0 0 1 2 -4' style='stroke:none; fill:BurlyWood;' />
    <path d='m 2 10, l 16 0, a 2 4 0 0 1 2 4, l 0 4, -3 0, 0 -4, -2 0,
    0 18, -10 0, 0 -18, -2 0, l 0 4, -3 0, 0 -4, a 2 -4 0 0 1 2 -4'
    style='stroke:none; fill:#8B7355;' />
    </g>
    <g transform='translate(100,0)'>
    <!--Med Spear
    <path d='m -10 55, l 0 -40' style='stroke:SaddleBrown; fill:none;stroke-width:1px;'/>
    <path d='m -11 18, l 1 -3, 1 3, z' style='stroke:grey; fill:grey;'/>
    -->
    <!-- SHORT JAV -->
    <path d='m -6 55, l 0 -18' style='stroke:SaddleBrown; fill:none;stroke-width:0.5px;'/>
    <path d='m -7 37, l 1 -2, 1 2, z' style='stroke:none; fill:grey;'/>
    <path d='m -3 55, l 0 -18' style='stroke:SaddleBrown; fill:none;stroke-width:0.5px;'/>
    <path d='m -4 37, l 1 -2, 1 2, z' style='stroke:none; fill:grey;'/>
    <path d='m -0 55, l 0 -18' style='stroke:SaddleBrown; fill:none;stroke-width:0.5px;'/>
    <path d='m -1 37, l 1 -2, 1 2, z' style='stroke:none; fill:grey;'/>
    <!-- Body Shield -->
    <path d='m 24 10, c 2 -1, 10 -1, 12 0, c -1 2, -1 22, 0 24,
    c -2 1, -10 1, -12 0, c 1 -2, 1 -22, 0 -24'
    style='stroke:grey; fill:SaddleBrown;stroke-width:2px;stroke-linecap:round;'/>
    <!--Short Sword -->
    <path d='m -10 15, l 0 -5' style='stroke:SaddleBrown; fill:none;stroke-width:1px;'/>
    <path d='m -12 15, l 4 0' style='stroke:grey; fill:none;stroke-width:1px;'/>
    <path d='m -10 30, l 0 -15' style='stroke:grey; fill:none;stroke-width:2px;'/>
    <path d='m -9 30, l -1 2, -1 -2, z' style='stroke:none; fill:grey;'/>
    </g>
    </svg>

    I think that this file violates 2 syntaxrules of SVG 1.1 SE.

    1. The separator for a statement drawto is ws * no comma-wsp
    2. Elliptical-arc-argument does not number of negativ

    See http://www.w3.org/TR/SVG11/paths.html#PathDataBNF

  • How to trace data sent through the serial port by controlling simultaneously the buttons

    Hello

    I want to plot data by controlling the two buttons at the same time and the draw according to my control using communication serial port, but the problem is that the plot on the graph alternates between the two controls his do not change according to my control for example if I move the potentiometres1 / 1000 and button 2 to 4000 replacing these values on the graph I placed a select control, the problem is still not resolved u can help me please thanks in advance

    Regarding

    Samatha


  • How can I trace data to a table 2d one at a time on the same waveform graph

    Hello. everyone. I have two readings of the sensor build in a 2d array. I would draw as bar on the same waveform each time that each sensor reading is display as a bar on the graph.the problem is that I don't really know how to access each given at the time and sent each sensor reading on the 2d of waveform.the table is actually a two monofores rwo/100 100 representative reading of each sensor every 1 sec.


  • How to access json data assigned to a CF Web service

    Hi all

    I have an application of ExtJS which makes a call to a Coldfusion Web service and sends a json in the POST request object. In Firebug, I see the json object is posted, but I can't seem to access it in Coldfusion.

    Anyone know how or if this is possible?

    Thank you

    Orla

    Try to use getHttpRequestData () content

  • How to access data in an instance of a class?

    I have a class LoadXML, that charge and extracts data from an XML file. I use these data to my main class by creating a new class of LoadXML. I now want to use these data for my other classes but without having to create another instance of LoadXML. As global variables do not exist in A3, I tried creating LoadXML methods get and back then these values into variables in the desired classes. This is how I have tried:

    public class ProductSummaryLabel extends Sprite
    {  
       public var loadXML : LoadXML; 
      private var xmlData: XML = loadXML.getXMLData(); // BRINGS BACK ERROR
      private var uebersicht : Array;
      private var website : Array;
      private var numOfProducts : int;  
      private var numOfCategories : int;
       
      //____________________________________________________________________________Constructor
      
      public function ProductSummaryLabel() : void
      { 
         numOfCategories = loadXML.getNumOfCategories(); // THIS BRINGS BACK AN ERROR
         trace("number of categories" + numOfCategories);
      }
    

    That's what my LoadXML class looks like:

    public class LoadXML extends EventDispatcher 
    {
      //__________________________________________________________________________XML vars
     
      private var loader : URLLoader = new URLLoader();
      private var productPath : URLRequest = new URLRequest("produkte1.xml");
      public var xmlData : XML = new XML();
      public var maxProducts : int;
      public var numOfProducts : int;
      public var numOfCategories : int;
      //____________________________________________________________________________Arrays
          
       public var kategorie : Array = new Array();
       public var hintergrund : Array = new Array(); 
       public var titel : Array = new Array(); 
       public var pfad : Array = new Array(); 
       public var website : Array = new Array();
       public var uebersicht : Array = new Array();
       
      //__________________________________________________________________________Constructor
      
      
      // Load XML text data
      public function LoadXML() : void
      { 
       loader.addEventListener(Event.COMPLETE, extractXMLdata);  // Specifies which data to load
       loader.addEventListener(IOErrorEvent.IO_ERROR, handleXMLError);
       
       try 
       {
        loader.load(productPath);
        trace("Step 1: Product path loaded correctly.");
        trace("Product path: " + productPath);
       }
       catch(e : Error)
       {
        trace("Error loading file");
       }
      }
      
      //__________________________________________________________________________Methods
      
      private function extractXMLdata(e:Event) : void
      { 
       // Extract data
       trace("Step 2: Data extracted");
       
       // The reference to e.target below refers to the object that loaded the XML file. 
              xmlData = new XML(e.target.data);
       trace("XML Data assigned as target data.");
       ParseData(xmlData);
      }
      
      private function ParseData(dat : XML) : void
           {
       numOfProducts = xmlData.*.length();
       trace("Number of Products (LoadXML class): " + numOfProducts);
    
      trace("Step 3: Parsing data.");
      
       for (var i: uint = 0; i < numOfProducts; i++)
       {
        // This was in the wrong format: kategorie[i] = xmlData.produkte.produkt.kategorie.attributes()[i];
        kategorie[i] = xmlData.produkt[i].kategorie;
        website[i] = xmlData.produkt[i].website;
        uebersicht[i] = xmlData.produkt[i].uebersicht;
        hintergrund[i] = xmlData.produkt[i].bild.hintergrund;
        titel[i] = xmlData.produkt[i].bild.titel;
        pfad[i] = xmlData.produkt[i].bild.pfad;
        trace("\n Data Parsed for Array " + i);
       }
    
     // When LoadXML class loaded, load onBackgr() from Main class
        dispatchEvent(new Event(Event.COMPLETE));
    
      }
      
      
      //__________________________________________________________________________________ Getters
      
      public function getXMLData(): XML
      {
       return xmlData;
      }
        public function getCategory(): Array
      {
       return kategorie;
      }
      
    (... rest of get methods)
    
      
      //____________________________________________________________________________Error catching
      
      private function handleXMLError( event:IOErrorEvent ):void 
           {
             trace("Fehler beim Aufrufen von XML.");
           }
     }
    }
    

    Instead of Globals, you can use a class with the static member variable

    class GlobalVars

    {

    public static var MyVar: VarType.

    }

    and you can get and set the value of MyVar where each at any time like this

    GlobalVars.MyVar

  • Creation of buttons in movieclip in the script with the xml data?

    The code following, showing the errors when I create buttons multi based on xml data. Please help me

    package {}
    import flash libraries
    import flash.display.Sprite;
    import flash.events. *;
    flash.xml import. *;

    import flash.display.MovieClip;

    multibuttons public class extends Sprite {}

    private var xml_loader:URLLoader;
    private var xml_data:XML;

    public void multibuttons() {}

    xml_loader = new URLLoader();
    donnees_xml = new XML();

    xml_loader. Load (new URLRequest ("buttons.xml"));
    xml_loader.addEventListener (Event.Complete, load_xml);
    }


    public void load_xml(evt:Event):void {}
    try {}
    donnees_xml = new XML (evt.target.data);
    trace ("XML data loaded successfully");
    button_xml_list (xml_DATA);
    } catch {(evt:message)}
    trace ("data XML has not loaded");
    trace (evt. Error);
    }

    }

    public void button_xml_list(butn_list:XML):void {}
    var button_list:XMLList = butn_list.totalbutton.button;
    for each {(var button_element:XML in button_list)
    trace (button_element);
    box_button is linkgae of film clip
    var create_button:box_button = new box_button();
    create_button.x = 50;
    create_button.y = 50;
    addChild (create_button);
    create_button.x += 30;
    }

    }

    }


    }

    If multibuttons is the class of your documents, your buttons will be added to the scene.  but they will all be added to the same x, y so

    you will see only one.

  • "Service location" uses data from my data plan when it is on?

    My iPhone 5 is my first smart phone.  Unlike most people, I rarely use it as a laptop.  I just use it as a phone.

    I'm confused about what "data" are and when I use 'data' of my package of data and when I'm not.  "Location services use data.

    my plan when I activated?  Or can I leave the location services on all the time without emptying my small data assignment?

    Thank you

    No, location-based services do not use data simply by being on. They will use more autonomy . An app of navigation such as the construction of maps use data because the application downloads maps on the fly.

    You can check what the things are using data by going to settings > cell and drag down. You will see a list of applications that can use data and a switch. In small print under the name of the application is the amount of data that the application operates since the last time you reset the stats. You can reset the data all the way down the screen on your billing date if you want to get an idea of what is using your data. Activate the switches or disable depending on whether you want to allow a particular application access to cell data.

  • Data of heart rate watch/iphone for mac?

    I don't know how to use the on the watch heart rate monitor and I know how to see the daily lists of heart rate through the day on my iPhone, but I can't figure out how to get all the data that is listed on my MacBook Pro or even an app to see what traced on my iPhone 6.  The list is great, but I really want to see this trace on another way.  The apps I've seen for the iPhone can take each day and give me an average, but which is useless, since a few days I do intense exercise and others do not and average is not what I'm looking for.

    Thanks in advance for any help.

    Hello

    Health and fitness data from other sources, iPhone, and Apple Watch are shared with and grouped within the health on iPhone app.

    The data of frequency heart he include a chart, that trace data of heart rate of your choice of course day, week, month or year (press the tabs to change the time period):

    -In the health app (red heart on a white background), go to: health data > Vitals > heart rate.

    -To add the table to the health Dashboard app, enable this option.

    This and other application of health data can also be exported, which you may find useful for a more detailed analysis (health app: health data > All - Share at the top button on the right).

    There are also a few third-party applications that you might find useful - for example:

    Access to QS

    -"Access your HealthKit data in a table so you can Explorer using numbers, Excel, R, or any other tool compatible CSV."

    - https://itunes.apple.com/gb/app/qs-access/id920297614?mt=8

  • VIX file in the user interface designer receives the data from the Web service application that communicates with the SQL server database

    I created the Web service VI ("Mt-insolacije.vi"), which has two terminals of the input string (FROM / TO) for the dates of arrival and exit of two data terminals (table 1 d) from database (MS SQL server). This VI communicates with the database with functions of the database with a DSN and SQL query appropriate palette. There are two tables with two data (time and Insolation) columns in the database.

    This VI works when you run in Labview 2010, but when I used it as VI in UI Builder it returns no data.

    Could you please help me find a solution. Is it possible to communicate with the SQL server database in this way or there is another way?

    There are two files attachmet: Image of .vix file in Interface builder and .vi file ("Mt-insolacije.vi")

    Please help me ASAP!

    Thank you

    Ivan

    I found the solution problem is in the DSN. I've been using the user instead of DSN system DSN.

    It's important to create the system DSN if you want your VI of web service to communicate with the database.

    PS Please put feature bundle format timestamp and XY graph in the web user interface designer. It's complicated to trace data with datetime on X axis without them.

  • Bad drift with USB-6259 devices and acquisition of data PCI-6259

    We have both a USB-6259 and PCI-6259 installed on a single computer, linked to a SBC-68, with Matlab and Toolbox of data Acquisiution.

    For the purposes of test base, I wrote a script that generates a sinusoidal signal output based MATLAB, for a single DAC output.  I wired this single DAC output to two channels of ADC of entry.  For each sample output DAC, the script also takes a sample entry of ADC on each channel.

    --> Ideally, if everything works correctly, after you run the script, I see two channels of input ADC vector.  Tracing of each channel should give me a nice sine wave in Matlab.

    --> When I made trace data, here's what I get (see attachment).

    -->, I looked at the DAC output with an oscilloscope, and the DC offset is very close to 0 (this indicates to me that the part of output DAC works very well).

    Why is there this negative DC drift on two entries?

    Forgive my lack of knowledge - I know the difference between the DIFF and CSR connections, but I don't know where is the 'setting' for DIFF/CSR (what is a button/switch on the USB-6259 case?  Is it a software control in the code?)

  • How to change the CSV in dat file

    Hello

    I want you ask about the data I've had.

    In fact, data from csv file. So, can I change directly file dat? Just put c:\Trace.dat?

    may or may not?

    Need your help.

    Thank you.


Maybe you are looking for