Load LVM File in Matlab

How do you load an LVM file in Matlab? I used the code:
load test.lvm;
But it returns this error message
"??? Error using ==> load
Number of columns on line 10 of ASCII file ......test.lvm
must be the same as previous lines.
Error in ==> PlotM at 1
load test.lvm"
Could it be the headers in the LVM file?

Unfortunately, I am the wrong person to ask that question, since I have never used Matlab beyond a simple demo.  However, I can give you some general tips that work in all the programming languages I have used.
LVM files should be small enough to read the entire file at one time.  If it isn't you really need to use a different format.  Read the entire file in as a text string.
Search the text string for the tag I mentioned above.  Then look for the second line afterwards (search for CR/LF or whatever your line terminator is).  This will give you the byte offset to start parsing the data lines
Matlab should have a function to convert spreadsheet file text strings into arrays.  You can either use the data you have in memory (faster) or use a spreadsheet file read utility to read it off disk again, now that you know the offset to start reading.
Hopefully someone with some Matlab experience can chime in and help you more.
This account is no longer active. Contact ShadesOfGray for current posts and information.

Similar Messages

  • How to open an lvm file in MATLAB Script Node

    Hello everyone
    I am using LabVIEW 8.0 in order to acquire a signal, and I chose to save the signal's data with "Write to Measurement File"
    Here is the problem, later on I am using a MATLAB script on the data, but the problem is that the MATLAB can't read the lvm file, because it doesn't have a txt ending.
    So my question is this : is there any way I can convert in LabVIEw the lvm file to txt ???
    Thanks ,
    Lavi
    Attachments:
    Single Session 19 04.vi ‏197 KB

    Edit: Sorry about the double answer on the .lvm file. Posted at the same time as previous answer.
    The .lvm file is a text-based file. Form the online help for LabVIEW :
    Use text-based measurement files (.lvm) to save
    data that the Write To
    Measurement File Express VI generates. The text-based measurement
    file is a tab-delimited text file you can open with a spreadsheet application or
    a text-editing application. In addition to the data an Express VI generates, the
    .lvm file includes header information about the
    data, such as the date and time the data was generated. LabVIEW saves data with
    up to six digits of precision in a .lvm file. Use
    binary measurement files
    (.tdm) to exchange data with higher precision.
    A few comments regarding your code:
    Learn to stop using sequence frames. This is typical for someone coming from a text-based language programming environment. This is not a personal knock on you, just a pointer. For example, instead of using the "Wait (ms)" function you can use the "Time Delay" VI. That has error in/error out clusters which will allow you to chain VIs. In the bottom part you can eliminate the sequence frame that you're using the parallel port write to the following:
    which is much cleaner and easier to read.
    The loop where you're reading data is pointless. It is set up to run only once, so what's the purpose of a loop?
    You do not need to place all objects inside a sequence frame and then place the sequence frame inside the loop. This is redundant.
    Message Edited by smercurio_fc on 04-19-2007 09:26 AM
    Message Edited by smercurio_fc on 04-19-2007 09:27 AM
    Attachments:
    Example_BD.png ‏5 KB

  • How to Read TDMS Files in Matlab in OSX

    Using the example found on the NI website (http://digital.ni.com/public.nsf/allkb/0EEADA99DC​7D00A4862572E30037C3A2), I am able to read my TDMS files into Matlab when using a PC.  However, when I try to read them on my Mac, I receive an error:
    ??? There was an error loading the library "/Applications/MATLAB75/work/TDMS_files/dev/bin/ni​libddc.so"
    Error using ==> loaddefinedlibrary
    dlopen(/Applications/MATLAB75/work/TDMS_files/dev/​bin/nilibddc.so, 1): image not found
    Error in ==> read_tdms at 21
    loadlibrary(DLL_Path, H_Path);
     My best guess for this error is the fact that Matlab operates through a Linux interface on Mac, which I found will open the file type .so and not .dll for this type of library.  Is there some way to get around this in OSX and get it to read the .dll files?  Or is there some way to get the libraries as .so files instead of .dll files?
    Thanks for any help!
    -Shelby

    Shelby,
    You may wish to look at a Matlab script another user wrote since they were having issues with NI's matlab support:
    http://forums.ni.com/ni/board/message?board.id=170​&view=by_date_ascending&message.id=318487#M318487
    The script supposedly converts TDMS files directly in Matlab with no use of NI generated external DLLs.  He was having issues because the NI tools hadn't been updated for the new version of Matlab.

  • How to load a variable using MATLAB Script?

    I need to load a selected variable from .mat file, using MATLAB script , and analyse it.
    the attched shows my vi, there are two inputs nodes 'file' contains the .mat file path, and 'varn' contains varibale name in that .mat file which can be selected by user. Using " load(file)" the whole .mat file is loaded in the workspace and become avaiable at output node, however I am not able to pass a selected variable name through string "varn" input, MATLAB script does not recognize the variable.
    any idea to reslove it is realy appreciated.
    Attachments:
    load a variable.JPG ‏18 KB

    Download the VI and .MAT file. Run the VI, and it'll plot the data inside of the .MAT file.
    Andy Chang
    National Instruments
    LabVIEW Control Design and Simulation
    Attachments:
    testfile.zip ‏5 KB

  • Read several lvm files into VI

    Hello all,
    I have a question about how to load several files into a VI. I have done a long measerement with a high samplerate so LabVIEW has made approximatelly 900 lvm files. I want to do two things. The first thing that I want to do, is to see chart/graph of the data with a scroll bar so I can look trough the data. The second thing that I want to do is write the same data (approximatelly 900 files) to lets say 20 files. So the samplerate is from 100 Hz to 0.2 Hz. Is that possible?
    In the attachment I have put the VI that I currently have + one of the 900 files that I want to load.
    Thanks in advance.
    Attachments:
    VI + LVM file.zip ‏556 KB

    Hello Mark,
    I'm a bit confused about the situation:
    - Although you're talking about 900 files I only see 1 file in your attachment (as you also mentioned in the post).
    Do they all have the same format/sample rate (and amount of samples) in each column?
    If not, then please provide the necessary examples, because I don't see your variation of 0.2 Hz to 100 Hz sample rate based on this file.
    That left aside, merging files should always be possible (up to a certain point)
    - Can you also provide the code you used to generate the lvm-files?
    This will give some background information.
    Especially beccause I don't see any metadata available in your lvm-files.
    - Graph/Chart choice:
    If you only want to see all data at once, then a graph would be the solution seeing that you are not interested in the data sets while they're loading and only in the full set of data. Please do also keep in mind the size of the data set you're loading.
    If you want to plot all colums in the same graphg with different sample rates per channel/column, then a good idea would be a multiplot XY Graph.
    However, here you will also have to keep the data set size in mind.
    Kind Regards,
    Thierry C - Applications Engineering Specialist Northern European Region - National Instruments
    CLD, CTA
    If someone helped you, let them know. Mark as solved and/or give a kudo.

  • Display saved lvm file to graph with timestamp

    Hi,
    I'm having headache displaying my data with proper time-stamping. There are so many methods to save data. here I've decided to save it as a text delimited file format as lvm. a segment of my vi screen shot is attached. I want to use this way instead of other methods is the flexibilty it offers. I will be able to add on more data to store as I develop the vi. (So I'm storing data from DAQ assistant and my calculated values.) I attached a the screenshot of the file I read too.
    I would like to use another vi to open this file and plot it to a graph/chart to display as a trending of the data acquired. Can someone pls advise mi on what is a better way for mi to do it?
    Thanks alot!
    Poh
    Solved!
    Go to Solution.
    Attachments:
    datalogging vi.JPG ‏82 KB
    logged data.JPG ‏76 KB

    Hi Krisna,
    Sorry for the late reply, I was rushing to complete my project, wasn't able to reply.
    Yes, I managed to solve it. Anyway I used such high rate in the DAQ assistant is to allow continous mode acqusition & use a software filter instead of hardware filter. however writing to file in this way - writing string into .lvm, max is 10 samples/sec. unless I use tdm (I'll then log everything).
    I wasn't able to display proper time-stamping was due to the fact that I didn't add in the start-time timestamp that's required in displaying of timestamp in waveform. I'll not be able to go down to my lab, & my machine do not have LabVIEW, so what I can do is to extract portions of my report to share.
    For the portion that I used to display graph (can be seen from the attachment), I deleted the 1st column, which is the timestamp (for spreadsheet viewing), but extracted the 1st element - the converted to DBL timestamp when I start logging in the DAQ vi (written together with the header).
    This extracted (could be seen as a bunch of numbers in the lvm file) and and converted back to timestamp type and wired to build waveform block, providing the start-time of the waveform.
    Next, I replace the use of chart with graph, as graph is suitable for plotting data acquired, and chart is better for run-time display of data. now it seemed to work fine for me, except for loading time may take a while for larger files.
    Thanks for your participation in this thread!
    Cheers!
    Poh
    Attachments:
    display graph.JPG ‏39 KB
    data.JPG ‏171 KB

  • Loading jar files at execution time via URLClassLoader

    Hello�All,
    I'm�making�a�Java�SQL�Client.�I�have�practicaly�all�basic�work�done,�now�I'm�trying�to�improve�it.
    One�thing�I�want�it�to�do�is�to�allow�the�user�to�specify�new�drivers�and�to�use�them�to�make�new�connections.�To�do�this�I�have�this�class:�
    public�class�DriverFinder�extends�URLClassLoader{
    ����private�JarFile�jarFile�=�null;
    ����
    ����private�Vector�drivers�=�new�Vector();
    ����
    ����public�DriverFinder(String�jarName)�throws�Exception{
    ��������super(new�URL[]{�new�URL("jar",�"",�"file:"�+�new�File(jarName).getAbsolutePath()�+"!/")�},�ClassLoader.getSystemClassLoader());
    ��������jarFile�=�new�JarFile(new�File(jarName));
    ��������
    ��������/*
    ��������System.out.println("-->"�+�System.getProperty("java.class.path"));
    ��������System.setProperty("java.class.path",�System.getProperty("java.class.path")+File.pathSeparator+jarName);
    ��������System.out.println("-->"�+�System.getProperty("java.class.path"));
    ��������*/
    ��������
    ��������Enumeration�enumeration�=�jarFile.entries();
    ��������while(enumeration.hasMoreElements()){
    ������������String�className�=�((ZipEntry)enumeration.nextElement()).getName();
    ������������if(className.endsWith(".class")){
    ����������������className�=�className.substring(0,�className.length()-6);
    ����������������if(className.indexOf("Driver")!=-1)System.out.println(className);
    ����������������
    ����������������try{
    ��������������������Class�classe�=�loadClass(className,�true);
    ��������������������Class[]�interfaces�=�classe.getInterfaces();
    ��������������������for(int�i=0;�i<interfaces.length;�i++){
    ������������������������if(interfaces.getName().equals("java.sql.Driver")){
    ����������������������������drivers.add(classe);
    ������������������������}
    ��������������������}
    ��������������������Class�superclasse�=�classe.getSuperclass();
    ��������������������interfaces�=�superclasse.getInterfaces();
    ��������������������for(int�i=0;�i<interfaces.length;�i++){
    ������������������������if(interfaces[i].getName().equals("java.sql.Driver")){
    ����������������������������drivers.add(classe);
    ������������������������}
    ��������������������}
    ����������������}catch(NoClassDefFoundError�e){
    ����������������}catch(Exception�e){}
    ������������}
    ��������}
    ����}
    ����
    ����public�Enumeration�getDrivers(){
    ��������return�drivers.elements();
    ����}
    ����
    ����public�String�getJarFileName(){
    ��������return�jarFile.getName();
    ����}
    ����
    ����public�static�void�main(String[]�args)�throws�Exception{
    ��������DriverFinder�df�=�new�DriverFinder("D:/Classes/db2java.zip");
    ��������System.out.println("jar:�"�+�df.getJarFileName());
    ��������Enumeration�enumeration�=�df.getDrivers();
    ��������while(enumeration.hasMoreElements()){
    ������������Class�classe�=�(Class)enumeration.nextElement();
    ������������System.out.println(classe.getName());
    ��������}
    ����}
    It�loads�a�jar�and�searches�it�looking�for�drivers�(classes�implementing�directly�or�indirectly�interface�java.sql.Driver)�At�the�end�of�the�execution�I�have�found�all�drivers�in�the�jar�file.
    The�main�application�loads�jar�files�from�an�XML�file�and�instantiates�one�DriverFinder�for�each�jar�file.�The�problem�is�at�execution�time,�it�finds�the�drivers�and�i�think�loads�it�by�issuing�this�statement�(Class�classe�=�loadClass(className,�true);),�but�what�i�think�is�not�what�is�happening...�the�execution�of�my�code�throws�this�exception
    java.lang.ClassNotFoundException:�com.ibm.as400.access.AS400JDBCDriver
    ��������at�java.net.URLClassLoader$1.run(URLClassLoader.java:198)
    ��������at�java.security.AccessController.doPrivileged(Native�Method)
    ��������at�java.net.URLClassLoader.findClass(URLClassLoader.java:186)
    ��������at�java.lang.ClassLoader.loadClass(ClassLoader.java:299)
    ��������at�sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
    ��������at�java.lang.ClassLoader.loadClass(ClassLoader.java:255)
    ��������at�java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
    ��������at�java.lang.Class.forName0(Native�Method)
    ��������at�java.lang.Class.forName(Class.java:140)
    ��������at�com.marmots.database.DB.<init>(DB.java:44)
    ��������at�com.marmots.dbreplicator.DBReplicatorConfigHelper.carregaConfiguracio(DBReplicatorConfigHelper.java:296)
    ��������at�com.marmots.dbreplicator.DBReplicatorConfigHelper.<init>(DBReplicatorConfigHelper.java:74)
    ��������at�com.marmots.dbreplicator.DBReplicatorAdmin.<init>(DBReplicatorAdmin.java:115)
    ��������at�com.marmots.dbreplicator.DBReplicatorAdmin.main(DBReplicatorAdmin.java:93)
    Driver�file�is�not�in�the�classpath�!!!�
    I�have�tried�also�(as�you�can�see�in�comented�lines)�to�update�System�property�java.class.path�by�adding�the�path�to�the�jar�but�neither...
    I'm�sure�I'm�making�a/some�mistake/s...�can�you�help�me?
    Thanks�in�advice,
    (if�there�is�some�incorrect�word�or�expression�excuse�me)

    Sorry i have tried to format the code, but it has changed   to �... sorry read this one...
    Hello All,
    I'm making a Java SQL Client. I have practicaly all basic work done, now I'm trying to improve it.
    One thing I want it to do is to allow the user to specify new drivers and to use them to make new connections. To do this I have this class:
    public class DriverFinder extends URLClassLoader{
    private JarFile jarFile = null;
    private Vector drivers = new Vector();
    public DriverFinder(String jarName) throws Exception{
    super(new URL[]{ new URL("jar", "", "file:" + new File(jarName).getAbsolutePath() +"!/") }, ClassLoader.getSystemClassLoader());
    jarFile = new JarFile(new File(jarName));
    System.out.println("-->" + System.getProperty("java.class.path"));
    System.setProperty("java.class.path", System.getProperty("java.class.path")+File.pathSeparator+jarName);
    System.out.println("-->" + System.getProperty("java.class.path"));
    Enumeration enumeration = jarFile.entries();
    while(enumeration.hasMoreElements()){
    String className = ((ZipEntry)enumeration.nextElement()).getName();
    if(className.endsWith(".class")){
    className = className.substring(0, className.length()-6);
    if(className.indexOf("Driver")!=-1)System.out.println(className);
    try{
    Class classe = loadClass(className, true);
    Class[] interfaces = classe.getInterfaces();
    for(int i=0; i<interfaces.length; i++){
    if(interfaces.getName().equals("java.sql.Driver")){
    drivers.add(classe);
    Class superclasse = classe.getSuperclass();
    interfaces = superclasse.getInterfaces();
    for(int i=0; i<interfaces.length; i++){
    if(interfaces[i].getName().equals("java.sql.Driver")){
    drivers.add(classe);
    }catch(NoClassDefFoundError e){
    }catch(Exception e){}
    public Enumeration getDrivers(){
    return drivers.elements();
    public String getJarFileName(){
    return jarFile.getName();
    public static void main(String[] args) throws Exception{
    DriverFinder df = new DriverFinder("D:/Classes/db2java.zip");
    System.out.println("jar: " + df.getJarFileName());
    Enumeration enumeration = df.getDrivers();
    while(enumeration.hasMoreElements()){
    Class classe = (Class)enumeration.nextElement();
    System.out.println(classe.getName());
    It loads a jar and searches it looking for drivers (classes implementing directly or indirectly interface java.sql.Driver) At the end of the execution I have found all drivers in the jar file.
    The main application loads jar files from an XML file and instantiates one DriverFinder for each jar file. The problem is at execution time, it finds the drivers and i think loads it by issuing this statement (Class classe = loadClass(className, true);), but what i think is not what is happening... the execution of my code throws this exception
    java.lang.ClassNotFoundException: com.ibm.as400.access.AS400JDBCDriver
    at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:140)
    at com.marmots.database.DB.<init>(DB.java:44)
    at com.marmots.dbreplicator.DBReplicatorConfigHelper.carregaConfiguracio(DBReplicatorConfigHelper.java:296)
    at com.marmots.dbreplicator.DBReplicatorConfigHelper.<init>(DBReplicatorConfigHelper.java:74)
    at com.marmots.dbreplicator.DBReplicatorAdmin.<init>(DBReplicatorAdmin.java:115)
    at com.marmots.dbreplicator.DBReplicatorAdmin.main(DBReplicatorAdmin.java:93)
    Driver file is not in the classpath !!!
    I have tried also (as you can see in comented lines) to update System property java.class.path by adding the path to the jar but neither...
    I'm sure I'm making a/some mistake/s... can you help me?
    Thanks in advice,
    (if there is some incorrect word or expression excuse me)

  • How do I display the next segment of an LVM file on a graph?

    I have built an application which reads in an LVM file containing 16 waveforms. I am taking 1000 samples at 1kHz. The capture may last for up to 3 minutes, so I generate a sizable file. When I read this file back and display it I only get the first segment of 1000 samples (1 second). Generally this is fine, but I want to be able to select to view the other segments as well. I have been attempting to use the "Read Measurement File" express vi.
    I have also tried to put the "Read Measurement File" in a while loop until I hit EOF and tied it to an "Append Signals" express vi before feeding it into the graph. This allowed me to see the last segment of my capture.
    I understand that the amount of data I am trying to display would be too much for the graph, but isn't there some way I can point to a segment and display it? The perfect answer would be to grab the timestamps of the segment headers in my file and populate a listbox. (I am generating this file with headers for each segment.) Then I could scroll through the listbox and select the "second" that I want to examine. Then I need the "selected second" to display on the graph. I suspect that this is possible because I am already pulling the waveform names from the file and feeding them into a listbox so I can select which waveform(s) I want to examine.
    Any Ideas?
    technomage

    Hi there,
    Have you considered using the TDM file format instead of the LVM format? With TDM you specify parameters for your file and your channels. When you want to read data from the file you can extrac data based on those parameters. So you could construct a search that extracts the data from a particular time, or all the data that was acquired in a 10 minute period for example.
    There are a few VIs you would have to become familiar with to do this (the datalog VIs are located in a palette on the File IO palette), but it would probably be easier for you to use these then to construct the file yourself and then program in all the search parameters.
    Here are some resources with more information on the TDM format:
    TDM Data Format
    Introduction to LabVIEW Data Storage VIs
    They should help you decide if you would like to use this format or stick with the LVM format.
    Sarah
    Applications Engineer | National Instruments | UK & Ireland

  • Problem loading / writing files.

    Hi, im trying to create and load a file to the user's home directory as follows:
    File f = new File(System.getProperty("user.home") + "/settings.xml");
    if (f.exists() == false)
         try
              // If the file doesn't exist, create one.
              f.createNewFile();
              // Get the url.
              URL filePath = f.toURI().toURL();
    The file is created properly and exists in the proper directory. However, when i try to use the URL to write out to
    file later i get the following error:
    C:\Documents%20and%20Settings\User\settings.xml (The system cannot find the path specified)
    I believe this is due to the %20's within the URL, how can i remove / handle these? Am i doing something incorrectly?
    Also, if the file exists, i try to load it with the following code:
    URL filePath = this.getClass().getClassLoader().getResource(System.getProperty("user.home") + "/settings.xml")
    However the URL that is return is null and i dont know why.
    thanks for the help.

    Why do you want an URL for the file? Use the File object to create a FileInputStream or FileReader.

  • Donu00B4t load duplicates File to a cube through DTP

    Hi gurus... i want to know if is possible to avoid load the same data from files to a cube.. doing this trough a DTP.
    I think to do this with a step in a process chain that eliminate dupplicates entry in the cube, but the problem is that i haven´t any selection in DTP... this is a full load.
    Regards..

    Neo,
    do you want to avoid loading duplicate files to a cube using  DTP or avoid loading duplicates from the file to the cube ?
    if it is avoid loading duplicate records from file to cube - then ideally you can use a DSo in between...

  • Loading flat files located on a server using the Control Center piece ofOWB

    Loading flat files from a server with OWB
    I am successful loading files with OWB, as long as they resided on my workstation in the C:\ drive. I copied the files to a Linux server into directories owned by Oracle/oinstall, permissions on the directories containing the files are 777. I ran the OWB client from the server with the following results:
    Error
    RPE-01013: SQL Loader reported error condition, number 1.
    SQL*Loader: Release 10.2.0.1.0 - Production on Fri Mar 9 11:15:58 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL*Loader-500: Unable to open file (/u00/data/owb_repos1/state_codes.csv)
    SQL*Loader-553: file not found
    SQL*Loader-509: System error: The system cannot find the file specified.
    SQL*Loader: Release 10.2.0.1.0 - Production on Fri Mar 9 11:15:58 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL*Loader-500: Unable to open file (/u00/data/owb_repos1/state_codes.csv)
    SQL*Loader-553: file not found
    SQL*Loader-509: System error: The system cannot find the file specified.
    I tried to load the file using the control center from both the windows client and the server client. Can I do this from either one?
    I can't import the file in the Design Center from the /u00/data/owb_repos1 directory, it does not show up.
    If anyone has received similiar errors from OWB, please tell me how I can fix this. THANKS!!!
    [d97886@owbtest owb_repos1]$ pwd
    /u00/data/owb_repos1
    [d97886@owbtest owb_repos1]$ ls -la
    total 24
    drwxrwxrwx 2 oracle oinstall 4096 Mar 19 12:14 .
    drwxrwxrwx 18 oracle oinstall 4096 Mar 6 16:41 ..
    -rwxrwxrwx 1 oracle garrett 1481 Mar 8 07:32 state_codes.csv
    [d97886@owbtest owb_repos1]$

    Hi
    This is what i do for my flat files (i am loading my tables from the flat files):
    1) Create location for the files in OWB and it should look something like \\path_to_where_the_files_are. Here you should be able to browse to your Linux box and select the location of the files.
    2) Then check whatever you use (i use TOAD) and you should see in owb schema a directory created there which points to the location of the flat file.
    3) then just follow the guide to sample the files etc and you are good to go.
    Basically OWB has to be able to see the files that are on Linux machine.
    Alternatively you can map your Linux share to your windows box (use samba or something) and use it that way.
    Sorry if it is stating the obvious.
    Hope this helps
    Kind Regards
    Vix

  • Load Flat File from App Server

    HI, all.
    I want load flat file from appliation server. I created CSV file and loaded it on app. server with FM ARCHIVEFILE_CLIENT_TO_SERVER. After I created datasource and tried load data in the infocube. In this procedure I encountered with two problem
    1. When I look file in AL11, I doesn't see cyrillic symbols, instead this symbols I see #.
    2. When I try load data with data source, I get exception RS_EXCEPTION 000 "File don't open"
    Anybody can help me resolve this problem?
    wbr, Fanil.

    Hi, kodanda pani KV.
    2. File is was closed.
    1. Can me you clearly explain what you meen?
    wbr, Fanil

  • Error Loading the file from application server

    Hi Team,
    I'm trying to load the .CSV file from application server and I'm getting the error message.
    In the data package
      Update to PSA --Green
      Transfer Rule -- Green
      Update Rule -  error ABORT was set in the customer routine 9998
                            Error 1 in the update
    Please help me to provide the solution.
    But when I try to load the other files there are no issues. thanks.
    Regards,
    Senthil

    Raj
      check the below links, which can helps to solve your issues
    Flat file data load
    flat file Data loading issue
    Mahesh

  • Infopackage-Load Many Files from Application Server and later Archive/Move

    Hi All..
      I have a doubt,   I have a requirement of take many files to load into BI 7.0..  I used the infopackage before with option:
    Load Binary File From Application server
      I load information successfully... only with one file ...but If I can load many files (with different names) like the next list.. I think it's not a good idea modify the file name (path) on infopackage each time).. :
    *All of this files will be on one server that itu2019s map into AL11.. Like
    Infopfw
    BW_LOAD_20090120.txt
    BW_LOAD_20090125.txt
    BW_LOAD_OTHER_1.txt
    u2026.
    Etc..
    This directory it's not in BW server.. It's other server..but I can load form this location (one file by one)
    Could you help me with this questions:
    -     How can I Use an infopackage with routine that take all the files..one by oneu2026 in order of creation dateu2026and load into Target? Is it possible?.. I have some knowledge of ABAP.. but I don´t know exactly how I can say to system this logicu2026
    -     In addition is it possible move this files to other locationu2026 like into Infopfwarchive u2026 just to have an history of files loaded.
    I saw that in infopackage you have an option to create a routine.. in ABAP codeu2026 Iu2019m a little bit confused because I donu2019t  know how I can specify all the path..
    I try with:
    Infopfw
    InfopfwFile.csv
    Infopfw
    This is the abap code that automatically you see and you need to modifyu2026
    Create a routine for file name
    This routine will be called by the adapter,
    when the infopackage is executed.
              p_filename =
              p_subrc = 0.
    Thank you for your ideas or recommendations.
    Al

    Hi Reddy, thank you for your answer
    I have some doubuts.. when you explain me the option:
    All the above files are appending dates at the end of the file....
    You can load the files through infopackage by using Routines and pick the files based on date at the end of the file..***
    I need to ask you if you think that when you know the date of the file and the infopackage pick each file... thi can work for many files??... or how it's possible control this process?
    About this option, I want to ask you If when you menction Unix code... where it's programed this code?.. in the routine of BW Infopackage??
    ****Or
    Create two folders in your BW in Application server level, in AL11 (ask Basis team)
    I call it is F1 and F2 folders.
    First dump the files into F1 I assume that the file name in F1 is "BW_LOAD_20090120.txt", using Unix code you rename the file and then keep in the same foleder F1 or move to F2.
    Then create InfoPackage and fix the file name (i.e. you renamed), so you don't need to change everyday your file name at infopackage level.Because in AL11 everyday the file are overwrite.
    To I get BW_LOAD_20090120.txt file in F1, then I renamed to BW_LOAD.txt and loaded into BW, then tomorrow I get BW_LOAD_20090125.txt in F1, then I renamed to BW_LOAD.txt....
    so in this way it will work.You need to schedule the Ubix script in AL11.
    This is the way how to handle the application server...I'm using the same logic.
    Thank you soo much.
    Al

  • Photoshop crashes when loading a file or image

    Using Photoshop cs3 on a PC with Windows 7 installed.
    Major Problem: Photoshop gives no response when opening an image of any sort or psd file which ends out with the options to either close the program or close and find a solution online which gives no solution whatsoever.
    PScs3 was working just fine when installed but after installing an NVIDIA plug-in did it start bearing some problems. When loading png files, a window normally appears telling me that Photoshop could not parse the file. After seeing this I went to uninstall the plug-in. The problem seemed to went away but shortly after was Photoshop crashing at random, and I do mean random. Starting Photoshop at first seems to nullify the chances of crashing but after either a short period of time or a long period of time will it crash when trying to open a file. Opening multiple files at once doesn't work either but when opening only one file into PScs3 will it cooperate until opening a second. I'm not sure if the plug-in is what caused the problem but I do know everything from there seems hectic. Every crash leads me opening PScs3 again with all of its settings reset from when I first exited normally.
    Plugin Used:
    Photoshop_Plugins_8.23.1101.1715
    Appications Type; 4,317 KB
    Company - InstallShield Softwere Corporation
    Have you tried uninstalling and reinstalling the program?
    Unfortunetly yes I have attempted this and the problem still occurs towards cs3. This makes me fear that the entire program is glitched.
    Do you have any other plug-ins installed?
    I've checked and there are no other plug-ins attatched.
    This is my last option before seeing to reformat my computer. If there is any input about the topic, now is the time.

    Just a hunch: change your default printer to something else (a locally attached printer, not networked) or "PrintToPDF", then relaunch Photoshop and try again.
    It could also be a plugin (try disabling ALL third party plugins).
    And it could be a bad OS install, a virus, etc.  It may take a while to find.

Maybe you are looking for

  • Trying to solve the hashtable problem;

    this is a test of a part of my programming, trying to solve the hashtable i took out the erronous part and change some of it.i'm trying to print out a table of data with 4 column import java.util.*; public class test {      // creating a global hasht

  • File Reading in Web Project, file path help.

    Hi, I have a web project with the folloing directory structure. Thesis > build > dist > nbproject > src > test > web Using netbeans and GlassFish V2 webserver I'm trying to call a function in a Java file (src folder) from a JSP file (web folder). In

  • Signing pdf with certificate

    I am using pdfwriter on Windows to sign my pdf's with a certificate. Does an equivalent exist for archlinux? My google-fu didn't turn up anything... Thanks!

  • Error to login into EM

    Hi, I am unable to login into enterprise manager. I want see oracle memory advisor throug OEM but getting error in connect string. Username - sys     Password - xxxxx Connect String - connect as sysdba. Please do let me know what should I give in con

  • How do I copy to dvd to watch on my normal tv

    How do I copy to dvd to watch on my normal tv.  I bought it so I assume I own it in the same way as if I bought a dvd from a store, so I would like to sit down and watch my programs and or films I buy on itunes on my normal tv set rather than in my o