nor - rt.ini RTTarget.OlsonTimeZone = "IS"

Hi all

I'm working on a small client/server application that I can run on the target RT for letting me set the date, time, and time zone for the purpose of RT. I went down the date and fine, but I'm curious to know how to correctly set the zone information in the file of ni - rt.ini on the target (cRIO-9014).

It seems to be two keys (redundant?) for the time zone in the ini file, these are found in the section [LVRT] and are:

RTTarget.OlsonTimeZone = "IS"

RTTarget.TimeZone = "EST5"

I had never heard of the Olson time zone so I Googled, but according to wiki all country codes are two letters (ie. There is no 'IS' defined in the list, or at least not as IS)...

So my question is this:

Y at - it an easier way to get a list of time GMT-shifts with the correspondent "OR flavor" of "OlsonTimeZone" that the RT is expected and also the 'time zone' "ABCx" tag?

(Easy to change time zone in max manually, by restarting and check the file for all the different time zones available).

Thank you!

Q

It is recommended that you use the API of the system configuration OR it took to resolve this kind of things on your target, in the case where in the future, define Olson timezone information (and whatever else you might not have found).  From LabVIEW RT 2011SP1 (which corresponds to the more late-and-more current), we do not use this setting on the target and it is not necessary to be there - right now the system OR Config API puts on target because they work to standardize how to do these kinds of things with "the rest of the community."  This does not guarantee that components in the future will not use the Olson time zone information - and require that information be present on the target - in order to work properly.

Unfortunately, your documentation is correct - VxWorks based controllers do not have the ability to set automatic DST setting rules.  However, PharLap controllers (including the cRIO-9002 / cRIO-9004 and controllers cRIO-9081 / cRIO-9082) can do.  The definition of the DST on PharLap is pretty easy.  You must change the following token:

[LVRT]

RTTarget.DSTRule = dm.dw.dd [.dh [.dm]] [, sm.sw.sd [.sh [.sm]]]

This may be quite simple, but you set the d (summer time) and possibly the s (standard time) with this token, setting the month, week and day (and possibly time and minute) that change takes place.

For example, if we were to manually set the United States regulations, rules us DST(3=March, 0=Sunday, 2=Second Week, 2=2AM, 0=0Min) STD (11 = November, 0 = Sunday, 1 = week1, 2 = 2 AM, 0 = 0 Min) would be defined as:

[LVRT]

RTTarget.DSTRule = 3.0.2.2.0,11.0.1.2.0

-Danny

Tags: NI Software

