Save the ascii with configuration file

I have a text (original file) file (separator = vbtab) with the following structure:

First line contains the names of channel and other lines are given

Name1 Name2 Name3...

DFR 45.4 17/05/2009...

fgh 34.1 13/04/2008...

.          .                    .

.          .                    .

.          .                    .

(1) for the loading of data, I use *.stp Filter and I create my strings containing data:

Group1/Name1;

Group1/Name2;

Group1/Name3;...

(2) I have change some values in my channel.

(3) I need to export my strings in a text file with the same structure of my original text file.

I usually use: writeline OpenTextFile method...

It is possible to save the data of my strings in a text file with the structure of my original file and use a filter (even .stp) or other methods and do not write each line in a text file?

Thank you

Yustas

Perhaps these lines help

Option Explicit
protected csvFilename: csvFileName = "D:\temp\EXAMPLE.csv".
DataFileSave "" & replace (replace (csvFileName, "&", "&"),"<", "<")="" &="">"& _)
"tab DD/MM/YYYY HH: mm:" & _
'Yes1', 'CSV '.

Greetings

Andreas

Tags: NI Software

Similar Questions

  • How to save the string in a file with some special characters

    Hello

    I m using MD5 - llb to create a password.

    So, I want to save this MD5-string to a file and read it later abd compared again.

    Works perfectly with a proplem:

    Some Word create a '\r' in the string of MD5 and when I save this string in a file and read it at the time its read as a '\n' for the comparison does not work.

    My question is: How can I record a string exactly as if it were somewhere and read back (also the invisible characters)

    For example, the word: heinz

    is in MD5: \r\FB^\07\A6\07T\C7\D9\C2\94\AB\C9\1DS\95 (string as display codes indicator)

    When I save the string in a file, then I rerad back: \n\FB^\07\A6\07T\C7\D9\C2\94\AB\C9\1DS\95

    I used the "write text file" and "read text file".

    What should I use to record and play back the same thing?

    THX

    Have you tried right click and deselection "convert EOL?

  • Save the problem with Photo Story 3 on Windows 7

    I managed to install Photo Story 3 on Windows 7 Home Premium, 32-bit.  The program works until I come to save the project and then just before the end of the process 'save', the following error message:

    "Some photo story program files may be damaged. Re-install Photo Story 3 for Windows and then change and resave your project."

    I did it at least four times, with the same result. Any suggestions please

    Hi GeorgeTroynar,

    ·         This is the first time that you try to save the project with Photo Story 3?

    You can completely uninstall the application and then install in clean boot state and check if it works.

    For more information about uninstalling a program and a clean boot, see the following articles:

    Uninstall or change a program

    http://Windows.Microsoft.com/en-us/Windows7/uninstall-or-change-a-program

     

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    http://support.Microsoft.com/kb/929135

     

    Note: After troubleshooting, be sure to configure the computer to start as usual as mentioned at step 7 of the article mentioned above.

    Let us know if that helps.

  • HP 4620: HP 4620 scans very well, but could not save the analysis in a file

    The scanner scans very well, but could not save the analysis in a file. Whenever I try to save, it crashes.

    Hey @motikama,

    Welcome to the Forums of HP Support!

    I see that you encounter some problems with the scanning of your Officejet 4620 e-all-in-one for your Windows 7 PC. I can help you with that.

    To start, make sure that the printer is plugged directly into a wall outlet, not a surge protector. Once done:

    1. Uninstall all software associated with the printer to your computer.
    2. Restart your PC.
    3. Download and install the latest drivers by clicking on this link.

    Please let me know the results after following the above. If you can scan, click on accept solution. If you appreciate my help, please click on the thumbs up icon. The two icons are below this post.

  • Cannot save the vCO with vCenter WebClient

    Hi all

    I have a strange situation that I hope you can help me with.

    Basically, I am fighting to save the vCO with vCenter WebClient device, when I try to add in the web interface of vCenter, the test connection fails.

    The vCO device has been configured to use AD authentication and the vCenter plugin seems to be set up correctly. In fact, I can run all workflows from it interact successfully with the vCenter.

    I followed the troubleshooting steps in similar positions, but none of them have worked:

    Re: impossible to integrate vcenter orchestrator with WebClient

    Re: Can't save orchestrator in vsphere client of web (v5.5)

    I can see the extension of vCO through the https://vcenter1.xxxxx.com/mob . I have also not saved and put it back with the same result.

    I also tried with different versions of the device to vCO (5.0, 5.5.1 5.5.2...) but no joy with any of them.

    I want to emphasize that I used a device registered with vCenter, vCO which has been deleted. After checking the mob site, I discovered that the extension pointing to this previous vCO was still in place, so I recorded. But the issue has not been resolved.

    vCenter 5.5.0 build 1750785

    vCO 5.5.2 build 1951762

    Any other ideas?

    Any help would be appreciated.

    In order to use the vCO within customer web vSphere vCO must use SSO authentication and SSO used must match the one used by web vSphere client.

    What happens is this user log in vSphere client and web based on as user token credentials is generated.

    This token is presented to the vCO and vCO is not able to check (because in LDAP mode or using different SSO server or...) vCO rejects the request.

  • Moving the virtual computer configuration file and work on the clone of the model

    Using the VirtualMachineRelocateSpecDiskLocator to move disks from different NFS data warehouses when cloning a model looks very good work.  However, the Virtual Machine configuration file and the location of work remain on their original NFS data storage, not moving with the root of the drive.

    If this move not all together, or am I missing a step here?

    Thank you

    Scott

    Specifying the "data store" in VirtualMachineRelocateSpecDiskLocator specifies the location of the VM virtual disks only. To move the virtual machine, it might also be necessary to specify "datastore" property of "VirtualMachineRelocateSpec. If this is not specified, the current data store is used to store the files of the virtual computer.

  • Lightroom saves the settings in xmp file?

    With Camera Raw, a xmp file is saved in the same folder with the same name of the image once make us changes or settings for an image.

    Lightroom saves the settings in xmp file? If so, why can't find the xmp file in the image folder?

    If you say Lightroom to write changes to xmp, it will be. It is in the catalog settings menu, automatically save the changes to xmp. Lightroom can also write the changes xmp in the headers of non propitiatory files Select include in metadata... etc... This will write data to the headers of xmp in DNG files.

    If you do not want this done automatically then you can select which files you want to either sidecar xmp header data for and then go to the metadata, Save to the file meatadata.

  • Windows Media player on my machine does not run some AVI files. How can I check what the problem with AVI files. Files are running in other utilities of free ware

    Windows Media player on my machine does not run some AVI files. How can I check what the problem with AVI files. Files are running in other utilities free ware. Also, windows Explorer does not display dimension and other video related information for the file. Y at - it a tool that can indicate what exactly is the problem with the file.

    Ritu

    Hello

    1. you get any error message?

    2. don't you make changes to the computer before the show?

    Please follow the steps from the link below.

    http://support.Microsoft.com/kb/279242

  • Try to download an update of the firmware with a file extension ROM Vista says it's an unrecognized file type

    Title: download original ROM files on Vista

    Try to download an update of the firmware with a file extension ROM Vista says it's an unrecognized file type. Patches?

    You must get the update of the firmware that can handle the type of file the same place ROMA, you got the firmware file.  From what I see, they seem specific to the product updated. http://www.FileInfo.com/extension/ROM if they don't have it, talk to their technical support staff and ask them what type of program is required to install the firmware provided in ROM format and where you can get it.  Vista doesn't have the ability to read a file ROM type  Some software must be added to give this capability.

    Here is an article I read: "various hardware upgrades and emulators use the ROM file extension." A user needs a flash program usually available on the website of the manufacturer of the motherboard. The user must not flashing BIOS unless the user knows that he has the image of his mother. An error or the computer may be turned off when the wrong BIOS image is flashed. "So be very careful here, or you can completely disable your system.

    I hope this helps.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • which API allows to save the PDF with Adobe Reader 9?

    Hello

    which API allows to save the PDF with Adobe Reader 9? It is said that "CosDocSaveWithParams" may not be used.

    Thank you!

    Jimmy

    I've personally used both in the drive in a plugin, and the drive itself makes these calls.  HOWEVER, they only work on the active Reader documents.

  • When the file is saved in windows 7, save the description with the name of the file by the text file

    I need to save files much but don't have time to write the file name and detailed inform instead. When I want to save the file, windows 7 displays the window requires the file name and type. But I need another box that I can describe the detailed information associated file name. This will generate the text file that detailed information with the name of the file.

    Is there a s/w or windows 7 can do that?

    It is not possible to save a file without a name. You must specify a name for the file. In addition, you can add additional information in the comments of the file area. You can open the section "Comments" by going to the properties of the file and go to the Details tab.

  • HP 54602 B oscilloscope to view 2 channels and save the data to a file

    Hello

    I use a HP Oscilloscope 54602 B to plot the voltage and current in a circuit. So I need LabVIEW to save the data of the two strings in a file or to have the plot of both channels. I used the "get started" VI with the driver and I am able to get the trace of the 1 channel. I'm not familiar with programming in labview so y at - it someone who has a VI near the VI that I need?

    Thank you.

    Try these.

  • Possible bug: save the table with double and extended precision to the worksheet

    If one concatenates an array of double-precision and an array of precision extended with the 'build' vi table, then recorded using 'Write in a spreadsheet file' vi any digits to the right of the decimal are reset to zero in the saved file. Regardless of the entry of signifier of format (for example %.10f) to the vi 'Write in a spreadsheet file'.

    I'm on Vista Ultimate 32 bit and labview 9.0

    This is a possible bug that is easily circumvented by the conversion of a type before you incorporate arrar in a worksheet. Nevertheless, it's a bug and it cost me some time.

    Hi JL,.

    No, this is not a bug - it's a feature

    Well, if you'd look closer you would recognize the 'save to spreadsheet' as polymorphic VI. As this polymorphic VI does not support the EXTENSION numbers internally (it only supports DBL, I64, and String) LabVIEW selects the instance with more precision: I64 (I64 a 64 bits of precision, DBL that 53...). Your options are:

    -the value of the instance to use as the DBL (by right click and "Select type... »)

    -make a copy of this VI, save it under a different name and make support number of POST (not rework the polymorphic VI like you would break compatibility with other facilities of LV or future revisions)

  • Save the Logo with a Transparent background

    Hi, I am building a company with Photoshop CC logo. The main objective for my logo is so he married well in my site header. As you can see in http://comparedeals.net my mobile phone site, I had to change the background color of the Web page to white as the logo is not transparent. How to make the white background of the logo transparent?

    I know how to remove the bottom by this invisible layer but when I save the file as a JPEG or PNG image, the background is always white - which requires me to have a white background color for my Web site.

    I know that you can save money with transparency, but I don't remember how I did the last time I did a logo. Anyone know how?

    Thank you.

    You can do this by removing the bottom completely and use the shortcut
    (Shift + ctrl + alt + s) which will take to save you for web window. Select png-24 format for an image of high quality from the drop-down list and it should serve your purpose.

  • Cannot save the Management Pack Configuration in VROPS

    Hello

    We started to experience a strange problem with our new VROPS 6.1 deployment when you try to configure certain management packs.

    We have 3 VrOPs devices deployed, Master, Master Replica and collector remote monitoring 3 standard vSphere (2 vRealize and a NSX) deployed using VMware cluster more practices and are working well. We had some problems with our vSAN where we lost a large amount of data because of a corrupted data store which meant losing our vCenter cluster Resource and Management 2 devices. Our vROPS / /vRA of the PSC devices / instances were fine as they were running on other storage. We had to re-bulid our vCenter but now have everything back running as expected.

    However... We started to add the vRA and SCOM management packs in vROPS which works well and sets up very well... but then something strange happening after about 5 minutes of data collection... the Configuration of each of the vRA and adapters SCOM disappears... And data collection stops. For more visit, it seems that someone has gone and remove the configuration of the adapter, but this isn't the case, because no one else has access to this environment.

    In any case, now when we try to re - configure an instance / configuration of an adapter we can not save the configuration of the card after we successfully test the connection we get this strange message that I have attached a screenshot in this post.

    The message reads the following:

    1. Unable to create the resource to HAVE it. Resource with the same key already exists.

    We have tried to remove the packs management, PAK re - install and replace the existing, but it does not work we always get the same error when trying to save.

    We are not now able to save the configuration of the vRA or SCOM adapters... and I'm a bit puzzled. Any help would be greatly appreciated.

    Hello

    I had similar problem. Which user are you logged as? There is a problem with the user rights and management packs. Only the local administrator users must be used, try to connect to this account and see if your configuration is not there already (such as msg of error States).

Maybe you are looking for