Z-Cursor aus View-Kontu​r mit Script auslesen

Hallo.
Ich würde gerne den Z-Cursor-Wert (VIEW => Kontur / Diadem 2010) auslesen.
Die X und Y Werte kann ich mit VIEW.Active.Sheet.Curser.X1 bzw Y1 auslesen. Für den Z Wert ist diese Funktion nicht verfügbar
Gibt es eine Lösung?
Danke für die Hilfe

Hallo Jost1,
einen solchen Cursor gibt es auch nicht. Der Z-Wert wird mit der Funktion ChVXYZValue bestimmt. Weitere Infos findest du in der Hilfe.
Gruß
Walter

Similar Messages

  • Transfer von View nach Report per Script automatisieren

    Hallo, ich hab noch eine andere kleine Frage.
    Mein Vorgesetzter möchte DIAdem so weit wie möglich automatisieren, damit er Messdaten schnell überblicken kann. Deshalb hat er mich gefragt, ob auch der Schritt, eine Darstellung in VIEW nach REPORT zu holen (Transfer nach Report-Button) in einem Script festgehalten werden könnte, so dass er bei Scriptlauf automatisch stattfindet.
    Ist dies möglich?
    Des Weiteren möchte ich mich vergewissern, dass innerhalb eines Scripts mit "Zwischenfenstern" gearbeitet werden, die aufpoppen und in denen man zwischen mehreren Vorgehensweisen wählen kann (z.B. "möchten Sie nun mit Script A, das den Datensatz in View mit Layout A darstellt, oder mit Script B, das die Daten direkt in Report Layout C darstellt fortfahren?" o.Ä.)
    LG, Dewi

    Hallo Dewi,
    es ist möglich TranferLayout per Script auszuführen. Der einfachste Weg solche Befehle in ein Script zu integrieren ist der Aufzeichnungsmodus. Wenn dieser im Modul SCRIPT aktiviert ist, werden alle relevanten Befehle aufgezeichnet. Mit CTRL-A kann man übrigens auch die Variablen von geöffneten Dialogen protokollieren.
    Ich bin mir jedoch nicht sicher, ob das so gewünscht ist. Üblicher Weise setzt man VIEW zu interaktiven Analyse ein und REPORT um eine präsentationsreife Grafik zu erstellen. Der Weg, sich  über TranferLayout eine Grundlage für eine präsentationsreife Grafik zu schaffen, ist sicher ein guter Anfang, danach möchte man aber oft weitere Ergänzungen hinzufügen (Firmenlogo, Schriftfeld, Datum etc.). Ein so gestaltetes Layout kann gespeichert und natürlich per Script geladen werden. Die Besonderheit ist hier, dass in dem Layout nur die Verweise (Links) auf die im Datenportal geladenen Kanäle gespeichert werden - d. h. dass  ein und dasselbe Layout für viele, verschiedene Datensätze und ggf. deren Auswertung genutzt werden kann.
    Aber grundsätzlich gilt, dass fast alles, was in DIAdem interaktiv bedient werden kann, auch per Script einstellbar ist.
    Gruß
    Walter

  • How to View Smartforms or SAP Script Forms in Web Dynpro ABAP

    Do anyone have idea of how to View Smartforms or SAP Script Forms in Web Dynpro ABAP?
    Please let me know. Thanks

    Hi Sameeksha,
    You can display an smartform in WDA as an pdf file. Try go through this [article |https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0de1eb8-0b98-2910-7996-8a3c2fcf6785]where Nanda does explain about the same.
    Regards,
    Uday

  • Cursors in VIEWS

    Hi...I have created a VIEW, currently I am using static values for some comparisons but now I need to get these values from a variable, is it possible for me to make use of a implicit cursor to get these values..if not is there any other way to do so.
    I am using views bcus the details in the table are millions of records so I cannot make a procedure or function for the same.And based on these Views result I am making use of another Main Query which makes my retrieval faster.

    > See I have a View which is selecting some records now inside that I am passing a
    Date value in a where clause which is static at the moment which i need to change to a
    cursor.
    Why? Each and every single SQL that hits the SQL engine are parsed - and if successfully parsed, turned into a cursor. View or no view.
    So what is the problem that you need to define an explicit cursor?
    Also, wanting to pass "input values/parameters" via the SQL language is missing the fact that SQL is NOT a procedural language!
    One pass values to SQL using (bind) variables inside the SQL statement - typically used in the WHERE condition. That is how SQL has been designed. That is how it is to be used. Not as parameterised procedural units.
    You need to put aside your "procedural programming skillz" when it comes to SQL. SQL simply does not work that way. And likely why so many developers keep on getting SQL horribly wrong as they never understand and appreciate the nature, power and flexibility of this special language.

  • Problem mit Script-DAC​-Treiber

    Hallo
    ich habe ein Problem mit einem selbsterstellten Script-DAC-Treiber für mein Navilock GPS Empfänger.
    von dem Empfänger bekomme ich ständig über eine Serielle Schnittstell die aktuellen Standortdaten gesendet
    diese sehen das so aus:
    $GPGGA,061834.500,5146.5823,N,00755.9943,E,1,08,0.​8,84.9,M,46.4,M,,0000*68
    $GPGSA,A,3,20,11,17,14,23,31,19,28,,,,,1.5,0.8,1.3​*3C
    $GPGSV,3,1,10,01,83,140,23,11,54,152,19,14,20,042,​22,17,31,308,41*70
    $GPGSV,3,2,10,19,10,169,16,20,64,251,32,23,20,189,​30,28,08,260,29*73
    $GPGSV,3,3,10,31,13,098,28,32,72,071,08*79
    $GPGLL,5146.5823,N,00755.9943,E,061834.500,A,A*5E
    $GPRMC,061834.750,A,5146.5823,N,00755.9942,E,0.99,​96.96,130314,,,A*5B
    $GPVTG,96.96,T,,M,0.99,N,1.8,K,A*34
    $GPGGA,061834.500,5146.5823,N,00755.9943,E,1,08,0.​8,84.9,M,46.4,M,,0000*68
    $GPGSA,A,3,20,11,17,14,23,31,19,28,,,,,1.5,0.8,1.3​*3C
    $GPGSV,3,1,10,01,83,140,23,11,54,152,19,14,20,042,​22,17,31,308,41*70
    $GPGSV,3,2,10,19,10,169,16,20,64,251,32,23,20,189,​30,28,08,260,29*73
    $GPGSV,3,3,10,31,13,098,28,32,72,071,08*79
    $GPGLL,5146.5823,N,00755.9943,E,061834.500,A,A*5E
    $GPRMC,061834.750,A,5146.5823,N,00755.9942,E,0.99,​96.96,130314,,,A*5B
    $GPVTG,96.96,T,,M,0.99,N,1.8,K,A*34
     Hiervon interessiert mich nur die $GPRMC Zeile bzw einige Werte hierraus.
    In meiner Treiberdatei suche ich also nach dem Trennzeichen, lese von rechts 77 Zeichen und Zerhacke den String dann auf die Daten die ich haben möchte.
    Solange ich nur diesen Treibereingang im DAC-Schaltplan verwende funktioniert er auch bestens.
    Wenn ich jetzt jedoch noch einen weiteren Treibereingang von z.B. meiner Spider mit reinhänge (natürlich mit anderem Takt, da mir die GPS Position jede Sekunde 1 mal reicht...) und evtl noch einen Sinusgenerator reinlege erhalte ich ständig Fehlermeldungen.
    Noch dazu scheint dann die Abarbeitung der Anweisungen im DAC-Treiber-Skript nicht sauber zu funktionieren. So erhalte ich beispielsweise die Meldung das "right" nicht zulässig ist, obwohl ich dieses vorher mit einer IF-Anweisung auszuschließen versuche.
    Hat da jemand ne Idee?
    Attachments:
    GPS-Treiber_ver3.VBS ‏18 KB

    Hallo nielscho,
    Im empfangenen Datenstrom nach  "$GPVTG" zu suchen und darauf zu hoffen, dass die Zeile davor die "$GPRMC" Daten enthält würde ich anders gestalten. Du könntest zunächst den Delimitier auf "$GPRMC" setzen und eine Zeile einlesen. Wenn die Zeile länger als 1 Zeichen ist, kannst du davon ausgehen, dass du den String "$GPRMC" auch empfangen hast. Anschließend der Delimiter auf <CR> oder <LF> setzt werden (du muss das im Hex Dump zu dem Logger nachsehen, was als Zeilenendezeichen übertragen wird.), Anschließend kannst du eine Zeile einlesen. Diese enthält dann die Daten zu der gesuchten Zeile. Alles Weitere sollte sich wie in dem Listing gezeigt interpretieren lassen.
    Wenn dieser Treiber in Verbindung mit einem anderen Treiber laufen soll, sollte auf jeden Fall die Messung "asynchron zum Messtakt" erfolgen damit die anderen Treiber durch das Script nicht ausgebremst werden.
    Bei den Fehlermeldungen, die beim Betrieb des Treibers auftreten vermute ich einmal, dass hier ein anderer String als der " $GPRMC" empfangen wurde und ausgewertet werden soll.
    Im Anhang habe Ich ein GPS Beispiel gespeichert, das stabil läuft.
    Gruß
    Walter
    Attachments:
    GPS VBS Driver.zip ‏12 KB

  • Probleme mit Script im Photoshop!

    Hallo!
    Vielleicht können sie mir helfen?
    Ich habe die 30 Tage Version von Photoshop CS4 sowohl auf einem MAC und jetzt eben auch auf einem PC zum testen installiert.
    Am MAC funktioniert alles wunderbar am PC habe ich folgenden Fehler:
    Wenn ich z.Bsp. die Bridge aus PS CS4 öffnen will oder auch andere Funktionen, öffnet sich ein Dialogfenser in dem ich aufgefordert werde, das Script zu öffnen.
    Beim MAC geht das von alleine und auch beim Vorgänger CS3 hatte ich nicht dieses Problem.
    Was muss ich hier installieren, oder wo kann ich diese "*.js" Datein finden?
    Fehler tritt auf bei:
    Bridge
    Automatisieren ==>
    Photomerge
    Zu HDR Zusammenfügen
    Bild einpassen
    Bedingte Modusänerung
    Danke für die Hilfe!

    Ich kann mir nur vorstellen, dass das Metallgehäuse der Festplatte als Antenne oder verlängerte Antenne funktioniert. Die SSD hat mit Sicherheit ein Plastikgehäuse und entpsrechend geringer die Fläche für den Empfang. 
    Wie auch immer. Ich denke, dass die Ursache des Problems in dieser Richtung zu finden ist.

  • How do you remove a web address from compatibility view option using a script?

    How do you remove a web address from compatibility view option in IE using a script or a GPO? 
    Not seeing any options.
    Casey
    This topic first appeared in the Spiceworks Community

    luckyfromhialeah wrote:
    How do you remove a web site from popular list?
    If you mean from the Safari menubar item "Popular"
    Choose "Show All Bookmarks" from the Bookmark menu in the main menubar, or click the icon for that in Safari's menubar -
    The page that opens should show a list of Bookmarks. In the Left column, click the item under Collections named Bookmarks Bar.
    In the new view, locate the folder named Popular and click the reveal triagle to the left of its name - it will open and reveal all the items listed in Popular.
    Find the one you want to remove, click it once to select it, then press the Delete key on the keyboard.

  • Create sequence, function and view all at once -script or something similar

    Hi I would like to know in what way can I write a script or something like that which would define names for a sequence, function and a view in the beginning (for example TEST_SEQ, TEST_FJ, TEST_VIEW...) and after that create this sequence, function and view with definitions like
    CREATE SEQUENCE  TEST_SEQ
    MINVALUE 1 MAXVALUE 999999999999999999999999999
    INCREMENT BY 1 START WITH 1 NOCACHE  NOORDER  NOCYCLE;
    create or replace FUNCTION TEST_FJ RETURN NUMBER AS
    tmp number;
    BEGIN
    select TEST_SEQ.NEXTVAL  into tmp from dual
    RETURN tmp;
    END TEST_FJ;
    and so on...
    In the end I would also like to grant some rights on these objects I just created:
    grant select on TEST_SEQ to public;
    grant execute on TEST_FJ to public;
    So my question is how to package all these things together so I can execute them from a single file in SQL Developer, and if i need to change the names of these tables I want do it in one place in the beginning of this script (or something like a script, I'm not sure what)...
    Thanks in advance!

    hi,
    hope help you...
    this is my basic generic solution...
    create or replace procedure createSequence( psequenceName in varchar2 ) is
    begin
    execute immediate 'create sequence ' || psequenceName ;
    execute immediate 'grant select on ' || psequenceName || ' to public ';
    end ;
    create or replace function getNextVal( psequenceName in varchar2 ) return number is
    queryText varchar2(100) := 'select <sequence_name>.nextval into :next_value from DUAL' ;
    next_value number ;
    begin
    queryText := replace(queryText,'<sequence_name>',psequenceName);
    execute immediate queryText into next_value ;
    return( next_value ) ;
    end ;
    Edited by: edogt on Nov 27, 2008 5:33 AM
    Edited by: edogt on Nov 27, 2008 5:35 AM
    Edited by: edogt on Nov 27, 2008 5:35 AM

  • 26.4 Basing an entity Object on a PL/SQL Package API - Ref Cursor, no View

    I am hoping that I could get some help in the details of a problem. I am trying to follow the directions in the Oracle Application Development Framework Developer's Guide for Forms/4GL Developers, Section 26.4 - Basing an Entity Object on a PL/SQL Package API.
    There is example code in the downloadable AdvancedEntityExamples - EntityWrappingPL/SQLPackage
    The question is, how will the implementation change if the entity is based entirely on PL/SQL - simply stated - no view is available, just ref cursors and insert,update,delete procedures.
    In the example code, there are two procedures, lock_product and select_product. This is where things get more complicated. I can create a function to return a single record ref cursor, instead of the list of OUT variables defined in both functions (select_product and lock_product). It makes sense that I just return one cursor and get all of the columns from that instead of lots of OUT variables.
    So what's stopping me you may ask... There is one difference between select_product and select_lock. Select_lock has a select that includes "FOR UPDATE NOWAIT". I don't have that as an option when creating my ref cursor. I am not sure what the impact of "FOR UPDATE NOWAIT" is? Can I ignore it?
    In the problem I am working with, (getting data from Oracle Portal 10.1.4) I return the following:
    function getRefCursor return ref_cursor is
    v_tab wwsbr_all_items_object_type := wwsbr_all_items_object_type();
    p_recordset wwsbr_types.cursor_type;
    l_results wwsrc_api.items_result_array_type;
    begin
    wwctx_api.set_context(<username>,<password>);
    l_results := wwsrc_api.item_search(.. parameters..);
    <snip>
    ... Loop through the objects and populate v_tab
    <snip>
    open p_recordset for
    select * from table(cast(v_tab as wwsbr_all_items_object_type));
    return p_recordset;
    end getRefCursor;
    With this sample, it would be easy to return a single row by passing the masterid as a parameter.
    So I am still left with, how should the implementation of callLockProcedureAndCheckForRowInconsistency() and callSelectProcedure() be changed in order to use a ref cursor instead of a view? The user guide was missing that extra section <bg>.
    What would be REALLY helpful, is an example, say 26.4A that demonstrates creating an entity object from a ref cursor and procedures from PL/SQL only without a view.
    Thank you, Ken

    The lock procedure is expected to obtain a row-level lock on the row, given its key.
    Depending on the setting of jbo.locking.mode, the entity object's lock() method will be invoked either as soon as the first persistent attribute is successfully modified by the user (in the case of jbo.locking.mode=pessimistic), or it will be called during commit processing just before the row is updated in the database (with jbo.locking.mode=optimistic).
    Usually 2-tier Swing applications use pessimistic mode, while web applications use optimistic mode.
    The FOR UPDATE NOWAIT is the Oracle clause that can be appened to a SELECT statement to acquire a row-level lock on the selected rows. The NOWAIT modifier means that rather than hanging, waiting for a row locked by another user to free up, it will raise an exception if any of the rows being selected-and-locked are not available to lock.
    If you're not able to work the FOR UPDATE NOWAIT into the syntax of the ref cursor, perhaps you can initially perform the lock using a different cursor inside the stored procedure, then return your ref cursor.

  • How we close Views without using Java Script

    Hi All,
    can you please suggest me how i close view with out using java script.
    if possible please reply with code.
    Thanks
    Siva

    Hi Siva,
    You can do this either by hiding your window or by closing the window. Following is the sample code to do that
    IWDWindowInfo windowInfo = null;
    IWDWindow window =null;
    windowInfo = (IWDWindowInfo)  wdComponentAPI.getComponentInfo).findInWindows("<<WindowName>>");
    if(windowInfo!=null)
    window = wdComponentAPI.getWindowManager().createWindow(windowInfo,true);
    window.hide();
    Try with this code, might be useful for your scenario.
    Thanks,
    Sandeep

  • CPU usage spikes while viewing webpage with java script

    Can anyone tell me if it is normal for cpu use to spike up to 90% when I view a webpage that's using javascript? It is a scrolling news headline using java script 1.2 in the webpage.
    Thanks

    Fortunately, while my temps do go up and fan speed increases, mine does not become exceedingly loud. I apparently have a lot of good karma stored up because both the original midplane and its replacement - bad caps - have had quiet fans.

  • Hide/View Contents of SSI Script in Dreamweaver CS3?

    I have some pages with scripts implented using server side includes.
    When I look at my page in "design" view, it expands out the entire script, filling up my screen.  How can I hide all that included acript language, so that only the actual design elements (normal text and graphics) are visible?
    I've tried everything I could think of under the "View" menu without finding anything that successfully hid the script.
    I'm running Windows 7 on a 64-bit Sony laptop machine, if that matters...

    Just to confirm, you are seeing actual code in your design view?
    May we see a paste of your include file and a link to your uploaded page?

  • DIAdem view sheet activation using scripting

    Hey all,
    I am trying to activate any view sheet passed to MYSHEET.ACTIVATE()
    I HAVE TRIED PASSING MYSHEET.ACTIVATE() EVERYTHING FROM CHNNAMES TO CHNNUMBERS, _
    TO SHEET INDEX NUMBERS, SHEET NAMES, ALL IN AN ATTEMPT TO ACTIVATE THE DESIRED SHEET.
    I have created a script for loading the contents in the dataportal,
    creating one sheet for a given chn name, then search all groups for the
    same chn name and loading each additional chn found into the correct
    sheet.
    Here is  some of the script.
    For Each MYSheet in View.Sheets
         IF CHNNAME(intMyResult) = VIEW.ACTIVESHEET.NAME THEN 'IF THE CORESPONDING(CORRECT) SHEET IS FOUND
                EXIT FOR ' FOR Each MYSheet in View.Sheets
              ELSE
                Call
    MySheet.Activate()      'INCREMENT THE SHEETS
    UNTIL THE CORRECT ONE IS FOUND
             END IF
     NEXT
    When the correct sheet is not found and mysheet.activate() fires, it
    begins searching at the first sheet.  Thats not a probelm unless
    you have  80 or 90 sheets to increment like i
    have.    It is like driving from point A to point Y then
    back to point A to get to point Z.
    It works but takes a lot of time.
    I was wondering how to  activate the sheet that has the same name as the chn.
    Thanks for any help
    Paul

    Hi Paul
    I am not sure if I understand your problem.
    You can active a sheet in VIEW using the index or the name without using a loop over all sheets.
    So use:
    View.Sheets("Sheet 2").activate 'Activate sheet with the name "Sheet 2"
    View.Sheets(3).activate 'Activate Sheet with index 3
    or in your case
    View.Sheets(CHNNAME(intMyResult)).activate
    Hope this helps
    Winfried

  • SCRIPT / NAVIGATOR : Anmeldung eines DataPlugin mit Script überprüfen...

    Hallo liebe NI`ler,
    ich möchte in einem VBScript eine Datei mit einem angemeldeten DataPlugin (MDF) laden, davor aber abprüfen, ob dieses DataPlugin auch angemeldet und verfügbar ist.
    Den Dateiladebefehl mit den richtigen Parametern kann ich mir ja mittels einem kleinen Teach-In-Scripts aufzeichnen.
    Wie kann ich aber überprüfen, ob das DataPlugin bei dem verwendeten Rechner / DIAdem auch angemeldet ist ?
    Ich möchte eigentlich vermeiden erst was "versuchsweise" laden zu müssen und dann einen Fehler abzufangen.
    Grüße
    Sven...

    Hallo Sven
    Es gibt eine Möglichkeit, die für einen Teil der in DIAdem angemeldeten Plugins funktioniert, darunter auch MDF. Also hilft es in dem beschriebenen Fall.
    Es gibt einen undokumentierten Befehl, der alle in DIAdem definierten Datenquellen liefert, für die auch eine Datenquelle angemeldet ist.
    Hier ein kleines Beispielscript
    option explicit
    dim i
    dim MDFinstalled : MDFinstalled = false
    OdsValAlloc "sourceNames", "ODS_TYPE_STRING", 1
    OdsValAlloc "sourceTypes", "ODS_TYPE_STRING",1
    OdsGetSrcNames "sourceNames", "sourceTypes"
    for i = 1 to OdsValCount
    if sourceTypes(i) = "MDF" then
    MDFinstalled = true
    exit for
    end if
    next
    if MDFinstalled then
    MsgBox "MDF installed!"
    else
    MsgBox "MDF not installed!"
    end if
    Der Befehl OdsGetSrcNames liefert alle definierten Datenquellen (sourceNames) mit den zugehörigen Typen (sourceTypes). OdsValCount enthält nach dem Aufruf die Anzahl der zurückgelieferten Datenquellen, OdsStat den Fehlerstatus.
    Es handelt sich, um einen undokumentierten Befehl. Daher kann nicht garantiert werden, das dies auch in Zukunft so funktioniert.
    Winfried

Maybe you are looking for

  • Windows 7 can't recognize my AMD Radeon HD 6970M 1024 MB graphics card

    Hey community - I am having issues running Star Wars the Old Republic on my brand new iMac desktop with Windows 7 installed. I am getting an error message that is associated with the fact that WINDOWS 7 will NOT recognize my AMD Radeon HD 6970M 1024

  • Download code?

    My parents got me a MacBook Pro and an iwork 09 for my graduation gift is their a redemption code that comes with the cd for the m

  • How to get Supervisor/Managers name using SQ01...

    Hi, I am stumped and need your help. I have defined an infoset ZZ_HR_DATA with logical database. In the Infotype 0001, under additional selections, I have the field "Name of superior (organizational assignment)" and it's technical name is SYHR_A_P000

  • Web service XML String

    Hello, I have javax.jws web service, I have method which return Document or String as well formed XML. And I need to my web service return this String as XML. @WebMethod(operationName = "operation") public String operation() { XMLvystup pom = new XML

  • Can a JApplet manipulate data in his parent website?

    Hello, I know that there are possibilities to call a method of a JApplet from the parent website. But is there a way, to manipulate a textfield's value in the parent website from the JApplet? Thanks...