Read/Write unsigned 32 bit integer to BLOB

Dear All,
I am writing an array of unsigned 32 bit integers to a Blob field, using delphi. I can also read the same from delphi.
In a stored proc, I need to read the unsigned 32 bit integer from the blob.
I have used dbms_lob.read function.
Here for dbms_lob.read(lob_loc,amount,offset,buffer)
I've given
lob_loc - the locator
amount - 4 bytes
offset - 1
buffer- ?? The buffer here has to be a datatype which corresponds to unsigned 32 bit. Which datatype in oracle can be used here ? I tried to give raw, but it doesnot seems to give the required out put.
Please help !!!

What version of oraoledb? There were some issues with NUMBER datatype in earlier versions, I'd recommend testing the most recent version.
To patch 10.2 oraoledb, apply the 10.2.0.4 database patch to the client install.
Hope it helps,
Greg

Similar Messages

  • Read/Write a bit in a Modbus Address

    Greetings,
    I'm working on a project for a customer of mine. I'm working off of his I/O mapping list. We are using MODBUS to communicate to a Motorola MOSCAD FIU. According to the I/O Map, I need to read a bit from address 307682:01 which normal I would translate into 307682.1 but Lookout is not excepting this address as a valid Data Member. So I did some troubleshooting of my own and found that Modbus Data member (307682) is only used as "a 6-digit addresses of 16 bit input registers encoded as unsigned binary integers ranging from 0 - 65535." I guess an analog value.
    Is my thought process correct on this? Does my customer need to change his I/O mapping. Am I overlooking something?
    Attached is a copy of the I/
    O map.
    Oliver Scheurer
    Aegis Solutions, Inc.
    2660-T Yonkers Road
    Raleigh, NC 27604
    Phone: (919) 861-0103 Ext. 231
    Fax: (919) 861-0104
    www.aegis-solutions.com
    Attachments:
    IO_Map_for_lookout.xls ‏69 KB

    WOW!!.. I get to answer my own question. You all are slow... J/K...
    Anyway, the fine people at NI Tech Support Helped me out with this one. Seems that it is a problem related to Lookout and Modbus. After discussing this problem with a few engineers, I decided to call the customer and let him know of his mistake. Well, he proceeded to tell me that "Wonderware can do it with out a problem". So I called NI Support again, and they told me that further research showed that it is something that was not put into Lookout. The Support engineer started a "CARD?". But he also gave me a work around.
    1. create an expression
    2, enter getbit(3,1)
    This expression will return a ON status since the number 3 in binary is 1 1 and looking at the first bit is 1.
    So for my
    application I would use
    getbit(modbus1.307682,1)
    I hope this makes sense.
    Oliver Scheurer
    Aegis Solutions, Inc.
    2660-T Yonkers Road
    Raleigh, NC 27604
    Phone: (919) 861-0103 Ext. 231
    Fax: (919) 861-0104
    www.aegis-solutions.com

  • Blob for binary file, read/write problems

    Hi,
    I am relatively new to this type of development so apologies if this question is a bit basic.
    I am trying to write a binary document (.doc) to a blob and read it back again, constructing the original word file. I have the following code for reading and writing the file:
    private void save_addagreement_Click(object sender, EventArgs e)
    // Save the agreement to the database
    int test_setting = 0;
    // create an OracleConnection object to connect to the
    // database and open the connection
    string constr;
    if (test_setting == 0)
    constr = "User Id=royalty;Password=royalty;data source=xe";
    else
    constr = "User ID=lob_user;Password=lob_password;data source=xe";
    OracleConnection myOracleConnection = new OracleConnection(constr);
    myOracleConnection.Open();
    // create an OracleCommand object to hold a SQL statement
    OracleCommand myOracleCommand = myOracleConnection.CreateCommand();
    myOracleCommand.CommandText = "insert into blob_content(id, blob_column) values 2, empty_blob())";
    OracleDataReader myOracleDataReader = myOracleCommand.ExecuteReader();
    // step 2: read the row
    OracleTransaction myOracleTransaction = myOracleConnection.BeginTransaction();
    myOracleCommand.CommandText =
    "SELECT id, blob_column FROM blob_content WHERE id = 2";
    myOracleDataReader = myOracleCommand.ExecuteReader();
    myOracleDataReader.Read();
    Console.WriteLine("myOracleDataReadre[\"id\"] = " + myOracleDataReader["id"]);
    OracleBlob myOracleBlob = myOracleDataReader.GetOracleBlobForUpdate(1);
    Console.WriteLine("OracleBlob = " + myOracleBlob.Length);
    myOracleBlob.Erase();
    FileStream fs = new FileStream(agreement_filename.Text, FileMode.Open, FileAccess.Read);
    Console.WriteLine("Opened " + agreement_filename.Text + " for reading");
    int numBytesRead;
    byte[] byteArray = new byte[fs.Length];
    numBytesRead = fs.Read(byteArray, 0, (Int32)fs.Length);
    Console.WriteLine(numBytesRead + " read from file");
    myOracleBlob.Write(byteArray, 0, byteArray.Length);
    Console.WriteLine(byteArray.Length + " written to blob object");
    Console.WriteLine("Blob Length = " + myOracleBlob.Length);
    fs.Close();
    myOracleDataReader.Close();
    myOracleConnection.Close();
    This gives the following console output:
    myOracleDataReadre["id"] = 2
    OracleBlob = 0
    Opened D:\sample_files\oly_in.doc for reading
    56832 read from file
    56832 written to blob object
    Blob Length = 56832
    My write to file code is:
    private void save_agreement_to_disk_Click(object sender, EventArgs e)
    string filename;
    SaveFileDialog savedoc = new SaveFileDialog();
    if (savedoc.ShowDialog() == DialogResult.OK)
    filename = savedoc.FileName;
    // create an OracleConnection object to connect to the
    // database and open the connection
    OracleConnection myOracleConnection = new OracleConnection("User ID=royalty;Password=royalty");
    myOracleConnection.Open();
    // create an OracleCommand object to hold a SQL statement
    OracleCommand myOracleCommand = myOracleConnection.CreateCommand();
    myOracleCommand.CommandText =
    "SELECT id, blob_column " +
    "FROM blob_content " +
    "WHERE id = 2";
    OracleDataReader myOracleDataReader = myOracleCommand.ExecuteReader();
    myOracleDataReader.Read();
    Console.WriteLine("myOracleDataReader[id] = " + myOracleDataReader["id"]);
    //Step 2: Get the LOB locator
    OracleBlob myOracleBlob = myOracleDataReader.GetOracleBlobForUpdate(1);
    Console.WriteLine("Blob size = " + myOracleBlob.Length);
    //Step 3: get the BLOB data using the read() method
    byte[] byteArray = new byte[500];
    int numBytesRead;
    int totalBytes = 0;
    FileStream fs = new FileStream(filename, FileMode.OpenOrCreate, FileAccess.Write);
    while ((numBytesRead = myOracleBlob.Read(byteArray, 0, 500)) > 0)
    totalBytes += numBytesRead;
    fs.Write(byteArray, 0, byteArray.Length);
    Console.WriteLine("numBytes = " + numBytesRead + " totalBytes = " + totalBytes);
    Console.WriteLine((int)fs.Length + " bytes written to file");
    fs.Close();
    myOracleDataReader.Close();
    myOracleConnection.Close();
    This gives the following console output:
    myOracleDataReader[id] = 2
    Blob size = 0
    0 bytes written to file
    If I manually add the blob file using the following:
    DECLARE
    my_blob BLOB;
    BEGIN
    -- load the BLOB
    my_bfile := BFILENAME('SAMPLE_FILES_DIR', 'binaryContent.doc');
    SELECT blob_column
    INTO my_blob
    FROM blob_content
    WHERE id = 1 FOR UPDATE;
    DBMS_LOB.FILEOPEN(my_bfile, dbms_lob.file_readonly);
    DBMS_LOB.LOADFROMFILE(my_blob, my_bfile, DBMS_LOB.GETLENGTH(my_bfile), 1, 1);
    DBMS_LOB.FILECLOSEALL();
    COMMIT;
    END;
    COMMIT;
    The write to file works perfectly. This tells me that there must be something wrong with my code that is writing the blob to the database. I tried where possible to following the Oracle article using large objects in .NET but that (along with most things on the internet) focus on uploading text files.
    Thanks in advance.
    Chris.

    myOracleCommand.CommandText = "insert into blob_content(id, blob_column) values 2, empty_blob())";
    OracleDataReader myOracleDataReader = myOracleCommand.ExecuteReader();
    This looks wrong, you shouldn't be using ExecuteReader unless you expect to get a result back. Try using ExecuteNonQuery to do the insert.

  • How to read/write a binary file from/to a table with BLOB column

    I have create a table with a column of data type BLOB.
    I can read/write an IMAGE file from/to the column of the table using:
    READ_IMAGE_FILE
    WRITE_IMAGE_FILE
    How can I do the same for other binary files, e.g. aaaa.zip?

    There is a package procedure dbms_lob.readblobfromfile to read BLOB's from file.
    http://download-east.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_lob.htm#sthref3583
    To write a BLOB to file you can use a Java procedure (pre Oracle 9i R2) or utl_file.put_raw (there is no dbms_lob.writelobtofile).
    http://asktom.oracle.com/pls/ask/f?p=4950:8:1559124855641433424::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:6379798216275

  • Read/Write pdf's as blobs using forms 10g

    Hi All,
    I have a table called IMAGES in which i store the pdfs as blobs.
    It was successfully working fine with me when I was using forms 6i.
    Recently I installed oracle 10g and just found that 10G doesnt support OLE.
    I came to know about WEBUTIL package and I have already included in the form.
    Could you please help me out how can utilize this WEBUTIL package to read/write blobs from database.
    If you have already developed any code like that, could please forward me?

    The WebUtil_file_transfer.client_to_db and db_to_client will give you direct access to read and write to the blob - I think the Demo form on
    http://www.oracle.com/technology/products/forms/htdocs/webutil/webutil.htm
    has an example of this

  • Read an excel file and convert to a 1-D array of long, 32-bit integer?

    My vi right now reads an column of numbers as a 1-D array, but I need to input the numbers manually, and for what I'm trying to do, there could be anywhere between 100 to 500 numbers to input. I want the vi to be able to read the excel file and use that column of numbers for the rest, which the data type is long (32-bit integer).
    I have an example vi that is able to get excel values, but the output data type is double (64-bit real).
    I need to either be able to convert double(64-bit real) data to long (32-bit integer), or find another way to get the values from the excel file.

    Just to expand on what GerdW is saying.  There are many programs that hold exclusive access to a file.  So if a file is opened in Excel, the LabVIEW cannot access the file.
    What is the exact error code?  Different error codes will point to different issues.
    Make sure the csv file is exactly where you think it is and LabVIEW is pointing to the right place.  (I'm just going through stupid things I have done)
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • HOW TO WRITE ,SAVE A FILE IN BLOB COLUMN

    Hi,
    I have to write a simple utl file and store it in a column of blob data tye..i hav written a piece of code..it shows invalid path as error..please kindly help me
    create or replace
    procedure simp_file as
    fhandler                    utl_file.file_type;
    f_dir                    VARCHAR2(100);
    f_file                    VARCHAR2(100);
    BEGIN
    f_dir := 'C:/utl/';
    f_file := 'Kings.txt';
         BEGIN
              fhandler := utl_file.fopen(f_dir,f_file,'a');
         EXCEPTION
         WHEN utl_file.invalid_path THEN
              f_dir := 'C:/utl/';
              fhandler := utl_file.fopen(f_dir,f_file,'a');
         END;
         utl_file.new_line(fhandler,1);
    utl_file.putf(fhandler,'hi');      
    utl_file.fclose(fhandler);
    EXCEPTION
    WHEN UTL_FILE.INVALID_PATH THEN
    IF (utl_file.is_open(fhandler)) THEN
    utl_file.fclose(fhandler);
    END IF;
    raise_application_error(-20101, 'Invalid path');
    END simp_file;

    May be..
    SQL> CREATE TABLE test_blob (id INTEGER,blob_col BLOB);
    Table created.
    SQL> DECLARE
      2    file_handle UTL_FILE.file_type;
      3    v_fname     VARCHAR2(20) := 'mytest.txt';
      4    buffer      VARCHAR2(32767);
      5  BEGIN
      6    file_handle := UTL_FILE.fopen('TEST_DIR', v_fname, 'W');
      7    buffer      := 'This is first line';
      8    UTL_FILE.put_line(file_handle, buffer, TRUE);
      9    buffer := 'This is second line';
    10    UTL_FILE.put_line(file_handle, buffer, TRUE);
    11    buffer := 'This is third line';
    12    UTL_FILE.put_line(file_handle, buffer, TRUE);
    13    UTL_FILE.fclose(file_handle);
    14  END;
    15  /
    PL/SQL procedure successfully completed.
    SQL> DECLARE
      2    v_src_loc BFILE := BFILENAME('TEST_DIR', 'mytest.txt');
      3    v_amount  INTEGER;
      4    v_b       BLOB;
      5  BEGIN
      6    DBMS_LOB.OPEN(v_src_loc, DBMS_LOB.LOB_READONLY);
      7    v_amount := DBMS_LOB.GETLENGTH(v_src_loc);
      8    INSERT INTO test_blob
      9    VALUES
    10      (1, EMPTY_BLOB())
    11    RETURNING blob_col INTO v_b;
    12    DBMS_LOB.LOADFROMFILE(v_b, v_src_loc, v_amount);
    13    DBMS_LOB.CLOSE(v_src_loc);
    14  END;
    15  /
    PL/SQL procedure successfully completed.
    SQL> commit;
    Commit complete.Then display
    SQL> DECLARE
      2      v_lob_loc BLOB;
      3      CURSOR cur IS
      4         SELECT id, blob_col FROM test_blob;
      5       v_rec test_blob%ROWTYPE;
      6     BEGIN
      7       OPEN cur;
      8       LOOP
      9         FETCH cur
    10          INTO v_rec;
    11        v_lob_loc := v_rec.blob_col;
    12         DBMS_OUTPUT.PUT_LINE('The length is: ' ||
    13                              DBMS_LOB.GETLENGTH(v_lob_loc));
    14         DBMS_OUTPUT.PUT_LINE('The ID is: ' || v_rec.id);
    15         DBMS_OUTPUT.PUT_LINE('The blob is read: ' ||
    16                              UTL_RAW.CAST_TO_VARCHAR2(DBMS_LOB.SUBSTR(v_lob_loc,
    17                                                                       200,
    18                                                                       1)));
    19         EXIT WHEN cur%NOTFOUND;
    20       END LOOP;
    21       CLOSE cur;
    22   END;
    23  /
    The length is: 61
    The ID is: 1
    The blob is read: This is first line
    This is second line
    This is third line
    The length is: 61
    The ID is: 1
    The blob is read: This is first line
    This is second line
    This is third line
    PL/SQL procedure successfully completed.

  • Incorrect data type when writing to FPGA Read/Write Control

    I have run in to a problem this morning that is causing me substantial headache.  I am programming a CompactRIO chassis running in FPGA mode (not using the scan engine) with LabVIEW 2012.  I am using the FPGA Read/Write Control function to pass data from the RT Host to the FPGA Target.  The data the RT host is sending comes from a Windows host machine (acting as the UI) and is received by the RT Host through a network published variable.
    The network published shared variable (shared between the RT and Windows system) is a Type Def cluster containing several elements, one of which is a Type Def cluster of fixed point numerics.  The RT system reads this shared variable and breaks out the individual elements to pass along to various controls on the FPGA code's front panel.  The FPGA's front panel contains a type def cluster (the same type def cluster, actually) of fixed point numerics.
    The problem comes in the RT code.  After I read the shared variable I unbundle the cluster by name, exposing the sub-cluster of fixed point numerics.  I then drop an FPGA Read/Write Control on the RT block diagram and wire up the FPGA reference.  I left click on the FPGA Read/Write Control and select the cluster of fixed point numerics.  I wire these together and get a coercion dot.  Being a coercion dot hater, I hover over it the dot and see that the wire data type is correct (type def cluster of fixed point numerics), but the terminal data type is listed as a cluster containing a Boolean, code integer and source string, also known as an error cluster.  I delete the wire and check the terminal data type on the Read/Write Control, which is now correctly listed as a type def cluster of fixed point numerics.  Rewiring it causes the terminal to revert back to the error cluster.  I delete the wire again and right click on the terminal to add a control.  Sure enough, a type def cluster of fixed point numerics appears.  Right clicking and adding an indicator to the unbundle attached to the network shared variable produces the proper result.  So, until they are attached to each other, everything works fine.  When I wire these two nodes together, one spontaneously changes to a error cluster.
    Any thoughts would be appreciated.

    My apologies I never got back to responding on this.  I regret that now because I got it to work but never posted how.  I ran in to the exact same problem today and returned to this post to read the fix.  It wasn't there, so I had to go through it all over again.
    The manifestation of the problem this time was that I was now reading from the Read/Write FPGA front panel control and writing to a network published shared variable.  Both of these (the published shared variable and the front panel control) were based on a strict type defined cluster, just like in the original post.  In this instance, it was a completely different cluster in a completely different project, so it was not a one-off thing.
    In addition to getting the coercion dot (one instance becoming an error cluster, recall), LabVIEW would completely explode this time around.  If I saved the VI after changing type definition (I was adding to the cluster) I would get the following error:
    Compile error.  Report this problem to N.I. Tech Support.  Copy cvt,csrc=0xFF
    LabVIEW would then crash hard and shutdown without completing the save.  FYI, I'm running LabVIEW 12.0f3 32-bit.
    If I would then reopen the RT code, the same crash would occur immediately, ad nauseam.  The only way to get the RT code to open was to change the type defined cluster back to the way it was (prior to adding the new element).
    I didn't realize it last time around (what originally prompted this post), but I believe I was adding to a type def cluster when this occurred the first time.
    So, how did I fix it this time around? By this point I tried many, many different things, so it is possible that something else fixed it.  However, I believe that all I had to do was to build the FPGA code that the RT code was referencing.  I didn't even have to deploy it or run it... I just had to build it.  My guess is that the problem was the FPGA Reference vi (needed to communicate with the FPGA) is configured (in my case) to reference a bit file.  When the development FPGA Main.vi ceases to match the bit file, I think that bad things happen.  LabVIEW seems to get confused because the FPGA Main.vi development code is up and shows the new changes (and hence has the updated type def), but when you ask the RT code to do something substantial (Open, Save, etc), it refers to the old bit file that has not yet been updated.  That is probably why the error getting thrown was a compile error.
    I'm going to have to do an additional round of changes, so I will test this theory.  Hopefully I will remember to update this post with either a confirmation or a retraction.

  • How can I set specific bits in a 16-bit integer?

    Hello everyone,
    as the title says I need to modify or rather to set a specific bit in a string which then is sent to a motor. I need to be sure that my command is correct as I am experiencing troubles with that motor and need to identify if its source.
    First of all my strings have to be in the Little Endian order. Then the structure of the string should be the following:
    Change Velocity command ‘V’xxCR 056h + one unsigned short (16-bit) integer + 0Dh (Note: Uppercase ‘V’)
    Note: The lower 15 bits (Bit 14 through 0) contain the velocity value. The high-order bit (Bit 15) is used to indicate the microstep-to-step resolution: 0 = 10, 1 = 50 uSteps/step.
    Until now, I used Flatten To String to convert 32 bit integers into bytes of the correct order. I thought I could use the Join Numbers function, but that only works for at least 8 bit numbers and there is no "1 bit number". I searched for an option to build a a string and set the bits via a Boolean Cluster, but I did not really understand how to transfer this to my problem.
    How can I build up the correct 16-bit integer (e.g. set the velocity to "10000" with a resolution of 50 µSteps/step)
    I would like to add the "V" and the CR via Concatenate Strings to the 16-bit integer, but other possibilites are also welcome.
    I have seens the examples for bit manipulation in C-code, but I wish to do this with LabView as I am not familiar with C,matlab and so on.
    Thank you very much for your help!
    Solved!
    Go to Solution.

    You really need to learn Boolean logic and how to shift bits around.
    AND is really good for masking out bits (forcing them to 0) and OR is really good for adding bit values.  Then Logical Shift is used to get the bits in the right places before doing the AND and OR.
    NOTE: Rate is an enum with 10 being a value of 0 and 50 being 1.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines
    Attachments:
    Bit Packing.png ‏15 KB

  • Urgent!!! Need help in file read/write data to a serial port

    Hi,
    I really need someone's help in order for me to complete my project. I have attached a vi which I have taken from an example and integrate to my project. In the vi, I have managed to get the encoder counts using Ni 9411. I need to read/write that data from ni9411 to ni9870 without using any serial port as they are connected to a NI 9104 chasis. May I know whether I am correct in writing the data to my ni9870 port using the vi I have attached? Does anyone know how i can convert the number of counts to a 8-bit data/byte so that I can send the data through the RS232 port? I really need someone's help as I need to finished in 2 weeks time.
    I have also attached an vi on controlling the epos2 controller using instrument driver. Does anyone know how can i integrate this vi to the fpga vi (the one which I need to read/write data to 9870) as I need to send those data to control my epos2 controller.
    Please help me!!!
    Attachments:
    Encoder Position & Velocity (FPGA).vi ‏23 KB
    SINGLEMOTORMODIFIED.vi ‏17 KB

    Afai,
    As I allready suggested you here, call your local NI Office and ask for assistance!
    You really need assistence in a higher level that we can provide via the forums. Otherwise I don't see a chance for you to finish your project in time.
    1. Convert I32 to U8 to write it to the 9870 could be done like this:
    2. The vi to control the epos2.
    There is NO way ( absolutely NO way) to port this vi to FPGA. It's based on VISA calls, uses an event-structure, both are not available at the FPGA.
    The only thing you could do is to analyze the VI, the instruction set and design an FPGA vi which handles the specific instructions you would need.
    I have no experience with epos2 and I'm not 100% sure if this would work as you would like to use it. And doing this needs deep knowledge of LabVIEW, VISA, Instrument Drivers, the epos hardware, FPGA programming, and so on... 
    Christian

  • Make external hard drive read/write

    Not quite sure if there is in the right section but oh well.
    Here's the story:
    SeaGate FreeAgent GoFlex Drive (1.5TB) (THE FOLLOWING INFO WAS TAKEN FROM ITS APPLICATION: ("SEAGATE DRIVE SETTINGS")
    Drive Info
    Model: FA GoFlex Desk
    Firmware: 0D19
    Volume Info
    Format: Windows NT Filesystem
    Capacity: 1397.26 GB
    Available: 1224.35 GB
    Used: 172.91 GB
    Mount point: /Volumes/FreeAgent GoFlex Drive
    So it seems to slow down my iMac (10.6.8), 2GHz Intel Core 2 Duo, 1.5GB 667 MHz DDR2 SDRAM (memory) (1st Generation 17 inch) a fair bit. Could this be because of the Format? I have no idea why it says that. When I first installed it, it asked what OS I'm going to use it for. Not quite sure if I chose both or just Mac. But those files have somehow dissappeared.
    Now in Disk Utility...the RAID tab, Format says it is set to Mac OS Extended (Journaled) but then in the Erase tab it says Format: Windows NT Filesystem
    Which format is it set to!?!?!?!?!?!?!
    Now to the main point:
    I also have a new 13" MacBook Pro. When I plug it into it, I only have Read Permissions. How do I make it have Write Permissions as well?
    Sorry for the long essay...I hope you can help me. I might have two problems here.
    1. Is the format correctly set up for my iMac?
    2. How do I set it to have Read/Write permissions on different computers?
    Thanks.

    The Format is incorrect for Mac use, as you guessed.  Go into Disk Utility again, highlight the external har drive in the left hamd column by clicking on it and select the "Erase" tab, up and over to the right.  Then select the Format below that will be installed as "Mac OS Extended (Journeled)".  THEN, OK the erasure.  That should clear things up.
    Note: your Windows PC will NO LONGER be able to read the external hard drive.  It will be formatted for OS X use.
    Hope this helps

  • DSC - Write Trace - Bit Array or Logical

    Hi,
    we are trying to write digital signals to a citadel database. The polymorphic function "Write Trace.vi" has the types logical and bit array.
    First of all I have created a new database and tried to write 10 digital signals of type boolean to the database. Unfortunately I get an error: "SPW_WriteBool.vi:2". I only can write the data into the citadel database if I convert the boolean to 0 and 1 values and write them via the numeric type. But this causes an overhead of factor 32.
    Is there a sample vi of using the "Write Trace.vi" function of type Logical or Bit Array. I've noticed that the trace which I have created is a analog one of type double. In another database of our company I've found a discrete trace of type double. Is this the problem?
    Kind Regards
    Joachim

    Many thanks for your help. MAX would be a nice and easy way to view the data, by the way, I try to view them with the Mixed Signal Graph. I am very new to LabVIEW and I am fighting now in correct reading of my data. I have 32 digital channels - each value of them is packed in an U32. When making a loop of my example 2 times for each channel should contain 2 values. But how can I program that the first boolean of the U32 is part of digital channel 1 - second boolean is part of digital channel 2 and so on? I've read that I can only transpose 2D arrays. Enclosed I've programmed the visualization of 2 digital channels containing 32 datapoints. But the result should be 32 channels with 2 datapoints.
    Kind Regards,
    Joachim
    Attachments:
    read from citadel - bit array.png ‏8 KB

  • Shoudn't 'put with expiry' throw with read-write backing map?

    Good morning all,
    If I run this client code:
    cache.put(1,  1, CacheMap.EXPIRY_NEVER);I'd expect this entry to never expire. Yet with a read-write backing map it does - immediately, which lead me to digging a bit more...
    According to the [java docs|http://download.oracle.com/otn_hosted_doc/coherence/330/com/tangosol/net/NamedCache.html#put%28java.lang.Object,%20java.lang.Object,%20long%29] support for this call is patchy:
    >
    Note: Though NamedCache interface extends CacheMap, not all implementations currently support this functionality.
    For example, if a cache is configured to be a replicated, optimistic or distributed cache then its backing map must be configured as a local cache. If a cache is configured to be a near cache then the front map must to be configured as a local cache and the back map must support this feature as well, typically by being a distributed cache backed by a local cache (as above.)
    >
    OK, so the docs even say this won't work. But shouldn't it throw an unsupported op exception? Is this a bug or my mistake?
    rw-scheme config:
    <backing-map-scheme>
      <read-write-backing-map-scheme>
         <internal-cache-scheme>
            <local-scheme/>
         </internal-cache-scheme>
         <cachestore-scheme>
        </cachestore-scheme>
        <write-delay>1ms</write-delay>
      </read-write-backing-map-scheme>
    </backing-map-scheme>Edited by: BigAndy on 04-Dec-2012 04:28

    Quick update on this - I've raised an SR and Oracle have confirmed this is a bug and are looking into a fix.

  • DVD read/writer Question

    I'm so sorry if this has been asked, but here I go anyways. I got my iBook G4 as a gift a bit over a year ago, therefore I didn't really have any control over certain situations. My CD drive does not allow me to burn [write] DVDs. I know this is because it was bought without that feature. Is there anyway to send my iBook to Apple and have them replace my drive with a DVD read/writer? How expensive would this be? Would it just be cheaper to buy and external one from LaCie? Thank you so much for any info!

    No doubt it would be cheaper to add an External like a Lacie or one from any number of manufactures
    You can if you choose have a new CD/DVD Drive and burner installed and there are several different vendors that will do this for you or you can do it your self.
    http://www.mcetech.com/?gclid=CPzAh92mg4YCFQqQJAod-kVOhw
    Here is one, but there are literaly hundreds of places that do this.
    Don

  • NFC tags read/write operations on low level

    Hi,
    I know this is little bit offtopic question - but since you are experts in the area I will try to ask you probably a pretty simple question:
    1/ I would like to know which protocol is used for the read/write operations to the NFC tags are used. According to my understanding after the tag is placed on the NFC reader (NFC phone, USB reader), it is powered and set to the ready state. Then the application protocol for read/write operation is used. As I think the exact format and the content of commands used for read/write is not specified in ISO 14443 and it is dependent on a tag hardware/manufacturer and will be different for FeliCa/Mifare/Innovision/etc. tags, so there is no way how to handle NFC tags read/write operations with the single implementation. Is that assumption correct?
    2/ Are there any tags, which supports the APDU 7816-4 commands for read/write operations?
    Thank you for reply
    Kind regards,
    STeN

    hello,
    you have to read the NFC forum specs. all of this will be better explained than by me.
    more than one protocol are used according the the contactless front end configuration and abilities. It includes ISO14443-A, ISO14443-B and Felica. Sometimes other protocols are also available, for example Innovatron (not Innovision lol)
    Mifare is not a protocol, it is a line of NXP products. These products use the lower layers of the ISO14443-A protocol specification.
    There are 4 types of tags
    1) using the lower layers of ISO14443-A
    2) using the lower layers of ISO14443-B
    3) something related to felica?
    not sure exactly about these 3, you have to read the specs. Everything is clearly understandable, not like ETSI.
    4) something using ISO7816-4 commands on top of ISO14443 A or B or others. You have SELECT, READ BINARY, UPDATE BINARY. You can implement that using javacard, I did it and it works. You need two binary files, that can be hardcoded.
    Regards
    Sebastien

Maybe you are looking for