R64 Binärdatei per VBA importieren

Hallo,
um die Test-Ergebnisse einer unserer Versuchsanlagen zu archivieren, möchte ich die Ergebnisse in einer Datenbank archivieren.
Das Einlesen und speichern von Daten ist auch grundsätzlich kein Problem.
Allerdings ist mir nicht klar, wie ich eine Binärdatei (*.R64) auszuwerten habe, bzw. wie ich zu einem Importfilter/ zu einer Importfunktion komme.
Könnt Ihr mir einen geeigneten Ansatz nennen?
Brauche ich evtl. noch einen Hex-Editor um die Datei entsprechend vorzubereiten?
Vielen Dank,
Martin

Hallo,
vielen Dank für die Info!
Ich möchte keine Rohdaten auswerten - denn die Auswertung findet tatsächlich bereits per Diadem statt.
Dann werden Diagramme (im Pdf-Format) gespeichert. Ebenso ein Header und ein Binärdatensatz (vom dem ich ja jetzt weiß, dass er die Rohdaten enthält und keine Ergebnisse).
Mir geht es um die Ergebnisse der Auswertungen, an die ich innerhalb der Pdf-Dateien nicht mehr heran komme.
Unser Ziel wird es also sein, die bereits vorhandenen Ergebnisse so abzuspeichern, das sie ohne großen Aufwand wieder einzulesen sind. Beispielsweise aus einer ASCII Datei.
Ist das abspeichern von Ergebnissen in einer ASCII Datei möglich?
(Ich frage hier etwas unbedarft, da ich selber nicht für die Programmierung in DIAdem zuständig bin, sondern die Verwaltung der Messdaten betreue - wir arbeiten gerade intensiv an unserer Schnittstelle zu den DIAdem Programmieren )
Vielen Dank!
Martin

