Remote Command/ACK Response

Hello everyone,
I am sending a ?SCU (scan) command to record transmittance from a set wavelength and the data comes up a line at a time and I have to reply to each line with an ACK response (ASCII - 6, control - F).  I also have to detect the ##END= line to know when the data set ends.
Problem lies in how to do this and where I have to add it in my VI.
Attached is my VI (the read portion is all messed up, I deleted a portion of it and haven't been able to modify it), and an old text file of the data I will be looking to receive.
Thanks in advance for any help with this
**For some reason the text file isn't uploading properly.  I'll try and get it up real quick though..
Message Edited by Steve.Briggs on 01-11-2007 09:37 AM
Attachments:
VISA Write-Read.vi ‏453 KB

The original text file was given to me as a .jcp file, which won't upload on the forums, and as a .txt file it doesn't show up as anything.  So here it is...
##TITLE=
##JCAMP-DX=4.24
##DATA TYPE=UV/VIS SPECTRUM
##ORIGIN=CECIL INSTRUMENTS LTD
##OWNER=PUBLIC DOMAIN
##DATE=93/11/26
##TIME=14:40:34
##SPECTROMETER/DATA SYSTEM=CECIL  CE 3040
##INSTRUMENT PARAMETERS=
     SCAN RATE=10.0NM/S
     REFERENCE=
     OPERATOR=
##DATA PROCESSING=Smoothing:   1.0 nm
##RESOLUTION=2.0
##SAMPLE DESCRIPTION=
##TEMPERATURE=
##PATH LENGTH=
##XUNITS=NANOMETERS
##YUNITS=TRANSMITTANCE
##XFACTOR=1
##YFACTOR=0.00004
##FIRSTX=0200.00
##LASTX=0700.00
##NPOINTS=1001
##FIRSTY=0.00028000000000
##MINY=0.0001
##MAXY=0.8219
##XYDATA=(X++(Y..Y))
200.00 7 9 9 6 6 8 9 8 8 9 7 6 5 5 8 7 5 3 3 5 6 5 5 5 5 5 7 7 5 5 5 6 4 5
217.00 5 5 6 7 9 8 8 12 16 20 26 30 34 42 52 64 78 90 103 119 140 161 183
228.50 208 235 261 289 318 346 376 408 438 471 510 545 581 621 663 704 744
237.00 789 834 872 911 964 998 1008 1015 1011 1015 1050 1119 1218 1321 1414
244.50 1501 1581 1657 1731 1803 1868 1932 2000 2066 2124 2183 2239 2294
251.00 2356 2426 2504 2598 2697 2796 2895 2993 3092 3191 3286 3377 3467
257.50 3562 3674 3793 3897 3990 4077 4160 4241 4332 4437 4551 4678 4822
264.00 4974 5128 5282 5431 5582 5734 5882 6031 6179 6318 6456 6592 6720
270.50 6851 6987 7128 7269 7408 7543 7677 7807 7924 8038 8162 8290 8409
277.00 8506 8572 8566 8446 8243 8091 8172 8515 9000 9486 9899 10231 10495
283.50 10727 10931 11112 11257 11304 11208 10972 10669 10415 10315 10454
289.00 10763 11059 11305 11558 11869 12216 12550 12846 13155 13349 13477
294.50 13667 13852 14029 14197 14372 14551 14716 14873 15035 15198 15354
300.00 15497 15626 15738 15843 15954 16068 16171 16270 16371 16462 16545
305.50 16634 16722 16804 16892 16978 17053 17119 17179 17254 17331 17393
311.00 17455 17526 17594 17647 17699 17755 17810 17865 17967 18025 18024
316.50 18085 18131 18162 18205 18250 18286 18324 18350 18375 18420 18465
322.00 18489 18508 18537 18565 18595 18630 18667 18706 18737 18756 18775
327.50 18807 18818 18811 18806 18780 18726 18663 18575 18444 18271 18061
333.00 17851 17691 17672 17801 17997 18201 18366 18476 18546 18610 18665
338.50 18710 18738 18746 18759 18758 18753 18757 18763 18757 18725 18674
344.00 18648 18657 18660 18640 18610 18573 18525 18490 18494 18541 18623
349.50 18726 18828 18887 18905 18915 18923 18933 18949 18975 18994 18996
355.00 18972 18904 18772 18570 18259 17804 17163 16244 14971 13395 11680
360.50 10320 9808 10183 11186 12416 13587 14564 15321 15915 16429 16923
366.00 17375 17750 18041 18238 18364 18454 18542 18652 18929 19127 19321
371.50 19486 19619 19721 19792 19838 19867 19884 19897 19902 19900 19898
377.00 19897 19904 19908 19877 19833 19770 19674 19548 19412 19306 19272
382.50 19312 19382 19435 19425 19360 19261 19164 19103 19108 19196 19329
388.00 19465 19601 19701 19747 19751 19747 19749 19760 19797 19848 19894
393.50 19933 19968 20001 20013 20015 20017 20019 20026 20043 20054 20056
399.00 20056 20072 20145 20127 20050 20046 20045 20054 20062 20064 20066
404.50 20068 20071 20071 20071 20068 20055 20041 20038 20030 20016 19991
410.00 19953 19904 19834 19731 19598 19420 19203 19024 18891 18796 18702
415.50 18560 18349 18041 17665 17293 16977 16789 16809 17019 17397 17811
421.00 18228 18582 18938 19059 18971 18916 18839 18799 18812 18878 18998
426.50 19151 19305 19451 19584 19696 19784 19848 19885 19899 19894 19881
432.00 19865 19849 19826 19808 19788 19757 19708 19639 19542 19425 19289
437.50 19125 18927 18672 18338 17931 17415 16690 15653 14194 12268 10016
443.00 7696 5519 3772 2675 2124 1989 2194 2699 3518 4654 6056 7522 8753
449.50 9646 10180 10335 10121 9614 8984 8417 8062 8019 8350 8990 9809 10625
456.00 11224 11432 11174 10528 9615 8583 7621 6996 6855 7143 7697 8386 9187
462.50 10076 11037 12098 13292 14477 15478 16282 16908 17404 17791 18093
468.00 18359 18602 18771 18864 18898 18890 18854 18802 18749 18694 18591
473.50 18562 18681 18722 18749 18874 19025 19184 19349 19499 19615 19689
479.00 19715 19680 19619 19537 19442 19330 19208 19094 18973 18853 18760
484.50 18719 18733 18770 18805 18824 18831 18823 18805 18805 18843 18905
490.00 18984 19050 19160 19312 19426 19538 19647 19747 19850 19945 20012
495.50 20068 20119 20167 20203 20224 20246 20267 20292 20311 20320 20327
501.00 20338 20334 20332 20334 20330 20330 20333 20336 20336 20331 20328
506.50 20323 20320 20318 20308 20304 20310 20320 20324 20323 20327 20329
512.00 20328 20325 20325 20329 20353 20378 20361 20337 20337 20338 20337
517.50 20331 20325 20322 20326 20328 20324 20319 20314 20307 20299 20288
523.00 20276 20265 20250 20227 20203 20176 20143 20113 20085 20041 19987
528.50 19927 19850 19751 19631 19491 19315 19089 18805 18440 17957 17355
534.00 16717 16138 15639 15242 14970 14829 14806 14899 15100 15400 15799
539.50 16228 16597 16941 17285 17589 17837 18052 18235 18366 18468 18543
545.00 18570 18574 18571 18563 18553 18580 18650 18752 18910 19073 19202
550.50 19326 19432 19522 19594 19649 19706 19770 19843 19921 20006 20093
556.00 20169 20232 20287 20330 20364 20396 20405 20402 20411 20416 20418
561.50 20426 20437 20444 20448 20445 20436 20445 20456 20458 20458 20463
567.00 20465 20467 20467 20463 20461 20469 20473 20471 20468 20471 20472
572.50 20473 20476 20480 20483 20485 20485 20474 20467 20466 20467 20467
578.00 20476 20492 20499 20502 20480 20474 20475 20476 20475 20476 20476
583.50 20479 20478 20480 20484 20486 20484 20478 20477 20475 20473 20474
589.00 20477 20463 20448 20464 20476 20478 20477 20478 20483 20480 20477
594.50 20470 20464 20466 20468 20472 20477 20478 20477 20475 20475 20468
600.00 20463 20467 20469 20471 20476 20475 20452 20455 20481 20481 20478
605.50 20479 20482 20483 20481 20481 20480 20478 20478 20479 20476 20472
611.00 20475 20476 20472 20472 20470 20470 20472 20470 20468 20465 20462
616.50 20457 20455 20455 20450 20445 20442 20435 20430 20423 20414 20406
622.00 20398 20388 20379 20369 20357 20341 20330 20317 20299 20274 20247
627.50 20221 20200 20173 20137 20098 20047 19977 19896 19799 19685 19562
633.00 19427 19262 19069 18864 18663 18483 18316 18153 18009 17897 17816
638.50 17760 17727 17726 17766 17849 17964 18094 18225 18350 18462 18557
644.00 18632 18687 18727 18748 18751 18742 18729 18710 18686 18657 18627
649.50 18597 18572 18573 18614 18679 18770 18866 18968 19074 19180 19277
655.00 19363 19443 19513 19567 19617 19640 19642 19642 19633 19613 19584
660.50 19555 19531 19503 19473 19443 19413 19393 19383 19390 19408 19442
666.00 19489 19546 19610 19678 19746 19822 19910 19997 20076 20145 20211
671.50 20268 20314 20353 20385 20408 20424 20441 20453 20464 20473 20480
677.00 20487 20492 20497 20501 20503 20505 20508 20508 20508 20511 20515
682.50 20517 20515 20516 20520 20520 20521 20523 20523 20522 20523 20522
688.00 20523 20527 20529 20529 20531 20531 20531 20532 20534 20535 20534
693.50 20537 20538 20538 20542 20545 20540 20539 20539 20539 20541 20545
699.00 20547 20542 20541
##END=

Similar Messages

  • Satellite A500-14L: Supervisor Password Utility & Remote Command Manager

    Hi,
    I just installed Windows 7 Home Premium *x64* on my A500-14L (PSAM3E-02N008FR) and all went smooth, even the TVAP and flashcards install. Unfortunately, I have a problem with the following utilities (latest versions found on Toshiba website) :
    - Supervisor Password Utility
    - Remote Command Manager
    I installed both of them but I can't find them in my start menu!
    There is no install error but it's like they are not installed at all.
    Can someone please help me on this matter ? Thanks in advance.
    Aramys

    Hi
    For Supervisor Password Utility I recommend checking the Toshiba Assist.
    In Secure you should see the Supervisor Password Utility.
    The Remote Control Manager improves the support for a remote control on your computer.
    Im not sure if you could access this application but if yes then you should check it in control panel.

  • Processing data for a remote command failed with the following error message: Error occurred during the Kerberos reponse.

    Hi!
    We have 5 Exchange 2013 servers and when I’m trying to run a script that includes the cmd-let Get-MessageTrackinglog with StartDate = the first of the month and with EndDate = the end of the month I get the following error message after
    a couple of hours. The script is run on the server SERVER01 and goes through the Message Tracking logs of all Exchange servers. I have tried the script on other servers and get the same result.
    Processing data for a remote command failed with the following error message: Error occurred during the Kerberos reponse.
    [Server=SERVER01, TimeStamp = 918/2014 19:32:34]
    For more information, see the about_Remote_Troubleshooting Help topic.
        + CategoryInfo         
    : OperationStopped: (server01.domain.com:String) [], PSRemotingTransportException
        + FullyQualifiedErrorId : JobFailure
        + PSComputerName       
    : server01.domain.com
    I have gone through “about_Remote_Troubleshooting Help topic”, but can’t find anything related to my issue. There is nothing in the Application or the Windows PowerShell log either.
    /Henrik

    Hi Henado 
    Check the time on your Exchange server(s) relative to the DCs and ensure they are in correct sync
    Use another account which is assigned the Organization Management permission and log to to the server run the command in shell and see the results
    Run 
    Add-PSSnapin -Name Microsoft.Exchange.Management.PowerShell.E2010
    Set-Adserversettings -ViewEntireForest $True and then run message tracking command and see the results
    If none of the above helps you may need to remove and re-install the WinRM and see the results
    Good Luck :)
    Remember to mark as helpful if you find my contribution useful or as an answer if it does answer your question.That will encourage me - and others - to take time out to help you Check out my latest blog posts on http://exchangequery.com

  • Remote command execution via ssh on ips sensor...

    I am attempting to execute a command remotely via ssh so that I can collect the information on another host.
    ex: ssh -t username@sensor show tech-support
    Instead of the output I expect, I receive an error message: Error: Received invalid command line argument.
    Is this type of remote command execution supported by the sensor?
    Kevin Riggins

    Not true, i already created scritp to automaticly backup the IPS

  • Error sqlldr with plink in remote command

    Hi all,
    My OS is Windows, I tried to launch a sqlldr remote command with plink (putty) :
    Command dos:
    "plink host -l oracle -pw oracle sqlldr -userid schema/pwd -control /tmp/test.ctl"
    I had this error : "ksh: sqlldr: not found"
    Setting of server :
    $ORACLE_HOME=/app/local/oracle/product/10.2.0/Db_1
    When I try directly "sqlldr -userid schema/pwd -control /tmp/test.ctl" with putty on the server it's working.
    Please somebody could explain me how can I do it with remote command line ?
    Thanks

    Ok, results below :
    echo $ORACLE_HOME
    /app/local/oracle/product/10.2.0/Db_1
    which sqlldr
    /app/local/oracle/product/10.2.0/Db_1/bin/sqlldrSo I think it's ok for these settings, what is the issue ?
    Thanks

  • New QIP6416-2 does not recieve remote commands

    I recently ordered a new QIP6416-2 and its not recieving remote commands.
    Any help?

    There are several possibilities including improper setup, but let's assume that is OK. First, be sure to set the remote to operate the STB and not something else (easy to accidentally bump a button).  Try the buttons manually on the front of the STB to confirm signals are going to the TV. If those are OK, there could be more technical issues. One that I am experiencing is that my Samsung LCD model 850 TV emits IR interference and often renders the remote useless. If the TV is in "Standard" mode, it works most of the time. If the TV is in "Movie" mode, the remote is totally ineffective. More information on your rig would help. You might also try - shudder - phoning tech support. 

  • App to run remote commands

    I am building an app to run remote commands. A server app with tcp/ip to listen for connections, validate user, then let user send commands(from a predefined list) that will fire the Runtime rt = Runtime.getRuntime() , the Process proc = rt.exec(cmd from cmd list)
    Any thoughts on this? Better method or practice?
    Can you get static of a proc whil running? I wnat each call to be a new proc, so I guess I could vector them after creation?
    M

    strictly network internal ops. Run exe/bat/com on remote server. The commands will be contolled by the admin, so we will be limited. I see the server running as a Win2k service so the permission for it to execute commands could be limited to the user that is the 'log on as' for the service.(is this a correct assumption?)
    We have tried rcmd, windows scripting, etc...but they all require admin privs on the target machine and the admins won't allow this.
    My thought was to build a command object to extend into commands we are allowed to run. you use a gui to send encrypted command name to server, it decrpyts and runs the appropriate cmd object, firing runtime to execute a predefined cmd string held in the cmd object and permissions based on service 'log on As' user.

  • Problem in APDU-case 1:No command,no response

    Hello evrybody.I have done a method in my java card applet which does not return any command data neither response data.
    I wrote in my APDU script the following(as defined the case 1 in the Zhiqun Chen's book-page 102,says that "P3(the 5th field in the APDU buffer) has to be 0"):
    //CLA INS P1 P2 P3
    0xB1 0x50 0x00 0x00 0x00;
    Howevr, the executed APDU script returns me the following:
    com.sun.javacard.apdutool.ReaderWriterError: Encountered ";" at line 105, column
    25.
    Was expecting one of: <INTEGER_LITERAL> ...
    <CHARACTER_LITERAL> ...
    <STRING_LITERAL> ...
    I have tried to add another 0x00 byte at the end of the above script line, as follwoing:
    //CLA INS P1 P2 Lc Le
    0xB1 0x50 0x00 0x00 0x00 0x00;
    //WIth the idea that Lc=0(no command data) and Le=0(no response data)
    I noticed that the method is working properly(does the work that has to do;I tested and I am definetely sure) but on the other hand the executed APDU script returns as SW1 SW2 the following:
    CLA: b1, INS: 50, P1: 00, P2: 00, Lc: 00, Le: 00, SW1: 6f, SW2: 00 (!!!!)
    Actually,I was waiting for SW1 SW2 == 90 00.
    I do not know why this is returned.
    Do you know what it is going wrong?
    I will appreciate any help and guidance.
    Thank you for you time.

    I will give the code of my function.I think the problem is in the code of this method(function).I will give you in order to have a look at it:
    private void delete_all_records(APDU apdu)
         ver_pin();
         byte[] buffer=apdu.getBuffer();
         byte get_P1=buffer[ISO7816.OFFSET_P1];
         byte P3=buffer[ISO7816.OFFSET_LC];
         //Check the appropriate syntax
         if (get_P1!=(byte)0) // || (P3!=(byte)0) )
         ISOException.throwIt (SW_SYNTAX_DEL_ERROR);
    // else
         //Delete all the record.This for loop
         //deletes all the records' ids.
         for (short i=0;i<kostas.length;i++)
         kostas[(short)i].record_id=(byte)0;
    I did not use any of the functions such as sendBytes() or apdu.setIncomingAndReceive because I did not want to take data either to return response data.Do you have any idea what's going on?
    I will really apprecitae any help.Thank you for your time.

  • Uninstall IE10 script or other remote command

    Hi,
    Please note that I originally submitted this under Internet Explorer category and was told to move it here.
    Obviously on a localised, single PC, to uninstall IE10 and revert to IE8 you would simply go into Control Panel, Programs & Features, View Installed Updates, find IE10 and uninstall.
    However, planning a mass rollout like I am, I need to be able to uninstall IE10 on multiple PC's at once. In a disastrous scenario, I would want to uninstall it from all PC's as soon as possible (up to 300).
    I did some Google-ing and found a couple of answers however for whatever reason, the command I found seems not to work if a non-administrative account is logged on even if I instruct the script to run as local system or a specific admin account. The command
    does work on a local PC if you first run command prompt as an administrator then enter the command, but as mentioned at the beginning of this question, I need to be able to do it remotely and not manually.
    FYI the current answer I found is to run this script:
    FORFILES /P %WINDIR%\servicing\Packages /M Microsoft-Windows-InternetExplorer-*10.*.mum /c "cmd /c echo Uninstalling package @fname && start /w pkgmgr /up:@fname /quiet"
    Does anyone have a cleaner, more guaranteed way to uninstall IE10?
    Thanks.

    I have used the below script and it worked quite well, but it was on my work station.
    FORFILES /P %WINDIR%\servicing\Packages /M Microsoft-Windows-InternetExplorer-*10.*.mum /c "cmd /c echo Uninstalling package @fname && start /w pkgmgr /up:@fname /norestart"
    Is there some reason why you aren't going to update your image and remove IE10 before you deploy it to 300 systems?

  • Remote Command Tool for Cisco Routers/Switches

    Is anyone aware of any tools or scripts out there which allow preconfigured commands to be remotely run again Cisco Router/Switches and display the output result?
    I'm looking for a tool which I can give our Service Desk personnel that will allow them to select from a list of commands enter a target IP Address of a router/switch and then the tool will display the vlan table or the running config of a particular switch-port so they can see if its configured on the correct data vlan or its missing its voice vlan etc.
    For example a Service Desk Operator needs to check what vlan a switch-port is on. So they open the tool, enter the switches IP address and the port number and select an option like "display a switch-ports vlan" and the tool will login into the switch in the background run a show command on the switch and then output the result.
    Thanks.

    Check out rConfig. You will be able to run multiple instances of it i.e. one instance for your standard configuration backups and another for more specific configuration downloads info like show vlan bri commands etc for service desk staff to view.
    You could also use the IOS menu function and create menus or role based access on each of your devices for your users.
    Regards
    Stephen
    ==========================
    http://www.rConfig.com 
    A free, open source network device configuration management tool, customizable to your needs!
    - Always vote on an answer if you found it helpful

  • Measure the communicat​ing time between LabView send out commands and response of instrument

    I send a command to a function generator(SRS DS345)using "GPIB Write" via GPIB,to change the frequency of output.And I would like to to measure the time between
    initially send out commands and actual response of instrument(frequency change).I have designed a program which contains three sequences,the 2nd one contains "GPIB Write",and the 1st and the 3rd contain "Tick count",then subtract the latter from first one.I think this is not the time that I want...
    What should I do ?
    Thanks!!

    If want a more precise and NIST-traceable method of timing a portion of your LabVIEW code. The below VI uses two counters on an E-Series or NI-TIO based device to complete this task.
    Download the attached VI and replace the for loop (EVENT TO TIME) with your VI or code.
    This example uses the maximum timebase of your device as the source for "simple event counting". Due to counter roll-over, two counters are used in order to be able to time events of short or very long duration. See VI Documentation for more information.
    Attachments:
    Time_With_Counters_(LV61).vi ‏199 KB

  • Scripting Question for Remote & Command list

    There must be some info on the commands / functions allowed for DVDSP scripting. For instance, how does one know ran = random. div = divide. Can you please point me in that direction. Note: already looked at the 2 tutorial sites suggested and the book authors mentioned, and while those were helpful looking for a comprehensive list, or at least some list like so many of my other programming books contain.
    More advanced question: Does anyone know the scripting conversion for the remote control. For example
    if remote = play jump end....
    or
    if controller = next jump start...
    Not sure what the code would look like, but it must be fairly simple, and someone must know the answer:)
    Thanks!!!

    No probs. If you're more specific we could maybe help more. I mean you could write a script and then make the button target that script, or make all buttons target a script and make decisions based on which button was pressed... but there isn't always much point cause you dont have the interactivity level you do with Flash/Director,
    -jake
    P.S Thanks for coming back to the thread. To help the new system, when you feel the question has been answered can you mark it answered/helpful etc, cheers.

  • Firefox remote command in Sun Ray

    Hi all,
    I'm trying to solve a problem in a Sun Ray environment. Our program has to use firefox remote to launch a new browser window in addition to an already opened browser window.
    But it does not work. No new browser window is opened. Here is output from the standalone build of remote.c (from original Netscape remote control source) as a test program.
    % ./firefox-remote -remote 'openURL(http://www.sun.com,new-window)'
    firefox-remote: warning: expected version 1.1 but found version
    5.1 (0xc80049) instead.
    firefox-remote: (writing MOZILLALOCK "pid63258@xavsun" to 0xc80049)
    firefox-remote: (writing MOZILLACOMMAND "openURL(http://www.sun.com,new-window)" to 0xc80049)
    firefox-remote: (server 0xc80049 has accepted MOZILLACOMMAND.)
    2147500037firefox-remote: (server sent MOZILLARESPONSE "500 command not parseable" to 0xc80049.)
    But it works fine if issuing the following command:
    % firefox -remote 'openURL(http://www.sun.com,new-window)'
    Also our program and this test program work fine in Sun Blade workstation.
    Is there anybody who has experienced this or has some idea what's going on here?
    Thanks a lot for your help.
    Jenny

    I solved it in kiosk mode adding my locale to the option Locale like this:
    es-ES

  • Executing a remote command

    Hi,
    I need to execute some commands on a remote machine. The local machine is a win2K box running weblogic. The remote machine is a UNIX box and it is not running RMI. I have tried using Runtime.getRuntime().exec(cmd) to do this. I tried making calls to telnet, rsh, and rexec for the cmd. In all three cases I was unable to get ahold of the input stream to be able to supply a password.
    I have looked at using the de.mud.telnet package but was unable to use it because of a liscencing issue.
    Is there another method I should be trying?
    Can anyone help?

    For details on Runtime.exec: http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html
    ORO's NetComponents can handle telnet: http://www.savarese.org/oro/software/NetComponents.html
    There's also a "java telnet application" in sourceforge: http://sourceforge.net/projects/jta/

  • Remote Commands

    Hello everyone,
    Has anyone ever had to deal with setting up a .bat/.cmd file where you need to schedule a task to run commands on a UCCX/CUCM server? I've tried setting one up using "plink" and I get errors. I'm not limited to just using "plink", but would like to get some general insight from the community if anyone has tried doing this before.
    Thanks!
    Justin

    Apparently, you must first enable Powershell Remoting.

Maybe you are looking for