Import of very special binary data in Diadem

In order to use the tiara I need to import binary transient recorders data. The data is stored in block mode (after CH CH), in the form of pairs of X - Y data. All channels have different lengths, but the structure and channel names are written in a special header block, preceding the data. Pairs of data X - there are written in words (32-bit) with the variable X / Y separation is Y maybe for example scale 12-bit and so X by using the remaining bits of the word 20. The X / position of separation there is too much code in the header.
Can I set a very complex import directly in DIAdem or can I call a LabVIEW read file and decode the driver? Or is it simply impossible, except that I convert all my 120000 data sets and made them using 4 times more space?

Thank you very much in advance to the experts!

Marco Mailand
ABB Switzerland Ltd.
Technology high voltage

Hi Andreas,
about the e-mail of Hervé Bailey of NOR-CH, I wish to inform you that I can't yet give you examples of files as the data format is buried in the form of code F77 w/o any general description. It was developed where people used the ATARI computers to write text and no format is standardized. The lack of mass storage, compression was really maximized with this special format. Right now I am able to read and parse the header and to extract the information of access channel, but I can't access the channels in a reliable way. This means that some I can access, others do not and I don't know what's wrong. I guess in some rounded effect of the real by the division of integers that is used to calculate the start of the channel block.

Best regards, Mar
Co

P.S.: You can contact me under mailto:[email protected] offline

Tags: NI Software