Similar Messages

  • Seiten per VBA zusammenfügen?

    Moin,
    mein Problem ist folgendes:
    Ich habe viele kleine PDF-Dateien mit jeweils einer Seite darin. Nun möchte ich aber per VBA-/VB-Code einige dieser Seiten/Dateien zusammenfügen und ausdrucken.
    Kann mir da jemand sagen, wie das funktionieren soll? Per API evtl.?
    Danke

    Hallo,
    vielen Dank für die Info!
    Ich möchte keine Rohdaten auswerten - denn die Auswertung findet tatsächlich bereits per Diadem statt.
    Dann werden Diagramme (im Pdf-Format) gespeichert. Ebenso ein Header und ein Binärdatensatz (vom dem ich ja jetzt weiß, dass er die Rohdaten enthält und keine Ergebnisse).
    Mir geht es um die Ergebnisse der Auswertungen, an die ich innerhalb der Pdf-Dateien nicht mehr heran komme.
    Unser Ziel wird es also sein, die bereits vorhandenen Ergebnisse so abzuspeichern, das sie ohne großen Aufwand wieder einzulesen sind. Beispielsweise aus einer ASCII Datei.
    Ist das abspeichern von Ergebnissen in einer ASCII Datei möglich?
    (Ich frage hier etwas unbedarft, da ich selber nicht für die Programmierung in DIAdem zuständig bin, sondern die Verwaltung der Messdaten betreue - wir arbeiten gerade intensiv an unserer Schnittstelle zu den DIAdem Programmieren )
    Vielen Dank!
    Martin

  • Binärdatei, Import via Header, Probleme mit Records

    Anmerkung: Ich fange bei 1 an zu zählen.
    Zur Binärdatei im Anhang (jpg in bin ändern):
    5. bis 10. Datenbyte ist die PIMZeit in ms seit 01.01.1904 - mir würde es jetzt schon mal reichen, die 6 Datenbytes einfach so als Zahl in Sekunden zu bekommen - da sitzt mein eigentliches Problem!
    Die Datensätze sind immer 83 Bytes lang.
    So wie ich das bis jetzt herausgefunden habe, kann ich solche Datensätze nur über den Dialog "Import via Header" laden, d.h. mit einer *.dat-Datei. Wenn es eine andere Möglichkeit gibt, geben Sie mir bitte ein Beispiel dazu.
    Meine *.dat-Datei (z.B.):
    DIAEXTENDED {@:ENGLISH
    #BEGINGLOBALHEADER
    1,WINDOWS 32Bit
    2,{@R:900 {@V:9.00.1764 {@F:4.00
    101,---
    106,
    102,
    103,---
    104,11.10.2005
    105,15:32:50
    110,#dd.mm.yyyy hh:nn:ss.ffff
    111,9.9E+34
    112,Low -> High
    #ENDGLOBALHEADER
    #BEGINCHANNELHEADER
    200,Time
    201,PIMZeit
    210,EXPLICIT
    211,Test.bin
    213,BLOCK
    214,REAL48
    Anzahl der Werte z.B. 30
    220,30
    Zeiger auf ersten Wert des Kanals
    221,2
    -> hier sind Records anzugegen, da es sich um 213,BLOCK handelt ( - nicht die Anzahl der Bytes, sondern Records - und da liegt das Problem)*
    Kanaloffset
    222,83
    Offset
    240,0
    Skalierungsfaktor
    241,1
    Datenanzeige (NUMERIC oder TIME)
    260,Numeric
    261,1
    262,0
    #ENDCHANNELHEADER
    *) Da erst 4 Bytes kommen und danach 6 Bytes (PIMZeit), die mich interessieren, habe ich keine Möglichkeit auf diese PIMZeit zu "zeigen", da ja in Records gerechnet wird (1 record heißt 6 Bytes, 2 records heißen 12 Bytes ....)
    Welche Möglichkeiten habe ich also, um mir meine PIMZeit anzuzeigen???? Gibt es hier ein grundsätzliches Problem - oder (was mir lieber wäre) eine einfache Lösung!?
    Message Edited by moos on 10-14-2005 07:05 AM
    Message Edited by moos on 10-14-2005 07:06 AM
    Message Edited by moos on 10-14-2005 07:08 AM
    Attachments:
    Test.jpg ‏1 KB

    Es gibt kein VI.
    Die Daten liegen wie in Test.bin vorgegeben vor, z.B.
    00 00 00 4F 02 EB 05 E9 AA 3D ... usw
    Ich möchte jetzt die Daten Byte 5 - 10 als Zahl (High -> Low) in DIAdem anzeigen. Und das geht irgendwie nicht, weil es sich um den Datentyp Real48 handelt und ich bei Kanaloffset nur Records angeben kann. Ein Record bei Real 48 ist 6 Bytes lang. Da ich Records von Dateianfang angeben muß, kann ich nie direkt auf meine 6 Byte Zahl zeigen (weil ja vorher 4 Byte kommen).
    Das ist mein Problem.

  • Binärdatei - Daten gezielt herausholen und in DIAdem anzeigen - Import via Header (?)

    Anmerkung: Ich fange bei 1 an zu zählen.
    Zur Binärdatei im Anhang (jpg in bin ändern - das Forum aktzeptiert keine *.bin):
    5. bis 10. Datenbyte ist die PIMZeit in ms seit 01.01.1904 - mir würde es jetzt schon mal reichen, die 6 Datenbytes einfach so als Zahl in Sekunden zu bekommen - da sitzt mein eigentliches Problem!
    Die Datensätze sind immer 83 Bytes lang.
    So wie ich das bis jetzt herausgefunden habe, kann ich solche Datensätze nur über den Dialog "Import via Header" laden, d.h. mit einer daraus erzeugten *.dat-Datei. Wenn es eine andere Möglichkeit gibt, geben Sie mir bitte ein Beispiel dazu.
    Meine *.dat-Datei (z.B.):
    DIAEXTENDED {@:ENGLISH
    #BEGINGLOBALHEADER
    1,WINDOWS 32Bit
    2,{@R:900 {@V:9.00.1764 {@F:4.00
    101,---
    106,
    102,
    103,---
    104,11.10.2005
    105,15:32:50
    110,#dd.mm.yyyy hh:nn:ss.ffff
    111,9.9E+34
    112,Low -> High
    #ENDGLOBALHEADER
    #BEGINCHANNELHEADER
    200,Time
    201,PIMZeit
    210,EXPLICIT
    211,Test.bin
    213,BLOCK
    214,REAL48
    Anzahl der Werte z.B. 30:
    220,30
    Zeiger auf ersten Wert des Kanals:
    221,2
    -> hier sind Records anzugegen, da es sich um 213,BLOCK handelt ( - nicht die Anzahl der Bytes, sondern Records - und da liegt das Problem - meiner Meinung nach)*
    Kanaloffset:
    222,83
    Offset:
    240,0
    Skalierungsfaktor:
    241,1
    260,Numeric
    261,1
    262,0
    #ENDCHANNELHEADER
    *) Da erst 4 Bytes kommen und danach 6 Bytes (PIMZeit), die mich interessieren, habe ich keine Möglichkeit auf diese PIMZeit zu "zeigen", da ja in Records gerechnet wird (1 record heißt 6 Bytes, 2 records heißt 12 Bytes ....)
    Welche Möglichkeiten habe ich also, um mir meine PIMZeit anzuzeigen???? Gibt es hier ein grundsätzliches Problem - oder (was mir lieber wäre) eine einfache Lösung!?
    Attachments:
    Test.jpg ‏1 KB

    Hallo Ellen,
    Zuerst zur Frage mit der DIAdem 9.1 Testversion : ich bin mir nicht ganz sicher. Es sollte klappen, aber ich werden das morgen direkt nochmal prüfen. Jetzt zur eigentlichen Frage : Ich hatte zuerst die Struktur der Datei falsch verstanden und angenommen es sollten tatsaechlich 6-Byte Realwerte gelesen werden. Nach der letzten Antwort ging mir ein Licht auf. Ich habe ein kurzes DataPlugin zusammengestellt, dass die Werte einliest. Es arbeitet nicht besonders schnell, da die Werte byteweise geholt werden müssen. Für kleinere Dateien ist der Ladevorgang trotz allem recht schnell.
    Die angehängte URI Datei bitte einfach auf den Rechner kopieren, entpacken und dann die "URI" Datei doppelklicken. Anschliessend sollte die Dateinamenextension "bin" von DIAdem verstanden werden. Mehr Details zu dem "Wie" und "Was" bei DataPlugins findet sich auf www.ni.com/dataplugins, inklusive einer Dokumentation wie man selbst DataPlugins schreiben kann.
    Das Plugin wird als Custom_PIM.vbs auf dem Rechner installiert. Im header findet sich die Variable "fDoTZeroAdjustment". Wird diese auf True gesetzt, werden die Daten Offset-korrigiert, d.h. der erste Wert wird zu 0 gesetzt und alle folgenden Werte werden relativ zum ersten Wert angegeben. Damit erhält man dann die Sekunden seit Messungsstart.
    Viel Erfolg !
    Andreas
    Attachments:
    Custom_PIM.zip ‏2 KB

  • Kann man mit "Adobe Acrobat STANDARD XI" Formularfelder automatisch per VBA-Code aus Excel heraus füllen oder benötigt man dafür "Adobe Acrobat Professional XI" ?

    Hallo,
    in unserer Firma hat das automatische Ausfüllen von PDF-Formularen in der Vergangenheit wunderbar funktioniert. Dabei wurde per Visual Basic Code der Inhalt von Excelzellen oder auch Excelnamen automatisch in ein PDF-Formular übertragen und die Datei im Anschluss in einem bestimmten Verzeichnis abgespeichert. Jetzt wollen wir auf Adobe ....XI updaten und wissen nicht, ob wir die Standard- oder die Professionalversion benötigen, um dieselbe Funktionalität in Bezug auf das erwähnte Vorgehen zu erhalten.
    Weiß jemand da mehr als ich?
    Also...
    ...reicht Standard?
    oder
    ... muss es Professional sein?
    Gruss und Danke im Voraus,
    Andreas

    Hallo,
    Danke, aber auf der Seite war ich schon und die hat meine Frage nicht eindeutig beantwortet, da ich nicht weiß, unter welchen der Stichpunkte mein Problem / meine Aufgabenstellung fällt.
    Ich vermute, dass die Standardversion reicht, aber bevor wir 5 Lizenzen davon kaufen, wüsste ich gerne, ob es funktionieren wird.
    Und könnte man zur Not die Standardversion dann zur Professional upgraden, auch auf einem Terminalserver?
    Andreas

  • Dokusuche: Manipulation von .pdf-Dateien per VBA (über JavaScript)

    Hi Leutz! Also im Titel steht eigentlich eh schon alles. Ich suche eine brauchbare Dokumentation (wenn möglich mit Objekt-Referenz). Ich habe bereits eine kleine von Adobe, die mir jedoch nicht sonderlich weiterhilft, weil sie nur die gröbsten Grundlagen erklärt. Ich kann sowohl VBA und JavaScript, also wär das nicht das Problem. Das Problem sind die einzelnen Projekte.
    mfg
    markus

    hallo.
    such doch mal bei google nach:
    AcrobatjavaScript.pdf
    da drin steht ziemlich viel. vielleicht hilft es dir ja.
    mfg

  • Fixed "Default" Storage Bin per Storage Location

    Hi all,
    I have a Storage Location (1234) with only one Storage type (FIX) and one Storage Bin (FLOOR).
    What I want is all materials should go (when receiving) to this Storage Bin.
    I have configured the Putaway strategy for the Storage Type "F - Fixed bins"
    But it's not working. The system is always considers the Next empty bin strategy.
    I don't want to make the storage bin fixed per Movement type or per material...The same material can be maintained in different storage locations.
    Thank you
    Best regards,
    Kifah Yacoub

    Hi,
    a storage location never has a storage type.
    If you have a storage type and this has one one bin, why don't you use the strategy "Open storage". Then only that one bin is used. of course you need to allow "addition to stock" and "mixed storage" with all consequences.
    If you used "fixed bins", you also have to assign the bin to all the materials.
    Brgds
    Juergen

  • Storage bin should display in MB52

    Hi All,
        Storage bin should display in MB52  T-code warehouse stock dispaly, Please guide me how it possible...
    Regards
    Hari

    Hi Hari,
    MB52 Tcode is only for display stock in Inventory Management Level/ storage location level. If you want display stock in storage bin level, you can use t-code :
    1. LX03   - Bin Status report
    2. LS26   - Total Stock per Material (Warehouse Management)
    3. LS24   - Bin Stock per Material
    I hope it can explain your problem.
    Pls rewards point if helpfull.
    Thanks
    Gunawan

  • Odd file name ("[") found in /bin

    While nosing around, I found this file produced by ls /usr:
    -r-xr-xr-x 2 root wheel 42656 Jan 13 2006 [
    Any advice on how to proceed?
    Thanks,
    Mark T.
    MacBook White (1st, gen, base configuration)   Mac OS X (10.4.7)   May '05 Switcher, never looked back

    Thanks, Danial. I will proceed thusly.
    Actually, I had changed the permissions to 000, but will now return them to 555, as they were.
    I feel like such a newbie. I had no idea. Amazing to me that the open square bracket in shell scripts is not mere syntax but is actually a command. :-/
    And, yes, the command is in /bin as per the subject heading, not in /usr, as incorrectly stated in the body, Nils. Also, I had to look up the -i option in the man page to understand what you were trying to tell me--that the inode number (i.e., the file "serial number") was the same for each directory entry. Viz, that they were links to the same physical file. Thanks.
    Thanks,
    Mark T.
    Message was edited by: cholla pete

  • Reg:different materials placed in different bins

    hi ,
    i configure standard inbound flow in wm with source and destination bin as per my requirement. if i place any gr/po in migo for a material automatically stock moved to 00-01-01 series of bin. once the bin is full it moved to other bins.
    now my requirement i created po which has five different types of material if i put gr for the material. a each material should be place in different bins(not in the single bin).
    please kindly let me know the steps which i have to configure to achieve my requirement.
    Regards
    Muthu

    Hi,
    Use split valuation for keeping same material with different price.
    For more check the links:
    http://www.sap123.com/showthread.php?t=29
    http://www.sap-img.com/mm025.htm
    Regards,
    Biju K

  • Recycle bin customization

    Dear All,
    i want to know if it is possible adding some custom field to the recycle bin view.
    I've a custom list with a field called "Reference Number" that contains the title of the record and i use this column as "primary key" on my custom list to identify the record (see pictures below).
    When i delete a record on the recycle bin i can see the ID of the record and i do not have an easy way to identify the record (if i want to restore it).
    Is there a way to add custom field to the recycle bin?
    Here you can find my Custom List
    Here you can find the Recycle Bin. Here i want to add (if possible) Reference Number column
    Thanks
    Massimo

    Hi,
    According to your post, my understanding is that you wanted to add a column in Recycle Bin.
    It is not supported to add column in Recycle Bin.
    Per the
    MSDN article, there are no properties or methods to achieve it.
    Thanks,
    Jason
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jason Guo
    TechNet Community Support

  • BAPI - Goods receipt and then create transfer order for a production order

    Hello Everyone
    We need to do goods receipt and then create transfer order for a production order (Material for WM scenario)
    We are using BAPI 'BAPI_GOODSMVT_CREATE'
          i_items-orderid = wa_afpo-aufnr .
          i_items-order_itno = wa_afpo-posnr.
          i_items-mvt_ind = 'F'.
          i_items-stge_loc   = wa_afpo-lgort.
         i_items-stge_type = '901'. "wf_styp.
         i_items-stge_bin = wf_sbin.
          i_items-entry_qnt  = wf_qty.
          i_items-entry_uom = wa_afpo-meins.
          i_items-entry_uom_iso = wa_afpo-meins.
          i_items-batch      = wa_zmobtag-charg.
          i_items-move_type  = '101'.
          i_items-move_reas  = wl_3131.
    We are passing i_items (like line of goodsmvt_item) along with other parameters to BAPI and its creating material document and Transfer order automatically. Problem is the TO created is showing destination storage bin as default storage bin( from material master).
    The field goodsmvt_item-stge_bin is just changing the Source bin details. There is no field for bin in the BAPI so that we can change the Destination storage bin as per our requirement.
    My requirement : Creating material doc and then TO. Material should move to specified storage bin.
    Please let me know any alternate way( No BDC) so that my requirement is achieved.
    Regards
    Swetabh

    Hi ,
    can u check these fields ,
    STGE_TYPE_PC     UBTYP     CHAR     3     0     Storage type for transfer posting
    STGE_BIN_PC     UBPLA     CHAR     10     0     Storage bin for transfer posting
    Regards
    Prabhu

  • Capacity check in wm

    HI,
    I have been working on few strategies in putaway. One of the storage type which uses open storage strategy with mixed, addition to existing are allowed. With capacity check based on material. I have issue at time of creating transfer order. please consider the below case and explain me how to get rid of this error.
    For eg: Material , capacity usuage 1.0
    total capactity of bin 100.
    Goods receipt for 110 quantity ,
    At time of creating TO based on material document the system gives error " No destination storage bin to be found in strage type". I thought system will put 100 in one bin and rest 10 quantities in another bin but it doesn't happen.
    If i receive quantity 100 or lesser than this quantity system proposes the bin number based on the storage type and storage section search.
    --SJ

    Hi ,
    Thanks steve.
    I found that the system is searching for the right bins as per the section indicator.  since the capacity is low it gives error"no destination bin found". These bins are empty.
    scenario:
    when the goods receipt is for 120 ea..
    material capacity usuage : 1
    bin capacity : 100.
    for the above scenario , is it possible to split these quantity in such a way that the system puts 100 in one bin and 20 in another bin.
    --SJ

  • User-Exit or BADI for creating TO using TR in WM

    Dear Experts,
    I am preparing Transfer Order using Transfer Request through transaction code LT04.
    Now when I am doing Putaway (either background or foreground), system itself evaluates and suggests destination bins as per SAP standard logic. For me the destination bins suggested by system is correct, but what I want is to get complete list of destination bins suggested by system, since I want destination bins to be selected based on my logic from that list and not as per standard system logic.

    Hi Ashish,
    Are you able to see the list of destination bins suggested by the system in TO creation transaction?
    I think system will show only one destination bin. You can check it in debugging mode while creating TO.
    FM L_TO_PREPARE_ITEM_INT will propose the destination bin , after execution of this FM you will get the destination
    bin in e_ltap-nlpla parameter of this FM.
    Regards,
    Pawan

  • Transfer Requirement not getting created

    Hi All,
    My query as below;
    Production order is created using KANBAN (Control Cycle/Supply Area is defined) using classic KANBAN.
    WM is in place and all the setting related to TR/TO creation for WM movement type 103 is in place.
    When i am trying to receive this Production after completion it is not creating the TR/TO, while as material document is getting generated and shows the stock directly in interim storage type 901 without creating TR and TO.
    Further i checked there is indicator in Production order i.e "Kanban indicator" that gets checked automatically when Production order is created using KANBAN Processs and if i remove that indicator forcefully, TR and TO is getting created normally.
    Please provide some inputs where can be the problem and how TR and TO can be created normally eventhough KANBAN indicator is checked in Production order and where i can found the setting related to "KANBAN INDICATOR".
    Appreciate your help.

    Hi Maddy
    Thanks very much for your response.
    1. When you use KANBAN, you define separate KANBAN storage location, which is different from WM-managed replenishment storage locations, and separate KANBAN interim storage area with storage bin.
    Yes different storage location is defined which is not WM-managed in supply area.
    As you said Control Cycle is defined, see if the interface is properly defined for both of these Sloc.
    Where i can check whether interface is properly defined or not.
    2. See if you have defined the KANBAN replenishment strategy with Control type Transfer Requirements from a Storage Location which is being controlled by WM in the Customizing for Production under KANBAN > Replenishment Strategies > Define Stock Transfer Strategies
    Actually for a material two strategies are defined like;
    1) In-house Production strategies-0003-
    supply area is defined with storage location which is IM managed.
    And when this order is completed and i am trying to receive this in WM SLOC (usally whatever SLOC we have defined in supply area it proposes that SLOC at the time of receipt but i am changing this manually to WM managed SLOC) using transaction MIGO, it is directly taking the stock to 901 interim storage type and in total the stock increases but the problem is when TR is not getting created i am not able to take this to the storage bin as per strategies defined.
    2) Stock Transfer Strategies-This is working fine and in that TR/TO is working fine.
    3. For TO to get created automatically by the system from the transfer requirement, see if an indicator Automatic TO creation in the replenishment strategy is set or not. Yes this is set for stock transfer strategies but i didn't find option to check the TO creation automatically for in-house production strategy
    4. Also, check that you have set up a suitable replenishment movement type for KANBAN in the Customizing for Warehouse Management under Activities > Transfers > Define Movement Types (i.e.standard is 350 for KANBAN replenishment)-Yes this is also defined correctly.
    Appreciate your more inputs on this.

Maybe you are looking for

  • Problem with links for external user

    Hi, We´re using SAP NetWeaver Portal 2004s SPS 10 and we have a problem with links within notification-mails: The link to the document (e.g. within a subscription mail) consists of "http:///...". Only user using the portal within our network can open

  • HP Laserjet 100 MFP 175nw, Printer loses connection and have to reboot to print

    This is super annoying.  Had this printer for a few months and it worked great. Changed my wireless password a couple weeks ago and now the dang thing has to be rebooted almost everytime it needs to print.  Today I did a fresh install on my iMac for

  • HTML Pages in Java

    let see if you can help me.. these seeems to be really simple, but I dont what to do first. Simply, I need to show an html in a JFrame (or Frame).. only a simple IExplorer, but done in Java.. where can I find information about this? or about the clas

  • Flash CS6 AIR for iOS 接続されたiOSデバイスにアプリケーションをインストールできない

    Flash Professional CS6 AIR for iOSにて.iPhoneアプリを制作-公開している者ですが. アップデート作業時.急にデバイステスト(接続されたiOSデバイスにアプリケーションをインストール)が出来なくなり. 困っています. 開発環境は以下の通りです. ・Flash Professional CS6 ・Windows 7(32bit) ・AIR SDK:3.5.0.880 for iOS 設定等は特に変えていないのですが. 検証機のiPhone 5(iOS6.1.2

  • Elements 12 organizer file move

    I can't figure out how to move a whole files system from one place to another inclusive of directories. The catalog points fine and can stay where it is but I need to move all the data. When I use the MOVE command by doing a ctl a I only move the act