How to control CMD.exe STDIN and STDOUT through CVI

Hi,
I am woking on one applicaiton which is used for debugging the arm processor with Jlink ICD. I am having the command promt Jlink.exe which peforms all the required operations. All the commands(STDIN and STDOUT) want to redirect through my CVI LabWindows and the Jlink.exe should be hidden.

Hello Mate.
I need your help... like you, I have a Pavilion Laptop with an ATI 6770m video card.
But I did screw it the GPU Bios, so i can't use it anymore, i'm just working with the intel One.
So I want to ask you if you can send me a copy of your GPU Bios.
If yes, there are several ways, but the secure one is using GPU-Z located in this link, http://www.techpowerup.com/downloads/2360/techpowerup-gpu-z-v0-7-8/
using this tool, easily you can choose the proper GPU at the bottom of the tool window, and just in front of the bios information it collects, is the download button.
So if you please download it and share it with me, I’ll really appreciate that.
My mail is like my user at aim.com
Thanks in advance.
Best regards. 

Similar Messages

  • Controlling "CMD.EXE" via Process - Never ends?

    I'm trying to write a Java program that parses a text file & executes various command promt commands (I'm trying to keep it platform independant, because I know Lin/Un/nix users who would find this userful as well). I found a small tutorial on the web which gave an example of:
    Process p = Runtime.getRuntime().exec("<YOUR COMMAND HERE>");
    BufferedReader stdInput = new BufferedReader(new InputStreamReader(p.getInputStream()));
    BufferedWriter stdOutput = new BufferedWriter(new OutputStreamWriter(p.getOutputStream()));
    BufferedReader stdErr = new BufferedReader(new InputStreamReader(p.getInputStream()));
    Now; I have inserted "cmd.exe" for <YOUR COMMAND HERE>. If I write a command out to stdOutput, the first command executes, but not subsequent ones. Small segment looks like:
    while (line != null) {
    stdOutput.write("mkdir \"" + new_folder + "\"\n");
    stdOutput.flush();
    line = file_reader.readLine();
    This is an abridged version of my ode, but thats the problem. I get the first folder created, the process never terminates and I've tried emptying out the stdInput & stdErr bufferes, but it still won't execute subsequent commands issued to stdOutput.
    Can someone help me? I'd rather not write this all to a .BAT/.sh file :(

    I am quite perplexed now! I have just tried the following code on my PC, and have ended up with the most annoying two folders under my C:\ drive!
    import java.io.*;
    public class Cmd {
        public static void main(String[] args) {
            try {
                Process p = Runtime.getRuntime().exec("cmd.exe");
                BufferedReader stdInput = new BufferedReader(new InputStreamReader(p.getInputStream()));
                BufferedWriter stdOutput = new BufferedWriter(new OutputStreamWriter(p.getOutputStream()));
                BufferedReader stdErr = new BufferedReader(new InputStreamReader(p.getInputStream()));
    //            System.out.println(stdInput.readLine());
    //            System.out.println(stdInput.readLine());
    //            System.out.println(stdInput.readLine());
                stdOutput.write("mkdir \"c:\\folder1\"\n");
                stdOutput.flush();
    //            System.out.println(stdInput.readLine());
                stdOutput.write("mkdir \"c:\\folder2\"\n");
                stdOutput.flush();
    //            System.out.println(stdInput.readLine());
            } catch (IOException e) {
                e.printStackTrace();
    Perlexion over! Since you had your code in a loop I tried the same. I saw that in a loop creating 10 folders, the code created only two. See below the code that fixed this problem:
    import java.io.*;
    public class Cmd {
        public static void main(String[] args) {
            try {
                Process p = Runtime.getRuntime().exec("cmd.exe");
                BufferedReader stdInput = new BufferedReader(new InputStreamReader(p.getInputStream()));
                BufferedWriter stdOutput = new BufferedWriter(new OutputStreamWriter(p.getOutputStream()));
                BufferedReader stdErr = new BufferedReader(new InputStreamReader(p.getInputStream()));
                System.out.println(stdInput.readLine());
                System.out.println(stdInput.readLine());
                System.out.println(stdInput.readLine());
                stdOutput.write("mkdir \"c:\\folder1\"\n");
                stdOutput.flush();
                System.out.println(stdInput.readLine());
                stdOutput.write("mkdir \"c:\\folder2\"\n");
                stdOutput.flush();
                System.out.println(stdInput.readLine());
            } catch (IOException e) {
                e.printStackTrace();
    }Commenting out different combinations of System.outs gives different results.
    In summary: it is important that you match the correct number of output lines from the CMD.EXE output stream with readLines.
    I didn't like how the wording came out, but you get the gist.
    HTH,
    Manuel Amago.

  • STDIN and STDOUT

    Hi, I was wondering how to write to the STDOUT from an AIR application and listen to STDIN. I know I can write to the STDIN and read the STDOUTof a process launched with native process, but I need the ability to launch an AIR application using another program and communicate with that program using by listening to the STDIN and writing to the STDOUT.
    If this is not possible I am open to suggestions. If I were to use sockets for local communication instead of STDIN/STDOUT is there a possiblility the communication could be blocked by a software firewall?

    Hello, I have the exact same requirement. Were you able to figure this out? Does anyone else have a solution?

  • NB520, NB550D - how to control volume at Sleep and Music state?

    I'm looking for a possibility to control volume at Sleep and Music state...
    The only fact I've noticed is that volume depends on the level set when the computer was working. But how can I change it at Sleep and Music state when the comp is swich off?

    Hi TomPL,
    I have checked the user manual and found the following information:
    The volume adjustment and mute setting might be different between Windows mode and Sleep and Music mode. Before connecting the audio device to the computer, turn down the volume of the audio device. Sound quality may also be different.
    So according this information you have to set the volume in Windows but it could be a little bit different. I found no information about changing the volume in sleep and music mode.

  • How to control HP8350B with HP83592A and HP8757A

    I want to control HP8350B with plug in HP83592A and HP8757A by NI GPIB,using Labview language and print out HP8757A screen chart to printer, but when I sent command to HP8757A according to HP8350B manual ,such as "PT19",the instrument has no response,could andbody has experience on it and tell me how to do?

    "[email protected]" wrote in
    news:506500000008000000296D0000-1031838699000@exch​ange.ni.com:
    > I want to control HP8350B with plug in HP83592A and HP8757A by NI
    > GPIB,using Labview language and print out HP8757A screen chart to
    > printer, but when I sent command to HP8757A according to HP8350B
    > manual ,such as "PT19",the instrument has no response,could andbody
    > has experience on it and tell me how to do?
    After you send "PT19" to the 8757, usually at address 16.
    Send the commands you want to go to the 8350 to address 17.
    To terminate the passthru mode, send any command to address of the 16.
    Ex:
    To Address 16: PT19;
    To Address 17: FA 8 GZ;FB 16 GZ;PL 0 DM;
    To Address 16: C1 IA;

  • Af:query how to control the query combobox and change it's label text

    My colleague designed a well working af:query search page with several selectable predefined queries. Now it's up to me to control this combobox from outside the component with big colored buttons for user convenience. If the user clicks on one of the big buttons, the assigned item of the combobox is selected and then the query is submitted.
    I though about doing this with javascript, but the difficulty is, that I have no idea and didn't find a way to reference the id of the combobox? The combobox is a 'built in' component in he af:query component and there is no way to give it an id in the properties.
    The second problem is that I didn't find a way to change the label text of the combobox. It seems to be hard coded?
    Thanks in advance for your suggestion!

    Hi,
    the text should be coming from a message bundle and some other look and feel related elements should be settable through skinning in CSS
    http://www.oracle.com/technology/products/adf/adffaces/11/doc/skin-selectors.html
    search for af|query
    Regarding the JavaScript access, use firebug JS debugger. The af query class is AdfRichQuery.js
    http://www.oracle.com/technology/products/adf/adffaces/11/doc/multiproject/adf-richclient-api/js_docs_out/AdfRichQuery.html
    Note however that you should be able to do in Java what you are aimning for in JavaScript. However the usecase you want to implement is not fully clear to me - to be honest
    Frank

  • How to control valve via PCI6023E and labview

    I have a PCI6023 board and labview 5.1. I need to control the opening/closing of a gas valve via these two.The problem is that the power needed to operate the valve is 24 volts while the PCI6023E board has the power of only 5V. What can be done? Please help.

    Run a secondary power supply to the valve via a transistor triggered by the DAQ board. You can get a cheap AC/DC wall plug in supply for a coupla bucks and transistors are a few cents.
    / <---- 24V2Collector
    |
    DAQ2Base----->|
    |
    \ -----> Emitter2valve
    2006 Ultimate LabVIEW G-eek.

  • Capturing stdin and stdout in java

    Hello,
    I am trying to write a program that connects to a remote PC and allows me to redirect the out put from my keyboard to the remote machine, and to create some sort of stream that sends the screen output from that machine back to my computer. I'm happy connecting to to together but don't really know how to manipulate the ports so as to push and pull input/output streams, can anyone help??

    If the remote application is not interactive, i.e give the input and send that input to the remote application, exexute the application from inside the JRE using java.lang.Runtime.exec("Command") and can read the output from this exec, send it back to your machine(remote client).
    Hope this work, get back to me if it doesn't
    cheers
    Venkat

  • How to repackage "jre-7u72-windows-i586.exe" application and deploy through SCCM 2012

    Hi,
    Along with IE 11 we are planning to deploy "jre-7u72-windows-i586.exe"
    Created transform file for "jre-7u72-windows-i586.exe" by using Adminstudio Installshield.
    Identified vendor .MSI file at
    %AppData%\LocalLow\Sun\Java\jre1.7.0_72\jre1.7.0_72.msi"
    %AppData%\LocalLow\Sun\Java\jre1.7.0_72\Data1.cab
    Created Transform file
    Created transform file for "jre-7u72-windows-i586.exe" by using Adminstudio Installshield with the Tuner feature
    My queries:
    Do we have any best practices while repackaging “jre-7u72-windows-i586.exe?” by Adminstudio
    How to deploy the jre-7u72-windows-i586.exe application assuming with parallel deployment of IE
      11.
    Do we uninstall lower versions of Java when installing any newer versions like jre-7u72-windows-i586.exe?
     if yes then how to handle
    Do we install jre-7u72-windows-i586.exe application without uninstallations of any lower version of JAVA , if yes then how to handle
    Looking for best practices / Customizations ?
    Thanks, appreciate your help.
    Han,
    Gc.Hanumareddy

    Alternatively, why not actually reference Oracle official documentation or post in their forums (because as Torsten said, this really has nothing to do with ConfigMgr or Microsoft even).
    http://java.com/en/download/help/msi_install.xml looks to be a great place to start.
    Jason | http://blog.configmgrftw.com | @jasonsandys

  • How to control bandwidth for wired and wireless

    I have a wrtn400n dual band router and I was wondering if there is a way from the router settings that can lower internet connection for wired and wireless. Reason why its because I have 3 cousins that ALWAYS downloading music, videos, or watching a movie from an asian website. It lags me so much, that I can not even play online games. My ISP is comcast which is cable. I can barely surf on the net. Its like, they're taking up all my connection. I know there is a way to do it without cutting them off from the connection. It's a 2.4 and a 5.4ghz router and I can't find my 5.4ghz ssid on my wireless networking thing. My sister and I are wired connected while my cousins are wireless, but sometimes one of my cousins wire their laptop. The modem and router is connected to my computer. Please help me!!! I know theres a way to do this, but I just can't find out how!
    Message Edited by rayng6688 on 12-12-2009 03:38 AM

    Simple answer: it's impossible. See here.

  • How to control invoke exe file

    I use this code to call an program to run from my ABAP program:;
    CALL FUNCTION 'DSVAS_DOC_WS_EXECUTE_50'
        EXPORTING
          cd             = 'D:'
          commandline    = ' '
          program        = 'RemoteConn.BAT'
        EXCEPTIONS
          frontend_error = 1          " Error occurred in SAPGUI
          no_batch       = 2                " Front end function cannot be executed in batch
          prog_not_found = 3          " Program not found or not in executable form
          illegal_option = 4.          " OSMAC* or WIN16_EXT at incorrect frontend
    But I cannot control when will the external program finish. Are there any method to know when the 'RemoteConn.BAT program finish?
    Regard,
    Long Le Hoang

    Thank you Raymond, that's exactly what I need!!
    Regard,
    Long

  • How to communicate b/w PC and microcontroller through USB ports

    Hi All
    I am Using LV8.0 FDS and VISA 3.1
    I am trying to communicate my PC with ATMEL microcontroller( just writing and reading string commands) similar to serial communication. For that i need to develop a USB driver in LV.
    As i am new to USB communication , i have gone through the USB instrument control tutorial. i had few questions from it.
    How to know the class of the USb device(ATMEL microcontroller)?
    Any h/w or s/ w needed to be installed to perform usb communcation(i have already installed the drivers CD that come with FDS)?
    When to use USBRaw Bulk mode and When to use USBRaw Control mode?
    When to use VISA write/read vi's and when to use USB control in/out vi's?
    Also how to detect whether it is a USBTMC device or USB Raw device?
    I am trying hard with these questions. but i didn't get the solution.
    So plz suggest me with solutions .and attach examples if any which may clarify my doubts

    There are several great resources in our KnowledgeBase and Developer Zone that discuss USB RAW control with LabVIEW.  These address many of your questions.
    KnowledgeBase: How Can I Communicate With a Device Using NI-VISA USB RAW Mode?
    Developer Zone: USB RAW Control Communication in LabVIEW
    Take a look at those documents, and the related links in both of them--that should help you get started.
    Chad B. » National Instruments » ni.com

  • How to control or manipulate a report parameter through SSRS Custom Code

    Hi,
    In reporting services 2005 or 2008, is it possible to control the parameters inside the custom code of a report?
    for example:
    Let's say I have a parameter that displays the following value:
    Red
    Green
    Blue
    In typical scenario I can select one of the values or I can select all of the values then click the View Report button in reporting services.
    I know that this approach is much easier to do if I have an external application like ASP.Net and from there I'll just add report viewer and control the parameters to be passed and then generate the report.
    In the report I added text box that will serve as a hyperlink to refresh report:
    In the Text Box Properties\Action tab. Is it possible to control the selection of values through a custom code(SSRS Custom Code) then the report will be automatically refreshed?
    thanks,
    Joefer

    Not sure about doing a multiple selection. But you can pop up an input box to get the input on the fly.
    Add the below custom code and expression for the above parameter
    Public function Getparamvalue() AS STRING
    Dim x as STRING
    x = InputBox("Enter Red / Blue / Green")
    Return(x)
    End function
    =Code.Getparamvalue()

  • How to control no of lines in report through variable

    Hi,
    I have a requirement where the number of lines in the report
    needs to controled with respect to the printer and the number
    lines will be accepted through parameter.
    Can anyone help me on this issue ?
    Regards
    Satya
    null

    Hi,
    In the beginning of your report,
    with your REPORT Statement you should use LINE-COUNT 30 and LINE-SIZE 100.
    Hope it helps
    Regrds
    Mansi

  • Find how many archive logs are generated and backup through RMAN

    friends,
    how many arhcive logs are generating between 2 consecutive backups through RMAN.
    Ur help is really appricated.
    Thanks

    Sorry, I misunderstood the question
    I think you are not asking how many logs are generated since last backup. My initial repy was the answer for this
    The answer of you question on 10G R2 is like below. Query groups your archivelog backup sessions and counts the logs in one session which is the number of generated archivelog file between two backup session/.
    select session_key,count(sequence#) from V$BACKUP_ARCHIVELOG_DETAILS group by session_key order by 1 desc
    Coskan Gundogar
    http://coskan.wordpress.com

Maybe you are looking for