TDMS Defragment​-Through Windows Command Prompt

Dear All,
we need to Defragment the TDMS file  by TDMS Defragment.VI  via Windows Command Prompt.
Work flow will be as below
1.An Application wil be created to defragment using TDMS Defragment.VI
2. When user stop Main Application (App 1) which records data for long time in tdms  ,the Main application (App 1)  will call defragmenting Application (App 2) via cmd and should get the file path and start defragmentation and it should pop a message defragmentation completed. and dont want Main Application  (App 1)  to do anything apart from triggering tdms defragmentation.
Reason is We dont want the Main Application (App 1)  to wait for Long time till defragmentation and Since we need to use the Main Application (App 1)  for other testing.
So we decided to do this defragmentationin in some other way  and display the completion message to user
please provide suggestions 

I'd also recommend doing this in one application.  If you truely want to do it from a command line you can.  LabVIEW built EXEs can support command line switches if you enable it in the build specificaitons.  If you do this you'll probably want to support multiple instances, and code it so that it will exit once the conversion is done.  But again you can get more information from the result of the defrag (like error) if you do it in the same application.
Taki1999 wrote:
EDIT: Asynchronously is difficult to spell
Totally agree and some spell checks claim it isn't a word.  Same with programmatically.
Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

Similar Messages

  • Using Java in windows command prompt

    Hi,
    I don't know if I have been searching correctly, but I haven't found a solution to my problem through common search engines.
    I'm programming in java using vim (accessed through windows command prompt), and I've created classes, everything compiles fine.
    However, I wanted to test my classes my creating instances of them (i.e. objects) through the same windows command line (command prompt). I know you can achieve this by using interaction panes through third party programs such as Dr.Java and eclipse, but I was wondering if this can be done using the command line.
    Thanks
    Jaime

    Thanks Paulcw for your quick reply! :D
    I'm guessing I didn't word my question properly.
    Neither of my classes have a main method in them, so when I am trying to create instances (objects) of them, I would like to as if my command line was the main.
    For example:
    Class1 c = new Class1(parameters);
    c.moveRight();
    etc.
    I'd like to be able to use my classes methods from the command line, I think what I'm looking for is a batch, but I'm not sure.
    Thanks again,
    Jaime

  • Manipulating Windows command prompt through Java

    I am wondering if there is any way to manipulate simple Windows command prompt commands like color, cd, dir, cls through a java application. Any help or informative redirection would be much appreciated.

    BinaryBurnout wrote:
    I am wondering if there is any way to manipulate simple Windows command prompt commands like color, cd, dir, cls through a java application. Any help or informative redirection would be much appreciated.Realize that the Windows command prompt is an application (cmd.exe), and those commands are specific to that application.

  • How to execute a scenario from Windows command prompt

    Hi,
    I have a package which is executing fine from Designer. But the same scenario if I am trying to execute from windows command prompt, then it is giving error.
    The package is getting a refresh variable, passing to interface which is creating a file from table, this file is then getting FTP'ed to another server.
    I am executing following command -
    startscen OB_TAB_TO_FILE_PKG 001 ODICTX "-v=2"
    The error is -
    A JDK is required to execute Web Services with OracleDI. You are currently using
    a JRE.
    OracleDI: Starting scenario OB_TAB_TO_FILE_PKG 001 in context ODICTX ...
    java.sql.SQLException: socket creation error
    at org.hsqldb.jdbc.jdbcUtil.sqlException(jdbcUtil.java:67)
    at org.hsqldb.jdbc.jdbcConnection.<init>(jdbcConnection.java:2451)
    at org.hsqldb.jdbcDriver.getConnection(jdbcDriver.java:188)
    at org.hsqldb.jdbcDriver.connect(jdbcDriver.java:166)
    at com.sunopsis.sql.SnpsConnection.u(SnpsConnection.java)
    at com.sunopsis.sql.SnpsConnection.c(SnpsConnection.java)
    at com.sunopsis.sql.i.run(i.java)
    DwgJv.main: Exit. Return code:-1
    Please let me know where I am going anything wrong.
    Thanks,
    Himanshu

    Hi,
    you need to make the necessary changes to the %odi%\bin\odiparams.bat config file, under the "Repository Connection Information" section so that startscen knows how to extract metadata from your repository.
    You apparently have left the default settings to the Hypersonic demo repository. Is that the technology your repository is hosted on?

  • Java Code Compilation in Windows Command Prompt

    Hi Everyone,
    I have been programming in java for quite some time now using an IDE (eclipse). I downloaded the following java file from:
    http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/JpegImagesToMovie.html#requirements
    and have downloaded the required JMF. The problem is that I want to compile and run this code in Windows Command Prompt; however, I keep receiving errors upon compilation because I do not know how to make jmf.jar be recognized as a library.
    Thx.

    javac -cp jmf.jar;otherJars file1.java file2.java file3.java...
    Run java and javac from the command line for an explanation of their options.
    Edited by: nclow on Jul 24, 2008 1:43 PM

  • Unable to connect to database from windows command prompt

    Hi All,
    Im trying to connect to Oracle database from my windows command prompt, these are the steps I followed:
    1) cd C:\oracle\product\11.2.0\client_1\sqlplus
    2) sqlplus username\password@hostname:1521\service_name
    I do get the error ORA-06401: NETCMN: invalid driver designator
    I did try using the SQLPLUS \NOLOG
    Connect username\password@hostname:1521\service_name
    I still get the same error.
    I did manually type all the commands to make sure no additional charaters coming and etc...How shall I overcome this...

    user9103174 wrote:
    Hi All,
    Im trying to connect to Oracle database from my windows command prompt, these are the steps I followed:
    1) cd C:\oracle\product\11.2.0\client_1\sqlplus
    2) sqlplus username\password@hostname:1521\service_name
    I do get the error ORA-06401: NETCMN: invalid driver designator
    I did try using the SQLPLUS \NOLOG
    Connect username\password@hostname:1521\service_name
    I still get the same error.
    I did manually type all the commands to make sure no additional charaters coming and etc...How shall I overcome this...do you desire/plan on using EZCONNECT or tnsnames.ora entry?
    EZCONNECT sample is below
    sqlplus user1/pass1@'dbserver:1521/orcl_sid'

  • Log ConsoleHandler + Windows Command Prompt

    Having really strange problem:
    Program started from Windows Command Prompt.
    Logging with ConsoleHandler.
    If select something with "Edit->Mark" in this Command Prompt, process stop responding.
    Has anybody seen such behavior?

    Correction:
    Looks like anything writing to stdout/stderr hangs in Windows Command Prompt "mark" mode.
    Could not find anything about how it works.

  • User with admin rights can't access files through the command prompt

    I have a strange situation where I have 2 users both setup exactly the same with admin rights on a 2003 (32 bit) server through an AD group membership, but one can do everything as expected but the other can't.
    The one that can't is trying to execute a program is a command prompt and keeps getting access denied or invalid directory when trying to cd into the folder.   I double and tripled check the permissions and they are correct, this person should have
    full admin.  In fact I did a effective permissions through explorer and it states full rights.  Along those lines this person can also access the folder in question through explorer just not a command prompt. 
    Has anyone seen this before ? and if so what can be done about it.
    Thanks

    Hi,
    Can the user execute the program through explorer? In Windows Server 2003, the Users group does not have Read and Execute permissions to the command processor (Cmd.exe). 
    You could refer to the article below to resolve the issue:
    "Access is denied" error message when you run a batch job on a Windows Server 2003-based computer
    http://support.microsoft.com/kb/867466
    Best Regards,
    Mandy 
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Javac command in windows command prompt

    Hi, i would just like to know how i can enable the javac command in the command prompt of windows without being in the java/bin directory...i have tried env. variables and stuff but to no avail, however the java command work.
    Thanks Rudy
    ps does anyone know any good rmi tutorials which are easy to follow, thanks.

    Err, nm, just reread that.
    The environment Path is the way to go.
    Just add the bin directory to the end of the PATH in the advanced option of my computer. You may need to reboot.

  • Set Title of Windows Command Prompt Window

    I'm running a text-only Java application in a Windows XP Command Prompt window. Is there a way for my application to change the title of the window as it runs?

    GaryS wrote:
    I'm running a text-only Java application in a Windows XP Command Prompt window. Is there a way for my application to change the title of the window as it runs?no. command prompt actions in java are weak/nonexistent. probably due to the lack
    of cross platform similarities. you can always run your program using a batch file and
    set the title in there.

  • Run mapname.pls in windows command prompt

    Hi all,
    I am using owb 10gR2. I created one mapping and it is running fine through debugging. but while validation and generation,it is generating one pl sql script in the format of mapname.pls. I just want to run the script in windows command promt and sql plus.
    Is it possible?? If it is possible,can you pls help me out and tell me the steps??
    Thanks in advance,
    Bharath.

    Hi Bharath,
    to run a mapping you must deploy it first using control center manager. The code that is generated in the design center client has only informational purpose.
    To get an idea on how to work with owb check out the online tutorials: [http://www.oracle.com/technology/obe/admin/owb_main.html|http://www.oracle.com/technology/obe/admin/owb_main.html]
    Regards,
    Carsten.

  • How to get no. of rows of Windows Command Prompt in java

    hi all,
    can anybody tell me that is there any java utility avalilable throght I can find the how many rows avalilbe on currently executing command prompt, and also how can i clear the content of command prompt (result of 'cls' command).
    Currently execting command prompt means from where I have run my java program.
    any reference is also welcome.
    thanks in advance.

    Clearing the screen is trivial, as long as you're OK with making your program specific to Windows only (i.e. you never hope to run it on any other OS ever):
    Runtime.getRuntime().exec("cmd /c cls");As to figuring out how many lines your command window's screen buffer has - good luck with that. I'm not familiar enough with the Win32 API to get this info, but you'll have to figure out what that is, and call it via JNI.

  • How to view init.orafile content through sql command prompt

    Hi all,
    please tell me the solution for this. i want to see all the init.ora parameters in command prompt is there is any special command to view all parameters of init.ora in sql prompt.
    and server utilization from sql prompt.
    Thank you,

    Hi
    SQL prompt base:
    1. show parameter xxx << Mention by Nicolas
    2. use v$parameter << mention by sybrand_b
    3. use also:
    ◦V$PARAMETER2 view - display the currently in effect parameter values, but "List Values" are shown in multiple rows
    ◦V$SPPARAMETER view - display the current contents of the server parameter file.
    Source:
    http://www.orafaq.com/node/5 <<Viewing Parameters Settings:
    OS level
    3. Os level cat initxx << mention by me smile
    Regard
    Helios

  • Pass UTF character literal from Windows command prompt

    I'm trying to pass \u00fd (� - 0253) via the windows command line as a parameter to a java app. "DOS" is converting it to a superscripted 2. Any ideas on how to work around this? It works fine if I pass the parameter via a windows program.
    Thanks

    \00fd is "Latin Small Letter Y With Acute" according to my Unicode crib. But your DOS window doesn't use Unicode, it uses CP437 or CP850 depending on where in the world it thinks you live. (Both of them have the superscript-2 character at the FD code point.) I don't see the y-acute character anywhere in CP437, so if you're in North America (or maybe Britain too?) you can't do that. In CP850 the EC (decimal 236) code point is y-acute.
    However you aren't out of luck in either case. There is a DOS command "chcp". If you type "chcp" at the command line it tells you what your code page is. If you type "chcp 850" at the command line it will change your code page to CP850, if it can.
    (I am getting all this information from my MS-DOS 5.0 User's Guide and Reference, by the way. I may put it up for sale on eBay.)

  • Why windows command prompt is not working with java

    I installed java 1.6 to my computer (Laptop) and it is perfectly working with Netbeans and Eclipse
    but not working with windows xp xommand prompt
    It compiles the code but when it is going to run it throw the following exception
    Exception in thread "main" java.lang.UnsupportedClassVersionError: Example (Unsupported major.minor version 50.0)
            at java.lang.ClassLoader.defineClass0(Native Method)
            at java.lang.ClassLoader.defineClass(Unknown Source)
            at java.security.SecureClassLoader.defineClass(Unknown Source)
            at java.net.URLClassLoader.defineClass(Unknown Source)
            at java.net.URLClassLoader.access$100(Unknown Source)
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClassInternal(Unknown Source)I've reinstalled java 1.6, but the output is same
    Please help me to get it correct
    Thank you

    E:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracl
    e\jre\1.1.8\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Progr
    am Files\Microsoft SQL Server\90\Tools\binn\;C:\OrCAD\OrCAD_10.0\tools\pcb\bin;C
    :\OrCAD\OrCAD_10.0\tools\specctra\bin;C:\OrCAD\OrCAD_10.0\tools\bin;C:\OrCAD\OrC
    AD_10.0\tools\PSpice\Library;C:\OrCAD\OrCAD_10.0\tools\fet\bin;C:\OrCAD\OrCAD_10
    .0\tools\jre\bin;C:\OrCAD\OrCAD_10.0\tools\Capture;C:\Program Files\QuickTime\QT
    System\;C:\Program Files\Java\jdk1.6.0_01\bin;C:\Program Files\Microsoft Visual
    Studio\Common\Tools\WinNT;C:\Program Files\Microsoft Visual Studio\Common\MSDev9
    8\Bin;C:\Program Files\Microsoft Visual Studio\Common\Tools;C:\Program Files\Mic
    rosoft Visual Studio\VC98\bin;

Maybe you are looking for

  • Export from ALV to Excel - problem with numeric values

    hi folks, when exporting from alv to excel and we have negative values (and using an u.s.a. setting where . and , are different to r/3) negetive values are not shown correctly in excel. when changing in win nt the regional settings to europe one's (e

  • AppleTV audio out to old amp with only analog audio

    I'm thinking about getting the Apple TV for both video and for playing my music on my home stereo system. I currently have an old amp with only analog audio capabilities, but the new ATV looks like it only supports digital optical out, and the digita

  • Cannot sync due to missing i-photo cache

    message pops when trying to sync - cannot sync due to missing i-phone cache. if it is missing where did it go? also, how do I find it?

  • Subcontracting Purchase order-With scrap or extra qty.

    Dear Experts How we can define the Scrap  or extra Qty in subcontarcting purchase order, suppose PO qty is 10500 , and we want to receive 10000 only then how we  can take care about the  500 qty and there mantioned BOM.,we want to give the material o

  • Examples on usage the movement types 413E  and 412E

    In what circumstances we are use the movement types 413E  and 412E with some practical examples 413E  :  Transfer posting Sales order to sales order 412E :   Reversal of sales order to own