Bug : LVRT ini file pollution/corruption... (leaves me speechless)

Hello,
I programming a platform independend autonomous datalogger in C based on 6009 and Nidaqmxbase but i see something strange in Windows platform about ini file
I see the lib hook al I/O access to overlappe file read/write and adding some keys especially in INI file with the exact same name of executable
For exemple you got [LVRT] at the top of the ini file, and this not be properly handle, this corrupt INI files lines
I lot my voice when i discover it ! leaves me speechless !
What did you do NI dev team ? did you think about performance & ressources & simplicity ? hum...
You can reproduce with the joined sample with MINGW and make.bat
Hop something respond me a day
rom1nux
Attachments:
acquirelvrt.c ‏5 KB
make.bat.txt ‏2 KB

rom1nux wrote:
Hello Ben,
The type of change you are requesting to avoid the issue you are seeing would take years to implement
Hum...you get right, but in "C world" this kind of things is a complet "non-sens"...
if we use C, this is because we want to know exactlly what we do !
Getting accross a lib wich can produce this kinds of non-documented manipulations is not very safe in my world...
immediatly we get doubt  "...what other surprising things this library can reserved...", "...does it coded with feet..."
And more scarry, why this strange not-documented backgrounded operations dont work properlly ? (ie: corrupt acces to file with simple fprintf() )
Look what kind of code NI devs need to "hook the I/O systems-calls" and your begin to think about performance and ressources losts, and begin to be really scarry...
Other thing, basic, why something "normally disabled" (ie: LABView) want to write to a config file ? and what he use my own system call ?
Hum..yes...this takes years to re-implement
So the best i can do is suggest you treat the name as "reserved" to NI and work around it.
Yes, this is what we do, but for our case this is quiet the "straw that broke the camel", too much problem/limitation/workaround on linux version...seem identical on Windows...
I have to check if Nidaqmxbase3.4.5 got improvements...My boss goes to decide in few day...he currently look if mcc is according real C philosophies...
Thanks a lot for your Help and your suggestions
Rom1nux
With great power comes great complexity. I'm still learning everything that has bee dumped on my brain.
Pssst don't tell anyone but....
mcc is now owned by NI.
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction

