How to change time on myRIO ?

Hi,
Is it possible to change the time on myRIO using LabVIEW?
Indeed, I need to update the time on myRIO via a webservice.
Best regards
Enzo L.

Hey enzol,
You have a couple options for doing this.  You could use a time server and SNTP to have your real-time target (myRIO in this case) connect to a time server at boot and update its clock. 
More along the lines of what you're asking (I think) you can use the NI System Configuration API to update the time from LabVIEW.   I created an example that demonstrates how to use a battery powered  RTC (real time clock) to update the myRIO system time.  You can find the code attached.  Just ignore the RTC bit if you want to manually enter the current time.
Let us know if that helps or if you have more questions about this.
Thanks!
-Sam K
LabVIEW Hacker
Join / Follow the LabVIEW Hacker Group on google+
Attachments:
myRIO External RTC.zip ‏138 KB

Similar Messages

  • HT4623 HOW TO CHANGE TIME ON MY IPHONE 3GS I HAD UPGRATED IT TO 6.1.3 WORLD CLOCK AND ACTUAL TIMING IS DIFFRENT

    how to change time on iphone 3gs
    world clock n actual timing is different
    ios6.1.3

    That's because iTunes 11 requires Snow Leopard or higher.

  • How to change time in LINUX

    Dear Experts
    Please any one tell how can I change time in LINUX machine through Command???
    regards
    PAKISTAN

    user2108660 wrote:
    Dear Experts
    Please any one tell how can I change time in LINUX machine through Command???
    regards
    PAKISTANIt's not Linux forum, it's Oracle forum
    Your question is so easiy that could be found from simple google-ing
    Here it is - http://www.cyberciti.biz/faq/howto-set-date-time-from-linux-command-prompt/

  • SCCM 2012 - How to change time, UTC

    Hi I wonder how I change SCCM 2012 time ?
    When I get a mail about virus/malware -->
    Detection time(UTC time): 4/3/2013 8:59:43 AM
    The time appear wrong, 2 hours after...
     -- Sokoban3  --

    I know the time is displayed in UTC and it can't be changed. I know that there are several feedbacks on connect to get that changed.
    Kent Agerlund | My blogs: blog.coretech.dk/kea and
    SCUG.dk/ | Twitter:
    @Agerlund | Linkedin: Kent Agerlund |
    Mastering ConfigMgr 2012 The Fundamentals
    Any movement on this front...I see my Deadline as UTC in the console.  Very confusing and just needs to be fixed.  Only people that are actually global organizations would have any need for UTC as the main time.  We are not, so just an inconvenience.
    Find this post helpful? Does this post answer your question? Be sure to mark it appropriately to help others find answers to their searches.

  • HT201250 How to change Time Machine back up time

    Is there a way to change the hourly Time Machine back up time to once or twice a day?

    Tidy wrote:
    Now I have my original back up on time capsule which time machine can't see and it keeps starting over again to make a new backup - so my time capsule disk shows two separate backups one the original one of 2 days ago named for my computer and a new one almost the same gigabytes (139gb) which it has called Macintosh sparse bundle ???? 
    It's possible the first one is damaged, but that seems unlikely, unless you turned the TC or Mac off while it was trying to do a backup.  But even that shouldn't cause TM to start a new one (absent any messages to that effect).  And it shouldn't be named "Macintosh" unless you've changed your computer name to that via System Prefs > Sharing.
    A clue may be lurking in your logs.  Use the widget in #A1 of Time Machine - Troubleshooting to display the backup messages from your logs.  Locate both backups in question, then copy and post all the messages for each one here. (Since the first backup has been a couple of days, the widget may not show the messages for that backup; if not, the pink box shows how to use the Console app to find them.)
    With the messages from both backups, we may be able to see what's going on.
    I'm thinking that I should just leave time cap ON and see which it backs up to then delete the other one.
    Let's see what we can find first. 
    I assume connecting iMac to time cap via Ethernet cable would not be a problem?
    Correct.  Doing the first, full backup via Ethernet is recommended.
    Also if just turning time machine off is enough to disrupt time capsule backups how about turning the iMac off, which I will have to do once in a while.
    Neither should be a problem, unless a backup is in progress and either the TC or Mac is shut down abnormally.

  • How to change time out settings in Analytic Provider Service...

    ... or how to disable automatic disconnect between APS and essbase server (using XMLA interface).
    First a short summary:
    We would like to use a third party product to analyze data (DeltaMaster from Bissantz). This product uses the XMLA interface provided by Analytic Provider Service. Mostly the connection works, I can choose one of our cubes, sometimes a drill down is possible, but sometimes the following error occurs:
    "Microsoft.AnalysisServices.AdomdClient.AdomdErrorResponseException: (1042006): Network Error [10061] Unable To Connect To [entwgdw.hres.de:33769]. The client timed out waiting to connect to the Essbase Agent using TCP/IP. Check youer network connections. Also please make sure that Server and Port values are correct [...]"
    I have already talked to the Bissantz support concerning this issue and the recommended me to increase the APS time out settings and/or to disable the automatic disconnect between APS and essbase server after every query.
    The question is: Is this possible and if yes: How and where can I change these settings???
    Kind regards
    André

    You could look at updating the essbase.properties file in the APS installation directory.
    olap.server.netRetryCount=600
    olap.server.netConnectRetry=3
    olap.server.netDelay=200
    olap.server.netSocketTimeOut=200
    Update then restart APS
    Though this might not be the issue if on windows, it may be down to the amount of ports being used, have a read [here |http://timtows-hyperion-blog.blogspot.com/2007/12/essbase-api-error-fix-geeky.html ] for a possible fix.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How to change Time Zone rules in CPS for Russia

    Hi
    Coming up to DST change this weekend 30th Oct we found that Russia is not changing their time anymore for the first time ever
    Were based in the UK but we have jobs scheduled for Europe/Moscow time which is set at +3 hours after the clocks going back this weekend Europe/Moscow will be +4 hours
    But Russia is not set to change their timezone anymore, but CPS will still make the change which I dont want anymore.
    Timezones are listed under Environment - Timezone but the only thing you can edit is the description.
    How do I go about removing DST from the Europe/Moscow time zone?
    we still want to use Europe/Moscow for certain jobs.
    Kind Regards
    Jonathan

    Hello,
    Russia is cutting back on the number of timezones these years and also changing their definitions.
    The timezones are maintained in the Java JVM you are using. To make sure you have the latest definitions make sure you have patched your JVM with the correct timezone definitions.
    Regards Gerben

  • How to change Time (Zone) that Project On-Line install defaults to

    We are using Project Online. and the time displayed eg., Job Queue, is 3 hours behind.  ie., it is displaying Pacific time, but we are in the Eastern Time zone.  Can we change it?  If so how?
    Thanks in advance,
    \Spiro Theopoulos, Montreal, QC (Canada)

    Hello,
    There are certain areas in Project Online that will display the time zone incorrectly. All you can do is change the Regional Settings for the PWA site collection but that will not update all times as you have seen. I'm not sure if this is something
    that will be resolved in the near future or not. It might be worth you opening a support ticket via the Office 365 tenant so that all the requests can officially be logged / tracked.
    Paul
    Paul Mather | Twitter |
    http://pwmather.wordpress.com | CPS |
    MVP | Downloads

  • How to change time view?

    How can I show only 08:00-20:00 in day/week mode? I just want to see only 08:00-20:00 time frame. Now iCal shows always 00:00-00:00. This isn't possible thing in iCal now?

    Hi MS?
    Go in under iCal and select preferences.
    Under General, change the time settings to:
    Day start at: 8.00 and Day end at: 20.00
    Then select Show/12 hour/ at the time
    That should do it.
    But before you close the iCal General window go in under advanced and un-click the checkbox: Turn off alarms when ical is not on.
    Otherwise you will not receive alarms when iCal is closed.
    Good luck
    Camán

  • Hammer USB HD timing out.  How to change time out value?

    Hi:
    My new Hammer USB 500 Gig portable hard drive does not mount. USB probe log gives these error message:
    33.929 [1] AppleUSBEHCI[0x177d800]::Found a transaction which hasn't moved in 5 seconds on bus 91, timing out!
    68.941 [3] AppleUSBHub[0x17a4400]::TimeoutOccurred error
    The drive mounts on an iMac running Mac OS X 10.5, but neither Finder nor Disk Utility can see the drive on my Powerbook running 10.4.11.
    Hammer tech help says the drive takes as much as 7 minutes to mount. I did notice that it took some time on the iMac.
    Any ideas? Can I change the time out constant somehow?
    By the way the drive requires more than 500 miliamps to start up. I have a double USB cable that does bring the drive up, but my Powerbook won't mount it.
    Thanks,
    Carl Carlson

    Hi Carl, and a warm welcome to the forums!
    Self powered USB drives are a big problem, I think the only answer is a Powered USB Hub.

  • Oracle Application Server 10.1.3 R3 - Change time zone

    Hii All,
    I am using Oracle application Server 10.1.3 R3 Version. I have installed this application server on my windows VISTA machine. On Concole, OracleAS showing GMT time. I need to set it to Indian timezone.
    I have searched a lot but not getting success.
    Can anybody help me, how to change time zone ?
    Regards,

    have a look at this document in metalink. might be helpful . i think you to apply a patch based ( download it from metalink according to your operating system and applicaiton server versions). in my case i have download 5632264 patch ( 10.1.2.0.2 AS & AIX OS).
    Timestamps & time zones - Frequently Asked Questions
         Doc ID:      Note:340512.1
    Thanks,

  • How to change the default time?

    when you finish the action of dialing ,the CCM system recognize your finish after 10s .How to change the default time in Service Parameters ,which is the detail Parameters ?

    Please see the following link for information on configuring the interdigit timeout.
    http://www.cisco.com/en/US/products/sw/voicesw/ps556/products_tech_note09186a00800dab26.shtml
    Hope this helps. If so, please rate the post.
    Brandon

  • How to change the default Real-Time Collaboration page?

    Who can tell me how to change the default Real-Time Collaboration page?
    If I want to add my corporation logo in the top of the default page.How to do?
    Thanks!

    Thanks for your help.
    "Click the Sites tab to display all sites and their IDs for your system." But I clicked the sites tab ,it showed "http://hostname:7777/imtapp/app/home.uix". I could not find the siteID parameter from it. Why?
    How to get it from command?

  • How to change object background color on  java run time

    Hi,
    I create object loading program. my problem is run time i change object background color using color picker. i select any one color of color picker than submit. The selecting color not assign object background.
    pls help me? How to run time change object background color?
    here follwing code
    import com.sun.j3d.loaders.objectfile.ObjectFile;
    import com.sun.j3d.loaders.ParsingErrorException;
    import com.sun.j3d.loaders.IncorrectFormatException;
    import com.sun.j3d.loaders.Scene;
    import java.applet.Applet;
    import java.awt.*;
    import java.awt.event.*;
    import com.sun.j3d.utils.applet.MainFrame;
    import com.sun.j3d.utils.universe.*;
    import javax.media.j3d.*;
    import javax.vecmath.*;
    import java.io.*;
    import com.sun.j3d.utils.behaviors.vp.*;
    import java.net.URL;
    import java.net.MalformedURLException;
    import java.awt.Graphics ;
    import javax.swing.*;
    public class ObjLoad1 extends Applet implements ActionListener
    private boolean spin = false;
    private boolean noTriangulate = false;
    private boolean noStripify = false;
    private double creaseAngle = 60.0;
    private URL filename = null;
    private SimpleUniverse u;
    private BoundingSphere bounds;
    private Panel cardPanel;
    private Button Tit,sub;
    private CardLayout ourLayout;
    private BorderLayout bl;
    Background bgNode;
    BranchGroup objRoot;
    List thelist;
    Label l1;
    public BranchGroup createSceneGraph()
    BranchGroup objRoot = new BranchGroup();
    TransformGroup objScale = new TransformGroup();
    Transform3D t3d = new Transform3D();
    t3d.setScale(0.7);
    objScale.setTransform(t3d);
    objRoot.addChild(objScale);
    TransformGroup objTrans = new TransformGroup();
    objTrans.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
    objTrans.setCapability(TransformGroup.ALLOW_TRANSFORM_READ);
    objScale.addChild(objTrans);
    int flags = ObjectFile.RESIZE;
    if (!noTriangulate) flags |= ObjectFile.TRIANGULATE;
    if (!noStripify) flags |= ObjectFile.STRIPIFY;
    ObjectFile f = new ObjectFile(flags,(float)(creaseAngle * Math.PI / 180.0));
    Scene s = null;
         try {
              s = f.load(filename);
         catch (FileNotFoundException e) {
         System.err.println(e);
         System.exit(1);
         catch (ParsingErrorException e) {
         System.err.println(e);
         System.exit(1);
         catch (IncorrectFormatException e) {
         System.err.println(e);
         System.exit(1);
         objTrans.addChild(s.getSceneGroup());
         bounds = new BoundingSphere(new Point3d(0.0,0.0,0.0), 100.0);
    if (spin) {
         Transform3D yAxis = new Transform3D();
         Alpha rotationAlpha = new Alpha(-1, Alpha.INCREASING_ENABLE,0,0,4000,0,0,0,0,0);
         RotationInterpolator rotator = new RotationInterpolator(rotationAlpha,objTrans,yAxis,0.0f,(float) Math.PI*2.0f);
         rotator.setSchedulingBounds(bounds);
         objTrans.addChild(rotator);
    //Background color setting
    Color3f bgColor = new Color3f(100,200,230);
    bgNode = new Background(bgColor);
    bgNode.setApplicationBounds(bounds);
    objRoot.addChild(bgNode);
    return objRoot;
    private void usage()
    System.out.println("Usage: java ObjLoad1 [-s] [-n] [-t] [-c degrees] <.obj file>");
    System.out.println("-s Spin (no user interaction)");
    System.out.println("-n No triangulation");
    System.out.println("-t No stripification");
    System.out.println("-c Set crease angle for normal generation (default is 60 without");
    System.out.println("smoothing group info, otherwise 180 within smoothing groups)");
    System.exit(0);
    } // End of usage
    public void init() {
    if (filename == null) {
    try {
    URL path = getCodeBase();
    filename = new URL(path.toString() + "./galleon.obj");
    catch (MalformedURLException e) {
         System.err.println(e);
         System.exit(1);
         //setLayout(new BorderLayout());
         //setLayout(new GridLayout(5,0));
         //setLayout(new CardLayout());
         //setLayout(new FlowLayout(FlowLayout.LEFT, 5, 5));
    GraphicsConfiguration config = SimpleUniverse.getPreferredConfiguration();
    Canvas3D c = new Canvas3D(config);
    add(c);
    BranchGroup scene = createSceneGraph();
    u = new SimpleUniverse(c);
    ViewingPlatform viewingPlatform = u.getViewingPlatform();
    PlatformGeometry pg = new PlatformGeometry();
    Color3f ambientColor = new Color3f(45,27,15);
    AmbientLight ambientLightNode = new AmbientLight(ambientColor);
    ambientLightNode.setInfluencingBounds(bounds);
    pg.addChild(ambientLightNode);
    Color3f light1Color = new Color3f(111,222,222);
    Vector3f light1Direction = new Vector3f(1.0f, 1.0f, 1.0f);
    Color3f light2Color = new Color3f(1.0f, 1.0f, 1.0f);
    Vector3f light2Direction = new Vector3f(-1.0f, -1.0f, -1.0f);
    DirectionalLight light1 = new DirectionalLight(light1Color, light1Direction);
    light1.setInfluencingBounds(bounds);
    pg.addChild(light1);
    DirectionalLight light2 = new DirectionalLight(light2Color, light2Direction);
    light2.setInfluencingBounds(bounds);
    pg.addChild(light2);
    viewingPlatform.setPlatformGeometry(pg);
    viewingPlatform.setNominalViewingTransform();
    if (!spin) {
    OrbitBehavior orbit = new OrbitBehavior(c,OrbitBehavior.REVERSE_ALL);
    BoundingSphere bounds = new BoundingSphere(new Point3d(0.0, 0.0, 0.0), 100.0);
    orbit.setSchedulingBounds(bounds);
    viewingPlatform.setViewPlatformBehavior(orbit);     
    u.addBranchGraph(scene);
         public ObjLoad1(String[] args) {
              if (args.length != 0) {
                   for (int i = 0 ; i < args.length ; i++) {
                        if (args.startsWith("-")) {
                             if (args[i].equals("-s")) {
                                  spin = true;
                             } else if (args[i].equals("-n")) {
                                  noTriangulate = true;
                             } else if (args[i].equals("-t")) {
                                  noStripify = true;
                             } else if (args[i].equals("-c")) {
                                  if (i < args.length - 1) {
                                       creaseAngle = (new Double(args[++i])).doubleValue();
                                  } else usage();
                             } else {
                                  usage();
                        } else {
                             try {
                                  if ((args[i].indexOf("file:") == 0) ||
                                            (args[i].indexOf("http") == 0)) {
                                       filename = new URL(args[i]);
                                  else if (args[i].charAt(0) != '/') {
                                       filename = new URL("file:./" + args[i]);
                                  else {
                                       filename = new URL("file:" + args[i]);
                             catch (MalformedURLException e) {
                                  System.err.println(e);
                                  System.exit(1);
    public void actionPerformed(ActionEvent e)
         if (e.getSource() == Tit)
    //Color Picker tool
              Color c1 = JColorChooser.showDialog(((Component)e.getSource()).getParent(),"Zaxis Color Picker", Color.blue);
              cardPanel.setBackground(c1);
              objRoot.removeChild(bgNode);
              int a = c1.getRed();
              int b = c1.getBlue();
              int c = c1.getBlue();
              System.out.println(a);
              System.out.println(b);
              System.out.println(c);
              Color3f ccc = new Color3f(a,b,c);
              bgNode.setApplicationBounds(bounds);
         objRoot.addChild(bgNode);
         else
              System.out.println("mathi");
    public ObjLoad1()
    Tit = new Button("BG Color");
    sub = new Button("Object Color");
    cardPanel = new Panel();
    cardPanel.add(Tit);
    cardPanel.add(sub);
    //cardPanel.add(l1);
    //cardPanel.add(thelist);
    sub.addActionListener(this);
    Tit.addActionListener(this);
    // thelist.addActionListener(this);
    //setLayout for applet to be BorderLayout
    this.setLayout(new BorderLayout());
    //button Panel goes South, card panels go Center
    this.add(cardPanel, BorderLayout.SOUTH);
    //this.add(cardPanel, BorderLayout.CENTER);     
    this.setVisible(true);
    public void destroy() {
    public static void main(String[] args) {
         new MainFrame(new ObjLoad1(args),400, 400);

    hi,
    i am using setColor(Color3f color) method
    like
    if (e.getSource() == Tit)
              Color c1 = JColorChooser.showDialog(((Component)e.getSource()).getParent(),"Zaxis Color Picker", Color.blue);
              bgColor = new Color3f(c1);
              System.out.println(bgColor.get());
         bgNode.setColor(bgColor);
         bgNode.setApplicationBounds(bounds);
         objRoot.addChild(bgNode);
    but error will be displayed
    like
    javax.media.j3d.CapabilityNotSetException: Background: no capability to set color
         at javax.media.j3d.Background.setColor(Background.java:307)
         at ObjLoad1.actionPerformed(ObjLoad1.java:230)
         at java.awt.Button.processActionEvent(Unknown Source)
         at java.awt.Button.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    pls help me

  • I cannot figure out how to change the photo size on my iPhone 5s.  I was given the choice of small, medium or large the first time I took a picture.  Now I have no idea how to change it to medium.  Can anyone help?

    I cannot figure out how to change the photo size on my iPhone 5s.  The first time I took a pic it asked if I wanted smalll,  medium or large and listed the pixels.  I chose small but am now finding that is too small.  Can anyone help me set it to medium now?  I can't find any setting for that.  I'm a newby to iPhones and have no idea what I'm doing.  Thanks for any help you can offer.

    By "sending" do you mean sending email?
    If so, what app are you using to take the photos on your iPhone 5? Or are the photos from a different source (saved to your Camera Roll from somewhere else, like a web page or Messages)?
    My guess is that Mail gives you the option to send different file sizes when it detects you are trying to Mail a really large photo file. The size of photos on the iPhone 5 is really big and some email providers may stop your mail from being delivered if attachments are too large. Thus, Mail tries to help you by offering to resize the photo.
    I suspect that if you are sending smaller files, Mail does not bother giving you options to save a smaller version. In fact, I have seen this behavior. So, if the photo is already "small enough", it gets sent as-is.
    To my  knowledge, there is no global iOS setting for this. Some apps may have different rules, of course.

Maybe you are looking for

  • How can I change an IDOC (desadv-asn-inbound)

    Please let me know how can I change a value within the IDOC (ASN)? I remembered that I have done this before but I can't remember how. I don't want to ask the vendor to resend the asn again. tks Eduardo

  • How much performance do I gain by enable MAT

    Hi I must try to ask you guys before am try to enable MAT I have never entered the bios before so am a little scared that I will f-up the system. Do anybody here at this forum with similar memory and componemts have tryed to this MAT function. Must i

  • 1 macbook, 2 time capsules, how to alternate backups?

    Hi I have a Macbook Pro that I use in 2 locations. I spend a week in one place then a week in the other, alternating. I have a Time Capsule in each but at the moment I am only backing up to one of the Time Capsules. If I start to backup to the other

  • ALV List output to Excel file

    Hi Friends,   I want to save the ALV output as a excel file on local drive. From the ALV output, I am using menu path :  Views  --> Microsoft Excel (Ctrl + Shift + F7) to switch  from ALV to Excel mode. It is switched to excel mode but not showing an

  • I want to Clear (Automatically)and Print the Down Payment Request

    Hi all, As i want to know the Step wise Configuration or any hint for Automatic Clearing and Printing for the Down Payment. Following Transaction i had used manualy... F-37 for Customer Down Payment F-29 Post Customer Down Payment FB70 Enter Customer