Plot channel within script

Hi Guys,
I have been using Diadem only for 1 month and I got great answers from this forum previously. This question may sound trivial but could someone tell me how to plot a channel by writing a script. So far I have this:
Call View.LoadLayout("view3")
View.Sheets("Sheet 1").Areas("Area : 1").DisplayObjType = "CurveChart2D"
View.Sheets("Sheet 1").Cursor.Type = "Frame"
View.Sheets("Sheet 1").Cursor.Mode = "GraphPoints"
The only way I have found to import a channel to this area is to Call interactioOn(), import it manually then end the interaction. I would like to do this manually, I tried this but it would give errors:
View.Sheets("Sheet 1").Areas("Area : 1").DisplayObj.Curves.Add(1,3)
 Can anyone give me a hand?
Thanks
Solved!
Go to Solution.

Hi Brad,
If I define previously "Sheet", "Area", "Graph" and "Curve" it works but now the rest of the script doesn't. After adding the channel there is an interaction where the user selects the part of the graph he want to keep using a band cursor, now that section is not working as when I end the interaction I get an empty channel. Could you please have a look at the script and let me know if you see the problem? I guess I have to change the way R4, R5, R6 & R7 are defined but I don't know how to do it. This script has the changes you told me to do and I comented the 3 lines of code that your solution replaces.
Thanks,
Leo
Option Explicit 'Forces the explicit declaration of all the variables in a script.
Call Data.Root.Clear() 'Clear the dataroot
'--------------- Loads Dialog box to select TDM file ---------------------------
Dim MyFileNames, iCount, Sheet, Area, Graph, Curve
Call FileNameGet("ANY", "FileRead", DataReadPath, "TDM data (*.tdm),*.tdm", "All.lst", True, "Data selection")
MyFileNames = Split(FileDlgFileName,"|")
For iCount = 0 To Ubound(MyFileNames)
Call DataFileLoad(MyFileNames(iCount))
Next
Call View.LoadLayout("view3")
Set Sheet = View.Sheets(1)
Set Area = Sheet.Areas(1)
Area.DisplayObjType = "CurveChart2D"
Set Graph = Area.DisplayObj
Call Graph.Curves.RemoveAll
Set Curve = Graph.Curves.Add("time","velocity")
'View.Sheets("Sheet 1").Areas("Area : 1").DisplayObjType = "CurveChart2D"
'View.Sheets("Sheet 1").Cursor.Type = "Frame"
'View.Sheets("Sheet 1").Cursor.Mode = "GraphPoints"
' Shows View panel, allows customer interaction for choosing two Data channels -
'---------------- and selecting two Frame cursor positions ---------------------
WndShow "View"
'- End interaction with File > End iteraction or by , or the appropriate button-
'- on the toolbar to disable the interaction mode (hand with red stop button) --
call msgboxdisp("Select Channel data and drag it onto the View panel")
call msgboxdisp("Select 2 cursor position leaving between the cursors the desired part")
Call InteractionOn() 'Allows for customer interaction to load data & select two cursor positions
'------------------------- Calculates Cursor data ------------------------------
R4 = view.Sheets("Sheet 1").Cursor.X1 'Cursor 1 X position
R5 = view.Sheets("Sheet 1").Cursor.X2 'Cursor 2 X position
R6 = view.Sheets("Sheet 1").Cursor.Y1 'Cursor 1 Y position
R7 = view.Sheets("Sheet 1").Cursor.Y2 'Cursor 2 Y position
'--------------- Stores Cursor data into the new channel groups ----------------
Dim Chlength,Chnumb,i
Chlength=CL(1)'CL calculates the channel lenght
'call msgboxdisp(Chlength,"MB_OK", "MsgTypeWarning",, 4)
Chnumb= ChnNoMax'Calculates the number of channels
For i=1 to Chnumb
if R5>R4 then
Call DataBlDel(i,R5,Chlength)
Call DataBlDel(i,1,R4)
else
Call DataBlDel(i,R4,Chlength)
Call DataBlDel(i,1,R5)
end if
Next
'-------------- Loads Dialog box for saving TDM file ---------------------------
scriptInclude("Save_File")

