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.

Similar Messages

  • Tecra M7: Can't create Recovery CD: Missing CDDVD.ini - Error loading INI file: RDC_info.ini

    I just recently purchased a Tecra M7, but the system does not come with recovery media, just a Recovery partition and a Recovery Disk creator.
    However, when I try to run the Recovery Disc Creator, it replies with "Error loading INI file: C:\Program Files\Sonic\RecordNow!\RDC_info.ini".
    I opened this file to try to determine the error, but the contents simply refer to a file named CDDVD.ini. I have looked all over the Hard Drive, even mounted the Recovery Partition, but could not find this file.
    Searching on Google, I found that this file regularly goes missing, and that without it, the recovery media cannot be created. One person reported Tech Support emailing him the file, another was emailed by another user.
    In both cases, the user was immediately able to make the disks. In any case, it seems to be a standard file, referring to "Add_info.ini" (Application and Drivers Disks) and "Rec_info.ini" (OS Recovery Disk), fairly consistent and unchanging through all systems that use this method to build disks.
    Please, could someone email me theirs or post it here so we can all see?
    If/when I receive this file, once I determine it works I will post it here.
    Daniel

    I have talked to Tech Support, and the Tecra M7 w/ XP Tablet Edition does not have Recovery Disks available yet. I was told to check back in a couple of weeks.

  • SharePoint Designer 2013 after installation getting error with runtime i.e. error writing to file Microsoft.SharePoint.Client.Runtime.Local.Resources.dll Verify that you have access to that directory

    SharePoint Designer 2013 after installation getting error with runtime i.e. error writing to file Microsoft.SharePoint.Client.Runtime.Local.Resources.dll Verify that you have access to that directory
    after retry..again SharePoint Designer requires the following component require to install Microsoft.NET framework version 4 i have downloaded and try to installed but fail not work please answer what to do?
    Thanks and Regards, Rangnath Mali

    Hi Rangnath,
    For running SharePoint Designer 2013, you need to install Microsoft .NET 4.0 Framework or higher.
    Please uninstall the Microsoft .NET 4.0 Framework, and install it again. After that, reboot your machine.
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • Ifconfig pcelx0 plumb fails with Bad file number error

    Hi,
    I installed solaris 8 (x86) on a Toshiba Tecra 8000.
    The Tecra uses Neomagic NM2200 chipset for it's display.
    Even though it is not supported by the Sun Drivers, getting xfree86 for sun fixed the display problem for me.
    Now according to the various sources that guided me in this task seemed to point at a few things that I had to do in order to make the Tecra work okay with Solaris 8 :
    1)Change the PCMCIA mode in the BIOS from automatic to PCIC mode
    2)Make sure that there were no IRQ conflicts on the system.
    3)Install the OS.
    Once the OS was installed, I ran prtconf -D and saw that the network instance #0 pcelx0 was showing up under pcic.
    I did not have to install the xig init-pcic patch.
    But it did not create an entry in /devices or /dev (as a link) with the error
    "pcelx0 requested IRQ failed 6".
    Also, I suppose that is the reason why when pcelx0 is plumbed, it comes out with the error message:
    ifconfig pcelx0 plumb : "bad file number"
    Any help will be greatly appreciated.
    Thanks,
    Dwai.

    Thanks Alex,
    I found out -
    ifconfig adapter plumb will fail with Bad File number error when the device file that is being referred to is missing.
    I checked and found that the pcelx link is not being made in the /dev directory and the file not created in /devices.
    I also found that when /reconfigure is run, it tries to create the device for pcelx but fails with this eror message:
    pcelx : RequestIRQ fail 6
    I am assuming that there is some IRQ conflict with some other device.
    Thanks,
    Dwai.

  • Error creating AIR file: 105:ERROR, application.installFolder

    I renamed my project and can not create release build.
    would be nice to what I did that broke it.
    here is the Error message during the Export Release Build:
    Error creating AIR file: 105: ERROR,
    application.installFolder
    also, when I close flex builder then try to reopen it, my
    default workspace is busy..
    oops.. I had messed with the default install folder and had
    dropped in a C:\Program Files\... which it should only be a sub as
    air defaults already to C:\Program Files\<filename> or on mac
    \Applications\<filename>.app
    <installFolder>subfolder/subsubfolder</installFolder>

    It's not uncommong while editing your app.xml file... that one can leave stray < or >. Check to make sure the file is valid and that any included references (like icons) aren't missing or in the wrong location.
    Rick Winscot

  • Out of memory error with 80Kb file?

    Hi, my pc has 2Gb of Ram, a page file that is setup correctly
    and the physical ram is almost non-used (500Mb)
    When I start DW and load a php file of 80Kb approx., it just
    hangs/locks up. When I wait for it, it gives me an "out of memory"
    error, and when you look in windows task manager, it just keeps
    hogging up ram.
    My laptop is a "simple", 1Gb Hp pavillion, and when I open
    the file there, it just works like it's supposed to, using about
    70Mb of ram, instead of the gigabyte(s) it does on my developer
    machine....
    Adjusting virtual memory has absolutely no effect.. It seems,
    after some reading, that people using 2gb of ram, have the most
    problems in this area?
    Adobe, please help here !
    EDIT: i just tested another file, 136Kb large, that loads
    normal!, so it has to do with the files in specific... If you want
    to test the files, just download "Simplemachines Forum" and load
    the "load.php" or the "post.php" files from the source directory,
    to trigger the lockup...

    mmm... just tried using a "workaround" if you still can call
    it that
    Installed a virtual machine (xp) with less than 2gigs, and it
    works... I really hope someone else has got these kind of errors
    yet.... 2500$ + software, wich I can't use for now... Using
    notepad2 for time being...

  • InDesign CC | Error with indd file - "Cannot open the file...Adobe InDesign may not support file format"

    I encountered a very strange error with InDesign CC after saving a file created in CS4. I'd attach the file but I'm not sure how to do this, if I'm able to. The file is 44kb and doesn't seem like it should be (file I saved had a large book cover). Now since the original CS4 file was overwritten using InDesign CC, the file is corrupt and I'm getting the error message displayed below. The file is not open within another application. Has anyone gotten this before?

    Thanks for your response Peter. Below is the gibber contained in the first four lines. In the first line, where it reads "mimetypeapplication" and then "indesign-idml-package", I would assume that this should've been a valid idml file.
    PK        *meEËv‰+   +       mimetypeapplication/vnd.adobe.indesign-idml-packagePK        *meE!t/k   {<     designmap.xmlÝ[ýrÚH ÿ;y •ê.µ[uk 6¶IÀ)À áb  þÈÞÖÖÖ 0e1£ IŽÙ¿ò wUw/—'¹îÑ× cc;gv«²FÝ==¿îéîé CýýíÌ5n¨ô™à ³¼U2 Êmá0>i˜ çÇ?훆  î WpÚ0çÔ7ß ¼®¿'Ì ÆÜ Z   s >9 g” ¦!)q¨¼L ï¢â1%A(é ³RÝ3 O '´á©\Ú*ý°WúÑ4P÷a¬Å lÜËœþ5€™ ÷Ö²¸¿E 1¢[¶˜YMüÔá‡Ôg n1gæZ`‚å ûšLÀ Ó8ìuS 8‹i ©; ¤ð! r~Ê|˜?¤ # ׌°\ÂÿöwŒ°62R)ú‚q( 0´i 솞’9•0f´k íîÏ ûRŒ úábk¸e\Ñ‘Ñ $ ŽñÃðª×ÿѸ©˜ÆकŠùð`tŽÚ»åÚîîO•2@ .sÚ ²Ã Šó]øT=ƒ³ 0ćÉÇ •-—r\›b±C:&¡ tfdB‹¥  ÌiÏ f_RŸÊ z4 QÇ¡NŒÓ‹¥Úb6bœ àÈÞ8 ÒäΐŒi{6¿FçØ¡ »O›¡' ¿aŽ‰ëSóàõ«ú)á“  ÅÎO ¿t #>q™?

  • Error with a File Sender interface

    Hi gentz,
    we have an error with an interface which we can't explain. We are using a File Sender Adapter with File Transfer Protocol.
    We are receiving the following eror:
    <i><b>Could not process file '0080953854-071201.csv': com.sap.aii.adapter.file.ftp.FTPEx: 550 SAPUIT: The system cannot find the file specified</b></i>
    It seems that we can see that there is a file present, but it also is saying that the file can not be found.
    We already tested the connection with a separate FTP program, and here we have no errors in retrieving the file.
    Has anybody got a clue what we are doing wrong???
    Thanks in advance!
    Peter

    Hi Peter,
    which Tool do you use as FTP-Client (WS_FTP)?
    Make sure taht you refresh the client (F5); WS_FTP does not automatically refresh.
    But I also suggest to copy and paste the filename agin from folder on server into your communication channel.
    Sometimes the filenames are different, but the eyes are to tired
    Greetz Mario

  • 404 errors with welcome file

    Here's a strange one.
    I've successfully deployed a test application
    with welcome-file-list directive as the only
    entry (besides required ?xml and DOCTYPE headers).
    When I attempt to access my page e.g., http://myMachine:port/testApp, the URL
    changes to read http://myMachine:port/testApp/welcome.htm as expected
    but I get 404 errors saying the page cannot be found.
    Web.xml successfully passes my XML parser so I don't think
    that is the problem.
    Any ideas?
    Thanks,
    TC Young

    Hi.
    What's the layout of your webapp directory structure? More to the point,
    your welcome.htm file should be in the root directory of your webapp. Can
    you confirm this is where you have it?
    Also, please post the relevant bits of your web.xml file here.
    Thanks,
    Michael
    TC Young wrote:
    My apologies.
    I'm running WL 6.1 on Solaris 2.6.
    The weblogic logs do not mention any 'Resource not found'
    exceptions.
    Thanks.
    "TC Young" <[email protected]> wrote:
    Here's a strange one.
    I've successfully deployed a test application
    with welcome-file-list directive as the only
    entry (besides required ?xml and DOCTYPE headers).
    When I attempt to access my page e.g., http://myMachine:port/testApp,
    the URL
    changes to read http://myMachine:port/testApp/welcome.htm as expected
    but I get 404 errors saying the page cannot be found.
    Web.xml successfully passes my XML parser so I don't think
    that is the problem.
    Any ideas?
    Thanks,
    TC Young
    Michael Young
    Developer Relations Engineer
    BEA Support

  • Backup failed with tar file write error (10054)

    Hi
    I have got the issue with the online backup.
    Database: Oracle 9.2.0.7
    SAP : 4.7
    Backup Server: Netbackp
    When ever i trigger the backup on few of my SAP Servers, it runs for a while and then at a point just get struck.
    Where for other systems it is running fine.
    Error:
    Incident:1
    http://80.00 18:52:28 INF - Waiting for mount of media id A00201 on server mk2sapp001-b.
    http://80.00 18:53:42 INF - Beginning backup on server mk2sapp001-b of client mk1sap01-b.
    http://80.00 18:55:10 FTL - tar file write error (10054)
    Incident:2
    http://80.00 12:05:50 BKR - G:\oracle\VWD\sapdata1\btabd_41\
    http://80.00 12:05:53 INF - Beginning backup on server mk2sapp001-b of client mk1sap01-b.
    http://80.00 12:08:13 FTL - tar file write error (10054)
    http://80.00 12:08:13 INF - Client completed sending data for backup
    After the step mentioned in bold it just get struck,
    There is no issue with the space at OS level
    I can see all process will still be running in task manager
    such as backint.exe, brbackup.exe, brconnect.exe
    But
    I don't find bpbkar32.exe Process, after the backup got struck.
    I have asked Network guys as well and they said every thing is fine from their side(such as Speed, Full Duplex)
    Its very important, please assist.
    Thanks in advance

    yes , i am using symantec netbackup,
    but every thing is fine from their side as well(settings).
    i have reinstalled the client as well.
    it runs for 1 hr and then it throws error.
    yesterday i scheduled two backup at two different time(at the interval of 1 hr) but they both failed (struck) at the exact same time(even seconds were same).
    So what do you say??

  • Buying a book in Iphoto 8 - error with IMG file

    HI, I've just created a book using Iphoto8, and when I click on buy album I'm told there is an "error with IMG 6653 and to delete the photo or to replace it with another". I have deleted the photo from the book, I have even thrown it in the trash bin, and emptied the trash bin, closed Iphoto, turned off my computer, logged back onto Iphoto replaced the page with new photos, reviewed the entire book to ensure I had no yellow triangle warnings of low quality (there are NONE) and when I click on buy I get the same exact error "problem with IMG 6653, delete or to replace.
    Can anyone please help with this problem?
    Thanks in advance!
    Heather

    Have you tried creating a new book and starting over? It may be a damaged database file that is messed up. Event though you rebuild the library and database it might still have some reference to that photo that it can't get rid of.
    If all else fails you can rebuild the library with iPhoto Library Manager. It uses the information in the AlbumData.xml file to create a new library, leaving your current one untouched. It will keep the albums, keywords, titles, comments but not book, slideshow, calendars, etc. It should remove any reference to that bad image file. Try the first suggestion and then we'll go from there.
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 08 libraries and Leopard. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • Need Help with "Not Enough Memory Error" when running executable (is my VI reworkable?)

    When I started making this VI, I had no clue about proper VI flow, sub-VI usuage, and much more I'm sure.
    The VI is a program that outputs a 0-5V digiatl signal to a relay board (to actuate an air cylinder) and monitors 4 input voltages (lets say from a pressure transducer) . The program would then shut down the corresponding output channel if a pressure threshold is not met.
    Surprissingly for my first LV program, The VI functions "fine" (the quotes are because I know my programming flow is a mess and probably not efficient) unitl I reach a given cycle count or time elasped, at which time my VI blows up and I receive an error for "not enough memory to complete operatoin".
    I am wondering if there is a simple DAQmx (or something else) command misplaced or missing that would solve this issue. When I started making this VI I had a poor top down design layout, or lack of one. I would like to believe I have learned a lot from making this program with no LV training and if I were to do it again I would utilize state machines and sub VI's more. However, with time not on my side and LV not a priority in my job I would like to know if this VI is reworkable..?
    I should also mention that this program is being run as an executable on a laptop without the full LV development software. I dont know if the executable creation process could have left to this problem either...
    Attached is LV version 10 and 11
    Thanks for the help
    Attachments:
    LCT_DAQmx v11.0.vi ‏173 KB
    LCT_DAQmx.vi ‏135 KB

    There are some things you can probabaly do fairly easily.  Four of the inner while loops appear to be very similar.  You could probably make a subVI from one of them and reuse the code.  Some of the shift registers are initialized and some are not.  I suspect that this is an error, although I did not look closely enough to determine which way is intended.  Read up on reentrancy.  You may need that for the subVI.
    The outer loop, if it is needed at all should be stopped by a front panel boolean, not by the Abort button.  Someone on the Forums has suggested that using the Abort button to stop a VI is like using a tree to stop a car - it works but may have undesirable consequences!
    Re-initializing the DAQ tasks and clearing them on each iteration is not very effficient, is slow, and may lead to problems.
    The inner inner while loops (inside On Cycle and Off Cycle) are very similar, differing mostly in the data written. Perhaps you only need Idle and Run (with Data as a parameter).  The inner inner loops might be combined with the outer loops with some change in the way the timing is handled.
    You Dequeue in two places in each loop.  There is no data dependency bewteen the two Dequeue functions, meaning that you cannot be sure which will execute first.  Also, none of the Dequeues has a timeout set. They will wait forever if no data is available.  Queues should not usually be read in more than one location to avoid loss of data or confusion about which data came first.
    Lynn

  • Power Mac G4 MDD problems with Hardware test Memory errors

    I have been troubleshooting slowness and unexplained lockups on my Power Mac G4 MDD. I've had the system since 2002. I tried to run hardware test (the disk that came with my system), and I get an error message at startup:
    Invalid Memory Access at %SRRO: 00034870
    %SRR1: 00003030
    I run mac-boot, and get another memory error
    Invalid Memory Access at:
    %SRRO: 056106dc
    %SRR1: 00003030
    Does this mean my memory has gone bad? I don't get any other screens for testing hardware.
    The lockups are varied, but many seem to deal with Safari. I have also repaired disk permissions and repaired disk. I then get security error messages when I restart, and I choose to fix them, and things are fine for a while, but then it slows down some and starts locking up again.
    Thanks for any suggestions,
    Marbot61

    Hi Marbot61,
    You might be interested in the thread "error when booting from AHT CD" on this forum. Since four different users have had the same error message in two days, perhaps ram chips are actually ok, and there is something else going on with the AHT CD boot process.

  • Error code text file or Error ring, pros and cons of each

    I'm looking for some community input on the pros and cons of using either the Error Code Text file, or the Error Ring for creating custom errors in an application.  My question comes about as a result of this post.
    I've used the Error Rings exclusively in the past to avoid the extra maintenance steps of bringing the text file along with the LV project and source control.  I assumed the error information was simply converted to ring constant.  But with my linked post above, I'm wondering how deep my mistakes may cut me.
    Please weight in on this with pros/cons, , and any past experiences that may be helpful.

    Actually Hooovahh and Jeff are right. As you can see in that way you can prioritize the error that you need to read or in other case ignore. In the same time you can create the error that you want.
    In this link in the last interaction they upload some pictures where you can see the way for make.
    http://forums.ni.com/t5/LabVIEW/Error-Ring-changing-code-number/td-p/3152761/page/2

  • Manipulati​on with *.ini file

    Hi, 
    what would be the easiest way to read or create new ini file. I have an ini file that is not standard type, so i can't use vi's that are already written. 
    example of an *.ini file in the attachment.
    Thanks, Božidar
    Attachments:
    Poligon DMS.ini ‏3 KB

    For example you could read the file, skipping the first line, into a string.
    Use string to array function to have a 2D array with keys in the first column and values in the second column:
    Regards,
    Marco

Maybe you are looking for

  • How to configure multiple instances in CF9

    I'm having a few issues with a couple of our staging servers that are running multiple instances of CF9, and I'm not sure if they're set up correctly. I have CF9 Enterprise multiserver installed and I created 4 additional instances using the Instance

  • How to unistall maverick.

    Hi, after I've installed Maverick on my iMac 27 -late 2012, I have expirienced some problems and I've decided to take a step back to Mountain Lion but, even if the Apple support confirmed that I could re-install the previos OS via the CMD-ALT-R proce

  • How to transport modified query from Dev to QA??

    Hi All, I have made a few changes to a query that has already been transported to QA from Dev. I have removed an Infoobject and introduced a new Infoobject and other such changes. Now I would like to transport the "new version" of the same query from

  • Deleting pages from Safari

    I just bought my iPod Touch and I need to know how to delete pages from the window of Safari. It show like "8" pages with a Red X at the top, but one page is Untitled and Blank, one is Football Error Form and another junk page that was created by me

  • Which "a4j:components" are updated (partially)

    hello How can I know which "a4j:components" are updated (partially) or not updated in java-bean? regards