Similar Messages

  • CFP LV RT 2009 (ETS) Bug - Crashing on bad INI file

    Hello,
    This problem was actually touched upon in this thread:
    http://forums.ni.com/ni/board/message?board.id=170&message.id=466392&jump=true#M466392
    I have found, that if the ni-rt.ini file contains any "unexpected"  or wrong parameters (like the thread above describes), my cFP 2210 with LV RT 2009 crashes. After the crash, the following is the situation:
    - The ni-rt.ini file is garbled with strange charcters.
    -  I have format the "disk"  and reinstall all software again to make it work correctly!
    This is bad, since I have never encoutnered such a problem with LV 8.2 on a cFP 2120: 
    We have two of these running in a Concrete Production Plant here in Norway.
    They have been stable for 2 years.
    I could send updates via email: Just the .rtexe and the .alias file.
    The electrical engineer at the plant used FTP to replace the existing .rtxex and .alias file,
    Then he edited the .ini file with the name of the new .rtexe.
    If any errors where entered into the .ini file, the cFP simply would report the error to one of the logs, and NOT CRASH!
    I recon this is a bug, and it may easily be reproduced by trying to enter the entries I have listed in the thread linked to above.
    Geir Ove

    Hello,
    I have updated information on this problem:
    First a little background on "how it used to be"  when running LV 8.2 RT on a cFP 2120:
    To update the cFP with a new program, I did the following over a wireless network while the cFP was running but the machine it controlled was sitting stationary:
    1) On the cFP: renamed the .rtexe to .rt (to allow the file to be deleted)
    2) Deleted booth the .alias and .rt file
    3) downloaded new .rtexe and .alias files
    4) uploaded to my PC the ni-rt.ini file. Edit the name of the startup program
    5) downloaded the new ni-rt.ini file to the cFp
    6) From my PC rebooted the cFP
    THis may seem like a wild thing to do, but it works like a charm.
    It turns out, it also works well on the cFP 2120  with LV RT 2009.
    However, on the cFP 2210  the ni-rt.ini file becomes corrupted if the file is downloaded again to the cFP while it is running.
    If, however, the cFP is rebooted into Safe Mode first, I can still do all the steps above to update the cFP.
    WHy I do not use LV to do the update? Well,  in this manner the customer can do the update with no special tools or LV knowledge.
    Also, it is valuable to be able to update the cFP without accessing it physically, because it is not easily accessible (A conveyor running under the roof of the factory !)
    I do not understand why there should be a difference between the cFP 2120 and cFP 2210 in this respect !
    But since it is, it should be documented. We use LV to save development time, but this has costed extra time in this project.
    Geir Ove

  • Should I remove ini files from my macbook pro or just leave them?

    I regularly move music files from my Windows PC to my MacBook Pro. However I have just realised an ini file which has occurred. Should I remove these files from my MacBook as I don’t want any problems to occur as I use my MacBook Pro for live gigs (to DJ).
    Appreciate your responses.

    Copies them.
    Ciao.

  • Memory leakage when using Ini-file VIs

    I'm using the Configuration File Vis to read and write data to different .ini files. The files contain both standard keys and clusters written as a segment using the Open G toolkit. Instead of opening the files and keeping them in the memory of the Config VIs I'm just using them to read and write, decode and encode...the references are all closed using the Close Config Data.vi. The problem is that even though immediately close the config data the application keeps grabbing more and more data...every time a configuration file is open, read or written to and the closed everything from 4K to 50K of additional memory has been allocated by the application (this is a stripped down application that only deals with the config files, so
    there are no other sources for the memory leak).
    Has anyone else experienced this? How can you repeatedly open and close config file slike this without it continoulsy allocating more memory?
    Attached is a copy of the VIs, the directory structure must be kept intact if the ini file is to be read correctly.
    I've been stearing so hard on this the whole day that I might just be overlooking something obvious...
    In the full application the VI init and write operations are only done when the user reconfigures the system, which may be a couple of times per month...so the memory leak would not cause a problem right away, but it would not be healthy to leave it there...
    MTO
    Attachments:
    Memory_Leak_Demo.zip ‏1391 KB

    Could you post a 6.1 version?
    LV7 is still about two weeks away for me.
    Does the problem show up in 6.1?
    I ran across an error while writting to a FP output that was not configured that would cause a "drop of memory" to leak every time the VI performed the write. The leak did not show up in the profiler but windows would show te memory foot print growing continually as long as the writes continued. The work around was "don't do that!".
    I bring this up because I found and reported this just prior to LV7 release and the featur may still be present in LV7. I also believe that Jean-Pierre used a "write and check" metod to detail with the unknown data types of of complex data structures.
    If you just read does it leak?
    If you just use simple data types do
    es it leak?
    Is the ini file growing?
    I really appreciate the effort you have been putting into the Dev-Exchange Mads! I wish i could do to more to help.
    Keep us posted.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • HT201210 I am stuck with "The iPad could not be restored because the firmware file was corrupt" message.

    Hi
    I have an iPad mini and it was on iOS 6.1.3, my friend came and he said that he knows how to install iOS 7 for me. I gave it to him and he tried to install it, but apparently he failed to do so and an "Activation Error" is appearing on the screen now asking me to register in the developers program.
    Now, we are trying to restore it back to iOS 6.1.3 using iTunes, the software downloads well and it starts restoring but that I keep getting this error message "The iPad could not be restored because the firmware file was corrupt.".
    I am sure that the file is not corrupted because it's downloaded via iTunes regular download and it's not from an outside source.
    I am stuck with this now and my iPad is useless this way.
    Please any suggestions ?

    basselsamo wrote:
    Please any suggestions ?
    Yes, don't download Beta Software that you have no business or legal right to download and quit taking bad advice from friends.
    Now to maybe get you out of the restoring jam, the only thing that I can think of that might work is to use recovery mode, unless you already tried it and it didn't work.
    You can read about it here, but the instructions are posted below.
    http://support.apple.com/kb/ht4097
    Disconnect the USB cable from the iPad, but leave the other end of the cable connected to your computer's USB port.
    Turn off iPad: Press and hold the Sleep/Wake button for a few seconds until the red slider appears, then slide the slider. Wait for iPad to turn off.
    If you cannot turn off iPad using the slider, press and hold the Sleep/Wake and Home buttons at the same time. When the iPad turns off, release the Sleep/Wake and Home buttons.
    While pressing and holding the Home button, reconnect the USB cable to iPad. When you reconnect the USB cable, iPad should power on.
    Continue holding the Home button until you see the "Connect to iTunes" screen. When this screen appears you can release the Home button.
    If necessary, open iTunes. You should see the recovery mode alert that iTunes has detected an iPad in recovery mode.
    Use iTunes to restore iPad.

  • Windows 7 64-bit Copying files to external usb drive - files becomes corrupted.

    Hi All,
    I am getting intermittent problem with regards to copying files to usb external hard drive from my laptop.
    When file is copied to external drive, the file becomes corrupt from the external drive.
    I have to repeat around 2 to 3 times or more to re-copy the file again until file is not corrupted.
    Appreciate of any help.
    Below is my system info:
    Using Win 7 Ultimate 64-bit 4 gb of ram. 
    OS Name Microsoft Windows 7 Ultimate
    Version 6.1.7601 Service Pack 1 Build 7601
    Other OS Description  Not Available
    OS Manufacturer Microsoft Corporation
    System Name GIBBY-LAPTOP
    System Manufacturer Sony Corporation
    System Model VGN-SR26GN_B
    System Type x64-based PC
    Processor Intel(R) Core(TM)2 Duo CPU     P8400  @ 2.26GHz, 2267 Mhz, 2 Core(s), 2 Logical Processor(s)
    BIOS Version/Date American Megatrends Inc. R1130Y1, 8/28/2009
    SMBIOS Version 2.4
    Windows Directory C:\Windows
    System Directory C:\Windows\system32
    Boot Device \Device\HarddiskVolume2
    Locale United States
    Hardware Abstraction Layer Version = "6.1.7601.17514"
    User Name Gibby-Laptop\Gibby
    Time Zone Malay Peninsula Standard Time
    Installed Physical Memory (RAM) 4.00 GB
    Total Physical Memory 3.97 GB
    Available Physical Memory 2.60 GB
    Total Virtual Memory 7.93 GB
    Available Virtual Memory 6.05 GB
    Page File Space 3.97 GB
    Page File C:\pagefile.sys

    Ok, lets be brief.
    This problem is annoying me for years. It is totally reproducible although random. It happens when copying to external drives (mainly USB) when they are configured for "safe removal". I have had issues copying to NTFS and FAT32 partitions. I have
    had issues using 4 different computers, from 7 years old to brand new ones, using AMD or intel chipsets and totally different USB controllers, and using many different USB sticks, hard disks, etc. The only common thing in those computers is Windows 7 x64 and
    the external drives optimization for "safe removal". Installing Teracopy reduces the chances of data corrpution, but does not eliminate them completely. The only real workaround (tested for 2 years) is activating the write cache in the device manager
    properties of the drive. In that way, windows uses the same transfer mechanisms as for the internal drives, and everything is OK.
    MICROSOFT guys, there is a BIG BUG in windows 7 x64 external drives data transfer mechanism. There is a bug in the cache handling mechanism of the safe removal function. Nobody hears, I've been years talking about this in forums. It is a very dangerous bug
    because it is silent, and many non professional people is experiencing random errors in their backup data. PLEASE, INVESTIGATE THIS. YOU NEED TO FIX SUCH IMPORTANT BUG. IT IS UNBELIEVABLE THAT IT IS STILL THERE SINCE 2009!!!
    Hope this helps.

  • Firefox profile cannot be loaded. It may be missing or inaccessible - yet no profile.ini file is missing (folder empty), clean reinstall has not not worked

    I'm running windows 8 and had recently handed my computer back to be repaired. When I got my computer back I started getting the error that states that "Your Firefox profile cannot be loaded. It may be missing or inaccessible." upon opening.
    I've had this before and just renamed the profile.ini file as something different forcing Firefox to create a new profile. However the profile.ini file is not there, at all.
    Everything that I've searched for shows profile management through firefox, but I can't open firefox to create any profiles so they don't help at all.
    Does anyone know

    This is usually caused by a problem with the profiles.ini file and the profile marked as Default=1 is no longer present on the hard drive.
    *Windows: "%AppData%\Mozilla\Firefox\"
    *Linux: ~/.mozilla/firefox/
    *Mac: ~/Library/Application Support/Firefox/
    *Delete the profiles.ini file to force Firefox to create a new default profile
    *Use the Profile Manager to create a new profile
    *Use "Choose Folder" to recover an existing profile if there is still one present
    *http://kb.mozillazine.org/Profile_Manager
    *https://support.mozilla.org/kb/Managing+profiles
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    The "AppData" folder in Windows Vista and later Window 7+ versions and the "Application Data" folder in XP/Win2K are hidden folders.
    *http://kb.mozillazine.org/Show_hidden_files_and_folders
    Create a new profile as a test to check if your current profile is causing the problems.
    See "Creating a profile":
    *https://support.mozilla.org/kb/profile-manager-create-and-remove-firefox-profiles
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Profile_issues
    If the new profile works then you can transfer some files from an existing profile to the new profile, but be cautious not to copy corrupted files to avoid carrying over the problem.
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • File system corrupted *after* it was unmounted

    Hi all,
    I'd be interested in any opinions on this problem.
    I recently bought a 1TB Samsung Story Station 3 usb hard drive for use with Time Machine.
    This model of drive has a power switch on the front. Most of the time I don't need hourly backups so my plan is to leave the drive turned off most of the time and only turn it on when I feel the need for automatic hourly backups.
    A beautiful setup... except... The file system keeps getting corrupted and it is not always repairable.
    What is happening?
    My procedure is to eject the disk then switch off the drive.
    About half the time an immediate disk verify will report that the disk requires repair.
    I have tried variations of this with very similar results. Here is a typical failure scenario:-
    1 - Start Time Machine "Back Up Now"
    2 - Let it copy some data then stop the backup (if necessary)
    3 - Eject the disk
    4 - Switch off the drive
    5 - Switch on the drive
    6 - Verify
    Variations on the theme...
    I have tried the drive with and without a bootable image restored to it and therefore with and without journalling on the file system (I believe).
    1, 2 - I have tried copying data using finder instead of using time machine.
    3 - I have tried umount -f and diskutil unmount
    Note that umount without -f reports the drive is busy but other ejection/unmount mechanisms work.
    Is this related?
    The only thing that may have made a difference is that powering down the mac, instead of just the drive, after ejection has not yet resulted in a damaged file system.
    The obvious conclusion to draw is that a buffer somewhere is not being flushed before I turn off the drive, but is this buffer in OS X or in the drive itself?
    In either case I assume other people are having the same problem.
    For now I will just leave the drive turned on all the time. Maybe this is what everyone else does so nobody else has sees the problem.

    I need help with my MP3 Player. This is the second one I have bought and it keeps going to 'File System Corrupted'. Its an RCA MP3 Player. Holds 5GB's. My first one lasted about 6 months and this one only 3 months. I don't drop it. Like maybe once, but on a soft floor and its never been thrown or beaten on. No marks on it from being dropped or hit on anything. Also I can't get it to respond to my computer. I plug it in and says, 'File System Corrupted'. There needs to be like a way to fix it. Other wise the people who built it are getting money easily with a device that works only a short limited amount of time. I've pressed my power button and held it for 0 seconds. Nothing happens. I'm really annoyed with this device. I've waited much money on it. Is there at all a way to fix it. ~Dark Warrior~

  • Modification to SAP Logon Cannot be written to INI file

    Hi,
    When i am trying to create a New Item in SAP logon it is giving an error "Modification to SAP logon could not be Written to INI file
    Check permission for file 'C:\Windows'.
    The problem is that, this is showing even when i m logged in as "XXXADM".
    I have Reinstalled the SAP GUI, but the problem is as it is.
    OS: WINDOWS 2003 server
    Database: Oracle.
    Please help me.
    Thanks in advance,
    Sharib

    I had this same problem under a VISTA Enterprise client setup.  I tried all the various recommendations, including setting the SAPLOGON_INI_FILE environment variable to point to c:\windows\saplogon.ini.  None of these changes worked, I even modified the file ownership to match up with my logged on user without success.
    I then looked at the shortcut for launching SAPLOGON, and tried to set the shortcut to run as an Administrator.  That option was greyed out.  I deleted the shortcut, and re-created it.  Still unable to save changes.  I then set the new SAPLOGON shortcut to execute as the administrator, and once I confirmed that I trusted the program, everything is now working as it should.
    Not content to leave it this way, I moved my saplogon.ini file OUT of the c:\windows directory and instead placed it in the directory pointed to by %USERPROFILE%\saplogon.ini .  I updated the environment variable setting and also removed the falg to execute the shortcut as the system administrator.
    Now everything is working as it should without any special hoops -- seems that even with full access, VISTA security would not let a domain user that was part of the PC's Administrators account to edit the file w/o running as the system administrator.
    Edited by: David L. Flad on Oct 30, 2009 4:02 AM

  • "Search in Files" inside .ini files

    I use the site search and search in file features in Dreamweaver quite often but I just discovered that if I have a folder full of .ini files and I need to search globally inside those files Dreamweaver returns no results.
    Apparently, DW is unable to search inside files other than HTML, PHP, CSS, JS, etc. But it won't search in .ini files or any weird (for DW) file extensions.
    I once was able to set up my DW to look inside PHTML files (Used by Magento) as well as applying code coloring to them as it would on PHP files.
    I suspect this is a similar process but I wanted to make sure I was not seeing things. Is DW really that dense that will not search inside a file with an extension it doesn't know?
    By the way, I did add .ini to the recognizable files in preferences, but obviously that's not enough to have DW search inside them.
    OFF TOPIC COMMENT
    Another weird thing I just noticed is that the "asset" and other modules will only work in WYSIWYG view. Meaning that if I save a color in my assets I cannot use it to insert it in a CSS file. Not even in code view. I have to be in the visual editor for it to work, but then it's useless to me.
    Incidentally, some time ago I found that the visual editor in DW is actually very useful when working with dynamic websites like Drupal or wordpress. Especially when dealing with very large pages with lots of CSS files.
    However, no one IO know would or should build their sites in the visual editor. It's simly a bad way to work. Why would adobe limit the use of the "assets" pane (and the "History pane too now that I remember)  to the visual editor is beyond me in this day and age.
    I do a lot of tasks where it would be greast to copy a procedure like a substiotution and have DW repeat the same procedure on other pages or similar code snippets. Yet, it won't alow me.
    I love Dreamweaver and I am actually writing a book on how to use it with the likes of wordpress, drupal, etc. It cuts dowen development and design time by less than a third. If those things worked everywhere instead of just in the visual editor it would cut down even more on the time it ntakes to design dynamic website templates.
    Sorry about the rant.
    Thank you for any help.

    Hi David, I too have worked closely on a lot of software projects and I am well aware of the limitations. In fact, that's one of the reasons I lioke to work on open source projects because of the vast talent pool they can utilize. Private companies, no matter how big, neet to triage new development according to their resources.
    By the way, adding the .ini files to the extension.txt files in Dreamweaver is pretty easy. Since code coloring is not an issue that's really the only change I need to make. When I integrated the PHTML file extension for Magento I had to make a lot more changes (still manageable though).
    One of your comments, about DW keeping its legacy features in a changing web development world, made me think that it may be time for Adobe to spawn a different IDE or start thinking about a more modular approach to the application.
    I am writing a book on Dreamweaver integration for Open Source web scripts and when talking to other open source developers, one thing that comes up often is that Dreamweaver is a "bloated" program  (this is not my complaint, by the way).
    Part of the issue is that it needs to keep a lot of quasi-obsolete features so that long time users won't abandon the platform. Which featrures are obsolete is really up to each user. For me the WYSIWYG view is certainly not something I would use to design web sites, but should Adobe get rid of it,  it would absolutely destroy my workflow since I use it to rapidly target HTML, CSS and even Core PHP code in the template and the file system of the scripts I work with.
    The new "Live view" in CS4 was a welcome addition, especially since the basic page rendering in DW leaves a lot to be desired (Incidentally Microsnot "Expression" page rendering is a lot better, making the live view feature less exceptional except when troubleshooting JS based effects).
    Anyway, that said, DW is an extensible program and there are a lot of thrid party utilities written for Dreamweaver. Couldn't the Adobe team use this extensibility to make improvements to the interface and even use it to add or subctract features from the main application?
    I think they are mising an opportunity here to capture a wider audience. DW could ship with a minimal set of features and the team could choose to release their own add-ons so that users could build their own application.
    I think that approach would silence a lot of critics, since the basic app would now be a lot slimmer, while still giving power and legacy users the features they need a-la-carte.
    I am actually hioping that once my book comes out (if it ever does: the publishing world moves at a snail's pace) it may give the DW team a new perspective on how to use Dreamweaver in a modern web development enviroment, but honestly my biggest hope is for one of the current open source projects like Eclipse to look at my development system and maybe add some Dreamweaver-like features so that finally there would be a real open source alternative to Dreamweaver. In turn, I believe that will make DW move a bit more quickly in adding new features and shedding the obsolete ones.
    Anyway, thank you again for the links, I did submit my suggestions. I am not holding my breath but we'll see.
    Take care

  • How to edit the setup.ini file of the Adobe Reader X MUI?

    Hi everyone.
    I discovered today that is is possible to edit the setup.ini file of the Adobe Reader X MUI  10.1  installer (multilingual)  in order to customize the installation. I stil have some questions about this.
    1. I would like to make a custom installation of Reader X in german, english, french and spanish. Is this possible? I want to leave out all other languages from my installation..,.
    2.  I would like to edit the ini file to make an automatic update of my Reader, by installing all the patches (10.10, 10.11, 10.12, 10.13, 10.14, 10.15 and 10.16). Is this possible?
    I patched my Reader manually, but when I install only the 10.15 and 10.16 updates, some functions are still missing (signature toolbar and add text function) so I suspect the patches are not-cumulative.
    Can anyone on the forums show me the right codes for doing this? How can I get a 4-language upgraded Reader X?
    Sincerely yours.
    K. Adam.

    See the docs: http://www.adobe.com/devnet-docs/acrobatetk/index.html.
    The admin guide tells you what updates are cumulative (all 10.x quarterlies) and how to set the lang via the cmd line. However, check out the Wizard Guide and download the free Wizard to customize your install and .ini as needed. Much easier.
    hth,
    Ben

  • Why vi dll creates ini file on its own?

    Hello,
    I have built my LabVIEW project as shared library (dll). 
    My system looks like this: main exe file loads dll, and this dll loads VI dll.
    With LabVIEW 2011 it was ok, but when I switched to 2013 my VI dll started to write into main exe ini file.
    When dll is loaded those lines appears in main exe ini file:
    [LVRT]
    RTTarget.ApplicationPath=C:\Users\user\Documents\LabVIEW Data\Remote Development\startup.rtexe
    RTTarget.VIPath=C:\Users\user\Documents\LabVIEW Data\Remote Development
    Does someone know what causes this and how to turn it off?

    I got the same thing when I built an exe. I have a custom INI file, it has the following entries:
    [Oscilloscope 2013]
    server.app.propertiesEnabled=True
    server.tcp.serviceName="My Computer/VI Server"
    server.vi.propertiesEnabled=True
    WebServer.TcpAccess="c+*"
    WebServer.ViAccess="+*"
    DebugServerEnabled=False
    DebugServerWaitOnLaunch=True
    FPFont="Segoe UI" 15
    appFont="Segoe UI" 15
    dialogFont="Segoe UI" 15
    systemFont="Segoe UI" 15
    BDFont="Segoe UI" 15
    The only dll it calls is lvanlys.dll. After running the EXE the following are appending to the INI file
    RTTarget.ApplicationPath=C:\Users\XXX\Documents\LabVIEW Data\Remote Development\startup.rtexe
    RTTarget.VIPath=C:\Users\XXX\Documents\LabVIEW Data\Remote Development
    Regards,
    mcduff

  • When extract omni.ja file using winrar program give me that file is corrupted for version 17.0.2 windows and language is EN-US ?

    i need to update and set default bookmarks show always when install firefox
    when update omni.ja file i do this steps :
    Steps to change “Bookmarks.html” file in “omni.ja”:
    - Copy “omni.ja” file and change the prefix of the file to “zip” so that you can extract it using WinRAR program, then extract the file.
    - Make the changes you want to the extracted files.
    - Open the original “omni.ja” file using WinRAR program.
    - Using “Add” button to replace the modified files.
    the first step when extart the file it's give me that file is corrupted only for this version (firefox 17.0.2 windows EN-US)

    There is no need to edit files in the omni.ja! archives to achieve this.
    *http://mike.kaply.com/2013/05/06/dont-unpack-and-repack-omni-jar/
    *http://mike.kaply.com/2012/03/26/customizing-firefox-distribution-ini/
    If you need to initialize specific files in a new profile then create a template folder in the Firefox program folder (C:\Program Files\Mozilla Firefox\browser\defaults\profile\) and place the files in that folder.
    *http://mike.kaply.com/2013/04/24/major-changes-coming-in-firefox-21/
    *http://mike.kaply.com/2012/03/16/customizing-firefox-autoconfig-files/

  • Error 1003 when loading a VI dynamically on LabView Run-time ini file configuration

    hi all,
    I have a problem with my runtime excutable.
    On 4 systems, all running XP it runs fine.
    On 2 systems ( one a new install of just LVRT 2011 SP1 ) I have:
    Error 1003 when loading a VI dynamically on LabView Real-time
    Or more spoecifically the error code is 1003 and the error source is Open VI Reference.
    When the RT app runs correctly I get these paths:
    Path Sent to Open Vi Reference:              Yeast_Grower.exe\Tecan_talk_Control.vi, 
    Path Returned from Open Vi Refence:       C:\Program Files\Yeast_Grower\Yeast_Grower.exe\Tecan_talk_Control.vi, 
    On a system that does gets the 1003 Open Vi Refence error I have the same Path Sent but of course no path returned as it does not open.
    To be sure that the vi Dyanmically called vi is compiled and valid at runtime I also include a copy of in the main.vi.
    To be extra sure I have also installed the runtime versions of VISA and DAQmx.
    I have compiled it with and without the "Use LV 8 calling hiaracy"
    My conclusion as this stage is that either the installation of LVRT 2011SP1 misses something the earlier LVRT installtions make.
    or is there a MyApp.ini or LVRT .ini  that controls how the RT dyanim calls are handled.
    Help very welcome how to solve this puzzle.
    thanks
    michael

    I understand that all the PCs (6 of them) have LV 2011 SP1, runtime or the development system installed. Right?
    How many of these PCs have the source code available on them?
    -> Only one of them has the source code.
    I am not sure I understood 'I also include a copy of in the main.vi'. Does it mean you placed the subvi in the main.vi?
    -> I meant I have included in main.vi the actual vi that is called dynamically - but only where it is not called.
    Did you try including the sub vi which is called dynamically, as 'Always included' in the EXE build?
    -> No, I did not know of this option - but the above I did this by default.
    Edit: Did you verify the software versions of LV RT, VISA etc on all the PCs? Are they same?
    -> I did verify even added DAQmx just in case
    There is lots of material available on this forum for error 1003 and dynamic vi calling. Did you find anything useful to try among the forums threads?
    -> I did view many of them.
    I did finally find the answer.  
    I have a subvi (callNet.vi ) in the dynamically called vi (dynamic ) that calls .Net libraries.
    Now the thing is that this subvi callNet.vi is coded out by enclosing it in a Disable structure.
    In fact this subvi ( callNet.vi) does not even compile - ie it has a broken arrow
    however if enclosed in a Disabled structure and disabled, the enclosing vi compiles OK.
    However I have discovered that even with the .Net calling subvi (callNet.vi) in the Disabled state of the Disabled structure
    the enclosing vi (dynamic.vi ) does NOT run - although it compiles just fine.
    Once I installed the .Net libraries (I actually did include them with my app installer ) with the vender's supplied installer
    then my app now successfully calls the dynamic vi.
    So the Summary and warning is:  Even if the dynamic called vi is included in Main.vi and Main.exe runs ( but does not call the dynamic vi - except when called dynamically at later some point ) and even if, in this case, the .Net calling subvi is disabled out ie no .Net calls are made the dynamically called vi will not run when called dynamically.
    I hope that is not too confusing.  In summary it seems the Disable structure does not entirely disable.
    Michael

  • Error with ini files & Memory Error

    Hi All,
    I am attaching my VI which is used to save the control values, I am doing it with configuration file, but sometimes what happens my configuration file got erased completely,and my data got lost otherwise saving control values works perfectly fine,  how can I stop this so my configuration data is safe. or is there any other method to save the control values.
    2ndly, I have another error in a different vi which keeps coming (image is attached as "Memory Error"), I tried installing LV and XP again, changed the PC but problem persists.
    Could someone please try to throw some light on these issues.
    Thanks & Regards
    James
    Attachments:
    ini error.PNG ‏24 KB
    Save control values.vi ‏50 KB
    Error2.JPG ‏1 KB

    Your Error2 image is not viewable. Looks like a corrupt upload.
    Your fundamental problem lies in the first part of your code. If the INI file doesn't exist, then when you open it, a new one gets created. There is no SVALUE key, so you are trying to loop 0 times. Since the first for-loop does not execute, the INI file refnum does not get transferred through the tunnel, and subsequent INI file functions receive a null refnum. You need to either wire the refnum outside the loops or use shift registers for the refnum.
    As to your code: OK...
    You must really like whitespace, because that's the only reason I can see for having such a huge while loop that just sits there.
    You really need to learn to draw straight wires.
    You are jumping through unnecessary hoops. You are taking the control values, bundling them into a cluster, converting the cluster into an array, and then autoindexing the array while at the same time setting the "N" terminal of the for-loop. Whew!
    Skip the bundling. Just make an array directly!
    Do not wire both the "N" terminal of a for-loop and autoindex. Do one or the other. Since you have the array, just auto-index.
    The Index Array function is resizable. You do not need to place 2 of them to get the 2 values.
    Your string constants are in 2 places. You should have them in one place only. If you decide to change the names then you need to remember to change them in 2 places.

Maybe you are looking for

  • Interest Calculation on only future Open items

    Hi, We are adopting the interest calculation functionality, we do not want to calculate interest on past open items, i.e, if we go-live on 15.06.08 we do not want to calculate interest on open customer items before this date. We want to calculate int

  • Finder crashes when accessing hard drive

    Everything was working fine until I installed Font Doctor and started using it to examine my fonts. It would crashed when I hit this one folder. I tried it again and identified the exact font folder that was causing the problem (or so I thought). I r

  • Distributed sessions for multiple web-apps in a single App. Server (v.8.1)

    I have 3 applications on App. Server 8.1 (running on JDK 1.5) App-A handles login App-B and App-C are functions that are accessible after login is validated. It works fine with App. Server 6.5 (JDK 1.3) But the distributed session cannot be shared in

  • Problem with uninstalling apps!

    Help! I am having the most annoying issue with my phone. Last night I decided to delete a few apps I downloaded that I don't use anymore. Well I uninstalled them with no problem and they showed up in my app store as programs not installed. A while la

  • How to improve this query speed ?....help me

    How to improve the query speed. Any hints can u suggest in the query or any correction. Here i am using sample tables for checking purpose, When i am trying with my original values, this type of query taking longer time to run select ename,sal,comm f