TDMS with timestamp and different tab creation

Hello all,
I would like to ask you how can I get readings from two voltage sensors and save them into .tdms format. However, as these readings will be continuous and long, I need one .tdms file for each day for management purposes. For management purposes again I'd like to have reading for each hour of the day in separate tabs.
Moreover, if convenient I'd like the date/time next to each reading (total three columns - 1. date/time 2. Sensor #1 3. Sensor #3).
I know that partial solutions to this problem are all over the place but I'm not as proficient in LabVIEW to be able to assemble this information. If you could help me I would greatly appreciate it!
Thanks in advance!
Solved!
Go to Solution.

Hi Settler,
An easy way to change the chanel name would be to generate a file path that is dependent on the current time. 
I've attached a simple VI that converts a timestamp into a string of the current hour. I hope this helps.
-N
National Instruments
Applications Engineer
Attachments:
Time Stamp to Hour String.vi ‏7 KB

Similar Messages

  • TDMS with timestamp and configurable channels

    I am trying to figure out a good way to determine how to line up data in a TDMS file with corresponding timestamps when the user in my application adds channels.
    Here's the scenario,
    Lets say I've been recording 10 channels (called Ch0,Ch1...Ch9) in a group called 'Data'. My data appears as follows in the TDMS file:
    (10 Ch's, 3 Samples) 
    Timestamp
    Ch0
    Ch1
    Ch2
    Ch3
    Ch4
    Ch5
    Ch6
    Ch7
    Ch8
    Ch9
    12:00:01 AM
    100
    200
    300
    400
    500
    600
    700
    800
    900
    1000
    12:00:02 AM
    100
    200
    300
    400
    500
    600
    700
    800
    900
    1000
    12:00:03 AM
    100
    200
    300
    400
    500
    600
    700
    800
    900
    1000
    Let's say now the user decides to add an additional channel to the group. The TDMS write function will add the channel, but the new data does not line up with the corresponding timestamp, instead it start writing to the first row as follows:
    (11 Ch's, 6 samples, 3 new channel samples)
    Timestamp
    Ch0
    Ch1
    Ch2
    Ch3
    Ch4
    Ch5
    Ch6
    Ch7
    Ch8
    Ch9
    Ch10
    12:00:01 AM
    100
    200
    300
    400
    500
    600
    700
    800
    900
    1000
    1100
    12:00:02 AM
    100
    200
    300
    400
    500
    600
    700
    800
    900
    1000
    1100
    12:00:03 AM
    100
    200
    300
    400
    500
    600
    700
    800
    900
    1000
    1100
    12:00:04 AM
    100
    200
    300
    400
    500
    600
    700
    800
    900
    1000
    12:00:05 AM
    100
    200
    300
    400
    500
    600
    700
    800
    900
    1000
    12:00:06 AM
    100
    200
    300
    400
    500
    600
    700
    800
    900
    1000
    I would want it to appear as follows:
    Timestamp
    Ch0
    Ch1
    Ch2
    Ch3
    Ch4
    Ch5
    Ch6
    Ch7
    Ch8
    Ch9
    Ch10
    12:00:01 AM
    100
    200
    300
    400
    500
    600
    700
    800
    900
    1000
    12:00:02 AM
    100
    200
    300
    400
    500
    600
    700
    800
    900
    1000
    12:00:03 AM
    100
    200
    300
    400
    500
    600
    700
    800
    900
    1000
    12:00:04 AM
    100
    200
    300
    400
    500
    600
    700
    800
    900
    1000
    1100
    12:00:05 AM
    100
    200
    300
    400
    500
    600
    700
    800
    900
    1000
    1100
    12:00:06 AM
    100
    200
    300
    400
    500
    600
    700
    800
    900
    1000
    1100
    Other than just starting a brand new TDMS file, can anyone think of a way to line the data up with its corresponding timestamp in this scenario? Or if there is a way to determine what the corresponding timestamp is when I read in the TDMS file.
    Any help is appreciated
    Thanks,
    -CAC

    From your description that the channel values have their corresponding timestamp, I assume that you are writing the waveform data rather than those basic data type(integer, double, etc.) which do not have any timestamp related information.
    The reason that the new data in Ch10 does not line up with the same timestamp data in other channels is because:
    When writing data to a channel, it cannot leave the first several positions vacant, and start writing from the nthe position.
    From the view of TDMS as a file format, it should only be responsible for data logging, and not assume any relationship between channels.
    In your case, the new data in Ch10 channel should have the timestamp starting from 12:00:04 AM to 12:00:06 AM, these data are definitely stored from the first position of Ch10, and .tdms file format cannot do anything to line up the data between channels.
    Timestamp
    Ch0
    Ch1
    Ch2
    Ch3
    Ch4
    Ch5
    Ch6
    Ch7
    Ch8
    Ch9
    Ch10
    12:00:01 AM
    100
    200
    300
    400
    500
    600
    700
    800
    900
    1000
    1100 (12:00:04 AM)
    12:00:02 AM
    100
    200
    300
    400
    500
    600
    700
    800
    900
    1000
    1100 (12:00:05 AM)
    12:00:03 AM
    100
    200
    300
    400
    500
    600
    700
    800
    900
    1000
    1100 (12:00:06 AM)
    12:00:04 AM
    100
    200
    300
    400
    500
    600
    700
    800
    900
    1000
    12:00:05 AM
    100
    200
    300
    400
    500
    600
    700
    800
    900
    1000
    12:00:06 AM
    100
    200
    300
    400
    500
    600
    700
    800
    900
    1000
    For your second question, there is a approach to determine the corresponding timestamp of each channel data read out from .tdms file. The waveform data type is stored in .tdms file in the form of three components:
    Value array value[ ]
    Starting time stamp t0, which is the base timestamp of a channel (or the timestamp of the first value in this channel)
    Time increment dt, the time interval between two data samples. (e.g. one sample per second, dt=1.0; four samples per second, then dt=0.25)
    So it's very easy to calculate the Timestamp of value[index] = t0 + (dt * index)  (0 <= index < num of samples in value[])
    Here is a VI in the attachment that demonstrates how to get the timestamp of each value in the channel.
    Regards,
    Tianbin
    Attachments:
    GetDataTimestamp.vi ‏21 KB

  • AVG tried to take over the Firefox Program. I unchecked some stuff on AVG and now Firefox doesn't lool right. There is only a bar at the top of the page with "Firefox" and "new Tab" . How do I get the Firebox homepage back?

    AVG tried to take over the Firefox Program. I unchecked some stuff on AVG and now Firefox doesn't look right. There is only a bar at the top of the page with "Firefox" and "new Tab" . How do I get the Firebox homepage back?

    Google Toolbar Options, in the Search tab, make sure that '''Enable the Google new tab page''' is check-marked. If that doesn't fix it for you, see this for support information about the Google Toolbar. <br />
    [http://www.google.com/support/toolbar/?hl=en] <br />
    Or visit the Google Toolbar forum. <br />
    [http://www.google.com/support/forum/p/Toolbar?hl=en]
    As far as your UserAgent showing Firefox 3.0.11, see this: <br />
    https://support.mozilla.com/en-US/kb/Websites+or+add-ons+incorrectly+report+incompatible+browser
    You might want to consider getting rid of that '''desktopsmiley''' program that has messed up your UserAgent, it is known as Malware.

  • Using webaccess with ipad and android tabs

    Because of different browser agent, the gw 2012 webclient has not the
    same behavior as the standard webclient using firefox or chrome on pc.
    I want to access the documents folder. How to do it on this mobile devices?
    with regards and thx
    Go
    Gotthard Anger
    Anwenderbetreuung Netzwerkadministration
    Landeskirchenamt der EKM
    [email protected]
    Mails an diese Adresse werden nur nach vorheriger Ansage gelesen!
    Mails for this address will only be read if you trigger me before.

    Project status at this time:
    I edited webacc.cfg and commented out the lines for ipad and android
    tabs, e.g.
    #templates.useragent.1.id=*Linux*Android*GT-P*
    #templates.useragent.1.interface=mobile
    Now these devices bring up the whole web application.
    now I only have to fix this odd behaviour of the webaccess client
    loading documents
    Am 20.09.2012 09:50, schrieb Gotthard Anger:
    > Am 20.09.2012 09:47, schrieb Gotthard Anger:
    >> Because of different browser agent, the gw 2012 webclient has not the
    >> same behavior as the standard webclient using firefox or chrome on pc.
    >>
    >> I want to access the documents folder. How to do it on this mobile
    >> devices?
    > Edit:
    > no native access to groupwise server, datasync only via active sync
    >>
    >> with regards and thx
    >>
    >> Go
    >>
    >>
    >>
    >
    >
    Gotthard Anger
    Anwenderbetreuung Netzwerkadministration
    Landeskirchenamt der EKM
    [email protected]
    Mails an diese Adresse werden nur nach vorheriger Ansage gelesen!
    Mails for this address will only be read if you trigger me before.

  • Expdp with network_link and different character sets for source and target?

    DB versions 10.2 and 10.1
    Is there any limitation for implementing expdp with network_link but target and source have different character sets?
    I tried with many combinations, but only had success when target and source have the same character sets. In other combinations there was invalid character set conversion (loose of some characters in VARCHAR2 and CLOB fields).
    I didn't find anything on the internet, forums or Oracle documentation. There was only limitation for transportable tablespace mode export (Database Utilities).
    Thanks

    Hi DBA-One
    This link
    http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14215/dp_overview.htm#CEGFCFFI
    is from Database Utilities 10g Release 2 (10.2) (I read it many times)
    There is only one thing about different character sets.
    I quote:
    Data Pump supports character set conversion for both direct path and external tables. Most of the restrictions that exist for character set conversions in the original Import utility do not apply to Data Pump. The one case in which character set conversions are not supported under the Data Pump is when using transportable tablespaces.
    Parameter VERSION also doesn't play role here, because the behaviour (character set) is the same if I use for target and source only 10.2 or (10.2 and 10.1) respectivly.

  • Problem with SDO_FILTER combined with Timestamp and Order By using JDBC

    I'm having a problem with using SDO_FILTER. I've included a test driver below. It seems that I'm having a problem with combining the SDO_FILTER, Timestamp, ORDER BY and a nested table using the Oracle 11.1.0.7.0 driver against Oracle 11g. The below query queryNoWork results in the following error:
    Caused by: java.sql.SQLException: ORA-01422: exact fetch returns more than requested number of rows
    ORA-06512: at "MDSYS.SDO_3GL", line 1320
    at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
    at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1034)
    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
    at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:791)
    at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:866)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1186)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3387)
    at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3488)
    at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1374)
    at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.execute(WrappedPreparedStatement.java:299)
    All of the other query variations seem to work. The GEOM column referenced is a Linestring that has only 2 points, start and end. Any help on this would be greatly appreciated. Thanks!
    import java.math.BigDecimal;
    import java.sql.Connection;
    import java.sql.Date;
    import java.sql.Driver;
    import java.sql.DriverManager;
    import java.sql.PreparedStatement;
    import java.sql.ResultSet;
    import java.sql.Timestamp;
    import java.text.SimpleDateFormat;
    import java.util.ArrayList;
    import java.util.Enumeration;
    public class QueryTester
         public static void main(String[] args)
              try
                   SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
                   ArrayList<Object> queryParameters = new ArrayList<Object>();
                   queryParameters.add(new BigDecimal(0));
                   queryParameters.add(new Double(0));
                   queryParameters.add(new BigDecimal(180));
                   queryParameters.add(new Double(90));
                   queryParameters.add(new java.sql.Date(sdf.parse("2005-12-25").getTime()));
                   queryParameters.add(new java.sql.Date(sdf.parse("2005-12-26").getTime()));               
                   BigDecimal one = new BigDecimal(1);
                   DriverManager.registerDriver((Driver) Class.forName("oracle.jdbc.driver.OracleDriver").newInstance());
                   Enumeration<Driver> drivers = DriverManager.getDrivers();
                   while(drivers.hasMoreElements())
                        System.out.println(drivers.nextElement().getClass().getName());
                   Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@xxxx:1521:xxxx", "xxxx", "xxxx");
                   String queryNoWork = "select * from (select ROWNUM rowcount, a.* from (select * from TRACK_SEGMENTS where ( ( sdo_filter(GEOM, sdo_geometry(2003, 8307, null, sdo_elem_info_array(1, 1003, 3), sdo_ordinate_array(?, ?, ?, ?) ), 'MASK=ANYINTERACT') = 'TRUE' and END_DATE >= ?and START_DATE < ?) and 1 = 1 and 1 = 1) and ((START_DATATYPE = 'maritime_dense')) ORDER BY ID ) a) where rowcount between 1 and 30000";
                   String queryWorks0 = "select * from (select ROWNUM rowcount, a.* from (select * from TRACK_SEGMENTS where ( ( sdo_relate(GEOM, sdo_geometry(2003, 8307, null, sdo_elem_info_array(1, 1003, 3), sdo_ordinate_array(?, ?, ?, ?) ), 'MASK=ANYINTERACT') = 'TRUE' and END_DATE >= ?and START_DATE < ?) and 1 = 1 and 1 = 1) and ((START_DATATYPE = 'maritime_dense')) ORDER BY ID ) a) where rowcount between 1 and 30000";
                   String queryWorks1 = "select * from (select ROWNUM rowcount, a.* from (select * from TRACK_SEGMENTS where ( ( sdo_filter(GEOM, sdo_geometry(2003, 8307, null, sdo_elem_info_array(1, 1003, 3), sdo_ordinate_array(?, ?, ?, ?) ), 'MASK=ANYINTERACT') = 'TRUE' and END_DATE >= TO_TIMESTAMP('2005-12-25','YYYY-MM-DD') and START_DATE < TO_TIMESTAMP('2005-12-26','YYYY-MM-DD')) and 1 = 1 and 1 = 1) and ((START_DATATYPE = 'maritime_dense')) ORDER BY ID ) a) where rowcount between 1 and 30000";
                   String queryWorks2 = "select * from (select ROWNUM rowcount, a.* from (select * from TRACK_SEGMENTS where ( ( sdo_filter(GEOM, sdo_geometry(2003, 8307, null, sdo_elem_info_array(1, 1003, 3), sdo_ordinate_array(?, ?, ?, ?) ), 'MASK=ANYINTERACT') = 'TRUE' and END_DATE >= ?and START_DATE < ?) and 1 = 1 and 1 = 1) and ((START_DATATYPE = 'maritime_dense')) ) a) where rowcount between 1 and 30000";
                   String queryWorks3 = "select * from TRACK_SEGMENTS where ( ( sdo_filter(GEOM, sdo_geometry(2003, 8307, null, sdo_elem_info_array(1, 1003, 3), sdo_ordinate_array(?, ?, ?, ?) ), 'MASK=ANYINTERACT') = 'TRUE' and END_DATE >= ?and START_DATE < ?) and 1 = 1 and 1 = 1) and ((START_DATATYPE = 'maritime_dense')) ORDER BY ID";
                   String query = queryWorks0;
                   PreparedStatement s = conn.prepareStatement(query);
                   int parameterIndex = 0;
                   for (Object object : queryParameters) {
                        if (object instanceof Timestamp)
                             s.setDate(++parameterIndex, (Date) object);
                        else
                             s.setObject(++parameterIndex, object);
                   s.execute();
                   ResultSet results = s.getResultSet();
                   results.next();
                   System.out.println("executed query - " + results.getLong(1));
              catch (Exception e)
                   e.printStackTrace();
    }

    Is the TRACK_SEGMENTS table partitioned ?
    It looks like in the case where the SQL does not work, it is not using the Spatial index. So can you add some index hints
    in the query to force it to use the spatial index TRACK_SEGMENTS table ?
    siva

  • DBMS_TYPES with timestamp and interval does not seem to work.

    I have a PL/SQL script that seems to work for char,varchar,numerics, dates, but not for intervals. I basically took example code out of the Oracle manuals and stitched it together.
    The code in question is the function colTypeString. Apparently, interval is not being recognized as a type, so the function is returning back unknown. The documentation seems a bit spartan, so I thought perhaps you can help me out.
    Thanks.
    Here's the code:
    create table interval_test( intym interval year(4) to month, intdm interval day(3) to second(4) );
    execute oraforum_pkg.desc_query( 'select * from interval_test' );
    col_type     =     182, UNKNOWN_TYPE
    col_maxlen     =     5
    col_name     =     INTYM
    col_name_len     =     5
    col_schema_name =
    col_schema_name_len =     0
    col_precision     =     4
    col_scale     =     0
    col_null_ok     =     true
    col_type     =     183, UNKNOWN_TYPE
    col_maxlen     =     11
    col_name     =     INTDM
    col_name_len     =     5
    col_schema_name =
    col_schema_name_len =     0
    col_precision     =     3
    col_scale     =     4
    col_null_ok     =     true
    PL/SQL procedure successfully completed.
    Here's the package:
    -- Define the ref cursor types and function
    CREATE OR REPLACE PACKAGE oraforum_pkg IS
    FUNCTION colTypeString( typeId in integer) return varchar2; -- typeId from dbms_types
    PROCEDURE print_rec(rec in DBMS_SQL.DESC_REC);
    PROCEDURE desc_query( selectSql in varchar2 );
    END oraforum_pkg;
    CREATE OR REPLACE PACKAGE BODY oraforum_pkg IS
    FUNCTION colTypeString( typeId in integer)
    return varchar2 -- typeId from dbms_types
    is
    rval varchar2(40) := 'Unknown';
    BEGIN
    case typeId
    when DBMS_TYPES.NO_DATA then rval := 'NO_DATA' ;
    when DBMS_TYPES.SUCCESS          then rval := 'SUCCESS' ;
    when DBMS_TYPES.TYPECODE_BDOUBLE     then rval := 'BDOUBLE' ;
    when DBMS_TYPES.TYPECODE_BFILE     then rval := 'BFILE' ;
    when DBMS_TYPES.TYPECODE_BFLOAT     then rval := 'BFLOAT' ;
    when DBMS_TYPES.TYPECODE_BLOB     then rval := 'BLOB' ;
    when DBMS_TYPES.TYPECODE_CFILE     then rval := 'CFILE' ;
    when DBMS_TYPES.TYPECODE_CHAR     then rval := 'CHAR' ;
    when DBMS_TYPES.TYPECODE_CLOB     then rval := 'CLOB' ;
    when DBMS_TYPES.TYPECODE_DATE     then rval := 'DATE' ;
    when DBMS_TYPES.TYPECODE_INTERVAL_DS     then rval := 'INTERVAL_DS' ;
    when DBMS_TYPES.TYPECODE_INTERVAL_YM     then rval := 'INTERVAL_YM' ;
    when DBMS_TYPES.TYPECODE_MLSLABEL     then rval := 'MLSLABEL' ;
    when DBMS_TYPES.TYPECODE_NAMEDCOLLECTION then rval := 'NAMEDCOLLECTION' ;
    when DBMS_TYPES.TYPECODE_NUMBER     then rval := 'NUMBER' ;
    when DBMS_TYPES.TYPECODE_OBJECT     then rval := 'OBJECT' ;
    when DBMS_TYPES.TYPECODE_OPAQUE     then rval := 'OPAQUE' ;
    when DBMS_TYPES.TYPECODE_RAW          then rval := 'RAW' ;
    when DBMS_TYPES.TYPECODE_REF          then rval := 'REF' ;
    when DBMS_TYPES.TYPECODE_TABLE     then rval := 'TABLE' ;
    when DBMS_TYPES.TYPECODE_TIMESTAMP     then rval := 'TIMESTAMP' ;
    when DBMS_TYPES.TYPECODE_TIMESTAMP_LTZ then rval := 'TIMESTAMP_LTZ' ;
    when DBMS_TYPES.TYPECODE_TIMESTAMP_TZ then rval := 'TIMESTAMP_TZ' ;
    when DBMS_TYPES.TYPECODE_VARCHAR2     then rval := 'VARCHAR2' ;
    when DBMS_TYPES.TYPECODE_VARCHAR     then rval := 'VARCHAR' ;
    when DBMS_TYPES.TYPECODE_VARRAY then rval := 'VARRAY' ;
    else rval := 'UNKNOWN_TYPE';
    end case;
    return rval;
    END;
    PROCEDURE print_rec(rec in DBMS_SQL.DESC_REC) IS
    BEGIN
    DBMS_OUTPUT.PUT_LINE('col_type = '
    || rec.col_type || ', ' || colTypeString(rec.col_type) );
    DBMS_OUTPUT.PUT_LINE('col_maxlen = '
    || rec.col_max_len);
    DBMS_OUTPUT.PUT_LINE('col_name = '
    || rec.col_name);
    DBMS_OUTPUT.PUT_LINE('col_name_len = '
    || rec.col_name_len);
    DBMS_OUTPUT.PUT_LINE('col_schema_name = '
    || rec.col_schema_name);
    DBMS_OUTPUT.PUT_LINE('col_schema_name_len = '
    || rec.col_schema_name_len);
    DBMS_OUTPUT.PUT_LINE('col_precision = '
    || rec.col_precision);
    DBMS_OUTPUT.PUT_LINE('col_scale = '
    || rec.col_scale);
    DBMS_OUTPUT.PUT('col_null_ok = ');
    IF (rec.col_null_ok) THEN
    DBMS_OUTPUT.PUT_LINE('true');
    ELSE
    DBMS_OUTPUT.PUT_LINE('false');
    END IF;
    DBMS_OUTPUT.PUT_LINE('');
    END;
    PROCEDURE desc_query( selectSql in varchar2 ) IS
    c NUMBER;
    d NUMBER;
    col_cnt INTEGER;
    f BOOLEAN;
    rec_tab DBMS_SQL.DESC_TAB;
    col_num NUMBER;
    BEGIN
    c := DBMS_SQL.OPEN_CURSOR; -- Is this needed for parsing? Yes, as argument to PARSE
    DBMS_SQL.PARSE(c, selectSql, DBMS_SQL.NATIVE);
    -- d := DBMS_SQL.EXECUTE(c); -- Doesn't look necessary.
    DBMS_SQL.DESCRIBE_COLUMNS(c, col_cnt, rec_tab);
    * Following loop could simply be for j in 1..col_cnt loop.
    * Here we are simply illustrating some of the PL/SQL table
    * features.
    col_num := rec_tab.first;
    IF (col_num IS NOT NULL) THEN
    LOOP
    print_rec(rec_tab(col_num));
    col_num := rec_tab.next(col_num);
    EXIT WHEN (col_num IS NULL);
    END LOOP;
    END IF;
    DBMS_SQL.CLOSE_CURSOR(c);
    END;
    END oraforum_pkg;
    Message was edited by:
    user554561

    The issue is that DBMS_SQL and DBMS_TYPES have different typecodes. Which means you can't interrogate the DBMS_SQL.DESC_REC using DBMS_TYPES constants. You could create yourself a package of DBMS_SQL_TYPES.
    SQL> create table t ( ts timestamp, iv interval day to second );
    Table created.
    SQL>
    SQL> insert into t values ( systimestamp, interval '1' second );
    1 row created.
    SQL>
    SQL> declare
      2     c         integer           := dbms_sql.open_cursor ();
      3     rec_tab   dbms_sql.desc_tab;
      4     col_cnt   integer;
      5  begin
      6     dbms_sql.parse (c, 'select * from t', dbms_sql.native);
      7     dbms_sql.describe_columns (c, col_cnt, rec_tab);
      8
      9     for i in 1 .. col_cnt
    10     loop
    11        dbms_output.put_line ('Name: ' || rec_tab (i).col_name || '; Type: ' || rec_tab (i).col_type);
    12     end loop;
    13
    14     dbms_sql.close_cursor (c);
    15
    16     dbms_output.put_line ('DBMS_TYPES.TYPECODE_TIMESTAMP; Type: ' || DBMS_TYPES.TYPECODE_TIMESTAMP);
    17     dbms_output.put_line ('DBMS_TYPES.TYPECODE_INTERVAL_DS; Type: ' || DBMS_TYPES.TYPECODE_INTERVAL_DS);
    18
    19  end;
    20  /
    Name: TS; Type: 180
    Name: IV; Type: 183
    DBMS_TYPES.TYPECODE_TIMESTAMP; Type: 187
    DBMS_TYPES.TYPECODE_INTERVAL_DS; Type: 190
    PL/SQL procedure successfully completed.Regards

  • No browser option with mozillab and new tab gives nothing

    Mozilla provides only window but no browser option window inside that.
    Further if I open new tab, then it is blank page. no URL option.

    Mozilla Firefox, the browser, and your profile (contains all of the data, like bookmarks & passwords) are in 2 separate locations.
    # [http://kb.mozillazine.org/Installation_directory Program Directory]
    # Firefox [[Profiles]]
    Before running a [http://www.mozilla.com/en-US/firefox/update/ Firefox Update], which updates your Program Files Mozilla Firefox, the least that you can do is, [[Clearing private data]] << as to try and make the old profile as compatible as it can be with the new version of Firefox that you're upgrading (updating) to.
    If you haven't done this, or whatever happened, for example there are incompatible add-ons - or the whole thing went berserk, like for the OP twilightsmith, then the easiest thing that you can do is run Firefox in [[Safe Mode]].
    Check out the links and also the screenshots posted, add-ons can be permanently disabled from the Safe Mode start-up dialog - so you don't have to mess with your profile if it's something more severe than the address bar not showing up.
    Hope it helps!..:)
    ps. I keep posting the same thing everywhere, since there are no signatures possible on this forum. :( To allow installation of older, or incompatible add-ons, use https://addons.mozilla.org/en-US/firefox/addon/add-on-compatibility-reporter/ and/or the Nightly Tester Tools add-on (but the linked 1 is from Mozilla).

  • Auto Creation of Delivery with PGI and Billing after creation of Sale Order

    Dear Experts,
    I am having one Req. like...After creation of sales order ..automatic Delivery and Billing should be done.
    Right now i m able to create automatic Delivery but PGI is not happening for that delivery.
    Is there any configuration I have to do ... or by any user exit we can get the solution.
    Can u please provide me solution for this.
    Regards,
    Sanket.

    Hello,
    yes, you can create the PGI Atomatically by BATCH JOB using the program nder the VL23 transaction code.
    Goto the Transaction code SM36 to create a job for the program  SAPMSSY0 which is the program for the AUTO PGI
    create a variant for the Delivery document types and sales organisation combinatioans and add this variant to the bath job created in SM36.
    Set the time of the Job to run after every 5 minutes, so once the job exected it will pcik all the Deliveries which are pending for the PGI.
    After the PGI done you can run SDBILLDL program to create the Billing for all the document which were cleared and due for Billing.
    Hope it is clear for yo, please revert if you need frther clarification .
    santosh

  • Is it possible to make an album, with seperate, and different artwork for each track? Thanks.

    Got a few tracks and I was wondering if its possible to make like an album, but each track different art?  

    You can give each track its own artwork. iTunes will normally display the artwork of track 1 in album listings. The individual track art will show in the small window at the top of the screen when playing, or the artwork panel of the mini player, or the now playing window on a device. Try it and see.
    tt2

  • Filename required with Timestamp and without '-' in between the Timestamp

    Hi All,
    I have a requirement were the file name along with time stamp should be as,
    FileNameyyyyMMddHHmmSS.txt
    But if i use File Construction mode as TimeStamp in receiver channel
    i am getting the file name as shown below
    FileName20110908-055553-153
    My requirement is to get the file name as
    FileName20110908055553153
    ie.. i dont want '-' in between the Time stamp.
    Can anybody suggest me the solution for this.
    Thanks
    Sai

    Hi All,
    I have created mapping  as
    CurrentDate---->UDF--->rootnode
    Currentdate set to : yyyyMMddHHmmSS
    UDF  code :   No imports
    String fileName ="DataAuditNewCustomer" + CurrentDate + ".txt";
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    conf.put(key,fileName);
    return fileName;
    In sender Comm channel as:
    *i did not select ASMA*
    In receiver Comm channel i set the parameters as
    Filename schema : *
    fileConstruction mode : Create
    *ASMA attributes :  fileName*
    The file is being picked up but showing an error
    In MONI its showing an error message as :
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Request Message Mapping
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>Application</SAP:Category>
      <SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
      <SAP:P1>com/sap/xi/tf/_MM_NewCustomer_</SAP:P1>
      <SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException</SAP:P2>
      <SAP:P3>RuntimeException in Message-Mapping transformatio~</SAP:P3>
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>During the application mapping com/sap/xi/tf/_MM_NewCustomer_ a com.sap.aii.utilxi.misc.api.BaseRuntimeException was thrown: RuntimeException in Message-Mapping transformatio~</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Thanks
    Sai
    Edited by: sai_SHA on Sep 9, 2011 2:09 PM

  • JPA @Version annotation with Timestamp and insert

    Hi. I have the @Version annotation specified on a Timestamp field of my entity. The versioning works correctly as long as the Date is populated in the database, but when I insert an entity, I get a StaleObjectException. After some research, I found several references saying that the @Version attribute should not be set manually. So my question is: Does the @Version annotation initialize a Timestamp on insert by default, or is there some other annotation (eg - @Temporal or something) that has an attribute that specifies a default value on insert?
    Thanks for your time.

    Timur Akhmadeev wrote:
    Hi,
    I suspect this to be a JDBC issue.Nope, this is your schema design gap. It breaks the main principle of PK: to uniquely identify a row in a table always. Your PK doesn't satisfy it, since it depends on client's settings.Why is setting the JVM to UTC working ? This is the part that confuses me.
    I create the 3 dates in Eastern time, then change the JVM default to UTC: the 3 inserts work.
    I create the 3 dates in Eastern time, then leave the JVM to Eastern time , the 3rd insert gets the unique constraint error.
    To me, the PK principle is not broken: these are 3 different UTC dates.

  • Gmail with POP and different domain

    I have a "[email protected]", but the account is hosted by gmail. pop.gmail.com, smtp.gmail.com. I do not receieve emails on my iphone, but can send them. When i do send they show up in inbox like they were "CC'd" to me. Ive read that is a problem on gmail site, but WHY Cant i receive new emails?? HELP

    owenslr,
    Did you follow these steps to set up your hosted account (taken from [Gmail's website|https://mail.google.com/support/bin/answer.py?answer=72454]):
    If you're using a non-Gmail address hosted by Google, please follow these instructions:
    1. Tap Mail from your iPhone's Home screen.
    2. Tap Other.
    3. Select POP from the tab menu.
    4. Fill in your name, address, and description in the appropriate fields. The Address field should be your full email address (username@your_domain.com).
    5. Under Incoming Mail Server, fill in the Host Name field as pop.gmail.com.
    6. In the User Name field, enter 'recent:' followed by your full username (recent:username@your_domain.com). This will enable POP Recent mode, which will give you a better experience on the iPhone.
    7. Under Outgoing Mail Server (SMTP), fill in the Host Name field as smtp.gmail.com.
    8. Tap Save.
    Also, to turn off Recent Mode so that you do not get the duplicate emails you send, please follow the steps in this article:
    http://docs.info.apple.com/article.html?artnum=305937
    Hope this helps,
    Jennifer B.

  • Hide and show tab canvas

    Is it possible to disable all the tabs in a tab canvas in Forms 10g?
    I am developing a new form in Forms 10g. Problem is with hiding and showing tab canvases.
    I have a main canvas and a tab canvas.
    In the when-new-form-instance I need to hide the two tabs. I have a list item that has two values. Based on the value chosen in the list I need to show the tab canvas. How can I do it. I tried hide_view and show_view. It gives me an error FRM-41053. Cannot find canvas Invalid ID.
    Help is appreciated. Thaks in advance
    Anu

    If you are looking to hide individual tabs on a tabbed canvas, refer to SET_TAB_PAGE_PROPERTY
    http://www.oracle.com/webapps/online-help/forms/10g/topics/f1_help/builts/f50settppr.html

  • When i connect my ipad2 to my tv using the hdmi cord for video mirroring, nothing happens! I've tried it on two new and different types of tv's, what gives?

    When I connect my Ipad2 to my tv using the HDMI cord for video mirroring, nothing happens! I've tried it with new and different types of tv's, what gives?

    Do you have the correct input set on the TV, like HDMI 1, HDMI 2, etc?

Maybe you are looking for

  • Help with Choosing f4v Video Bitrates

    Hello, I don't know if this is the correct forum but the topic is relevant to Flash. I have a video business and my website has a lot of video examples.  I wanted to show some image quality as well as a decent frame size for viewing. The video files

  • GW 2012 POA crash when changing data

    Hey, I recently migrated my Groupwise installation to a Windows 2008 R2 server and upgraded from version 8 to 2012. As of much, the installation runs smoothly, but whenever I launch ConsoleOne on the server, and updates groupwise information, POA wil

  • Localization in smart forms

    Find what is offered by SAP for localization in smart forms

  • Subscription failed, but was charged twice.

    Skype Name: XXXXX Total amount: $29.99  Transaction date: Jun 24, 2013  Order number:XXXX (Hide for security reason)  Order status: Refused I made subscription for pakistan 400 minutes yesterday but got the messege that my subscription failed. i trie

  • Changing default Type in Type dropdown of DDL Files only of Generate Server

    Hello, When I try to generate a Server Model Definition, the default type of the Type dropdown list of "DDL Files Only" is "Oracle8.1". I would like to set it by default at Oracle9i. Is that possible? Thank you for your answers. Nicolas.