Similar Messages

  • Is the number of histogram pixels the same for each channel within each layer?

    Dear Photoshop Scripting Forum:
    I have written a script to isolate the number histogram pixels for each channel within each layer of a file.
    However, I have found some unexpected results: That, the number of pixels is the same for each channel within each layer.
    For example,
      Layer 1 has 18,979 pixels by itself, and so does each channel within it (Red, Green, and Blue)
      Layer 1, Channel Red, has 18,979 pixels
      Layer 1, Channel Green, has 18,979 pixels
      Layer 1, Channel Blue, has 18,979 pixels.
    This does not seem right to me.
    Does someone else have the same experience, or knowledge of something else?
    I am wondering if there is a bug in my script.
    If need be, I will post the script, but it's kind of long for a forum.
    Thank you.

    The following is for RGB 8bit images.
    The red historgram is an array of red values of the pixels that range from 0 to 255. Each element in the array has the number of pixels that have that red value. So for example if you had a layer that is pure red 255,0,0 all the pixels would be in the 255 element and there would be no pixels in the other elements. The red historgam still has the same number of pixels as the layer. They are just all in one histogram element( they all have the same value ).
    But even if you know that all the pixels in a layer are all in the last element(255) of the red histogram you still don't know the color of the pixels. A white pixel has a red value of 255. So does a yellow, magenta, etc pixel. If you only know the red value of a pixel the pixel could be one of over 65000 colors. Most of which would not be considerd 'red'
    It is the three channels together that detemine a pixel's color. Unless the layer is one color you can not tell the color of the pixels from looking at the histogram.
    Unless you use the color range selection then get the histogram of the selection. Even then you need to decide what color value make up 'red'

  • Link Oracle VM2.2.3 server to ULN channel within spacewalk 2

    Hi,
    recently we decided to take OVM updates under Spacewalk control.
    The issue I faced is that after creating proper channels and registering the OVM server in Spacewalk server, I don't see any channels that can be assigned to the particular client.
    Details are here:
    OVM server:
    [root@ovm2 /]# cat /etc/ovs-release
    Oracle VM server release 2.2.3
    Spacewalk server:
    Parent channel: ovm22_2.2.2_i386_base
    Child channel #1: ovm22_i386_latest
    Child channel #2: ovm22_2.2.2_i386_patch
    All channels are synced to ULN, but when I try to link the channel with host I see under Systems(tab) -> ovm2 -> Alter Channel Subscriptions -> Base Software Channel: (none, disable service)
    Does anyone has an experience how to link Oracle VM2 server to proper channel within Spacewalk?
    Thanks,
    Dmitry.

    Thanks Avi,
    I believe I registered them successfully as they look like el5 server for Spacewalk and it doesn't distinguish them as OVM servers.
    I'll try to perform one more test, checking if it allows me to connect them to el5 channel.
    In regard to keys - yes, after the key was generated I assigned OVM 2 Base Channel to it - repository uln:///ovm22_2.2.2_i386_base.
    Going forward, if Spacewalk doesn't support registering and servicing updates for Oracle VM2 may be you know any other proper way of managing Oracle VM2 server updates and erratas?
    Cheers,
    Dmitry.

  • LogicX  FREE Channel Switcher script by AUDIOGROCERY

    LogicX  FREE Channel Switcher scripter preset by AUDIOGROCERY
    Audiogrocery is excited to announce the new A.G Midi Channel Switcher which is royalty free. The A.G Midi Channel Switcher is a new ultimate midi processing script/preset designed for the LogicX scripter plugin. You can use this plugin preset to switch easily the incoming midi channel into any other channel to be able to change the instrument patch, articulation etc via Key Switches or Program Change messages. The A.G Channel Switcher is designed to be used with any multitimbral Software Instruments such as Spectrasonics Omnisphere, NI Kontakt, Steinberg Halion Sonic etc, or with multitimbral hardware midi devices via the Logic External Instrument software plugin.  
    Key Features
    • Smooth channel/patch change. You can hold down a few notes and switch to another midi channel via Key Switch (KS) or Program Change (PC) without any interruption. After the switching, the new notes will be performed by the new patch while the old “held” notes will play the old patch until you release them. The method guarantees no hanging note events!
    • Non-note events “Pass Thru”. The midi channel of the all other midi events such as Control Change, Pitch Bend etc is transformed into new channel so you can control the new patch accordingly.
    • Midi Channel Key Switching. You can assign a custom Key Switching range using Min/Max Note assigners UI parameters. 
    • Midi Channel Program Change Switching.
    The A.G Midi Channel Switcher comes with Mac Installer for easy install and use in any LogicX project. The tool comes with a detailed User Guide documentation PDF included in the pack.
    PS. Audiogrocery is going to release a bunch of FREE Pro Environments & Scripter plugins for Logic, as well as NI Kontakt Extra scripts. Stay in tune…
    Regards,
    A.G

    Hi, for Oracle 10g you can use the Oracle Policy for custom alerts, then you can monitoring the database from Oracle Database Control.
    Regards.

  • How do I create a script to crop the channels within specific limits defined by me?

    Hi,
    I am trying to automate processing of my channels, but as a first step I need to crop them within specific boundaries (all data at once).
    Kindly let me know any specific script commands which would help me in doing the same.
    Solved!
    Go to Solution.

    Hi Brad_Turpin,
    I have attached a sample data with this post for your reference. In the attached file, there is one time channel (X axis) and one data channel (Y axis), and I need to crop both the channels apart from 0 to 20 sec.
    I checked the syntax for DataBlDel() which is 'Call DataBlDel(ChnNoStr, ChnRow, ValNo, [ValDelOnly])'. What I understand from this is (please correct me if I am wrong), I need to input the 'row no.' and the number of values from and to which I want to delete values from the channel data.
    But the problem for using it is that the 'row no.' and the number of values I want delete may vary when I pull in a different dataset. (i.e. If you look at the attached file you can see that for this example time channels starts from -5 to 40 sec, but for a different dataset time channel may start from -10 to 35 sec. But my requirement for the new dataset still remains same, that is from 0 to 20 sec). What should I do for this condition
    Additionally, I would also like to know the best way to crop if I am having more than one data channels (lets say, I am having 5 data channels apart from the time channel and want to crop all of them from 0 to 20 sec).
    Hope I have not confused you, please let me know for further clarification of my requirement.
    Thanks in advance.
    Regards,
    Fazil Shah.
    Attachments:
    to crop_1.zip ‏7 KB

  • How to close a form within script

    Hello,
    I'm using Adobe LiveCycle Designer v 8.2 to develop an Order form. I'm fairly new to developing in LiveCycle, and would like to ask the following question that I couldn't find an answer to elsewhere.
    I'd like to know if it is possible to close a form down within a script, if certain conditions are met/not met. Specifically, when my form loads I am testing the user's version of Acrobate Reader. If it is not above the stated version, I would like the form to close down. At the moment, it displays the warning message correctly but then continues to try and load the form.
    I guess the JavaScript equivalent of Me.Close() is what I am after
    if 
    (xfa.host.version < 8.101){
    xfa.host.messageBox("Your version of Adobe Acrobat Reader is not recent enough to use this form.",
    "Wrong version of Adobe Acrobat", 1);//Code to close form to go here
    Can anyone help?
    Thanks
    Matt

    You will be able to close the form but you will not be able to close the Reader application. The command you want is event.target.closeDoc(). This will close the currently active Document. Note that if you are diosplaying in a browser then it will not close the doc ....it will only work form the Reader/Acrobat applications.
    Paul

  • Multi Plot XY Graph. One Plot Envlope, checking to make sure the other plot falls within the enclope plot

    Hi Guys
    Have a problem with XY graphing, I have 5 xy samples that define an envlope (one plot), samples need to be checked to make sure they are within the selected envlope.
    Any Ideas ?

    Can you split the 4 xy point for your envelope int two envelopes:
    Upper Limit 0,0 3,6 9,9
    Lower Limit 3,0 9,9 (or maybe 0,0 3,0 9,9 if you need to start at x=0)
    Then in your limit check connect both upper and lower envelopes.
    Have a look at the attached vi, it's not very tidy and there may be a problem with the number of samples in the various arrays, it may give you some ideas to try.
    Attachments:
    Check_Envelope.vi ‏72 KB

  • X-Plot Channel 1 vs. Channel 0 in Signal Express

    Hello All! This is probably obvious, but I have not been able to find it. I am trying to use signal express to record 2 differential analog imputs in a DAQ device (NIDaqMX). I have differential Channel 0 and differential Channel 1. I can record channel 0 vs. time and 1 vs. time, but I need to be able to generate a Channel 1 vs Channel 0 plot. Is there a way to do this in Signal Express?
    Your help will be greatly appreciated.
    Thanks in advance,
    Diego J. Diaz

    Hello Phil, Rob, All;
        Thanks for your replies. I will give a bit of background of what I am trying to accomplish. We have an old piece of electrochemical instrumentation (potentiostat) that used to collect data to an X-Y recorder. It sends an analog (up to) -10 to 10 V signal on an X channel and another one on an Y channel. We can use knobs in the instrument to "scale" the signal (or in LabView or Excel). Now, the X-Y recorder is gone to the old instrumentation heaven and I am trying to use and USB-6008 or USB-6009 (I have both) to collect data. X-axis is the voltage to which I assign channel #0 and the current is assigned to channel 1. Now, I can collect different "waveforms". It is usually a linear ramp (low-high-low) in cycles or steps (low to high to low asd a staircase instead of a ramp). I can collect either channel separately, but can't plot current vs potential (1 vs 0). I can do current vs time or potential vs time.
    Thanks for all the help. Hope this bit of background can help in finding a solution.
    Diego J. Diaz

  • Inline XSLT Call Template within Scripting Functoid logic needed

    In my Scripting Functoid, Config Functoid Script, Script type is Inline XSLT Call Template code is as follows.
    <xsl:template name="CanadaInformation">
    <xsl:param name="CanadaClientCd" />
    <xsl:param name="CanadaStatCd" />
    <xsl:element name="CanadaStatus">
       <xsl:choose>
          <xsl:when test="string-length($CanadaStatCd) > 0">
               <xsl:value-of select="$CanadaStatCd"/>
           </xsl:when>
           <xsl:otherwise>
               <xsl:value-of select="$CanadaClientCd"/>
           </xsl:otherwise>
        </xsl:choose>
       </xsl:element>
    </xsl:template>
    In this test case I think the Scripting Functoid is expecting 2 Parameters as input and in most cases the 2 input parameters will have data coming in, but in negative testing I have a case where the 2nd parameter is not passing any data (Value Mapping is
    coming from a Table lookup and the the input is blank, so the table lookup is not executed).
    Instead of trying to test for the length of the string of Parm 2 (which in the negative case there is no value for Parm2), I was wondering if there was a way to count the actual number of Parms being read into the XSLT. In the cases with my positive test,
    the number will be 2 and in the negative case, the number will be one.
    Or is there a way to confirm that there is something in the 2nd Parm.
    Thank you!

    I don't think there is a way count the number of parameter in XSLT (or even in any programing language's procedural calls). Where would execute the code/XSLT to check the count-With in your above "CanadaInformation" template?. What your looking for
    is something at engine level, i.e. is count the number of parameters being read and pass the control based on the number of parameters being read/passed.
    Or close option for this if you have something like overloaded functions/template. In XSLT we don't have anything like overloaded functions/templates.
    If you don't pass/link two parameter, you would error as "The number of inputs to the scripting functoid does not match with the number of inputs expected by the xsl:call-template"
    Your above code shall do the check for value of the parameter. Your code shall handle if "CanadaStatCd" is passed in or not. If you're considering other ways, you have some as follows:
    You can have "<xsl:when test="not($CanadaStatCd)">"- Which is same as parameter not being passed. So your code can be something like:
    <xsl:template name="CanadaInformation">
    <xsl:param name="CanadaClientCd" />
    <xsl:param name="CanadaStatCd" />
    <xsl:element name="CanadaStatus">
    <xsl:choose>
    <xsl:when test="not($CanadaStatCd)"> <!-- parameter has not been supplied -->
    <xsl:value-of select="$CanadaClientCd"/>
    </xsl:when>
    <xsl:otherwise>
    <xsl:value-of select="$CanadaStatCd"/>
    </xsl:otherwise>
    </xsl:choose>
    </xsl:element>
    </xsl:template>
    Have a default values to your parameter and check whether the values are differernt from default values if values are passed in otherwise if the value are still default value, then no value are passed in. Something like:
    <xsl:template name="CanadaInformation">
    <xsl:param name="CanadaClientCd" />
    <xsl:param name="CanadaStatCd" select="'SomeDefaultValue'" /> <!-- SET default -->
    <xsl:element name="CanadaStatus">
    <xsl:choose>
    <xsl:when test="$prefix != 'default-value'">
    <xsl:value-of select="$CanadaStatCd"/>
    </xsl:when>
    <xsl:otherwise>
    <xsl:value-of select="$CanadaClientCd"/>
    </xsl:otherwise>
    </xsl:choose>
    </xsl:element>
    </xsl:template>
    Have another scripting fuctiod before you call the above XSLT-template. Do the check at this scripting function and call the template based on the validation you do at this scripting functiod.
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • Password not to be a command line parameter within scripts

    Hi,
    We have a few batch programs wherein the database passwords are stored as a command line parameter in an environment variable script.
    But the customer wants to avoid this.
    What are the options of storing password externally but which should be accessible to the batch programs.
    Please advise.
    Regards,
    Narayan

    user7202581 wrote:
    Hi,
    We have a few batch programs wherein the database passwords are stored as a command line parameter in an environment variable script.
    But the customer wants to avoid this.
    What are the options of storing password externally but which should be accessible to the batch programs.
    Please advise.
    Regards,
    Narayan
    Might solution depend upon OS name & version?
    Might solution depend upon Oracle version (to 4 decimal places)?
    Might solution depend upon where script file resides on DB Server or remote client system?
    Yes, options exist, but I refuse to speculate based upon total & complete lack necessary details.
    How do I ask a question on the forums?
    https://forums.oracle.com/message/9362002#9362002

  • Schedule Task within script for import module

    Hi,
    Unable to powershell script in Scheduled task. I have added the import AD module in the powershell script.Every time I need to login into Windows 2008 R2 server and then the script runs successfully.. if I log off the server it doesn't runs..
    Do you have any solutions for without login on server the script runs sucessfully
    Regards
    KunalR

    Hi,
    We can't help you without seeing your script.
    Also, post exactly how you have the scheduled task set up.
    Don't retire TechNet! -
    (Don't give up yet - 12,950+ strong and growing)

  • Unable to add reference for Excel Object Library for use within Script Task

    I have a requirement to use a Script Tax that needs to reference the Excel Object Model. There are numerous articles on using this such as
    http://www.databasejournal.com/features/mssql/article.php/3921141/SSIS-Script-Task-and-Microsoft-Office-Automation.htm.
    Simply, I need to add a reference to the Microsoft Excel 12.0 Object Library.
    I have selected this from the Object List on the COM tab and when this adds the reference it states 'The System cannot find the reference specified', even though the referenced file for this Object is C:\Program Files(x86)\Microsoft Office\Office12\Excel.exe
    and this file location exists on my local machine ?

    Please search where "Microsoft.Office.Interop.Excel.dll" exist in your system and try adding the reference.
    If you don't find the dll there then there might be problem while installing.
    To install the PIAs by using the redistributable package
    http://www.microsoft.com/en-us/download/details.aspx?id=3508
    http://www.microsoft.com/en-us/download/details.aspx?id=18346
    Regards, RSingh

  • Check for popup within script

    Hi folks,
    I am quite new to VBscripting and trying to create a script that automatically mass generates users via SU01.
    Everything worked fine so far but now I am stuck because of a stupid popup.
    If a user was created and afterwards deleted and I am going to recreate it, SAP will ask me if I want to use his old office data.
    If it does my script gets stuck of course because it wants to continue to supply the user details.
    Please have a look at the code (problem is
    bold):Dim strFilename, Dialog, fso, conentTextfile
    Dim Test
    Set Dialog = CreateObject("MSComDlg.CommonDialog")
    Set fsobj = CreateObject("Scripting.FileSystemObject")
    'Explorer-Dialog zum Öffnen von Dateien
    'Titelzeile
    Dialog.DialogTitle = "Datei öffnen"
    'Suchmaske (hier benutzerdefiniertes Dateikürzel)
    Dialog.Filter = "Textdateien-Datei (.txt)|.txt"
    'Filterindex
    Dialog.FilterIndex = 1
    Dialog.MaxFileSize = 260
    'Flags setzen: Explorer-Dialog mit langen Dateinamen
    Dialog.Flags = &H1814
    'Datei öffnen
    Dialog.ShowOpen
    'Ergebnis der Dateianwahl ausgeben
    strFilename = Dialog.Filename
    If strFilename <> "" Then
    Set textfile = fsobj.OpenTextFile(strFilename,"1")
    do while not textfile.AtEndOfStream
    'Zeilen einzeln einlesen
    TextLine = textfile.ReadLine
    UserData = Split(TextLine,",")
    If Not IsObject(application) Then
    Set SapGuiAuto = GetObject("SAPGUI")
    Set application = SapGuiAuto.GetScriptingEngine
    End If
    If Not IsObject(connection) Then
    Set connection = application.Children(0)
    End If
    If Not IsObject(session) Then
    Set session = connection.Children(0)
    End If
    If IsObject(WScript) Then
    WScript.ConnectObject session, "on"
    WScript.ConnectObject application, "on"
    End If
    session.findById("wnd[0]").maximize
    session.findById("wnd[0]/usr/ctxtUSR02-BNAME").text = UserData(0)
    session.findById("wnd[0]/usr/ctxtUSR02-BNAME").caretPosition = 7
    session.findById("wnd[0]/tbar[1]/btn[8]").press
    'Here is the problem!!!
    Test = session.findById("wnd[1]").Type
    if test = "GuiModalWindow" then
    session.findById("wnd[1]/usr/btnBUTTON_1").press
    end if
    'If I check for the popup window (as shown above) and the user didn't exist before (so there is no popup window) the program will exit with an exception because wnd[1] doesn't exist. Is there any possibility to check wether wnd[1] exists?
    session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpADDR/ssubMAINAREA:SAPLSZA5:0900/txtADDR3_DATA-NAME_LAST").text = UserData(1)
    session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpADDR/ssubMAINAREA:SAPLSZA5:0900/txtADDR3_DATA-NAME_FIRST").text = UserData(2)
    session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpADDR/ssubMAINAREA:SAPLSZA5:0900/txtADDR3_DATA-NAME_FIRST").setFocus
    session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpADDR/ssubMAINAREA:SAPLSZA5:0900/txtADDR3_DATA-NAME_FIRST").caretPosition = 10
    session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpLOGO").select
    session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpLOGO/ssubMAINAREA:SAPLSUU5:0101/pwdG_PASSWORD1").text = UserData(4)
    session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpLOGO/ssubMAINAREA:SAPLSUU5:0101/pwdG_PASSWORD2").text = UserData(5)
    session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpLOGO/ssubMAINAREA:SAPLSUU5:0101/ctxtUSLOGOND-CLASS").text = UserData(3)
    session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpLOGO/ssubMAINAREA:SAPLSUU5:0101/ctxtUSLOGOND-GLTGV").text = UserData(6)
    session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpLOGO/ssubMAINAREA:SAPLSUU5:0101/ctxtUSLOGOND-GLTGB").text = UserData(7)
    session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpLOGO/ssubMAINAREA:SAPLSUU5:0101/ctxtUSLOGOND-GLTGB").setFocus
    session.findById("wnd[0]/usr/tabsTABSTRIP1/tabpLOGO/ssubMAINAREA:SAPLSUU5:0101/ctxtUSLOGOND-GLTGB").caretPosition = 10
    session.findById("wnd[0]/tbar[0]/btn[11]").press
    loop
    End If
    Set Dialog = Nothing
    Set fso = Nothing
    Thanks in advance and kind regards,
    Bastian

    Hi,
    If it is an error in VB/VBA, you should work with errorhandlers. If it is an error (msgbox) in SAPGUI, then you should turn this off by:
    Property messageAsPopup As Boolean (Read only)
    Description:     Some message may be displayed not only on the
              statusbar but also as a pop-up window. In such
              cases, this property is set to True so that a
              script knows it has to close a pop-up continue.
    Good Luck

  • Retrieve an RSS feed with socket within script

    Hi, does anyone has ever used a script to retrieve an RSS feed with socket.
    Here is the code I use :
    var webConnect = new Socket;
    var response = new String;
    var rss = "";
    if(webConnect.open("api.meteorologic.net:80","UTF-8")){
    webConnect.write("GET /forecarss?p=Paris");
    response =  webConnect.read(9999999);
    response = response.toString();
    var xmlStart = response.indexOf("<?xml");
    var xmlString = response.substring(xmlStart, response.length);
        try
            rss = new XML(xmlString);      
        }catch(e){ alert('error parsing XML with error \r ' + e.toString()) }
    alert(rss);
    but the display "alert(rss);" is blank while the web page contains much information : http://api.meteorologic.net/forecarss?p=Paris
    thanks for any help..
    Michel

    That's because "publishing a feed" is really "uploading a file to a web server". Most web servers don't allow the HTTP "PUT" method, and most RSS feeds are probably not updated that way. Rather, the feed document is uploaded to the web server in whatever way the web hosting service provides; FTP, or via a POST from a web form. Since there's no standard, it makes sense that there's no API for publishing a feed.
    For any given web hosting service, it's possible to automate the upload; but the details will vary.
    Powerbook G4 1GHz   Mac OS X (10.3.9)  

  • Rs.LoadReport syntax within Script Component of SSIS task

    Hello,
    please, what does Row.path, Row.name etc.... stand for?
    How should I enter folder path, report name...What about this:
    /FolderName/ReportName....Can not get rid of syntax errors what ever try...If possible, please example...
    Thanks
    string extension, mimetype, encoding;
                string[] streamIds;
                SC_7bb1aae362d44e26a741ccbbecdc6e18.csproj.ReportExecution2005.Warning[] warnings;
                byte[] results;
                rs.LoadReport(Row.path + Row.name, null);
                results = rs.Render(Row.reportformat, null, out extension, out mimetype, out encoding, out warnings, out streamIds);
                System.IO.FileStream writer = System.IO.File.OpenWrite(Row.folderPath + "\\" + Row.name + "." + Row.Extension);
                writer.Write(results, 0, results.Length);

    Please, this
    //Load Report       
            rs.LoadReport(Row.ReportPath , null);
    I read in:
    Bulk Report Generation using SSIS and SSRS 2008 R2 from MSDN
    while from an tutorial I found this:
    rs.LoadReport(Row.path + Row.name, null);It is suppose to be the same? Is plus sign correct or it is suppose to be comma?Please, can you instruct me which is which? Script component is my case...

Maybe you are looking for

  • How to install reader 9.3 on another hd than c:

    The download manager installs Adobe Reader 9.3 on my XP SP3 laptop perfectly. Now I do not want it installed on the default hd C: I want to specify a different location such as E: Nowhere in the process did I notice an option for this and manual down

  • How do I deselect PDF as the  file of choice when opening a file sent to me in an email?

    How can I deselect  the PDF choice when opening a file sent to me in an email?

  • How can I get recent notifications to show up in UWL notification tab?

    Hello, Is it possible to get items that appear in the recent notification iView to show up under the Universal Worklist Notification tab. For example, when I subscribe for documents in the KM document repository the subscriptions and any changes appe

  • I can't see "Visualize Spots"

    Running LR5 on Win7, I can't see "Visualize Spots." I select the Spot Removal tool, but the Visualize Spots option does not appear below the preview. I can turn it on with the "A" keyboard shortcut, and the display does change to show the tool in act

  • 1252 - Max Number of Clients

    I have customer that is looking at deploying 1252 access points. I was wondering what the maximum number of clients that can associate to a single 1252. Does this count differ between 1252s running autonomous and LWAPP? The proposed configuration is