How to load. A01. A02. A03... Files in DIAdem

I am writing a script to allow a user to create a data set by loading a series of ASCII files.  The files are. A01. A02. A03, etc file extensions  I can manually load these files individually, but I can't seem to the load via the program coding.  The code below is what I was trying to use to load one of the files, however DIAdem 11.0 running on a Windows 7 machine just stops and DIAdem 10.0 running on a Windows XP computer will appear to run the script... but no data actually loaded on the data portal.

Call MSGBOXDISP ("Please select first data file")
Call FILENAMEGET ('DATA', "FileRead")
If DLGSTATE = "IDOk" Then
DATADRVUSER = FILEDLGDIR
Call ASCIIConfigLoad ("C:\Users\wi3083\Desktop\BH-OB29\RoughRoad ASCII Import.STP")
Call ASCIILoad (DATADRVUSER & FILEDLGFILE, 0)
End If

Another option, I tried is:

Call MSGBOXDISP ("Please select first data file")
Call FILENAMEGET ('DATA', "FileRead")
If DLGSTATE = "IDOk" Then
DATADRVUSER = FILEDLGDIR
Call the ASCIIAssocSet(".) A01 ', ' C:\Documents and Settings\administrator\Desktop\BH - OB29\RoughRoad Import.STP ASCII')
Call ASCIILoad (DATADRVUSER & FILEDLGFILE, 0)
Call the ASCIIAssocDel(".) A01")
End If

Any ideas would be appreciated!

Hi CrshTstr,

I enclose a use I wrote for 23 data files submitted.  Simply detach the *. The URI of the file and double-click on it with the Windows Explorer to register the use with your computer.  You can then run this kind of code to call:

Call DataDelAll

FilePath = 'C:\NICS\Discussion Forum\CrshTstr\BH-OB29\BH-OB29AS. A.

FOR i = 1 to 23

n = Right ("00" & i, 2)

IF i = 1 THEN call DataFileLoad (FilePath & n, "CrshTstr")

IF i > 1, THEN call DataFileLoadSel (FilePath & n, "CrshTstr", "[1] / [1]")

NEXT ' I

Brad Turpin

Tiara Product Support Engineer

National Instruments

Tags: NI Software

Similar Questions

  • How to load an exteranl html file into a div

    All-

    Im sure this has been covered, but I can't find what I'm looking for.

    How can I load content from a file external html into a div in Edge?

    I want my client to be able to update html files, so I don't have to edit them in border

    The files are inside a folder called 'content' and the file index.html is outside of this folder.

    Thank you

    Try this:

    on the stage, create a rectangle and name it "webPageDisplayPort" - it becomes your div

    place this code at the level of the step

    externalUrl var = "content / index.html";

    SYM. $("webPageDisplayPort") .html ("");
  • JCS: how to load users with csv file into identity Console

    In my Service of Cloud Java: when I go to Console identity I have a "Dependent users" function under "manage users."

    How this CSV file should look like?

    How can I add roles to users?

    I loaded a file yesterday and I still get the message "Maximum number of simultaneous downloads by identity area exceeded. No more downloads will be accepted at this time. Select the UTF-8 CSV file format you want to download. Maximum file size is 256 KB. »

    When will this file be process? Can I cancel this process? How to be notified on a result?

    Kind regards

    Robert

    See http://docs.oracle.com/cloud/131/trial_paid_subscriptions/CSGSG/cloud-manage-user-accounts.htm#BCFDAIJA , adding a lot of user accounts

    file should have a header:

    First name, last name, Email, user login

  • How to load and object to read a file in CC Json animate?

    I'm a little puzzled about how to load an external Json file and have for example a text box display the Json file information.

    I'm used to make this way on the edge, but how the cabin = n I do this with the new animate CC 2016?

    Thanks a bunch,

    SAL

    Here is the code example:

    var LQ is new createjs. LoadQueue (true);

    lq.addEventListener ('complete', completeF);

    lq.loadFile ({id: "json", CBC:"test.json"});})

    function completeF (event) {}

    JSON = event.target.getResult ('json') var;

    parseJSONF (json);

    }

    function parseJSONF (obj) {}

    for (^ s in obj) {}

    {If (typeof {obj [s] = 'object'})}

    parseJSONF (obj [s]);

    } else {}

    Console.log (s + ': ' + obj [s])

    }

    }

    }

  • How to load the site Web of Movieclip. AS3.0 Flash

    Hi, we need to load the website in movieclip. (www.adobe.com). how to load the flash swf file in the site.

    Thks

    If you create an AIR application, you can use the HTMLLoader class.

    http://help.Adobe.com/en_US/FlashPlatform/reference/ActionScript/3/Flash/HTML/HTMLLoader.h tml

  • Load an external audio file in table?

    Hello.

    I figured out how to load an external video file - and I can play an audio file imported, but I can't seem to use both methods to load an external audio file into a table. (doh)

    Here is my audio code:

    var tour_audio:Array = [tour1, tour2];

    var my_num:Number = Math.floor (Math.random () * 2);

    var ChosenSound = tour_audio [my_num];

    var playing: Sound = new ChosenSound();

    Playing.Play ();

    Here's my video code:

    var my_videos:Array = new Array ('link1.mp4', 'link2.mp4', 'link3.mp4', 'link4.mp4');

    var randomIndex = Math.floor (Math.random () * my_videos.length);

    my_player.source = my_videos [randomIndex];

    I tried ' var tour_audio:Array = ["link1.mp3", "link2.np3"];  - but it does not work.

    Ty

    //  ------------------------

    the table is from your code, the table will be the references for the two audio files

    var tour_audio:Array = new Array();

    then you must create two instances of the sound class to contain the audio files you load into

    var soundClip1:Sound = new Sound();

    var soundClip2:Sound = new Sound();

    then you need a sound channel to play audio files

    var sndChannel:SoundChannel = new SoundChannel();

    It's your randomizer code

    var my_num:Number = Math.floor (Math.random () * 2);

    now, you load each sound file in your instances of the sound using the URLRequest class

    soundClip1.load (new URLRequest ("tour1.mp3"));

    soundClip2.load (new URLRequest ("tour2.mp3"));

    to find out when loading, the files have completed, you must add an event listener to each of the classes of sounds

    These event listeners will be triggered the functions onComplete1 and onComplete2 when loading is completed to each sound file

    soundClip1.addEventListener(Event.COMPLETE,onComplete1,false,0,true);

    soundClip2.addEventListener(Event.COMPLETE,onComplete2,false,0,true);

    This is the function for the first hearing of his charger, it will add the instance of the sound in your table class once loaded the sound

    function onComplete1(evt:Event):void {}

    tour_audio.push (soundClip1);

    }

    This function does the same work for the second audio file

    function onComplete2(evt:Event):void {}

    tour_audio.push (soundClip2);

    }

    Call this function to play the selected audio file

    It could be called from the function of onComplete2 above

    function playRandomSound (): void {}

    var ChosenSound = tour_audio [my_num];

    sndChannel = ChosenSound.play ();

    }

    //  ------------------------

    I added comments to the code itself which should help to explain what is happening. Yes, AS3 is just jam packed with intimidating stuff. As use you it, it will start to make sense.

  • CHKUPD loads at startup. How to find and delete this file?

    CHKUPD loads at startup. How to find and delete this file?

    CHKUPD loads at startup. How to find and delete this file?

    Not a matter of Microsoft/Windows.

    http://answers.Microsoft.com/en-us/search/search?searchterm=CHKUPD&CurrentScope.ForumName=Windows&CurrentScope.filter=windows_xp-files&askingquestion=false

  • How to load files from cod?

    Watch out for the upcoming noob question!

    OK, so I finished my first project, now, I went to the project-> build and got some files: cod, jad, jar and a few others.

    How can I transfer it to my phone (Strom 9500 or Curve 8300)? What file can I transfer? I am currently using BB JDE 4.5.0

    I tried the Desktop Manager, but it says: "this application is not compatible with your device?

    Thank you!

    According to what you do with your project, you will have to sign before it runs correctly on a phone.

    If it is signed, you can either live load by placing the files of cod and jad file on a server and then pointing the browser of your BlackBerry on the jad file.

    If you use the Desktop Manager, you must generate an ALX file for your project before you can load it.

    What version of the JDE do you use or you use the Eclipse plugin? If Eclipse, what version of the BlackBerry plugin? 1.0 or 1.1?

  • How you load in an external text (txt) file using edge animate CC?

    Hello

    Does anyone know how to load in an external txt file using edge animate? I think you have to make ajax calls, but I am a totally newbie here.

    Would be grateful for the help.

    Thank you and best regards,

    James

    Use a JSON file. Ingestion of external data | Learn edge CC animated | Adobe TV

  • How to load data from ms sql to the by the file rules and maxl essbase

    Hi, everybody!
    Pretty Shure the kind of topic exists already on the forum, but unfortunately can't find it.

    I want to understand, how to load data from the database to ms sql for the PB of essbase application.

    (I) so I have:
    1. a request for 'society '.
    2 and its database 'Plan '.
    3. with simple outline, which contains only two dimensions:

    -The time period < 1 > (Label only)
    -Total year (~)
    -Qtr1 (+)
    Jan (+)
    Feb (+)
    Mar (+)
    -Qtr2 (+)
    APR (+)
    May (+)
    Jun (+)

    -Accounts < 1 > (Label only)
    -Lost / based (~) (Label only)
    -Revenues (+)
    L1.1 (+)
    L1.2 (+)
    -Costs (-)
    L2.1 (+)
    L2.2 (+)

    (II) also, I created a rules file called "CO_DWH" and associated with this schema
    It (Rules file) a 3 columns:
    Data of the 'period', 'account '.

    There is also the option checked "load data".

    (III) in MS SQL Server, I have a database of "hypdb" and "essadmin" with "password" login

    (IV) I executed my bat file:
    C:\Hyperion\EssLoad.bat
    There is only one line:

    EssLoad.bat-
    startMaxl.cmd EssLoad.txt
    ----------------------------------------------

    EssLoad.txt-
    login password admin on erpserver;
    Import database data Company.Plan connect in essadmin password using the server rules_file 'CO_DWH' error abort;
    disconnection;
    "exit";
    --------------------------------------------


    All plans that I copied well worked ERP system, but I don't understand, this is exactly table in the MS SQL database, data loading to essbase db?

    TOU have to do a few things
    1. on the server of Essbase, put in place a system odbc for your MySQL database connection
    2. in the State of charge, go to the file menu and select open source SQL database and in the source of data in your SQL statement. A few tips. Where it says select, don't put in the select Word and when he says to not put in of. The system adds for you. TI enter a simple SQL statement is to do this in the box so select if your SQL would be normanlly as select * from myTable just enter the code as * from myTable in the upscale neighborhood

    The ol/recover the click and fill your connection information. Should bring back the data in the State of charge. Save the State of charge and use

  • How to load external swf file and unload the swf file parent?

    I have a question. Let's say I have file1.swf, file2.swf and file3.swf, how can I link this 3 files together.

    Let's assume that file1.swf is the main content file, but as I load file2.swf, I want the file1.swf get replaced by file2.swf. How could unload file1.swf at that time, so that my file2.swf will become the main content file?

    and even once, when my current post file2.swf and I want it get replaced by file3.swf tinkle of a button. so that i can unload the file2.swf and let them file3.swf become the main content file...
    Anyone have ideas on this?
    Thank you..

    If you're publishing to fp 10 + use:

    var loader: Loader = new Loader();

    var urlR:URLRequest = new URLRequest();

    addChild (loader);

    Btn1.addEventListener (MouseEvent.Click, f);

    btn2.addEventListener (MouseEvent.Click, f);

    function f(e:Event):void {}

    {if (Loader.Content)}

    loader.unloadAndStop ();

    }

    {if(e.currentTarget==btn1)}

    urlR.url = "file2.swf";

    } else {}

    urlR.url = "file3.swf";

    }

    Loader.Load (urlR);

    }

    p.s. Please check the useful/correct, if there is.

  • How to load the ase file?

    I apologize in advance for this fundamental question, but... I'm on a mac osx use illus/photoshop cs2. How to load kuler .ase files?

    Hello, please check this thread earlier .
    Saami

  • How to load the javascript file in webview

    Hi all

    I want to load the external js file in webview function evaluateJavaScript() in order to fill the data in the Web page.

    Thanks in advance,

    Ankur

    It does not have a file as an argument, as you know, then you must read this file in a QString using a few simple C++ or if you need JavaScript in the QML file.

  • I am trying to view PDF documents, but when I click on them lots and lots of tabs keep appearing above I got 1000 s, how can I stop this and how can I watch a PDF file

    I received an email from my supplier of energy in it that I have to click the Bill to display, it downloads and asks me if I want to open it with internet explorer or another thing, if I click on firefox. There is no guard opening loads and loads of tabs on the top, I tried to close them at the last count I had managed to close more than 1,000 feet but still do not see my wife bill.my had the same thing that she tried to open a PDF file and you have the same problem of . Then how can see us without problem files we receive in emails, etc., and how can I get rid off the coast of this multipling the tab itself? Thank you

    The details of your system do not have a pdf reader. You have, for example, Adobe Reader or Foxit Reader?

  • Can we load and unload the files in the run time?

    Can we load and unload the files in the run time?

    For example, there are four files named 'test1.h & test1.c' and another series 'test2.h & test2.c' (I have attached as an attachment to this post).

    test1.h contains the code:

    int variable; variable declared as integer

    test1.c contains the code:

    variable = 1; variable a value assigned

    test1.h contains the code:

    char * variable. variable declared as string

    test1.c contains the code:

    variable = "EXAMPLE"; a string that is assigned to variable

    So here, in this case can I dynamically load / unload first & second group files so that the same variable "variable" name can be used as an integer and string? And if so, how to do?

    Hi pa1majeti,

    You cannot simply consider that some code is loaded into memory or not: all code in a compiled application is permanently in memory unless you divide your application into DLLs that you dynamically load if necessary and remove if is no longer necessary.

    But as I understand from your description, you're better given the amount of memory occupied by the data (i.e. the contents of the variables) rather than the code. If this is the case, your only option is to allocate memory for variables dynamically and free it after it has been used. Now, even if this option is useful if you are using large networks of data, there is little or no effect on the unique variables.

    A final Council, given the huge memory installed on modern computers, are you sure you really need that extra work? I mean, the dynamic allocation of memory involves some additional precautions in programming: check the errors on each function malloc or calloc, check that the pointer is valid before each use, freeing pointers before reassignment in order to avoid memory leaks and so forth, so a balance must always be sought between the memory and the difficulty in programming.

Maybe you are looking for

  • Transfer old hard drive to bootcamp!

    I recently installed boot camp on my Mac, but I have no idea how to do to transfer my old c drive of my old windows laptop on my boot camp on windows. I want to just clone my old laptop to windows boot camp that I use now for what he images my old la

  • Could not open a new tab should get a link and open it in a new tab.

    I can not open a new tab, or by clicking on the button in the toolbar, go to the file/open new tab or CTRL T. I think that this has happened after I've upgraded to the latest version of Firefox. The only way I can get a new tab is to click on a bookm

  • How do scan you pictures on the hp officejet 4500?

    When I try to scan, it tells me no. Scan options, refer to device documents to solve problems

  • Paviilion p7-1010: NO SOUND AFTER VIRUS REMOVAL

    I took the PC for Staples to have checked and viruses, spyware, malware was found.  These have been removed and all cleaned up.  Now I have no sound.  I have tried everything I can think of nothing doesn't. Can anyone help?

  • The XY graph Plot.LineWidth Property node problem

    Hello! I have a loop, where I repeatedly putting curves in a XY Chart. In the first iteration of the loop, after the first corner appears on the graph (I send data from the graphical indicator), I use a Plot.LineWidth Property node to align the thick