Derived YAxis for 360 angles

Hi all,

All those put in place an object derived from NationalInstruments.UI.YAxis to display the MajorDivision and MinorDivisions form 360 angles?

In this way, instead of display

3

2

1

0

-1

-2

-3

Display the tick-mark labels

3

2

1

0

359

358

357

I guess it would be like adding a new type of string in the shape which would be 'modulo 360'.

If someone has an idea, I'd appreciate Info!

See you soon,.

CD

I found answer myself!

I created this class:

Class clNI_CustomFormatString360
Inherits FormatString
Private decimals_ As Integer = 0
Public Sub New (ByVal decimals As Integer)
MyBase.New (FormatStringMode.Numeric, "G5")
decimals_ = decimal
End Sub

Public Overrides Function FormatDouble(ByVal value As Double) As String
<>
value = 360
End while
While the value > = 360
value-= 360
End while
Return MyBase.FormatDouble (Math.Round (value, decimals_))
End Function
End Class

And then in my code I attribute:

  myScatterGraph.YAxes (0). MajorDivisions.LabelFormat = New clNI_CustomFormatString360 (1)

Who did the trick!

Tags: NI Software

Similar Questions

  • Perfect for 360 panoramic loop script

    I know it exists somewhere, but after several hours of google search I came up with nothing. I'm looking for a script called Photoshop 'loop '. When you work with a 360 panoramic, this script eliminates any overlap on the left and right of the photo edges and bottom ends, so you can create a loop, perfect for a DVD menu, quicktime VR tour and many other cool things.

    Thank you!

    -Bill

    I have not seen a script that can use the Clone Stamp tool either.

    There is an action called "Seamless Loop'http://www.rastervector.com/downloads/Panoramicsrev3.zip

  • Can I edit videofootage 360 degrees with first?

    Hello

    What should I take into consideration when I want to change the images-video 360 degrees?

    Best regards

    Bjorn Smeets

    See if this helps:

    Complete Adobe Workflow - for 360 video editing - using after effects, Photoshop & first - Tutorial - YouTube

  • Cables for a PERC H700i in Server R415

    Hello, I have a Dell R415 server with the storage SAS 6iR controller. There is no bottom of basket - the four disks are connected directly.

    I want to upgrade this server controller of H700i to support 4 TB hard drives, and it seems that the existing cables will probably have to be replaced in order to reach the connectors on the H700. The power cable connects to the PCIe riser card, but the H700 has SAS connectors on the card itself. See picture of current configuration here. I guess the H700 will have to use the connectors on board instead of the connector on the riser card.

    What is the derivation/fan for this configuration cable? It doesn't seem to be clear information on that on the Dell site. Looks like it needs to connect in one (owner? marked with "P3A") power supply 6 pins connector to the SATA power, a connector mini-SAS on the controller card and then combined power + SATA connectors directly on disks.

    Thank you!

    Eburnett,

    The cable that you need to move the H700 to wired readers is X394K part number. It is not listed on Dell.com, but if you provide your sales with the part number, they will be able to get it for you.

    Let me know if it helps.

  • make a certificate for webutil.

    Hi all.

    I want to make the certificate for webutil I've done it before, but I don't remember that the way to do it now?
    I remember that I made certified using back order but I'm confused what is the command?
    any suggestion?


    Sarah
    @echo off
    REM ******************************************************************
    REM * This script generates a Self Signing certificate for
    REM * JAR files using the parameters defined in the signer.properties
    REM * file
    REM * This script only needs to be run once to create the certificate
    REM * The certificate will be valid for 360 days
    REM ******************************************************************
    REM * 18-JUN-2003 DRMILLS - Creation
    REM ******************************************************************
    
    for /F "eol=# tokens=1,2* delims==" %%i in (signer.properties) do set %%i=%%j
    
    "c:\DevSuiteHome\jdk\bin\keytool" -genkey -dname "cn=Sarah, ou=Development, o=Oracle, c=FR"  -alias yourname -keypass yourpassword -keystore "C:\Program Files\Java\jre1.6.0_03\lib\security\keystore"  -storepass jinitiator -validity 360
    @echo Certificate created...
    

    François

  • b/w two points/lines of angle

    Hello

    I am referring my Qs to suite of thread.
    How to find the ANGLE b/w two edges in Oracle Spatial

    I have needed to find b/w corner of two points, but in the following code uses 3 points.

    G1: = point (50, 7); -A
    G2: = point (51, 7); -Point B
    G3: = point (50.10); -Point C

    1: = atan2 (g2.sdo_point.x - g1.sdo_point.x,)
    G2. SDO_POINT.y - g1.sdo_point.y);
    angle2: = atan2 (g3.sdo_point.x - g1.sdo_point.x,)
    G3. SDO_POINT.y - g1.sdo_point.y);

    any average easir is greatly appreciated.
    Al

    Here is my simple routine retrieves a package for the angles remotely without equal x / y coordinate for relatively short distances systems. If you use a different coordinate system, replace 8307 with what you use:

       FUNCTION get_angle_lat_lon (x1                            IN number,
                                   y1                            IN number,
                                   x2                            IN number,
                                   y2                            IN number)
          RETURN number
       AS
          x_dist                        number;
          y_dist                        number;
          avgy                          number;
          correction                    number;
          dist_eq                       number;
          dist_loc                      number;
       BEGIN
          -- Find average (center) latitude value
          avgy := (y1 + y2) / 2;
          -- Get the distance of at the equator in meters
          dist_eq :=
             sdo_geom.sdo_distance (sdo_geometry (2001,
                                                  8307,
                                                  sdo_point_type (x1,
                                                                  0,
                                                                  NULL),
                                                  NULL,
                                                  NULL),
                                    sdo_geometry (2001,
                                                  8307,
                                                  sdo_point_type (x2,
                                                                  0,
                                                                  NULL),
                                                  NULL,
                                                  NULL),
                                    0.05);
          -- Get the distance at the location
          dist_loc :=
             sdo_geom.sdo_distance (sdo_geometry (2001,
                                                  8307,
                                                  sdo_point_type (x1,
                                                                  avgy,
                                                                  NULL),
                                                  NULL,
                                                  NULL),
                                    sdo_geometry (2001,
                                                  8307,
                                                  sdo_point_type (x2,
                                                                  avgy,
                                                                  NULL),
                                                  NULL,
                                                  NULL),
                                    0.05);
    
          IF (dist_eq = 0 OR dist_loc = 0)
          THEN
             -- Set correction to 1 for non-optimized point types or zero or near-zero width objects
             correction := 1;
          ELSE
             -- Compute the MBR correction factors
             correction := dist_eq / dist_loc;
          END IF;
    
          x_dist := (x2 - x1) / correction;
          y_dist := (y2 - y1);
          RETURN sdo_util_plus.abs_angle (to_degrees (ATAN2 (x_dist,
                                                             y_dist)));
       END get_angle_lat_lon;
    
       FUNCTION abs_angle (angle_deg IN number)
          RETURN number
          DETERMINISTIC
       AS
          angle                         number;
       BEGIN
          angle := angle_deg;
    
          IF angle < 0
          THEN
             -- make it bigger
             WHILE angle < 0
             LOOP
                angle := angle + 360;
             END LOOP;
          END IF;
    
          IF angle >= 360
          THEN
             -- make is smaller
             WHILE angle >= 360
             LOOP
                angle := angle - 360;
             END LOOP;
          END IF;
    
          RETURN angle;
       END abs_angle;
    
    -- Stand alone function:
    CREATE OR REPLACE FUNCTION "TO_DEGREES" (
       radians   IN   NUMBER
    )
       RETURN NUMBER
    IS
    BEGIN
       RETURN radians * 57.295779513082320876798154814105;
    END to_degrees;
    /
    
  • Cost of refurbished Iphone 6

    Just replaced a 6plus for $360 at the door... 16 gb

    Any idea on the cost for a 6 regular? 16 gb

    Apple does not sell iPhones refurbished otherwise than as spares service.

  • Drift &amp; precision clock 6323 PCIe

    Is anyone know the temperature or time to derive values for the clock of 100 MHz on the NOR-6323 PCIe card?  The specification document only lists such as 50 PPM accuracy.

    Unfortunately, the information you request is not available. Typically, builders oscillator provide stability of frequency as a range specifications (max and min values for example ±20ppm) and not the dependence of precision against temperature (for example a table of temperature vs frequency stability).

  • TestStand and Gateway requirements

    Hello

    It is more a question of RG, but there is no RG area to post.

    I have a Word Document that defines the requirements for a test sequence.

    Needs are covered by the two

    (1) LabVIEW VI

    (2) sequence TestStand.

    What I want to do is to see what is my coverage of the coverage of Word Documents.

    I noticed that when I added the TestStand sequence for my gateway Req project, all entries in the TS document generates a "derived demand".

    Is there a way to turn off?

    I want to connect my word document to a place in the test sequence and to say that this is where I cover that is recording data. I don't want to link my TS sequence with a results file.

    The annoying bit is when I look at the view analisys even if my Word Document is covered at 100% yet there are a number of requirements derived from the sequence of TS discoveries.

    Thanks for the tips!

    Maciej

    Maciej salvation,

    answer your questions:

    (1) connecting a TestStand sequence to a Word Document causes RG generate the "derivatives"requirement for each of the elements (steps or sequences) TS.»
    I would like to cut this robot. I'm not interested in the requirements derived in this scenario.

    "You can turn that they derive ar requirements shown by selecting view" derived from the requirements in main menu of th.  This will hide the requirements derived from the view and in reports that you generate.

    (2) Assembly of the desired structure

    If you link the arrows of cover in the Middle, you can create a relationship "or", as shown below.  In this case, a requirement is considered covered when it is covered by one of the 2 on the documents.  The configuration that you currently expects that all THE accompanying documents have coverage for each requirement.

    For more information, see the topic combining covering links in aid of the gateway requirements for more information.

    Let me know if you have any other questions!

  • XBOX CONTROLLER WILL NOT WORK ON PC

    -J' bought the new Afterglow for Xbox 360 controller at Gamestop. (does not come with the software, plug-and-play)?

    -J' installed the latest software for 360 wired controllers from Microsoft for Windows 7 64-bit Web site

    -The controller is detected in the Device Manager under other devices, like "Afterglow for Xbox 360 controllers", with a triangle of error.

    -Device Manager says:

    The drivers for this device are not installed. (Code 28)

    There is no driver selected for the item or a set of device information.
    To find a driver for this device, click Update driver.

    -Then, the drivers do not work. Windows cannot find the drivers. Also, I have re-installed the program. Any ideas? I'm playing GTA4 Gay Tony extension and keyboard sucks. Thank you!

    go to this site to do almost any 360 controller:

    follow the instructions carefully

    http://www.SevenForums.com/hardware-devices/9118-XBCD-drivers-Xbox-360-gamepad.html

    If it still does not work, change your controller .inf file. C:\Program Files (x86)\XBCD\Driver\xbcd.inf***

    device-> right click on the no Manager work controller-> properties-> details-> hardware lds (check the numbers and add to the .inf file and then sign the file system with driver driver signature enforcement 1-3 (b)

    example of what I've done: % XBCD. DeviceDesc % = Install, USB\VID_1BAD & PID_F900; Afterglow controller for Xbox 360

  • Printer HP 2512 has stopped working

    Original title: 2512 hp printer

    I have a printer of hp 2512 during vacation Bible School, it ceased its print job, but not print kept looking at it has been replaced by hp to a 2510-2512, so what I'm doing and I can't find the disc that came with the inorder to printer back to hp 2512. Help!

    Use the link to access the HP web site. Select the deriver appropriate for your version of Windows. Make sure to match the number of "bits", 64 or 32 bit.

    http://h10025.www1.HP.com/ewfrf/wc/softwareCategory?OS=4132&LC=en&cc=us&DLC=en&sw_lang=&product=5231933

    Tom Ferguson

  • Freezing Sansa Fuze problem

    I have a 4 GB Sansa Fuze with the latest firmware and after about 6 months, he started to have this problem of gel. I don't know what happened exactly, but I unplugged it from my PC once, and when he went to 'Media refreshing' just of freezes and does not load. And now, when I plug it into my PC, it freezes on the screen that says 'Written' and hangs whenever I log on my user account. I believe that this is due to a damaged file from when I had a virus problem, however, because when it connects to my PC, it won't let me format.

    Thanks for the suggestions guys, but I could get my rocket using my Xbox 360 work. That's what I did:

    (1) I have connected to the USB cable from the "rocket" and then connected it to the USB for 360.

    (2) I went to my Xbox, the Control Panel, memory

    (3) I clicked the USB storage device and you click on configure to 360 (to 256 MB)

    The Xbox managed to erase all data, including files that never seemed to corrupt, and got, it works again. You may want to format again when you use your PC, or install a new firmware, because the device has been configured for Windows use after you configure it the 360

  • Cannot open the WindowsSearch.exe

    I can't with WindowsSearch.exe as shows the message when I turn on the computer I have to re - install as there is no uncdms.dll about it is?

    In addition, have recently recovered from an accident and the recovery of the PC.  Finally with Tech help got on windows using the network secure and then when turned on again Microsoft Xp Home Edition showed and you press on enter and since then have had problems with mini page crashes and this message re: WindowsSearch.exe

    Would appreciate advise him.  Also I will renew the Norton and go for 360 tho hesitate because of these error problems.

    Thank you

    Glenna or multiplicity

    To analyze your machine with...

    http://www.Malwarebytes.org/

    Then go to...

    http://support.Microsoft.com/kb/917013

    --
    Gina Whipp
    2010 Microsoft MVP (access)

    Please post all responses on the forum where everyone can enjoy.

  • 6210XS SQL Performance Benchmarking

    Our company has recently acquired some new berries for a new ERP system. I am the senior analyst programmer on the project and I'm a beginner-intermediate level on the SAN storage, virtualization and optimization of the performance of SQL. I need to get the speed and at the head of what to expect from this new equipment and best practices to test and manage. Our current ERP is on HP - UX and Informix battery is alien technology in relation to where we are.

    We have a network services division, which was responsible for managing the side home with ESX and EqualLogic 6500 non - ERP. This team is more known in the general management of this equipment, but less time to devote to this new ERP project so I spend to help everyone to get more confidence in the train and educate me about it. Phew. To obtain meat now.

    Setup: dedicated network 10 GB iSCSI with frames enabled. No set MPIO. Dedicated to storage pools for the 6210xs, 6210 (10 K SAS) and 6510 (7200 K). All about the 10 GB.

    I use a tool called MS SQLIO to test the OPS are / s of the 6210XS. I used one of the focus of test by default example of the doc "using SQLIO.

    brief: 6 minutes test, sequential I / O, 2 queries of suspense, of the size of e/s/o requires 256 bytes and a 15 GB test file. The results were:

    H:\SQLIO>SQLIO - kR-s360-fsequential-o2-b256 - LS - Fparam.txt
    SQLIO v1.5.SG
    using meter system for the timings of the latency, 2343750 counts per second
    file settings used: param.txt
    file h:\testfile.dat with 16 (0-15) son using mask 0 x 0 (0)
    16 son of reading for 360 seconds of file h:\testfile.dat
    using 256 KB sequential IOs
    activation of several i/o per thread with 2 exceptional
    the indicated use size: 15000 MB for the file: h:\testfile.dat
    initialization done
    AGGREGATED DATA:
    flow measurements:
    IOs/sec: 133,93
    MBs/s: 33.48
    latency settings:
    Min_Latency (MS): 61
    Avg_Latency (MS): 238
    Max_Latency (MS): 1269

    I made a new test using different settings and had very different results:

    H:\SQLIO>SQLIO - kW - s10 - frandom-o8-b8 - LS - Fparam.txt
    SQLIO v1.5.SG
    using meter system for the timings of the latency, 2343750 counts per second
    file settings used: param.txt
    file h:\testfile.dat with 8 wires (0-7) using mask 0 x 0 (0)
    8 son writing for 10 seconds in the file h:\testfile.dat
    using random 8 KB IOs
    activation of several i/o per thread with 8 exceptional
    the indicated use size: 102400 MB for the file: h:\testfile.dat
    initialization done
    AGGREGATED DATA:
    flow measurements:
    IOs/s: 24122.61
    MBs/s: 188.45
    latency settings:
    Min_Latency (MS): 0
    Avg_Latency (MS): 2
    Max_Latency (MS): 25

    Novice question - this is obviously not a good result, but I need to figure out why my test is configured incorrectly or why the table struggled to perform under these test conditions. Thank you for taking the time to read and respond.

    Usually performance problems are caused by not having is not the SAN (server, switches, table) set up by best practices and in some cases FW drivers and/or obsolete equipment.

    With ESX generally 99% performance problems are solved with:

    Delayed ACK disabled

    People with disabilities large Offload received

    Ensure using Round Robin of VMware (with e / s through changed to 3), or use the EQL MEM (version the most recent is 1.2) Multipathing

    If you use multiple VMDK (or ROW), in the virtual machine, each should have its own virtual SCSI adapter

    Upgrade to the latest build ESX, switch, and server updates

    Take a look at the links listed here first.  See also the Firmware of Array Release notes.

    Best practices for ESX

    en.Community.Dell.com/.../20434601.aspx

    Configuration Guide for EqualLigic

    en.Community.Dell.com/.../2639.EqualLogic-Configuration-Guide.aspx

    Quick Configuration portal (start Grand Place)

    en.Community.Dell.com/.../3615.Rapid-EqualLogic-configuration-Portal-by-SIS.aspx

    Best practices white papers, look for SQL and ESX

    en.Community.Dell.com/.../2632.Storage-Infrastructure-and-solutions-Team-publications.aspx

    Compatibility matrix

    en.Community.Dell.com/.../20438558

    -Joe

  • Automatically resize the custom text - TextBox

    Hi all, I have a box of text customized with gratitude of this site. I like the idea of having the text resize automatically when it reaches the length of the text for the full text box will always be in view, limiting the amount of characters, of course.

    Could someone help me what do I do?

    package com.google.zxing.client.rim;
    import net.rim.device.api.ui.Font;
    import net.rim.device.api.ui.Graphics;
    import net.rim.device.api.ui.Manager;
    
    import net.rim.device.api.ui.component.EditField;
    
    import net.rim.device.api.ui.container.VerticalFieldManager;
    public class MyTextBoxField extends VerticalFieldManager {
    
      //define some variables to be used
      //in the class
      private int managerWidth;
      private int managerHeight;
      private EditField editField;
    
       public MyTextBoxField(int width, int height) {
        super(Manager.NO_VERTICAL_SCROLL);
        managerWidth = width + 5;
        managerHeight = height + 5;
    VerticalFieldManager vfm =
          new VerticalFieldManager
            (Manager.VERTICAL_SCROLL);
    
        editField = new EditField(){
          public void paint(Graphics g) {
          getManager().invalidate();
          g.setColor(0x999999);
          Font font = this.getFont().derive(Font.PLAIN, 35);
         g.setFont(font);
    //Log.info("B get WIDTH " + b.getWidth());
    
          super.paint(g);
        }
      };
        Font font = this.getFont().derive(Font.PLAIN, 35);
         editField.setFont(font);
      vfm.add(editField);
      add(vfm);
    }
    
    public void paint(Graphics g) {
    //Log.info("This is button size " + textButton.getHeight());
      super.paint(g);
      g.setColor(0x999999);
      Font font = this.getFont().derive(Font.PLAIN, 35);
      g.setColor(0x999999);
         g.setFont(font);
      g.drawRect(0, 0, getWidth(), getHeight());
    }
    
    public void sublayout(int width, int height) {
      if (managerWidth == 0) {
        managerWidth = width;
      }
      if (managerHeight == 0) {
        managerHeight = height;
      }
      super.sublayout(managerWidth, managerHeight);
      setExtent(managerWidth,managerHeight);
    }
    
    public String getText() {
        return editField.getText();
      }
      public void setText(String text) {
        editField.setText(text);
      }
    }
    

    Try changing the method object with below:

    public void paint(Graphics g)
    {
        super.paint(g);
        g.drawRect(0, 0, getWidth(), getHeight());
    
        Font font = editField.getFont();
        g.setColor(0x999999);
        String text = editField.getText();
    
        int totalWidth = this.getWidth() - 10;
        int fontHeight  = font.getHeight();
        for(int fontSize = fontHeight; fontSize >= 5; --fontSize)
        {
            //length of the text
            int length = Font.getDefault().derive(Font.PLAIN,
                         fontSize).getAdvance(text);
            if(length > totalWidth)
            {
                //derived font for the fontSize
                font = Font.getDefault().derive(Font.PLAIN, fontSize);
                continue;
            }
        }
    
        editField.setText(text);
        editField.setFont(font);
    }
    

    Concerning

    Bika

Maybe you are looking for

  • Question about VGA PCMCIA satellite 1950 801

    Anyone know if it is the PCMCIA VGA card with chipset market later than nvidia geforce 460 go to upgrade my satellite 1950 801 (with nvidia geforce 460go)? Thanks in advance

  • LabVIEW 6.1 and 2012 at the same computer problem

    Hello world. I've been using Labview 6.1 for a while and it worked fine for me. I recently installed Labview 2012 on the same computer and looks like the serial port of functions do not work properly. Whenever I try to open an example of VISA communi

  • E700 syndrome of sudden death?

    Hello I just opened a 'repair ticket' by the Acer customer on my problem. But I want also, to my knowledge and can be before accepting that I send my camera to them, ask the community Then my phone since I bought it (about 3 weeks) ago perfectly. It'

  • Avi conversion, mpeg or wmv files

    Hello. Does anyone know of any FREE software that I can download to convert avi in MPEG or wmv video?  I downloaded a few programs that claim to be free, but they eventually be trials or convert with watermarks. Thank you Leroy

  • Reader of CD-ROM/DVD-ROM CODE 10

    This device cannot start. (Code 10) Click on 'Search for solutions' to send data about this device to Microsoft and to see if there is a solution available. Woking by coad of cd/dvd like question 10 I arrived at the end and find that I am missing a s