How to modify the files in NTFS disk?
Hello everyone,
Recently, I find that I can't modify the NTFS or paste a file in it, just because I have not installed the HAL. But as you know hal is removed from pacman repo, so how can I modify the NTFS disk without HAL?
Waiting for your answer!
Could you explain how you are mounting the drive? You may have mounted it as read only.
If you've done it by modifying /etc/fstab, check the options under wiki.archlinux.org/index.php/Fstab.
If you're using mount (linux.die.net/man/8/mount) make sure you didn't use the -r or -o ro options.
Similar Messages
-
I used a partitioned HDD for time machine, using a partition already containing other data files. I am now no longer able to view that partition in Finder. Disk Utility shows it in grey and "not mounted". Any suggestions of how to access the files? Does using time machine mean that that partition is no longer able to be used as it used to be?
HDD is a Toshiba 1TB, partitioned into two 500GB partitions.
OS X version 10.9.2Yes, sharing a TM disk is a bad idea, and disks are cheap enough so that you don't need to.
Now
Have you tried to repair the disk yet -
How to modify the field lengh of file upload
Hi All,
I am facing a problem with u201Cuploadu201D filed length in BSP application.
When we upload the file in BSP page, the path displayed should be the full path (i.e. from where the file is being upload the file)
Now this field is appearing 20 char length
Now I want to increase the length of the upload field (Input field) to be 100 char so that the path is visible.
In the current application the file upload is being done through a structure (attributes)
In this structure the fields are like this
PAGE_NAME
ID
FOR
TAGS
ROW_INDEX
COLUMN_INDEX
OTR_NAME
REQUIRED_NAME
MAXLENGTH
SIZE
TABLE_NAME
ON_SELECT
VALUE
DISABLED
ONCLICK
TEXT
TYPE
Using this method:
CALL METHOD cl_htmlb_fileupload=>factory
EXPORTING
Id = ls_form_save-id
RECEIVING
Element = lv_fileup.
bee_table->add ( level = 2 element = lv_fileup ).
This cl_htmlb_fileupload is named as class interface.
Which has the CLG_HTMLB_FILEUPLOAD (it is a class) it is defined in attributes.
In this class it has the attribute u201CSIZEu201D by default string 20.
Now I need to change this attribute length from 20 to 100
For this I copied the standard class CL_HTMLB_FILEUPLOAD into ZCL_HTMLB_FILEUPLOAD.
This ZCL_HTMLB_FILEUPLOAD contains all attributes of the standard class CL_HTMLB_FILEUPLOAD
Including the one class (CLG_HTMLB_FILEUPLOAD), this is defined as an attribute (ABOVE MENTIONED?)
This class is appearing in non editable mode, so I have copied this class into zclass (ZCLG_HTMLB_FILEUPLOAD).but still I am not able to edit the attribute called u201Csizeu201D
And also I am not bale to add the zclass in place of the ZCLG_HTMLB_FILEUPLOAD
Kindly tell me how to modify the length of the field u201Csize u201Cand also how to add the zclass in the attributes of one class (syntax)
Thanks in advance
Rambabu.AHi,
Class CLG_HTMLB_FILEUPLOAD is a class automatically generated when a BSP Element is created. You should not change/create such a class, unless by creating your own BSP Element.
As per your requirement, you can use the SIZE parameter of method factory:
ls_form_save-size = '100'.
CALL METHOD cl_htmlb_fileupload=>factory
EXPORTING
Id = ls_form_save-id
Size = ls_form_save-size
RECEIVING
Element = lv_fileup.
Regards,
Tanguy -
How to modify the timestamp in a msg file?
Hi All,
Do you know how to modify the timestamp in a msg file which was saved from Outlook Inbox. The mail subject and body are able to be modified by selecting
Actions - Edit Message. But it looks like the mail timestamp and the To/Cc are not able to be modified.
Thanks,
高麻雀You can convert your MSG file(s) to EML format, edit Date: header in EML file with any plain text editor (like Notepad) and then convert it back to MSG.
You can use free
Convert Outlook MSG to EML Files and
Convert EML Files to Outlook MSG utilities to perform the conversion.
Alexey Kuznetsov,
Relief Software
More than 100 free add-ins for Outlook -
How to modified the current file?
Hi, excuse for my english, I'm developing a plug-in with SDK 9,
How can I do for modified the file opened with Acrobat Reader ?
thanksHi Leonard,
thanks for yuor help, I find in the documentation of Adobe SDK how to create an annotation:
PDPage page = NULL;
PDAnnot annot,textannot;
char* ptr = "This is initial text";
//Create an ASFixed object and define its borders
ASFixedRect fr;
fr.left = ASInt32ToFixed(36);
fr.top = ASInt32ToFixed(792-36);
fr.right = ASInt32ToFixed(136);
fr.bottom = ASInt32ToFixed(792-136);
//Create a PDPage object
page = PDDocAcquirePage(myPDDoc, 0);
//Create a PDAnnot object
annot = PDPageCreateAnnot (page, ASAtomFromString("Text"),&fr);
//Cast the PDAnnot object to a PDTextAnnot object
textannot = CastToPDTextAnnot(annot);
//Open the annotation, set the text, and add it to a page
PDTextAnnotSetOpen (textannot, true);
PDTextAnnotSetContents (textannot, ptr, strlen (ptr));
PDPageAddAnnot(page,-2, textannot);
but when i built my project I'm stucky for this error:
error C2065: 'PDPageCreateAnnotSELPROTO' : undeclared identifier
error C2065: 'PDPageAddAnnotSELPROTO' : undeclared identifier
error C2065: 'PDPageCreateAnnotSELPROTO' : undeclared identifier
error C2065: 'PDTextAnnotSetContentsSELPROTO' : undeclared identifier
error C2065: 'PDTextAnnotSetOpenSELPROTO' : undeclared identifier
What is I wronging ?
Excuse me for my english
Thanks in advance. -
I am trying to download the free Adobe Reader and I get the message Error1321:The Installer has insufficient privileges to modify the file C:\Program Files (x86)\Adobe\Reader11.0\Readerwow_helper.exe. I do not know how to fix this.
Hi Koncar,
Kindly try the steps mentioned below.
1) Download the Adobe Reader.msi from ftp://ftp.adobe.com/pub/adobe/reader/win/11.x/11.0.00/en_US/
2) Run the .MSI for Reader and when you get the error click on Retry and installation would go trough.
Thanks,
Vikrantt Singh -
How to upload the file in the virtual disk?
I have created a virtual drive called Z.But I don't upload file(image).
I could not find how to write the file path.
<cfif len(attributes.background_file)>
<cfset upload_folder =( ".....")">
<cffile action = "upload"
fileField = "background_file"
destination = "#upload_folder#"
nameConflict = "MakeUnique"
mode="777">
<cfset file_name = "#createUUID()#.#cffile.serverfileext#">
<cffile action="rename" source="#upload_folder##cffile.serverfile#" destination="#upload_folder##file_name#">
<cfif isdefined("attributes.old_background")>
<cf_del_server_file output_file="settings/#attributes.old_background#" output_server="#attributes.old_background_server_id#">
</cfif>
</cfif>I adduce that my computer disk screen. if I want to upload file to virtual file system Must I create a RAM disk-based file.Because all codes include ram://?
http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSe9cbe5cf462523a0-70e2363b121825b20 e7-8000.html
I aduce my computer disk screen. My virtual disk name is Z.Dou you have any idea abaut this subject.
I apologize to anyone. -
How to modify the content of a file
Hello All,
If anyone of you can help me in modifying the file conent.
let's say for example, to modify the properties file.
I've my.properties file with keys and values as follows.
show=false
secure=false
test=false
I would like to change the "false" value to "true" of any of the keys.
java /jsp code would be helpful.
appreciate your help in advance.OK..
Break the problem down.
You need to:
1- Read the file into a String/String[]
2- Parse the file into its individual elements
3- change some of those elements
This involves searching the string for the index of where a particular word or combination occurs, and then finding out the value that follows it, and then changing that value...
4- re-construct the file
5- write the fileDoes the format of the file have to be the way you've presented it above? (Personally, I'd use a pseudo-XML tag style)
<productdisplay>true</productdisplay>
<stockdisplay>false</stockdisplay>
<addtobasket>true</addtobasket>~Dave -
how to transfer file from ipod touch to i tunes. i have files in my ipod , ut itunes is new so its telling if u sync the ipod all the files will be replaced but no files in the itunes.. so kindly help me how to transfer the files from i pod to itunes......
Some of the information below has subsequently appeared in a document by turingtest2: Recovering your iTunes library from your iPod or iOS device - https://discussions.apple.com/docs/DOC-3991
Your i-device was not designed for unique storage of your media. It is not a backup device and media transfer was designed for you maintaining a master copy of your media on a computer which is itself properly backed up against loss. Syncing is one way, computer to device, updating the device content to the content on the computer, not updating or restoring content on a computer. The exception is iTunes Store purchased content.
iTunes Store: Transferring purchases from your iOS device or iPod to a computer - http://support.apple.com/kb/HT1848 - only media purchased from iTunes Store
For transferring other items from an i-device to a computer you will have to use third party commercial software. Examples (check the web for others; this is not an exhaustive listing, nor do I have any idea if they are any good):
- Senuti - http://www.fadingred.com/senuti/
- Phoneview - http://www.ecamm.com/mac/phoneview/
- MusicRescue - http://www.kennettnet.co.uk/products/musicrescue/
- Sharepod (free) - http://download.cnet.com/SharePod/3000-2141_4-10794489.html?tag=mncol;2 - Windows
- Snowfox/iMedia - http://www.mac-videoconverter.com/imedia-transfer-mac.html - Mac & PC
- iexplorer (free) - http://www.macroplant.com/iexplorer/ - Mac&PC
- Yamipod (free) - http://www.yamipod.com/main/modules/downloads/ - PC, Linux, Mac [Still updated for use on newer devices? No edits to site since 2010.]
- 2010 Post by Zevoneer: iPod media recovery options - https://discussions.apple.com/message/11624224 - this is an older post and many of the links are also for old posts, so bear this in mind when reading them.
Syncing to a "New" Computer or replacing a "crashed" Hard Drive - https://discussions.apple.com/docs/DOC-3141 - dates from 2008 and some outdated information now.
Copying Content from your iPod to your Computer - The Definitive Guide - http://www.ilounge.com/index.php/articles/comments/copying-music-from-ipod-to-co mputer/ - Information about use in disk mode pertains only to older model iPods.
Get Your Music Off of Your iPod - http://howto.wired.com/wiki/Get_Your_Music_Off_of_Your_iPod - I am not sure but this may only work with some models and not newer Touch, iPhone, or iPad.
Additional information here https://discussions.apple.com/message/18324797 -
How to get the file size (in bytes) for all files in a directory?
How to get the file size (in bytes) for all files in a directory?
The following code does not work. isFile() does NOT recognize files as files but only as directories. Why?
Furthermore the size is not retrieved correctly.
How do I have to code it otherwise? Is there a way of not converting f-to-string-to-File again but iterate over all file objects instead?
Thank you
Peter
java.io.File f = new java.io.File("D:/todo/");
files = f.list();
for (int i = 0; i < files.length; i++) {
System.out.println("fn=" + files);
if (new File(files[i]).isFile())
System.out.println("file[" + i + "]=" + files[i] + " size=" + (new File(files[i])).length() ); }pstein wrote:
...The following code does not work. Work?! It does not even compile! Please consider posting code in the form of an SSCCE in future.
Here is an SSCCE.
import java.io.File;
class ListFiles {
public static void main(String[] args) {
java.io.File f = new java.io.File("/media/disk");
// provides only the file names, not the path/name!
//String[] files = f.list();
File[] files = f.listFiles();
for (int i = 0; i < files.length; i++) {
System.out.println("fn=" + files);
if (files[i].isFile()) {
System.out.println(
"file[" +
i +
"]=" +
files[i] +
" size=" +
(files[i]).length() );
}Edit 1:
Also, in future, when posting code, code snippets, HTML/XML or input/output, please use the code tags to retain the indentation and formatting. To do that, select the code and click the CODE button seen on the Plain Text tab of the message posting form. It took me longer to clean up that code and turn it into an SSCCE, than it took to +solve the problem.+
Edited by: AndrewThompson64 on Jul 21, 2009 8:47 AM -
How to modify the search results of the GUI for subscribing to calendars
How to modify the search results of the GUI for subscribing to calendars
Note:
<OL>
<LI>The following information applies only to iPlanet Calendar Server 5.0
Patch 3.
<LI>All of the cases for which the XSLT changes will work have not been
verified.
<LI>The following is only an example of an XSLT customization.
</OL>
The example below shows a sample customization of the
search_for_calendars
dialog. This customization will result in the Display Name being included as
part of the search results in the GUI, which would normally show just the
calendar ID. It will render the returned calendars in the following format:
<P>
Display Name - <I>description</I>
<P>
Normally, the format would be as follows:
<P>
Calendar-ID - <I>description</I>
<P>
</A>
The example consists of the following two files:
<P>
<OL>
<LI>search_for_calendars_common.xsl
(the entire XSLT file)
<P>
<LI>diffctx.txt
(the context sensitive diff patch file,
which basically shows only the changes that need to be made)
</OL>
<P>
<HR>
</A><B>
search_for_calendars_common.xsl</B>
<?xml version="1.0" ?>
<!DOCTYPE xsl:stylesheet (View Source for full doctype...)>
- <!--
set the output properties
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/XSL/Transform/1.0"
result-ns="http://www.w3.org/TR/REC-html40">
-->
- <xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0">
- <!-- set the output properties
-->
<xsl:output method="html" encoding="ISO-8859-1" />
<xsl:include href="data/common.xsl" />
<xsl:include href="data/i18n.xsl" />
<xsl:include href="data/date_format.xsl" />
<xsl:include href="data/dialog_tabs.xsl" />
- <xsl:template match="/">
<xsl:apply-templates select="calendar" />
</xsl:template>
- <xsl:template match="calendar">
- <xsl:choose>
- <xsl:when test="@top='true'">
- <xsl:variable name="Frame1">
<xsl:value-of select="frame[1]" />
</xsl:variable>
- <xsl:variable name="Frame2">
<xsl:value-of select="frame[2]" />
</xsl:variable>
- <xsl:variable name="Frame3">
<xsl:value-of select="frame[3]" />
</xsl:variable>
- <xsl:variable name="tab_value">
<xsl:value-of select="@tab" />
</xsl:variable>
- <HTML>
- <HEAD>
<xsl:call-template name="contextJavascript" />
<TITLE>Calendars Search: Calendar Express - iPlanet</TITLE>
</HEAD>
- <FRAMESET border="0" frameborder="0" rows="77,*,71">
<FRAME name="tab" marginheight="0" marginwidth="0" scrolling="no"
scrollbars="no" src="{$Frame1}" />
<FRAME name="main" frameborder="0" src="{$Frame2}" />
<FRAME name="button" marginheight="0" marginwidth="0" scrolling="no"
scrollbars="no" frameborder="0" src="{$Frame3}" />
</FRAMESET>
</HTML>
</xsl:when>
- <xsl:when test="@view='searchProperties'">
- <xsl:for-each select="group">
- <xsl:if test="@name='searchProperties'">
<xsl:call-template name="search_toolbar" />
</xsl:if>
</xsl:for-each>
</xsl:when>
- <xsl:when test="@view='main'">
- <xsl:for-each select="group">
- <xsl:if test="@name='main'">
<xsl:call-template name="main" />
</xsl:if>
</xsl:for-each>
</xsl:when>
- <xsl:when test="@view='button'">
- <xsl:for-each select="group">
- <xsl:if test="@name='button'">
<xsl:call-template name="button_root" />
</xsl:if>
</xsl:for-each>
</xsl:when>
- <xsl:otherwise>
- <html>
What's this view? (search_for_cals.xsl) -
<xsl:value-of select="@view" />
</html>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
- <xsl:template name="search_toolbar">
- <HTML>
<xsl:call-template name="emit_frame_head_tag" />
- <BODY bgcolor="{$bgcolor_background}" background="imx/tdbg.gif"
marginwidth="0" marginheight="0" onload="window.focus()">
- <FORM>
- <xsl:attribute name="action">
<xsl:value-of select="./formdata@action" />
</xsl:attribute>
<xsl:attribute name="name">form</xsl:attribute>
<xsl:attribute name="onSubmit">document.forms[0]['find'].click(); return false;
</xsl:attribute>
<xsl:apply-templates select="formdata" />
- <CENTER>
- <TABLE border="0" cellpadding="2" cellspacing="0" width="100%" height="100%">
- <TR>
- <TD align="center">
- <TABLE border="0" cellpadding="3" cellspacing="1">
- <TR>
- <TD colspan="4">
<FONT size="{$font_size_big_2}" face="{$font_name}">Find all calendars where
the calendar</FONT>
</TD>
</TR>
- <TR>
- <TD valign="baseline">
- <FONT size="{$font_size_big_2}" face="{$font_name}">
- <SELECT name="which">
<OPTION value="name;calid">name or ID</OPTION>
<OPTION value="name">name</OPTION>
<OPTION value="primaryOwner">primary owner</OPTION>
<OPTION value="calid">ID</OPTION>
</SELECT>
</FONT>
</TD>
- <TD valign="baseline">
- <FONT size="{$font_size_big_2}" face="{$font_name}">
- <SELECT name="how">
<OPTION value="0">contains</OPTION>
<OPTION value="1">begins with</OPTION>
</SELECT>
</FONT>
</TD>
- <TD valign="baseline">
<INPUT type="text" name="what" />
</TD>
- <TD valign="baseline">
- <FONT size="{$font_size_big_2}" face="{$font_name}">
- <INPUT type="button" name="find" value="Find">
- <xsl:attribute name="onClick">
<xsl:value-of select="./button[@name='find']" />
</xsl:attribute>
</INPUT>
</FONT>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</CENTER>
</FORM>
</BODY>
</HTML>
</xsl:template>
- <xsl:template name="main">
- <HTML>
<xsl:call-template name="emit_frame_head_tag" />
- <BODY bgcolor="{$bgcolor_background}" background="imx/tdbg.gif"
marginwidth="0" marginheight="0">
- <FORM name="form" method="post">
- <xsl:attribute name="action">
<xsl:value-of select="./formdata@action" />
</xsl:attribute>
<xsl:attribute name="name">form</xsl:attribute>
<xsl:apply-templates select="formdata" />
<INPUT type="hidden" name="how" value="0" />
<INPUT type="hidden" name="which" value="name;calid" />
<INPUT type="hidden" name="what" value=" />
<INPUT type="hidden" name="selectedGroup" />
- <xsl:if test="(./calsearchresults/nomatch)">
- <!-- print no match found
-->
&nbsp;
&nbsp;
No Match Found
</xsl:if>
- <xsl:for-each select="./calsearchresults/searchresultcal">
- <P>
&nbsp;
&nbsp;
- <FONT size="{$font_size_big_2}" face="{$font_name}">
- <FONT size="{$font_size_big}" face="{$font_name}">
Owner:
<xsl:value-of select="@owner" />
<FONT size="{$font_size_big}" face="{$font_name}" color="{$bgcolor_wend_mid}">|
</FONT>
Calendar ID:
<xsl:value-of select="@id" />
<BR />
</FONT>
- <FONT size="{$font_size_big_2}" face="{$font_name}">
- <xsl:choose>
- <xsl:when test="@subscribed='false'">
&nbsp;
&nbsp;
- <INPUT type="checkbox" name="calendar">
- <xsl:attribute name="value">
<xsl:value-of select="@name" />
</xsl:attribute>
</INPUT>
&nbsp;
&nbsp;
- <A target="_blank">
- <xsl:attribute name="href">
<xsl:value-of select="@viewCommand" />
</xsl:attribute>
<xsl:value-of select="@name" />
</A>
</xsl:when>
- <xsl:otherwise>
&nbsp;
&nbsp;
- <A target="_blank">
- <xsl:attribute name="href">
<xsl:value-of select="@viewCommand" />
</xsl:attribute>
<xsl:value-of select="@name" />
</A>
&nbsp;
(Subscribed)
</xsl:otherwise>
</xsl:choose>
- <xsl:if test="string-length(@description) > 0">
&nbsp;
&nbsp;
- <FONT size="{$font_size_big}" face="{$font_name}">
<xsl:value-of select="@description" />
</FONT>
</xsl:if>
</FONT>
</FONT>
</P>
</xsl:for-each>
</FORM>
</BODY>
</HTML>
</xsl:template>
</xsl:stylesheet>
<P>
<A HREF="#back">Back</A>
<P>
<HR>
</A>
<B>diffctx.txt</B>
Index: search_for_calendars_common.xsl
===================================================================
RCS file: /m/src/ns/server/msg/calendar/core/html/search_for_calendars_common.xsl,v
retrieving revision 1.1.2.14
diff -c -r1.1.2.14 search_for_calendars_common.xsl
*** search_for_calendars_common.xsl 2000/12/12 23:10:43 1.1.2.14
--- search_for_calendars_common.xsl 2001/03/15 23:55:19
*** 182,188 ****
&nbsp; &nbsp;
<INPUT type="checkbox" name="calendar">
<xsl:attribute name="value">
! <xsl:value-of select="@id"/>
</xsl:attribute>
</INPUT>
&nbsp; &nbsp;
--- 182,188 ----
&nbsp; &nbsp;
<INPUT type="checkbox" name="calendar">
<xsl:attribute name="value">
! <xsl:value-of select="@name"/>
</xsl:attribute>
</INPUT>
&nbsp; &nbsp;
*** 190,196 ****
<xsl:attribute name="href">
<xsl:value-of select="@viewCommand"/>
</xsl:attribute>
! <xsl:value-of select="@id"/>
</A>
</xsl:when>
<xsl:otherwise>
--- 190,196 ----
<xsl:attribute name="href">
<xsl:value-of select="@viewCommand"/>
</xsl:attribute>
! <xsl:value-of select="@name"/>
</A>
</xsl:when>
<xsl:otherwise>
*** 199,205 ****
<xsl:attribute name="href">
<xsl:value-of select="@viewCommand"/>
</xsl:attribute>
! <xsl:value-of select="@id"/>
</A>
&nbsp;(Subscribed)
</xsl:otherwise>
--- 199,205 ----
<xsl:attribute name="href">
<xsl:value-of select="@viewCommand"/>
</xsl:attribute>
! <xsl:value-of select="@name"/>
</A>
&nbsp;(Subscribed)
</xsl:otherwise>
<P>
<A HREF="#back">Back</A>Maybe on the Google API s page?
-
How can I get file from local disk?
hi, in my project, I store the files in server local disk, and store file name in Database. How can I get the file according to the file name in database? which means the file names in database are mapped to the file in local disk. How Can my application get the file according to the file name in DB?
PS: file name are show on one web page as link, when user click the link, user can either open the file immediately or download to local PC.Hi Ashutosh
You will have to use sapcar.zip which contains the utility Sapcar.exe utility for unzipping the files from SAP compressed files. (*.car file)
Regards
Gaurav
PS: Reward points if solved -
How to modify the blob size, or how to set the size?
i want to know how to modify the blob size, or how to set the size?
what's the default size of blob?
Thanks in advance.Blob datatype can contain binary data with a maximum size of 4 GB.
when you enter 10kb file, the database will only use 10kb to store the file (depending on block size etc)
if you want to modify the blob size, you may do like this:
SQL> create materialized view t_mv refresh fast on commit
2 as select id, dbms_lob.getlength(x) len from t;
Materialized view created.
SQL> alter table t_mv add constraint t_mv_chk check (len < 100);
Table altered. -
Unable to update software or upload pics from SD card-how do I remove files from startup disk? Please help!
Hello Smile_333
The article below will assist with finding things and help increase the hard drive space for your computer. The best way is to have an external hard drive to copy things to if you do not want to delete and loose things.
OS X Mountain Lion: Increase disk space
http://support.apple.com/kb/PH10677
Thanks for using Apple Support Communities.
Regards,
-Norm G. -
LabVIEW could not write the file back to disk (-2570)
Hello,
i use this MDF data storage plugin to write MDF files: mdf plugin
I created a project with some VI's like MDFOpen.vi, MDFClose.vi, MDFWriteDouble.vi, etc ...
I also created a Test VI which generates data at a specific rate (want to see performance) and write it to a MDF file. It works ....
Now I want to use this in C#. I compiled a LabView .Net DLL out of my MDF VI's and referenced it in Visual Studio. I can open a MDF File from C# and close it. But as soon as I write a double (actual content) into the MDF File I get an exception when I call MDFClose.vi from DLL. Obviously "Close Data Storage <APPEND>" from inside my MDFClose.vi returns error -2570: LabVIEW could not write the file back to disk. I have no idea why.
regards
ThomasSo I guess it's time to update this post for anyone who also have problems with MDF or Storage/DataPlugin VIs in general.
My task was to create a MDF Logger, so I needed to write MDF files. MDF4Lib from Vector mentioned in an above post can only read MDF files. ETAS is also selling an MDF Lib but there are reasons I don't want that. So why not use MDF Storage/DataPlugin from NI? I can tell you.
My MDF Logger is now finished and can create MDF files with groups and channels, just like TDMS, but ... when I write data in a loop and then finish by closing the MDF File/Reference it may happen that:
i get error LabVIEW could not write the file back to disk (-2570)
application crashes
both 1 and 2
If it does not crash or throw an error it succeeds finishing my MDF file correctly but next time I repeat this (without restarting application) I notice writing data takes longer than in first run and my memory is increasing. The more I repeat the longer it takes to write data to MDF and the more memory is increasing until it finally crashes. It also depends on how much data in how many groups/channels are written.
NI Support already got this and confirmed that with desktop execution tracekit you will see that with each call to a Storage/DataPlugin VI references are leaking. Those leaks are assumed to be the root cause of all that trouble. There is not bugfix but apparently one or more CAR's about this. So I guess this is not MDF specific but generally with Storage/DataPlugin.
My current only workaround is to close the app each time after I am done writing one MDF file. My future fix will be to implement MDF on my own.
Maybe you are looking for
-
Help needed on restoring Iphone..post IOS update..getting an error -1
Help needed on restoring Iphone..post IOS update..getting an error -1
-
This is the second time in a week this has happened. The last time I got them back by right clicking on a blank spot in the toolbar. That will not work this time. I there anything else I can do to make it work right. It is working fine on Explorer 8,
-
PI 7.1: RFC Lookup Graphically in BPM
Hi, I want to do a RFC lookup to XI abap stack in my graphical mapping. The problem is my mapping is defined in a transformation step inside my BPM, and I'm not able to link my RFC CC to the Import parameter. Has anyone experience with this sort of f
-
How do I save as "xps" in AI CS3?
I currently have AI CS3. Im running a program that requires that I save my images as .xps. Where can I find a download for this that will work with AI CS3. Thanks!!
-
Hi, Can someone tell me in which jar file would I find the "com.evermind.server.http" package? I need to set that jar as a library in order to compile my code. Thanks and Regards, Chaitanya