Similar Questions

  • Handling of binary data (TCP/IP)

    Hello

    I was wondering if someone could point me in the right direction of processing continuous data TCP/IP and more meaningful information. Data contains 'an array of 10 tanks. For the sake of the argument, I saved some data in a text file. I tried to use the typecasting and unflatten to the chain function to convert the data to ascii in real time, but my lack of knowledge with the conversion of binary data makes it very difficult.

    Luckily, I got to convert binary data stored in a table of numbers of single precision that displaying the correct values. However, I am still confused in doing so in real time. I have attached all of the data and the example vi.

    Thank you

    Sam

    After hours of searching on forms.ni.com and I was able to convert table 10 floating point values readable in LV values as drjdpowell has pointed out that using modern "Unflatten chain" is much easier to accomplish this task. Because I had to deal with the old version of LV (7.1), I had to use cataloged with loop I32 array type, For, Swap, Swap bytes words and catalogued with array type SGL. Please refer to join .vi for more details.

  • binary data from GPS VI-example RF recording / reading with NI USRP

    Hello

    In the demo video (http://www.ni.com/white-paper/13881/en) a ublox was used to record the GPS signal while driving. How is it possible to record with you - Center in a binary data format which is usable within LabView for the reading of the GPS signal? Ublox uses the *.ubx data format, is there a converter?

    Hello YYYs,

    The file was generated not by uBlox but by recording and playback VI.  An active GPS antenna, fueled by some amplifiers and mini-circuits was related to the USRP and the program created LabVIEW file (USRP being used as a receiver)

    Later the USRP is reading the file (generation) and the Ublox GPS receiver is to be fooled into thinking that its location is currently somewhere else.

  • Convert binary data into data across the

    Hello

    If I got DAQmx Read.VI binary data (analog 2D I16 Nchan Nsamp), how can I convert these data to scale?

    Best,

    Jay

    See if that makes sense. There is probably a property for the number of bits A/d has, but I he can't think right now and can't spend toom much search time.

  • binary data loss

    I am running a VI which each loop saves a 1 d array to a binary file. I leave the loop run thousands of times, but after I sent the binary data in .xls format, I noticed that it was down the last few hundred loops (because I know that data should have looked like). Basically I was running a wave form and it seemed as if when I let the waveform 4 times, cycle 3 present you would Excel in. Is there a reason for this?

    The fixed! I used the skeleton to read a binary file for the example for my vi section and the skeleton was equal to 8 bytes of data size. Apparently, mine is 4 bytes? and so 8 was originally think that it there was only half because the amount of data that it has been. I changed and all the data is there! Thank you!

  • Cluster of savings in the form of binary data

    I have a compound cluster of ~ 50 items of different types that I need to save it as binary data. Obvoiusly I could do with the method of "brute force" of 50 different entries in the file, but that seems silly.

    Is there an easier way to empty just the disk in the form of binary data?  By registering as a cluster seems to add extra characters.

    In a world of LV, I just recorded in as a variant, but it must be saved as binary raw in order to be read by another program as a C structure.

    There is the beautiful Boolean entry in the binary write for "add/array of strings of size."  Unfortunately, this boolean applies only to the type of upper-level data that is being written.  So whatever it is inside the cluster will always these lengths prefixed.  Therefore, you have to separate your data and write each piece individually.

  • B & K Portable Signal Analyzer binary data files

    I am currently using a portable Signal B & K 2144/7651 Analyzer.  I would like to start a project to display binary data files created by the parser in Labview.  I technical documentation that specifies the formatting of the binaries and they have the code example written for Pascal but I do not know how to translate this to Labview.  If anyone has experience with these data files or could give me a hint on how to interpret the files of Labile, I'd appreciate it.

    I can post the technique will have to but I need to scan him.

    Thank you

    Eric

    Hi arvin.

    I just wanted to share the work to date - it is not quite finished, but I have to get some sleep.

    Will probably end tomorrow/today (later)

    See you soon!

  • How to convert binary data NVARCHAR2?

    Hi all

    I have binary data in the database (RAW oracle data type). I know that these data contain string encoded in UTF8. Our database runs in WE8ISO8859P15 encoding, UTF8 national character set. Then I would just convert the binary data NVARCHAR2. How can I do?

    I found the UTL_RAW function. CAST_TO_NVARCHAR2. However, this function takes only binary data as a parameter, so I highly doubt that it will work as I hope without specification of source character set...

    Someone has an idea?

    UTL_I18N. RAW_TO_NCHAR ( , "AL32UTF8")

  • Get binary data by using apex_web_service.make_rest_request ()?

    Hello world.

    Is it possible to get binary data (Content-Type: application/octet-stream) using APEX_WEB_SERVICE. Function MAKE_REST_REQUEST()?

    That is to say: How to convert the return value of CLOB BLOB? The length of the CLOB responese receipt is right.

    I'm try convert response CLOB BLOB as a result of track (APEX 4.2.3.00.08, Oracle-XE 11 g):

    1)

    DBMS_LOB.converttoblob (l_blob, l_response, DBMS_LOB. LOBMAXSIZE, l_offsetd, l_offset, 0, l_context, l_warning);

    where:

    number of l_offset: = 1;

    number of l_offsetd: = 1;

    l_context number: = 0;

    number of l_warning;

    2)

    Function clob2blob (p_clob CLOB) returns the BLOB

    as

    l_blob BLOB;

    l_str varchar2 (32767).

    l_amount pls_integer: = 256;

    l_offset pls_integer: = 1;

    Start

    DBMS_LOB.CREATETEMPORARY (l_blob, true);

    DBMS_LOB. Read(p_clob,l_amount,1,l_str);

    l_offset: = l_amount + 1;

    l_blob: = to_blob (utl_raw.cast_to_raw (l_str));

    loop

    DBMS_LOB. Read (p_clob, l_amount, l_offset, l_str);

    DBMS_LOB. Append (l_blob, utl_raw.cast_to_raw (l_str));

    l_offset: = l_offset + l_amount;

    end loop;

    Return l_blob;

    exception when no_data_found then

    Return l_blob;

    end;

    Nothing works...

    Where is my mistake?

    Best regards, Mikle.

    Your mistake is that you try to use a clob for binary data. Who is never going to work.

    Try this

    declare

    l_response_content blob.

    Start

    l_response_content: =. getblob() httpuritype ('http://www.oracleimg.com/us/assets/u01-u06-f01-bg-sprite.png');

    dbms_output.put_line (dbms_lob.getlength (l_response_content));

    end;

  • Not possible to export a list of virtual machines that are created in the past 7, 30, 120 and 180 days since an imported csv file containing the date of creation of virtual machine

    Not possible to export a list of virtual machines that are created in the past 7, 30, 120 and 180 days since an imported csv file containing the date of creation of virtual machine. My questions is the correct statement to the variable: $VmCreated7DaysAgo: $_CreatedOn "-lt" $CDate7.

    # #SCRIPT_START

    $file = "C:\Users\Admin\Documents\WindowsPowerShell\08-18-2014\VM-Repo.csv".

    $Import = import-csv $file

    $VMCreatedLast7RDayRepoFile = "C:\Users\Admin\Documents\WindowsPowerShell\08-18-2014\Last7Days.csv".

    $start7 = (get-Date). AddMonths(-1)

    $CDate7 = $start7. ToString('MM/dd/yyyy')

    $VmCreated7DaysAgo = $Import | Select-object - property name, Powerstate, vCenter, VMHost, Cluster, file, Application, CreatedBy, CreatedOn, NumCpu, MemoryGB | Where-Object {$_.} CreatedOn - lt $CDate7} | Sort-Object CreatedOn

    $TotalVmCreated7DaysAgo = $VmCreated7DaysAgo.count

    $VmCreated7DaysAgo | Export-Csv-path $VMCreatedLast7RDayRepoFile - NoTypeInformation - UseCulture

    Write-Host "$TotalVmCreated7DaysAgo VMs created in 7 days" - BackgroundColor Magenta

    Invoke-Item $VMCreatedLast7RDayRepoFile

    # #SCRIPT_END

    You can use the New-Timespan cmdlet in the Where clause, it returns the time difference between 2 DateTime objects.

    An example of this cmdley

    New-TimeSpan-start (Get-Date). AddDays(-7)-end (Get-Date). Select days - ExpandProperty

    In your case, you could do

    Where {(New Timespan-démarrer ([DateTime] $_.))} CreatedOn) - end $start7). {7 days - gt}

    But beware of negative numbers.

  • How to add binary data to a file existing in OSB

    Hello

    I have a project of OSB that I need to do this to add binary data by ftp.  Here's my current throughput:

    Out binary MFL-> replace $body with binary output mfl-> publish to action (business service that is configured for ftp binary data).

    However, when data are Ed the following error is thrown:

    URI = ftp://xxx:21 / opt/home/zzz/logs

    Application of metadata =.

    < xml fragment - >

    " < tran:headers xsi: type ="ftp:FtpRequestHeaders"xmlns:ftp =" http://www.BEA.com/WLI/SB/transports/FTP "xmlns:tran =" " http://www.BEA.com/WLI/SB/transports "xmlns: xsi =":

    ttp://www.w3.org/2001/XMLSchema-instance">

    < ftp:fileName >11802_insert_oh_xfrmr.eai_data< / ftp:fileName >

    < / tran:headers >

    " < tran: encoding = xmlns:tran ' http://www.BEA.com/WLI/SB/transports "> utf-8 < / tran: encoding > .

    " < = xmlns:ftp ftp:isFilePath ' http://www.BEA.com/WLI/SB/transports/FTP "> false < / ftp:isFilePath > .

    < / xml fragment >

    Payload =

    19266787 ^ CLLL ^ C711791 ^ CLLL ^ C ^ C1178213 ^ Phase fixed (1) ^ C63185066204 ^ CA ^ CConstructed ^ C358880 NW 4DR LK MONTAZA ^ C120/240 ^ C09361 ^ CN/A ^ Remove CProposed ^ CAerial ^ C45718100 ^ C

    Unknown ^ C ^ ONC ^ temperature closed ^ CClamp ^ CA ^ C1 ^ C2-cover ^ C19266796 ^ ONC ^ ONC ^ C15 ^ C ^ CYes ^ CYes ^ CYes ^ C13200Y/7620 X 22860Y/13200 ^ C ^ C ^ C ^ C ^ C ^ C ^ C ^ C ^ C ^ C ^ C ^ C ^ C ^ C ^ C ^ C ^ C ^ C ^ C ^ C ^ C ^ C ^ C ^ C ^ C

    ^ C ^ C ^ C ^ C ^ C ^ C ^ C ^ C ^ C ^ C ^ C ^ C ^ C ^ C ^ C ^ C ^ C ^ C ^ C ^ C ^ C ^ C ^ C ^ C ^ C ^ C ^ C ^ C ^ C ^ C ^ C ^ C ^ C ^ C ^ C ^ C19266641 ^ Coh_fuse_switch ^ C63086930001 ^ C4 ^ CN31 ^ CDD0613 ^ C22.9 ^ C63376474601 ^ C8129580 ^ wrong ^ C4 ^ Coke

    echobee ^ C43 ^ C0 ^ Cdefault ^ CYes ^ C

    >

    # < 6 November 2013 2:28:23 pm > < error > < WliSbTransports > < goxsd1604 > < osb_server1 > < ExecuteThread [ASSET]: '3' for queue: '(self-adjusting) weblogic.kernel.Default' > < <

    Anonymous > > < BEA1 4B688443B66FA09FFE75 > < d2b4601b2fffd9b7:6b9f2297:1422a857ee8: - 8000 - 000000000000171 b > < 1383766103889 > < BEA-381105 > < error occurred for the endpo of service

    int: com.bea.wli.sb.transports.TransportException: cannot open the data connection. Message is received error (553) of FTP server [mpsd1] [10.111.19.32] IP response in.

    status of RT [21] [connected] command executing [storopt/Accueil/zzz/logs/11802_insert_oh_xfrmr.eai_data.a]

    com.bea.wli.sb.transports.TransportException: failed to open the data connection. Message is received error response (553) of FTP server [mpsd1] [10.111.19.32] IP [2 port

    1] [Hardcover] status command executing [stor opt/home/icanadm/logs/11802_insert_oh_xfrmr.eai_data.a]

    at com.bea.wli.sb.transports.ftp.connector.FTPTransportProvider.sendMessage(FTPTransportProvider.java:422)

    As I understand the error code 553 represents a wrong file name.  The file name I am providing is 11802_insert_oh_xfrmr.eai_data but it seems that the name is changed to 11802_insert_oh_xfrmr.eai_data.a.  So I did what is obvious and changed the file in several different ways (without the extension .eai_data, removed the number of file name) but still no luck.

    Any suggestions?

    Thank you

    Yusuf

    You can try to use the transport of ftp of jca rather than OSB ftp transport

    See:

    http://docs.Oracle.com/CD/E23943_01/integration.1111/e10231/adptr_file.htm#BABJEFCJ

    You can activate the mode append this

  • How to save and retrieve binary data in as.3.0

    I try to get in as3.0 binary data from a file, thanks!

    Where are you reading the data? The client computer or the web server? If the web server see the URLLoader and URLRequest classes. They allow you to load static data from a web server.

    If client side, you can't do with Flash because of security. Allows only air. See attachment.

  • don't read full of binary data from the db

    I have a strange problem. I read the binary data (png images) of database through cold fusion. everything worked, but now it has stopped working. the exact same script works on another server and the images appear correctly. but on the other server, it works more (from one hour to the next..). data base is the same. other data in the database are correctly read. but binary data may not be read or not completely. images remain blank, because only a header is created.
    I managed to convert the binary data, which are read for string and display it on both servers. Result, on one server, its site more of one and a half on the non working server, it's just more or less an information line.
    any ideas what could be the problem? kind of time-out due to the length of the data?

    do not know how and why, but after 5 days of research, and now, writing this post, I looked in cold fusion administrator and I saw, that the ' enable binary large object (BLOB) retrieval ' has been disabled... it wasn't me...
    so the problem is solved

  • Convert JPEG image into binary data

    Is it possible to convert a JPEG image into binary data. Because if it would be possible
    You can insert data into a database.

    Kind regards

    Micehal.

    Yes. check the bitmapdata class.

  • Arbitrary large amounts of binary data in a clip of loading

    It is easy to download external data in XML format to a clip. However, what I need must load really large volumes of data binary readonly. In my case, the text representation is not an option. Is it possible to download an arbitrary array of bytes in memory, then get this table to read the individual bytes?

    I don't think that the forth tables like this
    var data: Array = [1,2,3,...];
    could be solution for my problem either. The reason is that the VM so much additional information associated with each Member of the group.

    The only solution that I came here is to pack binary data as strings,
    var data: String = "\u0000\u1234\uabcd";
    two bytes per character. Avoid any overhead storage, and searching for a member of individual data is trivial.

    But I doubt there is a better solution?

    I don't think that there is another option other than to load it into a string and then encoded the decode internally to as2. So if you have \u0000 as in the example above, you will find that it does not work.
    var data: String = "\u0000\u1234\uabcd";
    (Data.Length) evidence //traces 0 (zero) as the first character is a string terminator

    I think you need a method of encoding as base64 in the source string and an equivalent class of decoder to decode to binary flash inside. I'm no expert on this stuff... others may learn more, or it could be a starting point for your search.

    In the past, I used the classes meychi.com for this sort of thing. Could not see them online now... but there is something else here that may be useful:
    http://www.svendens.be/blog/archives/8

    With as3 - if I understand correctly - it is not a problem because you can load binary data.

Maybe you are looking for