How can I get the windows regional settigs such as Decimal point setting

I have the problem that the Labview program I wrote uses the regional settings to format numbers to string. I know one can change this in 6.0 but I am using instrument drivers and the total library has 200 or more vi in it. I don't have the time to edit all of these. So I would like to check the regional settings and then inform the user that he/she may need to change this, or even that the program will remotly change these settings. Any ideas or example code ?

Another way of reading it is through the registry. Just open a key:
+ Open Registry Key.vi
+ HKEY_CURRENT_USER or HKEY_USERS (root key)
+ Control Panel\International (subkey)
+ read key/write key (security access mask)
Use 'read registry value simply' or 'write registry value simply' to read or
to modify 'sDecimal'.
And remember :
+ to be active in LV, you must restart LV!
+ you should change 'sThousand' also!
+ close the key!
Regards,
Wiebe.
"AIR" wrote in message news:9sdsai$3h3$[email protected]..
> Hi,
>
> One way is to check it:
>
> + use the function 'Number To Fractional String' (Sting>String/Number
> Conversions>Number To Fractional String').
>
> + Wire 'True' constant to 'Use System Decimal Point'.
>
> + The Output sting will be 0.
000000 or 0,000000, according to the regional
> settings.
>
> LV updates this only at start, so if you change it in Windows, you have to
> restart LV!
>
> Regards,
>
> Wiebe.
>
>
>
>
> "jens" wrote in message
> news:[email protected]..
> > I have the problem that the Labview program I wrote uses the regional
> > settings to format numbers to string. I know one can change this in
> > 6.0 but I am using instrument drivers and the total library has 200 or
> > more vi in it. I don't have the time to edit all of these. So I would
> > like to check the regional settings and then inform the user that
> > he/she may need to change this, or even that the program will remotly
> > change these settings. Any ideas or example code ?
>
>

Similar Messages

  • I upgraded Firefox, and now there is a blue band on my screen above the window, and I'm not getting the full use of the screen in viewing web pages. How can I get the window to expand to fill the screen as it did before?

    There is a horizontal band or gap above the Firefox window at the top of the screen, where you can see the Windows desktop behind the Firefox window. On the left side of this band are the window tabs, and the menu bar, and another bar with the names of the open windows. I would like to have the Firefox window expand to fill the entire screen, like it did before the upgrade. Thanks.

    Do you mean running Firefox in full screen mode?
    *https://support.mozilla.org/kb/how-to-use-full-screen
    If you are in full screen mode then you can hover the mouse to the top to make the Navigation Toolbar and Tab bar appear.<br />
    You can click the Maximize button at the top right to leave full screen mode or right click empty space on a toolbar and use "Exit Full Screen Mode" or press F11.
    *https://support.mozilla.org/kb/how-to-use-full-screen
    You can also run Firefox in a maximized window to have easier access to the Menu bar and Navigation Toolbar.

  • How can I get the window to expand when the TOC is shown?

    Hello all,
    We have changed our javascript call to open WebHelp in a narrow window. By design and by default, the TOC does not initially show.
    When the "Show TOC" button is clicked, we wish for the window to expand to accomodate the navigation pane. As it is, the two pains will share the narrow window, making things unuable until the user manually resizes the window. Not exactly user-friendly.
    By default, the Help window opens at 290 X 745.
    When the nav pane is expanded, we'd like the window size to become 570 X 745 to accomodate the added width of the TOC.
    Thanks in advance for the advice!

    Do you mean running Firefox in full screen mode?
    *https://support.mozilla.org/kb/how-to-use-full-screen
    If you are in full screen mode then you can hover the mouse to the top to make the Navigation Toolbar and Tab bar appear.<br />
    You can click the Maximize button at the top right to leave full screen mode or right click empty space on a toolbar and use "Exit Full Screen Mode" or press F11.
    *https://support.mozilla.org/kb/how-to-use-full-screen
    You can also run Firefox in a maximized window to have easier access to the Menu bar and Navigation Toolbar.

  • How can I get the Windows User using ABAP ?

    I need to get thru ABAP the Windows user.

    Hi Carlos,
    You can use the following FM to read the currently logged in windows user id:
    DATA: w_userid TYPE char20.
    CALL FUNCTION 'GUI_GET_DESKTOP_INFO'
         EXPORTING
              type   = '5'
         CHANGING
              return = w_userid.
    WRITE: 'Windows User ID:', w_userid.
    Hope this is what you need.
    Sumant.

  • How can I get the Windows 7 Home Premium download when I don't have a 'key'?

    Recently my laptop stopped working.  The Wi-Fi stopped working also.  My son tried to help by replacing the hard drive, but the screen says the Windows is not 'Genuine', and still no WiFi. can anyone make suggestions?
     Will  I need to get another hard drive?

    Recently my laptop stopped working.  The Wi-Fi stopped working also.  My son tried to help by replacing the hard drive, but the screen says the Windows is not 'Genuine', and still no WiFi. can anyone make suggestions?
     Will  I need to get another hard drive?
    You should run a Genuine diagnostic and then post your results in the
    Windows Genuine Forums.  There may be a very easy technical fix to get you running again.  Please read the directions below first:
    MGA
    Diagnostic Report:
    To properly analyze and solve problems with Activation and Validation, we need to see a full copy of the diagnostic report produced by the MGADiag tool (download and save to desktop -http://go.microsoft.com/fwlink/?linkid=52012 )
    Once downloaded, run the tool.
    Click on the Continue button, after a short time, the Continue button will change to a Copy button.
    Click on the Copy button in the tool (ignore any error messages at this point), and then paste (using either r-click/Paste, or Ctrl+V ) into your post.
    One
    Issue Per Thread:
    Most Activation and Validation issues look the same, on the surface, but can have many different causes and fixes. This is why we ask for a diagnostic report and this is also why we ask that you create your own thread for your issue (in other words, don't post
    your issue in another person's thread). 
    It just becomes too complicated to try to troubleshoot multiple different issues in the same thread.
    New
    to the Forums?
    Note that if you are new to these forums, you may find that you are unable to post due to a restriction on the inclusion of links and pictures.
    Simply delete the only lines that contain links -  this will allow the remainder of the report to upload (and those lines are not generally
    critical to the report anyhow)
    Please do not read this sentence. Please ignore the previous sentence.

  • How can I get The Windows XP Recovery CD?

    I bought used thinkpad X60s, and I can´t access it (no passwords etc.) There is no recovery medias either. Where can I get XP media to reinstall?

    you can get the discs from Lenovo customer support for a nominal charge in your country of residence. 
    Regards,
    Jin Li
    May this year, be the year of 'DO'!
    I am a volunteer, and not a paid staff of Lenovo or Microsoft

  • How can I get the windows operating system login?

    My application needs no authentication, but I would like to be able to identify the user by their windows login. For tracking etc. Is this available in XE Application Express?
    thanks

    Trevor,
    you can easily download it here: http://httpd.apache.org/download.cgi
    It comes with an installer, it is really easy.
    Oracle has a version of Apache included in their distributions, but you would require a license for that. Since Oracle XE has an embedded pl/sql gateway, you should just do fine using the original Apache.
    No, you don't need the REMOTE_ADDR workaround, just be aware of the limitation.
    Here are even simpler instructions for running Apache as a proxy to XE: Re: Existing http server
    Good luck :),
    ~Dietmar.

  • Hi...i planned to install windows xp on my macbook pro OS 10.8.3..is it compatible with my mac?if so,how can i get the windows file?

    and i planned to use VMware...

    If you are using a Virtual Machine like Vmware you should check with Vmware to see what versions of Windows run in their virtual machine. It is not Windows that has to be compatible with your Apple computer when using a virtual machine, it is the virtual machine version that must be compatible.

  • HT5219 How can i get the Apple Thunderolt display to show Windows 7 i run on my system using Paralells desktop..

    How can i get the Apple Thunderolt display to show Windows 7 i run on my system using Paralells desktop..

    You may need to set the slider at the upper-right corner of the Control window to something other than the extreme left-most position:
    Hope this helps.

  • My computer crashed and I had to reinstall windows 7, how can I get the playlist on my iphone onto itunes?

    My computer crashed and I had to reinstall windows 7, how can I get the playlist on my iphone onto itunes?

    It has always been very basic to always maintain a backup copy of your computer for this very occasion. 
    If for some reason you have failed to do this, not good, then you can transfer itunes purchass from the ipod. File>Devices>Transfer Purchases

  • How Can I Get the Amount of Free Disk Space Using space using windows 7 please share example using GetDiskSpace

    How Can I Get the Amount of Free Disk Space  using windows 7 please share example using GetDiskSpace i have already studied http://digital.ni.com/public.nsf/allkb/9958B8E473C4EF1786256BBC0053B64F

    Reading your question a bit more in detail, I doubt whether you are using Win32 API GetDiskFreeSpace function (for which my previous post is the solution) of Programmer's Toolbox GetDiskSpace function.
    With reference to the second one, it works even with disks larger than 2GB but you need to use the proper formatting code to display the returned value. I updated my example to show total free space in the debug output window and added a comparison with 3GB value using UInt64TypeCompareUInt from the Programmer's Toolbox.

  • How can I get the shutter count for my Canon 7D Mark II using Windows XP?

    How can I get the shutter count for my Canon 7D Mark II using Windows XP? I've been looking lots of places and doing some file uploads, but I can't seem to find anything. I'm wary of downloading software I know nothing about. Any help is greatly appreciated.
    Solved!
    Go to Solution.

    Nevermind, just, sort of answered my own question. Doesn't work on XP, but using a Win 7 'puter I was able to use Shutter Count, which now works w/ the 7D Mark II.

  • How can i get the downloads window back? i hate the add-on thing at the top right. can i change this?

    I liked how FireFox used to have a downloads window when I would download. But, now its like som sort of add-on, it's at the top right and I dont like it very well. Can I get the window back somehow? Thanks, Lego893.

    There is a way, but it may not be supported for ever... If you want the old download manager back, go to about:config, click the I'll be careful, I promise! button. Then search for "download", and set the browser.download.useToolkitUI preference to true (double-click it).

  • How can I get the File, Edit, View, Windows ect to show in Organiser

    While on various tutorials they all show a
    menu of file, edid, view ect in the top left hand corner of the screen, mine shows only a small square box that when clicked give you the option of restore, close minimise ect. How can I get the file edit menu to show. Should have said in Photoshop Elements 9.

    Thanks Barbara that's done the trick

  • How can I get the photos from my old icloud backup on to my computer?

    I got a replacement phone and now there are 2 iphone backups.  There's the old phone with the pictures on it I would like to put on to my windows 8 pc.  I can't figure out how to get them.  I can't restore them to my iphone because I already have another file in icloud for that.  How can I get the old file with my pictures on to my computer??

    You can only access them by restoring the backup to your phone.  You can backup your phone (such as by backing it up to your computer using iTunes), restore the old backup, transfer the recovered photo to your computer (iOS: Import personal photos and videos from iOS devices to your computer), then restore the backup you made earlier to return your phone to its current state.

Maybe you are looking for

  • Adding new element to BPEL for use in PL SQL type, has binding errors

    Figured I might as well post this here since I haven't gotten a single reply in 3 days anywhere else :/ I have a BPEL service that calls a PL SQL procedure. I have added a new element to the BPEL called quote_cart_line. All I had to the BPEL to accom

  • Roi in xy plot

    how do I plot xy data between two cursor (a ROI) in another xy plot?

  • Non-system session variable is not initializing

    Hi, I have created a non-system session variable using Row wise initialization, and using it in answers to filter a column. it is displaying below error State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occu

  • Intermitent clone stamp problem

    have been making extensive use of the clone stamp with some photo repairs and occasionally I will get a line of pixels that will move diagonally across the picture misplacing themselves. It is rather like having a snag you don't know about that pulls

  • Multi Currency in One Incoming Payment

    Hi Dear; in sbo we can't create incoming payment with more than one currency in the ssame incoiming payment. i think it's better to have it. thank you Dear;