Similar Questions

  • NOR - RT.ini in the cvs-1458RT file

    Hello

    CRIO systems, there is a file named NOR - RT.ini, which can be used to settle the claim of commissioning, set the time zone, etc. It is normally located in the root. Is there a similar file for CVS-1458RT, and if so, where can I find it?

    Thank you

    Soheyl

    Hello

    If you go to/etc/natinst/share you will find no - rt.ini and lvrt.conf. Time zone is located in the [LVRT] section of ni - rt.ini (RTTarget.TimeZone = "Etc/GMT + 6" for example "), and the startup application are defined in lvrt.conf.

    I hope this helps!

    Katie

  • Can I change or - rt.ini programmatically?

    Hi, this is Lee.

    I want to change my IP real-time programmatically target, so I edit nor - rt.ini and restart the computer.

    Looks good works... but I don't know it is 'really' works well.

    Look at the attachment... If I change my IPAddress using the ini file change VI, then nor - rt.ini messed up file. I mean, if I look at the file with Word pad, it looks good, but if I look at the file with note pad it is mess.

    And also, there is Mark quatation added.

    My question is can I edit nor - rt.ini with ini edit VI? It seems that change the full content, but still works fine?

    You must add information about the functions that you use for editing the file.

    The strange symbols in the notebook are the 'new line' characters, which of course are not displayed correctly in Notepad. What happens if you open the file changed with the word/wordpad? It seems too strange?

    Norbert

  • Access denied error connecting to the target RT

    Hello

    I use LV2009 on a desktop host and RT 9 on a target PXI.  I can connect to the target through the project with the original target embedded sw Explorer but cannot access the modules of IO MAX due to a driver version (DAQmx) inconsistancy between the host and the target.  When I install the DAQmx 9.3 drivers on the two systems that I can connect and access as the target I/O via MAX modules but cannot connect to the target through the Project Explorer.  I gives me an IP address in the host not to mistake of authorized access list, even if I've added to the list of users under properties of the target. Something in the DAQmx update is complete my ability to connect through the Project Explorer.

    Any help would be appreciated,

    Thank you

    Dave

    Hi DDockery,

    Our objectives of RT keep record of system information in a file named nor - rt.ini

    We do not suggest edit our files nor - rt.ini if you are not similar with them.

    Important lines in the ni - rt.ini follow the lines:
    Server.TCP.Access = "' + * '"
    RTTarget.IPAccess = "' + * '"

    '+' * means that each IP address can access

    If you have any more specific questions or unconfortable editing the .ini file please contact Supportm technique of NOR, create a Service request and an Applications engineer can help out you.

  • Get information about the physical location (serial) Visa (slot) in PXI time real (Pharlab)

    Hello

    I PXI system with controller time real (OS Pharlab) and many maps series (about 6 cards).

    The maps in the series are two different models, which each contain several (8431/8 and 8421/8) serial ports.

    And the COM Port enumeration mix and I would like to know the link between COM numbering where it is linked.

    I have already dealt with a few methods:

    1. I've tried using the node property of Visa but he cannot know which card port COM belong

    2. I tried to use the Configuration Library system and don't manage to get general information of the card and not what ports have this card.

    3 try to fill you with the VisaConf.ini, but discovers that ASRL and COM Auto-enumeration is the same.

    4. I tried to look in NISerial.ini, NISerial.dbs and NOR - RT.ini and did not find any help here.

    Application engineer or support suggest to look in the registry of the operating system Pharlab because it is windows based and material information must be stored in the registry

    Further explanation on the problem of PXI enumeration:

    PXI produce enumeration auto for the ports series (COM3, COM4, COM5...) according to the card slot, but when there is a mix of the two models of the system would then list a model (8431) from 3 to 50 (6 cards and 8 ports) and the other model (8421) 51 to 98. so if I have 8421 in 2 and 8431 slot number in the slot number 3 it would list 2nd slot COM59 to COM68 and 3rd slot COM11 to COM19.

    Why not just use NOR-MAX to manually configure the ports?

    The system is essential and can not be stopped for a long time and he operated by people who are not very technical, so the customer who wishes to be able to exchange business cards without futher configuration.

    Thank you

    Or Hirschfeld

    Application engineer

    SK-Electronika, Israel

    www.LinkedIn.com/in/orhirshfeld

    Solved and download the example of solution of community

    Get the location COM (Serial Port) and Port physical location in the chassis

  • Keep the IP if the DHCP server is offline now

    We have a customer who wants to be able to manage the IP addresses of all devices with DHCP, but the devices are supposed to keep their IP forever after the DHCP server has been taken offline. Is this a behavior that we can support on a controller of NOR?

    If this is not a configurable behavior an alternative could be to have controlelr auto configure to the last known IP if no such is acquired... but the VI apply network settings doesn't seem to work if done on the controller itself. Is this correct?

    With NEITHER in Norway (thanks), I found a solution which allows us to implement the required behavior.

    The main problem for us once we need to override the default behavior for DHCP was the fact that the RT apply target Network Settings.vi does not work if it is set to target the same controller as it is running. So how to exchange between DHCP and fixed? Well, it turns out that the network settings are also stored in the file of ni - rt.ini. So here's what we do: when the controller starts, we check if it is running in DHCP mode. If this isn't the case, we change this in the file nor - rt.ini and the reset - to see if the DHCP server is operational. If the controller is running in DHCP, we check if the IP address is valid (i.e. outside the local range of link). If it isn't read us the last known IP address and write those set in the file nor - rt.ini and restart.

    An example of the sections of the INI file:

    For DHCP, the section of the nor - rt.ini will look like this:

    [TCP_Stack_Config]

    USE_DHCP = DNS_Address

    Gateway USE_DHCP =

    USE_DHCP = Ip_address

    USE_DHCP = Masque_sous

    For a static IP address:

    [TCP_Stack_Config]

    DNS_Address = 0.0.0.0

    Gateway = 10.0.18.1

    Ip_address = 10.0.18.13

    Masque_sous = 255.255.255.128

    It would be nicer than the network RT target apply Settings.vi would work for auto-reconfiguration, but it saved the day for us at least in this case.

  • Scan engine access on CRIO protection?

    I'm running a production Tester high volume using the CRIO in a car factory, and my application uses the analytical engine.  I fell right on s analysis vi engine in the measures of e/s palette that allows you to target a CRIO and alter the scan engine.  Although very convenient, it seems that it is a very dangerous thing to leave unprotected or some kind of user access rights.

    Can password - protect the scan engine settings changes to avoid this kind of change?  Locking of the CRIO accomplishes this?

    Thank you

    Rob

    Hi Rob,

    I found a better way to protect the cRIO. In your project, right-click on your controller for cRIO, and go to properties. In the properties on the left side menu, you will see a list of Catergories. If you click on the user access, you can allow and deny access to certain IP addresses. Now, only the IP addresses in the list of the grant will be able to connect to the cRIO (and if you can not connect, you can not deploy any code). I tried this and I accidentally the cRIO locked out. If you never lock yourself out, you need to modify the nor - rt.ini, located on the RT controller. Because you can change the access to this file as well, you want to password protect the Max cRIO thus so that this file cannot be changed.

    Thank you

  • log file curious growing on rt-target

    Hello community,

    I have a pxi-time real-system that automatically records the events our network multicast and creates a log file that grows every minute.

    The file is named packetsIn.log and appears under/or-rt/system/ethernet.

    The content of the file is

    Source Mac:...

    Dest Mac:...

    PacketSize:...

    The mac addresses that appear in the file are not of my controller but some switches or multicast-addresses of our network.

    If you delete the file, it appears again a few seconds after the action. The file grows too, if no labview applications are running on the system.

    A that someone has noticed similar behaviour? What could cause the creation of this file?

    We use LabVIEW 2009 SP1 and the curious, it's, it appears only in one of our controllers.

    Hope someone could help me

    Ayoub

    Hi ayoub,.

    Please try opening the nor - rt.ini and the following entry set:

    [DEBUG]
    RTPacketParsingEnbled = FALSE

    After that the file should stop more.

    Best regards

    Lam

  • CRIO controllers can be configured to accept several SNTP IP addresses?

    cRIO controllers can be configured to synchronize the SNTP servers using the following in ni - rt.ini:

    [TIME SYNCHRONIZATION]
    source_priority = sntp; RTC;
    source. SNTP. Enable = true
    source. SNTP. Address = 10.0.58.1
    source. SNTP. Interval = 60
    source. SNTP.port = 123
    source. SNTP.verbose = false
    source. SNTP.log = false

    However, more than one IP address be specified, in which case one of them goes down? I tried to use a semicolon-delimited list, but it does not work.

    Also, I wonder if the cRIO controller can be configured to accept broadcast SNTP from a remote machine, rather than send periodically SNTP requests to a remote machine.  Is this possible?

    Thank you for your help,

    Chris

    Chris:

    Unfortunately, the ini file can use an IP address to synchronize with the server. If you are looking for a method switch to a new address, your best bet is to change the routing/port forwarding IP of some material RIO is connected to. Alternatively, it may be possible pass by program files nor - rt.ini, but this requires the controller to restart.

    The cRIO does not accept remote broadcasts, either. I think the main reason is that it is not as consistent (from a deterministic point of view). The behavior and the calendar is more predictable, when the controller uses a method of request/receive, rather than waiting on a broadcast packet. The former option requires less CPU resources.

    I hope I was able to do at least some light on your question. Good luck!

  • Change hostname cRIO programmatically

    I know that I can read the host name for a cRIO, but I would also like to be able to write to this property.

    Is anyway to do this?

    Thank you

    You can change the network to a goal of RT settings, including the name of \vi.lib\real-time\rtutility.llb\RT apply network target .vi (static) settings

    Manually, you can recover the file nor - rt.ini, change the name of the computer and redeploy to the target.

  • Question about RTTarget.LaunchAppAtBoot in ni - rt.ini

    Hello

    I'm developing an application on a sbRIO. Sometimes, I want to disable the soft of RT by setting RTTarget.LaunchAppAtBoot = False in the ni - rt.ini, so I can test it in the development environment and use the FPGA interface mode, etc.

    If I reboot the sbRIO (power off-> on) RTTarget.LaunchAppAtBoot = False has been set to True once again, without manually edit me or - rt.ini.

    What causes this behavior?

    Thank you.

    In your LabVIEW project, is the RTEXE build specification configured as a "Set as Startup? I think that the LabVIEW project will attempt to "deploy" project settings whenever a VI project is run interactively on the target.  So, if this construction technique retains this setting in the project, LabVIEW will delete your .ini FALSE return true token each time that you run an interactive FPGA or RT VI in this project.

    I have been unable to verify this behavior, but I suspect that if you choose the option "Unset as start-up", which stop at on the reactivation of your startup application LabVIEW after having defined manual token .ini to FALSE.  In general, this method to arm and disarm the RTEXE as a startup application is undoubtedly more effective time to manually edit the .ini file, and I have never had problems with the inconsistent behavior, you are calling when using this method.

    Kind regards

  • Noise DC value of the ini file values

    Hello

    I am trying to build a generator of signals (sine, triangle, sawtooth, square random noise, DC). I managed to get the job of waveform using the signal generator of NOR built based on VI. but I want to add the DC case that I managed to do. but I want the values (magnitude and frequency) to be in an ini file. My idea is manual sets the values in the file, once I run the vi and select the case of DC noise, it should read the file values and the data output and once I have stop, it records the values of dc before returning.

    So, I'm stuck trying to figure how to do this. I hope that I was clear enough. I don't have a code to view since I haven't started yet coding on this part. Help, please.

    Clearly enough explained.

    Take a look at the screw configuration file, found in e/s from file > Config File live. There also many examples n the community, as well as in the Finder of the example, illustrating the use of these. A good starting point is the sample Configuration settings file write example Finder, and reading Configuration settings file.

    Your .ini file will look something like this, once created:

    [DC noise settings]

    Amplitude = 1.234567

    Frequency = 8.901234

    This is equivalent to:

    [Name of section]

    Key 1 = value

    Button 2 = value

    When asked to read a specific key in a certain section, VI only through the file for the named section, and then search for they key the name you provided it. Remember, you will need to know what type of data is when you read back.

    You can use VI writing to modify specific keys in specific sections as soon as you close the file.

    This is one of a multitude of methods, you can use to do this, but are probably the simplest.

  • NOR-MAX for VISA DURATION 4.2

    Hello

    I posted this on the Narcotics Control Instrument, but maybe it's not in the right place since I didn't get all the answers. Here's my question:

    I have been looking for more than an hour and have not led to what. Is there a version of the NOT-MAX runtime? I have deployed executables LabVIEW on many other PCs and I encounter a problem on one of them where the resource VISA vi does not return the exact list of the COM ports even as drop-down list of the vi box VISA set up a Serial Port. For example, the list box might show COM1 and COM4 COM10, but VISA resource find vi shows ASRL1::INSTR, ASRL4::INSTR, and ASRL12::INSTR (should be ASRL10::INSTR). So I need a program such as NOR-MAX to change the alias on the PC with the execution of VISA 4.2 engine so that it corresponds to what shows the VISA configure Serial Port vi, incidentially, that matches what is shown in Device Manager.

    The PC in question does NOT the LabVIEW development environment installed, so it has NEITHER-MAX. is there a stand-alone exe OR-MAX I can install it on other PCs without the IDE LV? Manual change of visaconf.ini will do the trick? If so, is that what I should remove all aliases, uninstall all external (VCP) ports in the Device Manager, restart the PC (or not) and start again, reconnect the devices?

    Thank you for any help or advice.

    Ed

    James,

    Thank you for your response. Yes, I use the Application Builder and no, I chose not install NOR-MAX, but I see there in my file of project under "additional installers. I will consult the installer to run from the Web site of NOR.

    After that I posted this question, I have experienced yet. I have manually edited visaconf.ini so that numbers ASRL agreed with Device Manager of / ' Windows port assignment and low and behold, it worked! If this happens on the PC client, installation of MAX would probably be best solultion, however.

    Now I'm wondering if the VISA resource find vi is just read this file? I guess that Yes.

    Thanks again,

    Ed

  • can you tell me what to type in the search to bring up all the ini files?

    original title: question on files

    If someone could tell me what to type in the search to bring up all the ini files, it would be great.

    sandwichsam wrote:

    If someone could tell me what to type in the search to bring up all the ini files, it would be great.

    Have you tried searching for "*.ini?

    Bruce Chambers

    Help us help you:
    http://www.CatB.org/~ESR/FAQs/smart-questions.html

    http://support.Microsoft.com/default.aspx/KB/555375

    They who can give up liberty to obtain a little temporary safety deserve neither liberty nor safety. ~ Benjamin Franklin

    A lot of people could die rather that thinking; in fact, most do. ~ Bertrand Russell

    The philosopher never killed the priests, while the priest killed a large number of philosophers.
    ~ Denis Diderot

  • Why can't I just copy a profile to another system in the directory profiles and modified the ini file

    My main system crashed. I have a copy of the profile. When I move a copy of the profile in the profiles folder and edit the ini file to use the new name, I get a message that there is an instance of thunderbird running and I need to shut it down. I don't see any instance of thunderbird anywhere in the Task Manager. It happens just for me the fact that I am also in firefox may be the cause of the problem to a running instance. I'm under V31.7.0

    I tried to simply move the mail directory in the existing profile. The thing is that I don't see the old messages. I can see all of the subfolders of the Inbox on the left but not messages in the right pain. I can see new messages, but it's all in the Inbox and not filtered to the subfolder.

    I tried to activate the function of multiple profile but that doesn't seem to work.

    MY BAD
    It seems that I had something that was bad in the profile. I got the profile from a backup and now Thunderbird works fine.

    Sorry that I missed the problem earlier.

Maybe you are looking for

  • HP printers

    I bought a HP OfficejetPro printer Scanner 8710 Can I use the HP utility software to operate my scanner or go to System Preferences, then Scanners and printers, and run it from there? Thanks Britt

  • Portege R830 sees network cannot connect - error 628

    Hello I want to use my SIM card to establish an internet connection on a Portégé R-830.Inserted the SIM - cad, startup Toshiba Wireless card manager, enter PIN, vor research network: "o2 surf" found, perfect signal strengthBut then: either he gives u

  • Boot Up error 0xc0000034 - cannot start windows

    I'm back from work yesterday and found my laptop displays a black screen, saying that "windows couldn't start. A recent hardware or software change might be the cause"and repair using the windows installation disc 7. However, windows was preinstalled

  • Variant of data object class

    The 'variant data' has 'Type' is a required entry, according to the help documentation. However, I can make a Variant to the data without the help of the type when the variant is an object and a class method is fixed. Is this expected behavior? A scr

  • I get a white screen on facebook games when switching to full screen mode in youtube videos

    When I go on facebook and play games like farville or cityville I would use mode full-screen, but every time I have try to go white I can here the sound but I have to type f11 to return to the normall screen mode so I can see. Can any one give me an