International storage

Hello,
I had store the chinese character using
nvarchar2 in Oracle9i using UTF-16 encoding
(NLS_NCHAR_CHARACTERSET = AL16UTF16 )
The problem is how i can i read the
chinese character using SQLPlus or iSQLPlus ?
When i select the field, it display "???"
I had try to set nls_language = "Chinese Traditional"
and using convert(zh,"AL16UTF16","UTF8") in SQL
but no use ...
Thx
Kenny Mak

Mak,
You need to use the setFormofUSe in order for your data to get loaded correctly. I am cutting this out of the globalization guide (which you should read):
Binding and Defining Java Strings to SQL NCHAR Datatypes
For binding or defining Java string variables to SQL NCHAR datatypes, Oracle
provides an extended PreparedStatement which has the setFormOfUse()
method through which you can explicitly specify the target column of a bind
variable to be a SQL NCHAR datatype. The following code illustrates how to bind a
Java string to an NCHAR column.
int employee_id = 12345;
String last_name = "Joe"
oracle.jdbc.OraclePreparedStatement pstmt =
(oracle.jdbc.OraclePreparedStatement)
conn.prepareStatement("INSERT INTO employees (last_name, employee_id)
VALUES (?, ?)");
pstmt.setFormOfUse(1, oracle.jdbc.OraclePreparedStatement.FORM_NCHAR);
pstmt.setString(1, last_name);
pstmt.setInt(2, employee_id);
pstmt.execute(); /* execute to insert into first row */
employee_id += 1; /* next employee number */
last_name = "\uFF2A\uFF4F\uFF45"; /* Unicode characters in name */
pstmt.setString(1, last_name);
pstmt.setInt(2, employee_id);
pstmt.execute(); /* execute to insert into second row */
You can define the target SQL NCHAR columns by specifying their datatypes, forms
of use, and lengths. JDBC uses this information to optimize the performance of
fetching SQL NCHAR data from these columns. The following is an example of
defining a SQL NCHAR column.
OraclePreparedStatement pstmt = (OraclePreparedStatement)
conn.prepareStatement("SELECT ename, empno from emp");
pstmt.defineColumnType(1,Types.VARCHAR, 3,
OraclePreparedStatement.FORM_NCHAR);
pstmt.defineColumnType(2,Types.INTEGER);
ResultSet rest = pstmt.executeQuery();
String name = rset.getString(1);
int id = reset.getInt(2);
To define a SQL NCHAR column, you need to specify the datatype that is equivalent
to a SQL CHAR column in the first argument, the length in number of characters in
the second argument, and the form of use in the fourth argument of
defineColumnType().
You can bind or define a Java string against an NCHAR column without explicitly
specifying the form of use argument. This implies the following:
If you do not specify the argument in the setString() method, then JDBC
assumes that the bind or define variable is for the SQL CHAR column. As a
result, it tries to convert them to the database character set. When the data gets
to the database, the database implicitly converts the data in the database
character set to the national character set. During this conversion, data can be
lost when the database character set is a subset of the national character set.
Because the national character set is either UTF8 or AL16UTF16, data loss
would happen if the database character set is not UTF8 or AL32UTF8.
Because implicit conversion from SQL CHAR to SQL NCHAR datatypes happens
in the database, database performance is degraded.
In addition, if you bind or define a Java string for a column of SQL CHAR datatypes
but specify the form of use argument, then performance of the database is
degraded. However, data should not be lost because the national character set is
always a larger set than the database character set.
You need to set your NLS_LANG on the middle tier or client where you set up iSQL*PLUS.

Similar Messages

  • Memory Dump :FBL5N No roll storage space of length 1753104 available for internal storage.

    Dear Friends,
               I am getting below error during T-Code FBL3N Report. No roll storage space of length 1753104 available for internal storage.
    Our Server' RAM size is 24 GB,and existing parameters are as below
    ztta/roll_area: 6500000
    ztta/roll_extension:2000683008
    abap/heap_area_total:2000683008
    abap/heap_area_dia: 5000000000
    abap/heap_area_nondia: 2000683008
    em/initial_size_MB: 4092
    Please suggest Parameter to be change.
    Details Dump log ST22
    Runtime Errors         TSV_TNEW_BLOCKS_NO_ROLL_MEMORY
    Date and Time          04.03.2014 10:18:48
    |Short Text                                                                                        |
    |    No roll storage space of length 1753104 available for internal storage.                       |
    |What happened?                                                                                    |
    |    Each transaction requires some main memory space to process                                   |
    |    application data. If the operating system cannot provide any more                             |
    |    space, the transaction is terminated.                                                         |
    |What can you do?                                                                                  |
    |                                                                                                  |
    |    Try to find out (e.g. by targetted data selection) whether the                                |
    |    transaction will run with less main memory.                                                   |
    |                                                                                                  |
    |    If there is a temporary bottleneck, execute the transaction again.                            |
    |    -                                                                                             |
    |                                                                                                  |
    |    If the error persists, ask your system administrator to check the                             |
    |    following profile parameters:                                                                 |
    |                                                                                                  |
    |    o  ztta/roll_area            (1.000.000 - 15.000.000)                                         |
    |           Classic roll area per user and internal mode                                           |
    |           usual amount of roll area per user and internal mode                                   |
    |    o  ztta/roll_extension       (10.000.000 - 500.000.000)                                       |
    |           Amount of memory per user in extended memory (EM)                                      |
    |    o  abap/heap_area_total      (100.000.000 - 1.500.000.000)                                    |
    |           Amount of memory (malloc) for all users of an application                              |
    |           server. If several background processes are running on                                 |
    |           one server, temporary bottlenecks may occur.                                           |
    |           Of course, the amount of memory (in bytes) must also be                                |
    |           available on the machine (main memory or file system swap).                            |
    |           Caution:                                                                               |
    |           The operating system must be set up so that there is also                              |
    |           enough memory for each process. Usually, the maximum address                           |
    |           space is too small.                                                                    |
    |           Ask your hardware manufacturer or your competence center                               |
    |           about this.                                                                            |
    |           In this case, consult your hardware vendor                                             |
    |    abap/heap_area_dia:        (10.000.000 - 1.000.000.000)                                       |
    |           Restriction of memory allocated to the heap with malloc                                |
    |           for each dialog process.                                                               |
    |    Parameters for background processes:                                                          |
    |    abap/heap_area_nondia:        (10.000.000 - 1.000.000.000)                                    |
    |           Restriction of memory allocated to the heap with malloc                                |
    |           for each background process.                                                           |
    |    Other memory-relevant parameters are:                                                         |
    |    em/initial_size_MB:         (35-1200)                                                         |
    |           Extended memory area from which all users of an                                        |
    |           application server can satisfy their memory requirement.                               |
    |    Note which actions and input led to the error.                                                |
    |                                                                                                  |
    |    For further help in handling the problem, contact your SAP administrator                      |
    |    .                                                                                             |
    |                                                                                                  |
    |    You can use the ABAP dump analysis transaction ST22 to view and manage                        |
    |    termination messages, in particular for long term reference.                                  |
    |                                                                                                  |
    |Error analysis                                                                                    |
    |    The internal table "\CLASS=ZCL_IM__GTA_TAX_CODE\METHOD=IF_EX_FI_ITEMS_CH_DATA~C               |
    |    HANGE_ITEMS\DATA=GT_BSIK" could not be enlarged further.                                      |
    |                                                                                                  |
    |    Memory location: "Session memory"                                                             |
    |                                                                                                  |
    |    You attempted to extend the data structure for the management of the                          |
    |    memory blocks for table "\CLASS=ZCL_IM__GTA_TAX_CODE\METHOD=IF_EX_FI_ITEMS_CH_D               |
    |    ATA~CHANGE_ITEMS\DATA=GT_BSIK". However, the 1753104 bytes required for                       |
    |    this were no longer available in the specified memory area.                                   |
    |                                                                                                  |
    |    The amount of memory requested is no longer available.                                        |
    |How to correct the error                                                                          |
    |                                                                                                  |
    |    Try to decide by analysis whether this request is                                             |
    |    reasonable or whether there is a program error. You should pay                                |
    |    particular attention to the internal table entries listed below.                              |
    |                                                                                                  |
    |                                                                                                  |
    |                                                                                                  |
    |                                                                                                  |
    |                                                                                                  |
    |                                                                                                  |
    |    If the error occures in a non-modified SAP program, you may be able to                        |
    |    find an interim solution in an SAP Note.                                                      |
    |    If you have access to SAP Notes, carry out a search with the following                        |
    |    keywords:                                                                                     |
    |                                                                                                  |
    |    "TSV_TNEW_BLOCKS_NO_ROLL_MEMORY" " "                                                          |
    |    "ZCL_IM__GTA_TAX_CODE==========CP" or "ZCL_IM__GTA_TAX_CODE==========CM001"                   |
    |    "IF_EX_FI_ITEMS_CH_DATA~CHANGE_ITEMS"                                                         |
    |                                                                                                  |
    |    If you cannot solve the problem yourself and want to send an error                            |
    |    notification to SAP, include the following information:                                       |
    |                                                                                                  |
    |    1. The description of the current problem (short dump)                                        |
    |                                                                                                  |
    |       To save the description, choose "System->List->Save->Local File                            |
    |    (Unconverted)".                                                                               |
    |                                                                                                  |
    |    2. Corresponding system log                                                                   |
    |                                                                                                  |
    |       Display the system log by calling transaction SM21.                                        |
    |       Restrict the time interval to 10 minutes before and five minutes                           |
    |    after the short dump. Then choose "System->List->Save->Local File                             |
    |    (Unconverted)".                                                                               |
    |                                                                                                  |
    |    3. If the problem occurs in a problem of your own or a modified SAP                           |
    |    program: The source code of the program                                                       |
    |       In the editor, choose "Utilities->More                                                     |
    |    Utilities->Upload/Download->Download".                                                        |
    |                                                                                                  |
    |    4. Details about the conditions under which the error occurred or which                       |
    |    actions and input led to the error.                                                           |
    |                                                                                                  |
    |System environment                                                                                |
    |    SAP-Release 700                                                                               |
    |                                                                                                  |
    |    Application server... "NEWPRD1"                                                              |
    |    Network address...... "10.0.0.1"                                                              |
    |    Operating system..... "Windows NT"                                                            |
    |    Release.............. "6.0"                                                                   |
    |    Hardware type........ "16x AMD64 Level"                                                       |
    |    Character length.... 16 Bits                                                                  |
    |    Pointer length....... 64 Bits                                                                 |
    |    Work process number.. 19                                                                      |
    |    Shortdump setting.... "full"                                                                  |
    |                                                                                                  |
    |    Database server... "NEWPRD1"                                                                 |
    |    Database type..... "ORACLE"                                                                   |
    |    Database name..... "PRD"                                                                      |
    |    Database user ID.. "SAPSR3"                                                                   |
    |                                                                                                  |
    |    Terminal................. " "                                                                 |
    |                                                                                                  |
    |    Char.set.... "C"                                                                              |
    |                                                                                                  |
    |    SAP kernel....... 700                                                                         |
    |    created (date)... "Sep 17 2012 22:56:00"                                                      |
    |    create on........ "NT 5.2 3790 Service Pack 2 x86 MS VC++ 14.00"                              |
    |    Database version. "OCI_10201_SHARE (10.2.0.4.0) "                                             |
    |                                                                                                  |
    |    Patch level. 353                                                                              |
    |    Patch text.. " "                                                                              |
    |                                                                                                  |
    |    Database............. "ORACLE 10.1.0.*.*, ORACLE 10.2.0.*.*, ORACLE 11.2.*.*.*"               |
    |    SAP database version. 700                                                                     |
    |    Operating system..... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2, Windows                |
    |     NT 6.0, Windows NT 6.1, Windows NT 6.2"                                                      |
    |                                                                                                  |
    |    Memory consumption                                                                            |
    |    Roll.... 16192                                                                                |
    |    EM...... 1826770240                                                                           |
    |    Heap.... 0                                                                                    |
    |    Page.... 40960                                                                                |
    |    MM Used. 1815573536                                                                           |
    |    MM Free. 2717408                                                                              |
    |User and Transaction                                                                              |
    |                                                                                                  |
    |    Client.............. 500                                                                      |
    |    User................ 1651                                                                     |
    |    Language key........ "E"                                                                      |
    |    Transaction......... " "                                                                      |
    |    Transactions ID..... "ED4EA3E3AB0AF11DA318E61F131BC713"                                       |
    |                                                                                                  |
    |    Program............. "ZCL_IM__GTA_TAX_CODE==========CP"                                       |
    |    Screen.............. "SAPMSSY0 1000"                                                          |
    |    Screen line......... 6                                                                        |
    |Information on where terminated                                                                   |
    |    Termination occurred in the ABAP program "ZCL_IM__GTA_TAX_CODE==========CP" -                 |
    |     in "IF_EX_FI_ITEMS_CH_DATA~CHANGE_ITEMS".                                                    |
    |    The main program was "RFITEMGL ".                                                             |
    |                                                                                                  |
    |    In the source code you have the termination point in line 64                                  |
    |    of the (Include) program "ZCL_IM__GTA_TAX_CODE==========CM001".                               |
    |    The program "ZCL_IM__GTA_TAX_CODE==========CP" was started as a background job.               |
    |    Job Name....... "RFITEMGL"                                                                    |
    |    Job Initiator.. "BASIS"                                                                       |
    |    Job Number..... 09115400                                                                      |
    |Source Code Extract                                                                               |
    |Line |SourceCde                                                                                   |
    |   34|          MANDT TYPE BSEG-MANDT,                                                            |
    |   35|          BUKRS TYPE BSEG-BUKRS,                                                            |
    |   36|          BELNR TYPE BSEG-BELNR,                                                            |
    |   37|          GJAHR TYPE BSEG-GJAHR,                                                            |
    |   38|          BUZEI TYPE BSEG-BUZEI,                                                            |
    |   39|          QSSKZ TYPE BSEG-QSSKZ,                                                            |
    |   40|          KTOSL TYPE BSEG-KTOSL,                                                            |
    |   41|          HKONT TYPE BSEG-HKONT,                                                            |
    |   42|         END OF TY_BSEG,                                                                    |
    |   43|                                                                                            |
    |   44|         BEGIN OF TY_FINAL,                                                                 |
    |   45|           BUKRS TYPE BSEG-BUKRS,                                                           |
    |   46|           BELNR TYPE BSEG-BELNR,                                                           |
    |   47|           GJAHR TYPE BSEG-GJAHR,                                                           |
    |   48|         END OF TY_FINAL.                                                                   |
    |   49|                                                                                            |
    |   50|  DATA: CW_ITEMS TYPE RFPOSXEXT,                                                            |
    |   51|        GT_BSIK TYPE STANDARD TABLE OF TY_BSIK,                                             |
    |   52|        GW_BSIK TYPE TY_BSIK,                                                               |
    |   53|        GT_BSAK TYPE STANDARD TABLE OF TY_BSAK,                                             |
    |   54|        GW_BSAK TYPE TY_BSAK,                                                               |
    |   55|        GT_BSEG TYPE STANDARD TABLE OF TY_BSEG,                                             |
    |   56|        GW_BSEG TYPE TY_BSEG,                              &nb

    sap basis wrote:
    |Information on where terminated                                                                   |
    |    Termination occurred in the ABAP program "ZCL_IM__GTA_TAX_CODE==========CP" -                 |
    |     in "IF_EX_FI_ITEMS_CH_DATA~CHANGE_ITEMS".                                                    |
    |    The main program was "RFITEMGL ".                                                             |
    |                                                                                                  |
    |    In the source code you have the termination point in line 64                                  |
    |    of the (Include) program "ZCL_IM__GTA_TAX_CODE==========CM001".                               |
    |    The program "ZCL_IM__GTA_TAX_CODE==========CP" was started as a background job.               |
    |    Job Name....... "RFITEMGL"                                                                    |
    |    Job Initiator.. "BASIS"                                                                       |
    |    Job Number..... 09115400                                                                      |
    First of all try to optimize code.

  • Can't figure out how to Transfer pics from internal storage to my SD!!!!!

    I can't figure out how to transfer my pics from my internal storage on my 16GB Droid Razr to my SD card!!! It is getting EXTREMELY frustrating , can anybody help me????

        @ebz383
    I appreciate you bringing this to the attention of the forum. It sounds like it has been quite the experiencing transferring the pictures to your SD card. No worries the forum is here for you.
    To transfer all pictures from the internal storage of the phone to the SD card follow the instructions below.
    1) Settings
    2)Storage
    3)Manage Internal Storage
    4) Select Pictures
    5) Move
    Let me know if you have any additional questions or concerns. We'd love to help out.
    YosefT_VZW
    VZW Support
    Follow us on Twitter @VZWSupport

  • Can I add internal storage to a mac mini?

    I am out of space and have plenty of external storage,   I just think that it works better with internal storage.

    You can add a larger hard drive to your mini. Assuming it's an Intel-based mini, you can add a serial ATA hard drive up to 1GB, maybe more. I like, and use, Western Digital Scorpio Black drives, which come with a 5 year warranty (versus 1-3 years for others).  You can see some serial ATA choices here. 

  • How to retrieve photos from an iphone internal storage?

    Hi
    I have recently lost a lot of my photos from my iphone! I hooked it up to the laptop and noticed there is 342 photos in my internal storage. How do I get them from my internal storage onto a disk or even saved into my laptop? they are not appearing on my phone only when its plugged into the computer but no way of saving them! please help!

    Hi,
    Please help
    I plugged in my Iphone 5s using cable to my HP window xp laptop and "CUT" all images from internal storage to my USB.
    All images went corrupted and showed size of 1kb
    How can I recover those images?
    Thank you in advance

  • Plug iphone 4S in PC with Win 7 showing empty DCIM folder, but up one level see the Internal storage with multi tens GB occupied. how to fix? thx

    1/ plug in my iphone 4S (iOS 6.1.3) unlocked to PC (window 7)
    2/ window explorer open and see "Apple iPhone" icon and clicked
    3/ see internal storage icon telling me GBs of ize used
    4/ click in and see DCIM folder
    5/ double click and nothing inside
    can anyone help please?

    Are there pictures in your camera roll? Windows does not handle viewing the iPhone in Explorer very well. It will give you an idea of how much space is being utilized in the phone, but it is not really that accurate. You do not have access to anything else via Explorer except photos that are in the Camera Roll. No other files can be accessed and you cannot add files to the phone via Explorer.

  • I saved photos from my Macbook Pro onto my Iphone (using itunes, 4 years ago). My macbook is now dead and I need to get the photos I saved off of my iphone 3GS transferred to a pc.  Any help...  From my PC I can only access "internal storage"

    I saved photos from my Macbook Pro onto my Iphone (using itunes, 4 years ago). My macbook is now dead and I need to get the photos I saved off of my iphone 3GS transferred to a pc.  Any help...  From my PC I can only access "internal storage"

    The iphone is not a storage/backup device.  The picture sycn is one way - computer to iphone.  The photos are also reduced in size when synced to iphone so they are not of the original quality
    It has always been very basic to always maintain a backup of your computer.
    Have you failed to do this?
    If so, not good at all, you can e-mail the pics to yourself - keep in mind they will never be of the original quality

  • Running out of internal storage space! Want to make room by deleting photos WITHOUT LOSING MY PHOTOS! Can I delete the Camera Roll yet still keep my photos in Photo Stream?? Will doing this free up ios storage? Does Photo Stream auto delete ever?

    Hello, I am out of internal storage on my Iphone 4 ALREADY (Just purchased 3 months ago!). I need to clear up some space so I can do updates and take new photos. I was thinking about backing up my Photo Stream to the icloud and then deleting my Camera Roll.
    1.) Is this a terrible idea??? I do NOT want to lose those photos! But I NEED more space on my phone!
    2.) Will deleting Camera Roll free up space (a sufficient amount? My Camera Roll is at 4.5 GB)?
    3.) Will deleting Camera Roll delete my photos from Photo Stream also? It doesn't seem to.
    4.)  Does Photo Stream ever automatically delete photos???
    5.)  Is there anyway I can save the pictures from my phone to my computer??? I can see the photos on my computer when viewing them through Photo Stream, but those are not permanent, correct?
    This is one of the most ridiculous, confusing and unnessacary things I've ever known! Why oh why can't we just have a good ol' SD Card??? (My Droid never ever ran out of storage and I had it for 2 years...)
    I tried backing up my photos in Itunes, but I don't have a new enough version. I tried downloading a new itunes and it still tells me I don't have the new version.
    I have been working on this for 4 hours, its 2:30 am and I am going to bed. I am sorry I had to ask, but I've been searching and searching and just cannot find the answers. Thank you so much for your help!
    6.) Also, I haven't been able to find the videos using the Icloud or the Photo Stream either...
    7.) Do you have to have your device (pc) synced with icloud to access the info you backed up from iphone?? Like can I show my cousin my photos at her house using her computer by just loggin on??? Or can I only view my contacts, calender, mail, notifications, and such?
    8.) Where on the icloud would one find text messages or other saved info??
    Thank you so very much for helping me!!!

    What I would say is best is to import the videos and photos to your computer so that you can delete camera roll photos with a copy of them in your possession:
    http://support.apple.com/kb/ht4083
    In regards to backing up Photo Stream
    http://support.apple.com/kb/HT4486:
    Does Photo Stream use my iCloud storage?
    "No. Photos uploaded to My Photo Stream or Shared Photo Streams do not count against your iCloud storage."
    However, you can do the tedious task of moving your camera roll pictures to photo stream by ensuring photo stream is turned on for your device and take a screen shot of each picture in your camera roll to move it over.
    To take a screen shot, just press the "Home Button" and the "Sleep/Wake Button" at the same time while viewing the image.
    1.)  It's not a terrible idea, it can be tedious though.
    2.)  Deleting a bunch of photos/videos from a camera roll 4.5GB in size can definitely free up space
    3.)  Photo Stream photos, as you said, appear to stay upon deleting the photos.  (Tested it personally)
    4.)  Photo Stream has a limit according to:  (http://support.apple.com/kb/HT4858)
              Essentially, it won't erase your photos until you tell it to.
    5.)  http://support.apple.com/kb/ht4083  (As shown above)
    6.)  To update iTunes, you must download and then "Run" the download you get off the website.  Otherwise you will just have an installer program sitting there not updating iTunes.
    7.)  You can bring up your Photo Stream pictures anywhere you have Photo Stream capabilities.  For a computer at someone else's house, they would have to have the iCloud control panel (http://support.apple.com/kb/dl1455) on their computer and be signed into their Photo Stream and viewing your profile's pictures (http://support.apple.com/kb/ts4379)
    8.)  On iCloud, you can backup your text messages, but you cannot view them independently on www.icloud.com.
    http://support.apple.com/kb/ht4859
    "You get 5 GB of free iCloud storage for:
    Photos and videos in the Camera Roll
    Device settings (for example: Phone Favorites, Wallpaper, and Mail, Contacts, Calendar accounts)
    App data
    Home screen and app organization
    Messages (iMessage, SMS, and MMS)
    Ringtones
    Visual Voicemails"
    Hope some of this information helps!

  • Whenever i connect my ipod touch to my new pc with windows 8, all i can see in my computer is the internal storage or dcim( pictures). can anyone please help me figure out how i can locate or view my music folder?

    Hi guys ,
    I am very troubled with my ipod touch because I don't see my ipod folder showing up on my computer. i have tried all possible ways to make it viewable but somehow i end up seeing only my internal storage (dcim/pictures). Its really frustrating because bought a new laptop with windows 8 and installed a new itunes but only to find out that i cant transfer my songs right away.... I can connect my ipod touch to the itunes swiftly but to transfer my songs from my ipod to my computer is such a hassle. so please if anyone could help me figure this out... I cant buy an iphone unless i fix my problem with my ipod.....
    pls pls pls pls help me

    You need a third-party program. The following includes listing such programs. It also included instructions form making this computer your syncing computer
    Syncing to a "New" Computer or replacing a "crashed" Hard Drive: Apple Support Communities

  • How can I create a folder on internal storage of DMP 4310?

    Hi. I'm a junior engineer in Korea.
    I have a question about DMP 4310 with creating a folder of internal storage.
    I can acess the internal storage but, I cannot make a folder or file uploading.
    I already checked about Access mode - read and write, and also DMP management - FTP Server On, and password too.
    It's enable to read but, unable to make a file or a folder.
    when It rejected my order, I saw a message on my screen like this.
    "550 Create directory operation failed."
    I searched this letters, but couldn't get any information to handle this issue except for showing of permision error message of linux.
    now, I am begging for your kindness.
    what am I suppose to do?

    I checked my permission, and I got the result.
    By the result, I cannot make any folders or files except for path of /usb_1/
    So, I can upload file to /usb_1/ and play it. that's it.
    self question, and self answer... so sad to less people to answer this DMS section...

  • Error -2500 Internal storage VI error

    Hello,
    I am trying to continuously stream data from seven channels from my NI USB-6211 DAQ card. At the same time I am generating a continuous sine wave and write it to one of my analogue outputs on the same card.
    I’d like to stream the data generated and measured continuously and simultaneously to a file. I have chosen TDMS as this seems to be most appropriate for the application.
    The problem I am having is that available samples per channel gives me back 0 when I am not in highlight execution. I tried to overcome this by setting the samples to read input at the DAQmx Read VI to -1 and have a wait function to not read too often but this didn’t help. Furthermore, I installed TDMS 2.0 without any success. The error I am getting is -2500 and it says "Internal storage VI error". Does anyone have an idea what I am doing wrong? 
    Also, it would help quite a lot if I could have a time axis for the analogue output and one for the analogue input group so I can look at the time delays introduced by my circuit. Does anybody know how to do this, so I have a time stamp for each sample like in the express VI? Or any other way to find the relationship between the data of the two groups when sampling is carried out at different rates?
    Thank you very much for your help,
    Sophie
    Attachments:
    sync data.JPG ‏135 KB

    Ok, so I wasn't sure what you ment exactly. I have tried to do the same with just the TDMS VIs. It seems to be working fine. I don't get any errors and the TDMS file seems complete too. 
    I had the feeling DAQmx Read (just the one in the upper loop) gives the error as it doesn't seem to detect any samples to read. Which would also explain why I don't get the error in highlight execution, because then there are samples to read.  This is why I added the wait VI in the loop and made it 3s hoping this will allow some samples to be collected in the buffer but there just don't seem to be any samples.
    I have attached an image of the TDMS VI I just tried out, I can add more things if you have any ideas... 
    Attachments:
    tdms.JPG ‏58 KB

  • Internal Storage VI error

    I am acquiring multiple channels at 5KHz (continuous) and down-sampling some of them to then store using the storage VIs. There is also some online signal processing (i.e. FFT) and visualization. On the block diagram I open a file using the event structure on a button press and then my acquisition loop includes the Write Data subVI. But it seems the overall speed of the VI slows down considerably when recording starts and even seems to fall behind acquisition speed (graphs show changes in waveform later than when they actualy happened). I then get an error that shows up periodicaly at the storage VI that says "Error -2500: Internal storage VI error" and thats all the info I get. When that error happens I think I also loose some data evident from warnings I get on my filters that notify me the data has lost continuity. Something is wrong but I can't figure out what. HELP anyone? Thanks.

    No, I am not opening and closing inside the loop. I open the file outside the loop via en event using "Open Data Storage" VI, and then I am using the "Write Data" VI (TDM format, writes 2 files, one XML and one binary if I understand correctly the format). The Write Data is used inside an acquisition loop that collects 7 (or 9) channels at 5KHz (500 samples per loop, so 0.1sec of data per loop) but then resamples two of these channels down to 400Hz and 50Hz respectively, the rest stay at 5KHz. So yes, I am streaming the data and I assume it writes it in blocks on each loop (not byte at a time).
    Does this help clarify?

  • My lap top wont import pictures from auto play. it keeps saying there is a file error and a device connected to the computer isnt working properly. i have tried going into the internal storage to copy and paste the pictures but this wont work either.

    my pictures from my i phone 4s wont import from auto play. a message keeps coming up saying there is an error and a device is not working properly. also i have tried going into the internal storage to copy and paste them but that wont work either. the page either stops responding or the picture simply dont copy. does any1 have any idea why this is happening. it has never happened before and only seems to be happening since i started using i cloud storage instead of synching my phone with the lap top.

    I have decided to dedicate this thread to the wonderful errors of Lion OSX. Each time I find a huge problem with Lion I will make note of it here.
    Today I discovered a new treasure of doggie poop in Lion. No Save As......
    I repeat. No Save As. In text editor I couldn't save the file with a new extension. I finally accomplished this oh so majorly difficult task (because we all know how difficult it should be to save a file with a new extension) by pressing duplicate and then saving a copy of the file with a new extension. Yet then I had to delete the first copy and send it to trash. And of course then I have to secure empty trash because if I have to do this the rest of my mac's life I will be taking up a quarter of percentage of space with duplicate files. So this is the real reason they got rid of Save As: so that it would garble up some extra GB on the ole hard disk.
    So about 20 minutes of my time were wasted while doing my homework and studying for an exam because I had to look up "how to save a file with a new extension in  mac Lion" and then wasted time sitting here and ranting on this forum until someone over at Apple wakes up from their OSX-coma.
    are you freaking kidding me Apple? I mean REALLY?!!!! who the heck designed this?!!! I want to know. I want his or her name and I want to sit down with them and have a long chat. and then I'd probably splash cold water on their face to wake them up.
    I am starting to believe that Apple is Satan.

  • I have an Iphone 3Gs. I need to get contents of messages that were sent and received on the phone in June for evidence in court. I read online that the Iphone internal storage keeps all data done on phone in the storage. How do I get into it?

    I have an Iphone 36s. I need to get contents of messages that were sent on the phone in June of this year. I read online that the phone has an internal storage that keeps all data when phone is used and that this internal storage can be accessed. I need the contents of particular messages for evidence in court. How do I get into the internal storage? I've tried some of the methods that people post online, but none of them have been successful. Help!

    If you still have a backup from that point in time as part ofr your computer backup history, you could restore the backup folder, restore the phone from that backup and have the messages on the phone.
    More details about restoring from old backups can be found here: iPhone and iPod touch: About backups

  • Can i upgrade my macbook pro retina internal storage

    Hi,
    My macbook pro retina came with 128gb internal storage, but i got a gopro recently and the videos take up loads of storage! Can i upgrade the internal storgae or do i have to get an external hard drive to store it on?
    Thanks

    http://eshop.macsales.com/item/OWC/SSDAP12R480/
    But you will void your warranty if you still have one.
    An external drive is a good, and cheaper option.

  • I have a Lucid 2 LG.  I have been having trouble with insuffient storage.  I have a 8G phone and have spent hours with Tier 2 tech trying to move info from the internal storage to the SD card with no luck,  When I go to storage in the settings it states t

    I have a Lucid 2 LG.  I have been having trouble with insuffient storage.  I have a 8G phone and have spent hours with Tier 2 tech trying to move info from the internal storage to the SD card with no luck,  When I go to storage in the settings it states that over 4 gigs is for Misc?  System data takes up over 4 gigs.  No one can tell me what system data consist of.  So My question is does anyone know what system data is?  I am assuming I have a 8 gigphone but can only use 4 gigs???

    System data is the OS or operating system.  That is where the recovery stays separated from the rest of the storage so that it doesn't get corrupted.  It is not accessible and non-movable.

Maybe you are looking for

  • How do I backup entire iTunes library to iCloud with Windows XP

    Have just downloaded iTunes version 10.5.1 and am wanting to backup my entire library to icloud which in the description of the update it says it can now do. How do I do it?? Can't work it out.. Im running Windows XP. (unless this is another thing th

  • Report to display invoices on hold

    Hello, which report can I use to display all invoices which are on hold in logistics invoice verification (MIRO) when I do not know the document number? If I know the document number I can use transaction code MR2M - Change Invoice Document. However

  • Email issue

    Dear Forum, I have few points to clarify which relevant to email from sap program. If I use function module SO_DOCUMENT_SEND_API1, may i know is it possible from below 3 points. 1) send out email via email address from customer master KNB1-INTAD when

  • Conditional Formula between Check Box, Combo Box and Text Field

    I am very new in this area and just trying to figure out things here. Anyway, what I am trying to do is quite straight forward. I have a TextField, which the content is depending on what being selected in the CheckBox and ComboBox. The TextField shal

  • RANGE + INTERVA + Null in range key problem

    Hello All: I have problem when A1 table has null value in Start_Date field or in the future when the user will not enter any value to Start_date field. It gave me error message "ORA-14400: inserted partition key does not map to any partition". How ca