Output to matlab client wiindow

Hello!
Does anybody know how to output in the Matlab command window?
Matlab code:
disp('Hallo.......')
does not appear in the client window but is a well known Matlab command for outputing.
Thanks for helping
Andi

I am not able to use sprintf(), fprintf(), or disp() commands in the MATLAB command window, however there is an undocumented feature (or a bug) that allows the input() command to display to the MATLAB command window, _only_ once one input has been accept (for which there was no prompt). In other words, if you have a program with two calls to the input() command (from inside LabVIEW's MATLAB Scripting Node), the _first_ call to input() will show no output, but it will wait for your input at the MATLAB command window. After you enter something, the _second_ call to input() will display its message. All subsequent calls to input() will also display their prompt.
The attached code demonstrates the above. This bug in the MathScript node has two features in my mind: 1) it allows the user to enter information at the MATLAB command window, and 2) if you are content to hit "enter" every time, it will print debug messages to the MATLAB window.
A possible alternate workaround is to have MATLAB pop up a figure window, which you can than print text to, or put buttons or string/number inputs on.
Attachments:
getting input from matlab command window example.vi ‏10 KB

Similar Messages

  • Create report output to the Client of the Application Server inst.of Server

    Hi,
    Please suggest the soution for the below:
    We are using SET_REPORT_OBJECT_PROPERTY and WEB.SHOW_DOCUMENT to create report. Now Requirement is to save the report output to Client instead of server. I tried to use WEBUTIL but web util can be used from form only becuase that is using form item.
    (1) We are calling all our report from a form. Is there any option to trigger a action when ever a report job is created in Application server (report server)
    (2) Please let me now is there any option to create the output directly to client of application server 10G R1WIN , 10GR2WIN or in 11G. If yes please let me know the details.
    Wtih Thanks & Regards
    K.Sundar
    Edited by: 870860 on Jul 13, 2011 10:27 PM

    Hi,
    Please suggest the soution for the below:
    We are using SET_REPORT_OBJECT_PROPERTY and WEB.SHOW_DOCUMENT to create report. Now Requirement is to save the report output to Client instead of server. I tried to use WEBUTIL but web util can be used from form only becuase that is using form item.
    (1) We are calling all our report from a form. Is there any option to trigger a action when ever a report job is created in Application server (report server)
    (2) Please let me now is there any option to create the output directly to client of application server 10G R1WIN , 10GR2WIN or in 11G. If yes please let me know the details.
    Wtih Thanks & Regards
    K.Sundar
    Edited by: 870860 on Jul 13, 2011 10:27 PM

  • Exception writing binary data to the output stream to client -Broken pipe

    Hi,
    I am trying to use the drag & drop feature using Contributor mode of Webcenter sites. Single Image Page Attribute is working properly where as Multiple Image Page Attribute throws the following error:
    [ERROR] [.kernel.Default (self-tuning)'] [logging.cs.satellite.request] Exception writing binary data to the output stream to client 10.191.117.106
    java.net.SocketException: Broken pipe
         at java.net.SocketOutputStream.socketWrite0(Native Method)
         at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
         at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
         at weblogic.servlet.internal.ChunkOutput.writeChunkTransfer(ChunkOutput.java:568)
         at weblogic.servlet.internal.ChunkOutput.writeChunks(ChunkOutput.java:539)
         at weblogic.servlet.internal.ChunkOutput.flush(ChunkOutput.java:427)
         at weblogic.servlet.internal.ChunkOutput$2.checkForFlush(ChunkOutput.java:648)
         at weblogic.servlet.internal.ChunkOutput.write(ChunkOutput.java:333)
         at weblogic.servlet.internal.ChunkOutputWrapper.write(ChunkOutputWrapper.java:148)
         at weblogic.servlet.internal.ServletOutputStreamImpl.write(ServletOutputStreamImpl.java:148)
         at COM.FutureTense.Servlet.ServletRequest$OutputOutputStream.write(ServletRequest.java:80)
         at COM.FutureTense.Servlet.ServletRequest.write(ServletRequest.java:1633)
         at com.openmarket.Satellite.RequestContext.write(RequestContext.java:1123)
         at com.openmarket.Satellite.BytePiece.stream(DataPiece.java:253)
         at com.openmarket.Satellite.CacheObjectImpl.stream(CacheObjectImpl.java:651)
         at com.openmarket.Satellite.Http11Responder.respondForWrapper(Http11Responder.java:142)
         at com.openmarket.Satellite.WrapperAwareResponder.respond(WrapperAwareResponder.java:36)
         at com.openmarket.Satellite.SatelliteServer.execute(SatelliteServer.java:85)
         at com.openmarket.Satellite.servlet.BaseServlet.doGet(BaseServlet.java:118)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at com.fatwire.wem.sso.cas.filter.CASFilter.doFilter(CASFilter.java:557)
         at com.fatwire.wem.sso.SSOFilter.doFilter(SSOFilter.java:51)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Thanks
    KarthiK

    Thank u very much,
         FileOutputStream opGif = new FileOutputStream(destFile, false);
    I have changed above line with the following line:
         PrintWriter opGif = new PrintWriter ( new FileWriter(destFile, false));
    and now this code is working very fine.
    Thanks once again...

  • Copy output type from client 000?

    How can I copy output types from client 000?
    Sincerely,
    Ketan

    Hello Ketan
    What do you mean with output types??, is it a data element?, a parameter? Im lost!!
    Hope I can help you with any ideas....
    Bye
    Gabriel P-

  • Send a report output directly to client printer in 10G

    I want to send my report output to client printer instead of report server printer without view report on screen.
    I am using RUN_REPORT_OBJECT built-in, but when I set REPORT_DESTYPE = PRINTER, it send report output to report server printer, I want it on local printer.
    regards
    Rehan Mirza

    Hello,
    <p>Here is a solution by Casey Bowden.</p>
    Francois

  • 6602 Synchronize 4 outputs by matlab

    Hello,
    I am trying to use PCI-6602 counters to generate 4 pulses that start together. The width of these 4 pulses are ms level. However, the delay between channels is ms level too. So how to synchronize trigger the start and stop of 4 channels (with different duty cycle) by matlab?  
    I tried to use an external signal to trigger 4 channels together buy using 'addTriggerConnection', 'External' as source. But it didn't work. Matlab said Trigger and clock connections will not affect counter output channels.
    And how to connect wires?
    Thanks. 

    Hi Lindsay,
    If you are using the MATLAB® Data Acquisition Toolbox™ to program the PCI-6602, please contact the MathWorks support team since they will be better suited to answer MATLAB programming questions.
    To accomplish this in LabVIEW and our NI-DAQmx driver, you can use the information in these documents:
    Using a Digital I/O Line as the Start Trigger with a PCI-6602 (you don't have to wire any external lines)
    http://digital.ni.com/public.nsf/allkb/9052D691C228A56686256CFB00611D0D
    Timing and Synchronization Features of NI-DAQmx (If you want to use an external line, take a look at Figure 4)
    http://www.ni.com/white-paper/4322/en/
    MATLAB® and Data Acquisition Toolbox™ is a registered trademark of The MathWorks, Inc.
    Sincerely,
    Aldo A
    Applications Engineer
    National Instruments

  • Why do we not get logging output for the clients?

    Q: Why do we not get logging output like #show log all | include <client mac address> for the wireless clients?
    A: When the clients connected to Bridge mode SSID, Firewall hits and logging does not work.  
    This is one of the limitations with bridge mode.  

    logical. fair. I can understand the confusion in policy  as another fine cloud service - DropBox - has a different model for increases in free storage amounts for one account = evangelism. As many policies as there are services probably.
    cya 'round o' kilted one
    CCC

  • How to display error messages and output from Matlab (which Matlab would typically send to its command window but no longer does when called by Labview) into Labview or allow it to be dumped into Matlab Command Window?

    Using Labview 6i and Matlab 6.1. I want to be able to see Matlab warnings and error messages either in the Matlab Command Window or in Labview itself. Currently Matlab is called by Labview (which is working). However I would like to debug and/or modify my Matlab script file to better understand how the two programs are interfacing. It is difficult since no data or messages can be displayed currently to the Matlab command window. I would like to change that if it is possible - Labview is suppressing that from happening. If not possible to send these
    messages to Matlab Command Window can I make it at least possible to see Matlab's actual warnings and/or error messages in Labview?

    I don't think you can debug your Matlab script from labVIEW. The following webpage talks about this:
    http://digital.ni.com/public.nsf/3efedde4322fef198​62567740067f3cc/19106e318c476e608625670b005bd288?O​penDocument
    My suggestion would be to write a script in Matlab and thoroughly test it before calling the script from a Matlab script node in LabVIEW.
    Chris_Mitchell
    Product Development Engineer
    Certified LabVIEW Architect

  • Overmodulated Output Audio on "Client Monitor"

    I have been using an old Sony SD monitor to playback for clients. The video and audio go out of FCP to my JVC BRHD50 via Firewire then to the montior with SVHS for video and RCA for audio through a Makey Mixer to powered speakers, no problems.
    Now, I upgrade to a Sony Bravia HD monitor. Video is fine, audio seems hugely overmodulated, just a garble. This is the case whether I route it as before or just try to use the built in speakers to the monitor. I found this previous discussion but am not sure if it applies and why I would suddenly have this issue:
    Speaker hum from Rokit 5s when external video monitor is plugged
    Posted on: Aug 2, 2008 5:33 PM, by user: seanmcp33 -- Relevance: 25%
    If I switch audio to playbach through the Kona instead of the Firewire it is clear but out of sync. Thanks.

    I would check to see if they're any menus on the Bravia that deal with audio input. Sounds like you may need some sort of "attenuation (if that's the right term)" to make it work without adjusting something on the monitor.

  • Excel output of report on client machine

    excel output report on client machine
    hello
    i am running report from app server, output is excel file...
    using following URL
    web.show_document(rpt_url ||'&report='||rpt_path||'batch_idcards_print_excel.rdf&desformat=spreadsheet&destype=file&desname=c:\batch.xls','_blank');
    ----this stores the excel file at app server under c:\
    now i want to save it on client machine... how can i do that ?
    from one forum, i got help , so i changed URL as below
    web.show_document(rpt_url ||'&report='||rpt_path||'batch_idcards_print_excel.rdf&desformat=spreadsheet&mimetype=application/msexcel&destype=FILE&title=batch.xls','_blank');
    when i open report, no window opens for saving file...a new window opens and gets closed itself immediately...
    wht is the problem?... client machine having MS office excel 2003...

    Dear
    Could you, please, tell us what you've done to solve this issue? We're facing the same problem, and until now we couldn't figure out what is exactly happening.
    Thanks in advance for any help.

  • Print text file to  client side printer

    Hi all,
    I have a character mode report which will print to a client side dot matrix printer in 6i. After converted to 10g, we cannot print to the client side printer (because we don't want to map so many print queue from the AS).
    So, I try to generate the report to a text file, then use webutil to transfer the txt file to the client PC, and then use Client_HOST to call the window PRINT command to print the text file to the client side printer.
    I have test this is successful, however, when I try to do the same thing to a report with Vietnam character, then it is not.
    The print request is sent to the printer, but the printer have no response.
    But that file can be print successfully if I open in Notepad and then print manually.
    I try to use window TYPE command and COPY command, but still have no luck.
    Can anyone give me some suggestions for this....
    Thanks!

    Qiu (guest) wrote:
    : In the browser/applet, the default "print" button can only
    print
    : screen to local printer, not the data I want. Use Report
    server,
    : I can't directly print to client side printer. Is there a way
    to
    : print data to local printer after press a button?
    Are u using Run_Product function in the when button pressed,
    then u can specify the format in which u want the output, option
    available are HTML and PDF, report server runs the report on the
    server and sends the output to the client machine. On the client
    machine u have to open the file and print it. I cannot print the
    report itself on the client machine.
    Try.
    Sailesh
    null

  • Client function works once and then cannot be found

    Hi all,
    I am having a strange problem where:
    1) A flash client successfully connects to FMIS and successfully makes a nc.call command and receives a response.
    2) You can then send in a call to the server with: nc.call("startRecording", myResponder);
    -- The recording starts, I get my updateState command fired off (via broadcastMsg) to the client and everything seems fine...
    3) But when I call: nc.call("stopRecording", myResponder);
    -- The recording stops as it should, and there are no errors on the server side... but, I get the following output on the client:
    [SWF] punchTool.swf - 271441 bytes after decompression
    [SWF] SkinUnderPlaySeekMute.swf - 18276 bytes after decompression
    On Reply: Meeting info received: SRCC20090706
    update: recording
    recording
    On Reply: null
    update: notRecording
    notRecording
    On Reply: null
    ReferenceError: Error #1069: Property updateState not found on fl.video.ConnectClientDynamicStream and there is no default value.
    Error #2044: Unhandled AsyncErrorEvent:. text=Error #2095: flash.net.NetConnection was unable to invoke callback updateState. error=ReferenceError: Error #1069: Property updateState not found on fl.video.ConnectClientDynamicStream and there is no default value.
    at fl.video::NCManagerDynamicStream/http://www.adobe.com/2007/flash/flvplayback/internal::connectRTMP()
    at fl.video::NCManager/connectToURL()
    at fl.video::VideoPlayer/http://www.adobe.com/2007/flash/flvplayback/internal::_load()
    at fl.video::VideoPlayer/play()
    at fl.video::FLVPlayback/doContentPathConnect()
    at fl.video::FLVPlayback/set source()
    at <anonymous>()[punchTool_fla.MainTimeline::frame1:631]
    Test Movie terminated.
    The odd thing is, it can't recognize my client function updateState after the first use of it.
    :: Pertainant Functions ::
    Client Side
    nc.client.updateState = function(msg){
    trace("update: "+msg);
    recordStatus = msg;
    if(recordStatus == "recording"){
      // set puncher button text
      PunchBtn.PunchText.text = "Punch In";
      PunchBtn.PunchStatusText.text = "( Add cuepoint to selected item )";
      // set video player
      myPlayer.visible=true;
      myPlayer.source = "rtmp://206.176.226.166/dvr/"+videoName;//playerSource;
    // display status info
    trace(msg);
    // set reording button state
    setRecordButton();
    Server side ASC:
    // Set up the server stream.
    application.onConnect = function( myClient ) {
    // Accept connection
    application.acceptConnection( myClient );
    trace("connected");
    // receive incomming message
    myClient.myMeetingInfo = function(meetingID) {
      trace("meeting: "+meetingID);
      myClient.meetingID = meetingID;
      return "Meeting info received: "+myClient.meetingID;
    // manual end record command
    myClient.stopRecording = function(){
      if(application.recordState == "recording"){// change this to if recording
       application.ns.record(false);
       application.recordState = "notRecording";
       application.broadcastMsg("updateState", application.recordState);
    // manual start record command
    myClient.startRecording = function(){
      if(application.recordState == "notRecording"){
       application.sendStream(myClient);
       application.ns.record("append");
       application.recordState = "recording";
       application.broadcastMsg("updateState", application.recordState);
    Any direction on this would be great. Thanks all!
    -Jeff

    For more on the basic issue, see:
    Relative file pathnames in FM book files
    This, by the way, is not a bug.
    It's an intractable consequence of the dissonance between Unix-like (common root) and DOS-like (multiple root / logical drive) file systems.
    Newer versions of Frame may have an "archive" capability to save out a complete book with restructured fs hierarchy. Aftermarket products exist for older versions. We wrote our own archive script for translation export, that even gathers the imports.
    Of course, when you are the recipient of some random .book, archiving was almost never done by the exporter .

  • How to generate the output of a BSP application in PDF format?

    Hi,
    I need to modify one BSP application, which generates its output in the form of PDF. I have checked all the methods in the bsp pages and its corresponding controller class's. I couldn't find any relevant method, which deals with generating the output in PDF.
    Could you please share your valuable thoughts on this?
    Again it would be helpful, If anyone of you share some knowledge on Interactive Adobe Forms.
    Thanks,
    John

    >
    I am using oracle version 11.2.0.1, I have set a cronjob which will run on every 15 minutes and give us a log file mentioning the execution time taken for that SQL query:-
    The above query will return the output as well as the time taken for execution of the query. I want to suppress the output of the query and only want the time taken to be printed. Is it possible by set commands. I have marked the output as bold and made it Italic.
    >
    How would that even be useful?
    A query from a tool such as sql*plus is STILL going to send the output to the client and the client. You can keep sql*plus from actually displaying the data by setting autotrace to trace only.
    But that TIME TAKEN is still going to include the network time it takes to send ALL rows that the query returns across the network.
    That time is NOT the same as the actual execution time of the query. So unless you are trying to determine how long it takes to send the data over the network your 'timing' method is rather flawed.
    Why don't you tell us WHAT PROBLEM you are trying to solve so we can help you solve it?

  • How to Suppress The Output of a SQL Query In Oracle 11gR2

    Hi Friends,
    I am using oracle version 11.2.0.1, I have set a cronjob which will run on every 15 minutes and give us a log file mentioning the execution time taken for that SQL query:-
    For example:
    SQL> set timing on;
    SQL> SELECT objProp FROM aradmin.arschema WHERE (schemaId = 175);
    OBJPROP+
    --------------------------------------------------------------------------------+
    *6\60006\4\0\\60008\40\0\60009\4\0\\60010\4\0\\60018\4\0\\600*
    *22\4\68\1\63\AR:jRL#*
    Elapsed: 00:00:00.00
    The above query will return the output as well as the time taken for execution of the query. I want to suppress the output of the query and only want the time taken to be printed. Is it possible by set commands. I have marked the output as bold and made it Italic.
    Please help me at the earliest.
    Regards,
    Arijit

    >
    I am using oracle version 11.2.0.1, I have set a cronjob which will run on every 15 minutes and give us a log file mentioning the execution time taken for that SQL query:-
    The above query will return the output as well as the time taken for execution of the query. I want to suppress the output of the query and only want the time taken to be printed. Is it possible by set commands. I have marked the output as bold and made it Italic.
    >
    How would that even be useful?
    A query from a tool such as sql*plus is STILL going to send the output to the client and the client. You can keep sql*plus from actually displaying the data by setting autotrace to trace only.
    But that TIME TAKEN is still going to include the network time it takes to send ALL rows that the query returns across the network.
    That time is NOT the same as the actual execution time of the query. So unless you are trying to determine how long it takes to send the data over the network your 'timing' method is rather flawed.
    Why don't you tell us WHAT PROBLEM you are trying to solve so we can help you solve it?

  • Print the Web report directly to client default printer

    I've config out report URL with following parameter to print report output directly to client's printer, but when querying the report, nothing occurs in this printer. I still get the message of "Task done successfully"
    "http://server:7777/KienReport/rwservlet?report=kien_output.rdf&P_JDBCPDS=hr/[email protected]:1521:ora9i&destype=PRINTER&desformat=PDF"
    Do you know how to config that?
    Thanks,
    Kien

    Do you solved this? can you tell me how to solve it.
    best regards.

Maybe you are looking for

  • WebAnalysis Error: Error occured while opening document. Document ID = {0}

    Hi Experts, I am having an issue while opening a web analysis dashboard report. When I try opening it, web analysis runs for about 15 mins & then throws following error: Error occured while opening document. Document ID = {0} The report opens with it

  • Change background color of alternating rows in listview

    Hi all, Does anyone know how to change the background color of alternating rows in a listview in Visual Basic 2013? Best regards, Randy Boulter

  • ABAP/4 processor: CALL_FUNCTION_NOT_FOUND

    Hi I have no knowlesdge in ABAP. I can no more create purchasing order (ME21N). when I save , the system  I receive a message in my inbox. apparently, there is a problem with a functions: CALL FUNCTION FMTAB-FUNCT DESTINATION FMTAB-RFCDS EXPORTING pl

  • Remote log in info not saving

    Hello - I must have changed a setting on my computer because I now have to enter the username and password each time I want to connect to any of the remote sites for the pages I manage. I am using Dreamweaver 8 on a PC running Windows XP. thanks! San

  • Converting doubles to integers?

    HI i have a slight problem with converting varibles of type to double to an integer. (i just want to output the value as a whole number.) Any ideas of how this can be done? thanks.