Can we import a timestamp column in DIAdem

I have a 2 channels with time information - one in string format and the other in timestamp format.  It seems that when I try to open my TDM file, DIAdem gets stuck.  I'm sure that its because I can't have string or timestamp information in a TDM file.  If that is the case then how do I import my time?  Thanks.
--cj

Hi cmiranda,
Actually, you can have both string and date/time channels in a TDM file and in DIAdem.  So, I'm guessing the way you're writing your TDM file is suspect if DIAdem is hanging trying to import it.  What happens when you try to load that TDM file back into LabVIEW?
The one goofy thing about this with LabVIEW 7.x and DIAdem 9.x is that LabVIEW saves the date/time values as the time in Greenwich, England (GMT), whereas DIAdem expects time to be saved as the local time.  So you either have to add on the number of seconds of time shift you have with GMT in LabVIEW prior to saving, or you have to add on those seconds after you've loaded the date/time channels into DIAdem.
I'm including below an example of how to do the former-- save date/time channels in LabVIEW which can be read back perfectly in DIAdem.  Note, though, that this means these same value read back into LabVIEW will be interpreted incorrectly, so you have to make a fundamental choice to make DIAdem or LabVIEW happy and run a quick addition/subtraction in the other application.  We are indeed working to make this less irksome.
Feel free to send in your VI that is creating the TDM file,
Brad Turpin
DIAdem Product Support Engineer,
National Instruments
Attachments:
Save DIAdem DateTime.llb ‏232 KB

Similar Messages

  • Importing timestamp columns appears to use to_date instead of to_timestamp

    I'm trying to import data (using the latest version 1.5.4 with Patch 2 applied) to an Oracle 10g database that contains timestamp columns. The input data has times with fractional (millisecond) values The data was exported using SQL Developer from a Sybase database and the timestamp format in the Excel (xls) file is YYYY-MM-DD HH24:MI:SS.FF3. When I specify this format for the TIMESTAMP columns on the import screens, the importer generates an insert statement like this:
    INSERT INTO A (TMS) VALUES (to_date('2008-12-049 12:12:39.967', 'YYYY-MM-DD HH24:MI:SS.FF3'));
    This command fails to execute with this error:
    Error report:
    SQL Error: ORA-01821: date format not recognized
    01821. 00000 - "date format not recognized"
    *Cause:   
    *Action:
    I found that if to_timestamp is used instead of to_date, there is no issue inserting the row with the correct time precision. The question I have is why isn't SQL Developer using to_timestamp for importing a TIMESTAMP column, and should it?
    Any advise woudl be appreciated.
    Thanks

    In 1.5.4 I see a bug where the "Format" field doesn't show up in the page in the import wizard, preventing the user from entering a mask when the column type is TIMESTAMP. This has been fixed in the code line under development and should be available when 2.1 gets released.
    To give you a bit more detail on the confusing DATE/TIMESTAMP behaviour...
    SQL Developer misrepresenting date as timestamp and vice versa stems from the behaviour of the Oracle JDBC driver. Following are the details I obtained from the JDBC team when I raised a bug("WRONG VALUE RETURNED FOR GETCOLUMNTYPE FOR DATE COLUMN ") on them:-
    oracle.jdbc.mapDateToTimestamp is by default set
    to true to indicate reporting DATE column as TIMESTAMP type. To turn off, pass
    -Doracle.jdbc.mapDateToTimestamp=false" at the command line.
    To effect this option in SQL Developer, you can add an AddVMOption -Doracle.jdbc.mapDateToTimestamp=false
    A bit more history on the option:
    8i and older Oracle databases did not support SQL TIMESTAMP, however Oracle
    DATE contains a time component, which is an extension to the SQL standard. In
    order to correctly handle the time component of Oracle DATE the 8i and
    earlier drivers mapped Oracle DATE to java.sql.Timestamp. This preserved the
    time component.
    Oracle database 9.0.1 included support for SQL TIMESTAMP. In the process of
    implementing support for SQL TIMESTAMP we changed the 9i JDBC driver to map
    Oracle DATE to java.sql.Date. This was an incorrect decision since it
    truncates the time component of Oracle DATE. There was also a backwards
    compatibility problem trying to write java.sql.Timestamps to 8i databases.
    These are separate problems but we "fixed" both under the control of a single
    flag, V8Compatible. This flag was introduced in a 9.2 patch set.
    By default the flag is false. When it is set to false the driver maps Oracle
    DATE to java.sql.Date, losing the time component and it writes
    java.sql.Timestamps to the database as SQL TIMESTAMPS. When the flag is set
    to true the driver maps Oracle DATE to java.sql.Timestamp and writes
    java.sql.Timestamps to the database as Oracle DATEs.
    In 11.1 the V8Compatible flag was deprecated because it controlled Database
    8i compatibility which is no longer supported. The additional behavior it
    controlled, how SQL DATEs are handled, is controlled by a new flag,
    mapDateToTimestamp. In 11.1 setting V8Compatible will just set
    mapDateToTimestamp. This new flag only controls how SQL DATEs are
    represented, nothing more. This flag will be supported for the foreseeable
    future.
    Finally, the default value for V8Compatible is false in 9i and 10g. This
    means that by default the drivers incorrectly map SQL DATEs to java.sql.Date.
    In 11.1 the default value of mapDateToTimestamp is true which means that by
    default the drivers will correctly map SQL DATEs to java.sql.Timestamp
    retaining the time information. Any customer that is currently setting
    V8Compatible = true in order to get the DATE to Timestamp mapping will get
    that behavior by default in 11.1. Any customer that wants the incorrect but
    10g compatible DATE to java.sql.Date mapping can get that by setting
    mapDateToTimestamp = false in 11.1.
    About the only way to see the difference between mapDateToTimestamp settings
    is to call getObject on a DATE column. If mapDateToTimestamp is true, the
    default setting, the result will be a java.sql.Timestamp. If
    mapDateToTimestamp is false, then getObject on a DATE column will return a
    java.sql.Date.
    HTH
    Edited by: vasan_kps on Jun 12, 2009 2:01 PM

  • Sorting Timestamp Column in Datagid

    HI All,
    How can we Sort the TimeStamp Column (Ex: containing
    02/05/2007 16:44:03) in a DataGrid. Please help me
    Thanks a lot
    PSamanth

    have a look at the sortCompareFunction property of
    DataGridColumn component. This property allow you to define a
    callback for sorting a given column. Sort it the way you like in
    your function!
    Of course, the easiest way would be to part the string as
    Date object and use it's comparison methods.
    ATTA

  • Problem fetching multiple values in a TIMESTAMP column

    Hi all,
    I'm having a problem trying to fetch multiple values in a TIMESTAMP column. I can successfully fetch the TIMESTAMP column if I do the following:
    OCIDateTime tstmpltz = (OCIDateTime )NULL;
    rc = OCIDescriptorAlloc(p_env,(dvoid **)&tstmpltz, OCI_DTYPE_TIMESTAMP,
    0, (dvoid **)0);
    rc = OCIDefineByPos(p_sql, &p_dfn, p_err, 1, &tstmpltz, sizeof(tstmpltz),
    SQLT_TIMESTAMP, 0, 0, 0, OCI_DEFAULT);
    This works fine. I can then do what I want with the OCIDateTime variable tstmpltz, like convert it to a text string, etc.
    But what I am trying to do is fetch many rows of data that could include a TIMESTAMP column. For character columns this is no problem. I simply allocate a buffer of the correct width and length and then do my OCIDefineByPos to point to the start and the character data gets filled in. Same for numeric columns as well.
    I can do this with a TIMESTAMP column if I do the OCIDefineByPos with a column type of SQLT_CHR. But the problem I'm running into when I do things this way is if I fetch a Timestamp value that is before 1950 I believe it is, I get back the wrong century. So for instance 1900 comes back as 2000. I think this is because the default date format when fetching is a 2 digit year. So I've tried to the do following:
    long fetchrows = 50;
    unsigned char *descpp1;
    descpp1 = (unsigned char *)calloc(fetchrows, sizeof (OCIDateTime *));
    int i;
    for (i = 0; i != fetchrows; i++)
    /* Allocate descriptors */
    rc = OCIDescriptorAlloc((void *)p_env,(void **)&descpp1[i * sizeof (OCIDateTime *)], OCI_DTYPE_TIMESTAMP,
    0,(void **)0);
    // Bind the column
    rc = OCIDefineByPos(p_sql, &p_dfn, p_err, 1, descpp1, sizeof(descpp1),
    SQLT_TIMESTAMP, 0, 0, 0, OCI_DEFAULT);
    rc = OCIStmtExecute(p_svc, p_sql, p_err, (ub4) 50, (ub4) 0,
    (CONST OCISnapshot *) NULL, (OCISnapshot *) NULL,
    OCI_DEFAULT);
    And I get an "ORA-01403: no data found" error. I'm missing something here but I can't figure out what it is. Is this proper way to fetch multiple Timestamp columns ?
    Thanks,
    Nick

    Hi Nick,
    I think the "trick" here is that when you call OCIDescriptorAlloc normally you would pass a pointer to an OCIDateTime pointer (i.e. OCIDateTime**). However, you're being sneaky here and using unsigned char * with malloc/calloc for the reasons you have already mentioned. So, that changes things a bit because in this scenario the "destination address" where OCI is going to put the address for the OCIDateTime descriptor is in the memory you have dynamically allocated rather than in the target pointer of an OCIDateTime** declaration. So far so good, but the problem, as you've discovered, comes about when you need to get the OCIDateTime* to pass into the OCIDateTimeToText function. In your call you have this:
    (OCIDateTime *)descpp1[0 * sizeof (OCIDateTime *)]However, that isn't the address of the descriptor it's a pointer to the address so, depending on your actual calls, etc. you'll either get a memory violation or an invalid OCI handle error. What you can do is get the address from that memory location and stuff it into a proper OCIDateTime* and then it can be used in the OCIDateTimeToText function.
    I'm probably doing a terrible job explaining it, but I have cobbled together a sample which does what you want (at least as far as I can tell). Of course, being OCI, there's a fair bit of code, but here's the main parts.
    I created a table called "ts_test" that has the following structure and sample data:
    SQL> desc ts_test
    Name             Null?    Type
    TS_ID                     NUMBER
    TS_VALUE                  TIMESTAMP(3)
    SQL> select * from ts_test order by ts_id;
         TS_ID TS_VALUE
             1 01-JAN-09 08.00.00.123 AM
             2 01-JAN-09 12.34.56.789 PM
             3 01-JAN-09 04.46.00.046 PM
             4 01-JAN-09 10.00.00.314 PM
    4 rows selected.I use the same query as above in the OCI sample code to get the values back out of the table.
      ** will hold pointers to TimeStamp Descriptor memory
      unsigned char *pTSD = (unsigned char *) NULL;
      ** temp pointer used with descriptors
      OCIDateTime *pTemp = NULL;
      ** allocate memory for the ts_id column
      if ((pID_val = (ub4 *) malloc(sizeof(ub4) * arrsize)) == NULL)
        printf("Failed to allocate memory for pID_val!\n");
        return;
      ** allocate memory for the ts descriptors
      if ((pTSD = (unsigned char *) malloc(sizeof(unsigned char *) * arrsize)) == NULL)
        printf("Failed to allocate memory for pTSD!\n");
        return;
      ** allocate date time descriptors
      for (i = 0; i < arrsize; i++)
        rc = OCIDescriptorAlloc(pDBCtx->envhp,
                                (void **) &pTSD[i * sizeof(OCIDateTime *)],
                                (ub4) OCI_DTYPE_TIMESTAMP,
                                (size_t) 0,
                                (void **) 0);
      ** define the first column in the results
      rc = OCIDefineByPos(stmtp,
                          &defnp,
                          pDBCtx->errhp,
                          (ub4) 1,
                          (void *) pID_val,
                          (sword) sizeof(ub4),
                          (ub2) SQLT_INT,
                          (void *) pID_ind,
                          (ub2 *) 0,
                          (ub2 *) 0,
                          (ub4) OCI_DEFAULT);
      ** define the second column in the results
      rc = OCIDefineByPos(stmtp,
                          &defnp,
                          pDBCtx->errhp,
                          (ub4) 2,
                          (void *) &pTSD[0],
                          (sword) sizeof(OCIDateTime *),
                          (ub2) SQLT_TIMESTAMP,
                          (void *) pTS_ind,
                          (ub2 *) 0,
                          (ub2 *) 0,
                          (ub4) OCI_DEFAULT);
      ** execute the statement
      rc = OCIStmtExecute(pDBCtx->svchp,
                          stmtp,
                          pDBCtx->errhp,
                          (ub4) arrsize,
                          (ub4) 0,
                          (CONST OCISnapshot *) NULL,
                          (OCISnapshot *) NULL,
                          (ub4) OCI_DEFAULT);
      ** get the text value of the timestamp
      ** null-terminate it, and display the value.
      ** the address of the allocated descriptor
      ** is copied from the dynamically allocated
      ** memory to the temp variable and that
      ** is passed to OCIDateTimeToText
      for (i = 0; i < arrsize; i++)
        memcpy((void *) &pTemp, &pTSD[i * sizeof(OCIDateTime *)], sizeof(OCIDateTime *));
        rc = OCIDateTimeToText((void *) pDBCtx->usrhp,
                               pDBCtx->errhp,
                               pTemp,
                               (oratext *) 0,
                               (ub1) 0,
                               (ub1) 3,
                               (oratext *) 0,
                               (size_t) 0,
                               &buflen,
                               buf);
        buf[buflen] = '\0';
        printf("Timestamp value[%d]: %s\n", *pID_val++, buf);
    ...Obviously there's lots left out, but hopefully that can be of some help. I've not really thoroughly reviewed the code so there may be a few things to fix. Anyway, using the above table and data the full sample outputs this on my system:
    Timestamp value[1]: 01-JAN-09 08.00.00.123 AM
    Timestamp value[2]: 01-JAN-09 12.34.56.789 PM
    Timestamp value[3]: 01-JAN-09 04.46.00.046 PM
    Timestamp value[4]: 01-JAN-09 10.00.00.314 PM
    ENTER to continue...Thanks,
    Mark

  • I can't import a table contains BLOB column  from one user to another user.

    1) I create two user both have connect role,and each has its own tablespace, DDL:
    create user d2zd identified by d2zd default tablespace d2zd quota unlimited on d2zd account unlock;
    grant connect to d2zd;
    create user d3zd identified by d3zd default tablespace d3zd quota unlimited on d3zd account unlock;
    grant connect to d3zd;
    2)Then enter oracle as d2zd and create a table contains BLOB column and insert data to the table.
    3) export d2zd as follow:
    exp d2zd/d2zd file=d2zd.dmp
    4) import to d3zd as follow:
    imp d3zd/d3zd fromuser=d2zd touser=d3zd file=d2zd.dmp
    the question is the table with BOLB colum can't be import,
    it says:have no privilege on tablespace d2zd.
    How can I import a table contains BLOB column from one user to another user?

    Hi - the reason for as our friend already told ist that a blob can be stored outside of the table segment, in another Tablespace, This is for performance reason.
    Sou you would need to have Quota on two tablespaces.
    the one which holds the table segment the other which holds the blob(segment).
    Regards
    Carl
    Message was edited by:
    kreitsch

  • How can I import data using .dmp into the table which has more columns then in import

    I am building the history for warehouse purpose on Oracle 8i database and want to use the old import (.dmp) files (from oracle 7.3.4) to import data but the underlying table is having few more columns which are not in my old DMP file .. how can I import the data into these altered tables while using the same *.imp files .
    Any solutions ?

    That is the most obvious solution .. but think of the case when my operational database which is the source of my data is undergoing changes every quarter i.e after every 3 months there are some changes on underlying table structures which means structures of my import files will always be different after evry quarter .. you can imagine the number of temporary import structures I need to create .. can't there be a solution wherein I can write an SQL over the import file to read the data in required format ..

  • Can you specify format mask for date or timestamp columns

    Hi,
    Recently when I'm developing a PL/SQL application, I find that any format mismatch between data in table and format mask specified in to_date/to_timestamp function will cause exceptions. However, I'd like to make my application more robust and immune to this kind of problems, and know exactly which format mask to use for exactly what columns in db table.
    Is there a way in a table column to specify the format mask for date/timestamp columns such that I can know exactly what format mask to use when doing conversion? Also I don't want to depend on NLS_DATE_FORMAT specification, don't want to make a long case statement to check for every date format allowed by Oracle.
    Many thanks.

    As per my knowledge it can't be possible
    casuse if you entered '12/11/2007' date
    how oracle know that in date 12'th is the month or 11'th.
    The person who entered that date will also have confusions in future.
    either you have to fix one date format for your whole application (application configuration).
    or you have to store the date format in other column of the table.
    In case you set the date column to varchar and store all the dates without format then
    in future you may face problems in future while fetching the records, searching etc.
    Regards
    Singh

  • Get millisecond values from timestamp column in v$logmnr_contents

    Hello
    How do we get millisecond values from timestamp column in v$logmnr_contents.
    I tried with following query.
    select scn,To_Char(timestamp,'DD-MON-YYYY HH24:MI:SS:FF') from v$logmnr_contents WHERE OPERATION NOT IN('START') and username ='SCOTT' and sql_redo is not null and (seg_owner is null or seg_owner not in('SYS'));
    it says ORA-01821: date format not recognized. I want to find the relation of scn with timestamp. In forums i found, scn is derived from timestamp value. I dont know its correct or not.
    if i query with out FF in time format i get like
    scn timestamp
    808743 27-NOV-2007 00:12:53
    808743 27-NOV-2007 00:12:53
    808743 27-NOV-2007 00:12:53
    808744 27-NOV-2007 00:12:53
    808744 27-NOV-2007 00:12:53
    808744 27-NOV-2007 00:12:53
    if scn is derived from timestamp with milliseconds, each scn should be different right?More help please

    May be there's an easy way solving your problem, I did it like that:
    CREATE TABLE quota_test (test VARCHAR2(50))
    INSERT INTO quota_test
    VALUES ('update "SCOTT"."NEWTAB1" set a="34" and b="45"')
    SELECT test normal, REPLACE(SUBSTR(test,INSTR(test,'"',1),INSTR(test,'.',1)+2),'"','') changed
    FROM quota_test
    Result is :
    NORMAL
    update "SCOTT"."NEWTAB1" set a="34" and b="45"      
    CHANGED
    SCOTT.NEWTAB1
    If you didn't understand, I can explain what I wrote

  • How can I import selected images from a folder instead of the whole folder in iPhoto 9.5.2?

    Hi there,
    I was trying to help my parents import some photos from a folder they have created with photos from their holiday. They only want to import select images from this folder into iPhoto. I said it would be easy and they can do it in 2 ways. First, they can drag and drop selected photos from their folder into iPhoto - and this works for them. However, more convieniently, they can click file>import to Library and then select the photos they want by going into the folder... Well that's how it works on my iPhoto '11 at least. When they showed me their screen via Skype (they are running iPhoto 9.5.2), when they click import to library, and try to go into the folder containing their photos, it imports the whole thing and there appears to be no way that they can enter the folder to select just a few photos from what I could see.
    Does anyone know anything aout this problem?
    Cheers.

    What view are using in the Import dialogue. Column view might be easiest to navigate.

  • How to create a default value of timestamp column?

    I am trying to create a table with a default value on a timestamp column, can it be done?
    CREATE TABLE myTbl
    FutureDateTime date default TIMESTAMP WITH TIME ZONE '2999-12-31 23:23:59.000'
    )

    user1035690 wrote:
    I am trying to create a table with a default value on a timestamp column, can it be done?
    CREATE TABLE myTbl
    FutureDateTime date default TIMESTAMP WITH TIME ZONE '2999-12-31 23:23:59.000'
    )Yes, but you don't have a timestamp column, you have a date column.
    CREATE TABLE myTbl
       FutureDateTime date default to_date('2999-12-31 23:23:59', 'yyyy-mm-dd hh24:mi:ss')
      4  );
    Table created.
    Elapsed: 00:00:00.09
    ME_XE?And just in case you weren't aware, storing "end of time" information like this will be rough on your queries (it skewes the cost based optimizers estimates for cardinalities and could wildly throw off the estimates for your queries, resulting in bad plans). You're better off to store NULL values, NULL denoting not known values.
    Just an FYI :)

  • Can't Import Scanned Photos

    I have scanned about 100 snap shots from the original photo prints. All are saved in .JPG format. When I try to drag these photos to my iPhoto library, a message appears advising that the files are unreadable (may be unrecognized file type or may not contain valid data).
    I'm puzzled. As I said, I saved them as jpeg files ...
    Thanks for any help.
    G5 iMac Rev B, 2Gb RAM, 400 Gb HD, iPod 20 Gb   Mac OS X (10.4.3)  

    I know it can be confusing working with a new operating system so don't be frustrated. iPhoto works a little differently than what you are used to. Photos must be imported into iPhoto in order for iPhoto to see them. That is why when you scan photos and save them in the iPhoto Library folder they do not show up in iPhoto. The photos must be scanned and saved to a folder OTHER than the iPhoto Library folder. Once saved, they then can be dragged into an open iPhoto Library viewing window (iPhoto is open and you are viewing your photos in the library window) to import, or use the menu command of File>add to library from the menu bar. Once imported/copied into iPhoto you can then delete the scanned photos from the folder you saved them too.
    Now, I am wondering how you chose that folder path to save the scanned photos too? Did you navigate to the Pictures/iPhoto Library/Originals/2007/roll110 folder and choose that folder to save them too?
    Anyway, navigate back to that folder and drag the scanned photos to the desktop. Open iPhoto and import the photos on the desktop.
    Since you are new to the Mac and iPhoto I have a little more info to help you out with iPhoto.
    --First thing to know and remember is this...Do not drag any images, folder of images into the iPhoto Library in the Finder. Images have to be imported into iPhoto within the application. Do not scan images and save them into the iPhoto Library folder in the Finder. Save them to another location such as the Pictures folder or even the desktop. You can then import them into iPhoto.
    If you have already put files/folders in the iPhoto Library folder in the Finder then you will also find out that if you try to import them into iPhoto you will get an error message. No worry, just drag them to the desktop and import from there.
    --All images that you import are shown in the library view. You can choose how you want to view, by rolls, by date, by rating, etc. When you put images in an Album, slideshow, book, etc, you are actually just putting pointers to those images in the library. You are not adding more images. If you delete an image from the Album it will still be in the library. If you delete an image from the library it is deleted from iPhoto's database (the iPhoto Library folder in the Finder) and your hard drive ONLY after you empty iPhoto's trash. (unless you have it backed up somewhere else)
    --You have a folder of images on your hard drive and want to import them into iPhoto. Drag the folder of images into an open iPhoto Library window and the folder of photos will be copied into the library, resulting in a new roll with the name of the folder. You now have two copies of those photos, the ones in iPhoto's database and the ones on your desktop. You can keep the ones on your desktop that you just imported as backup or you can delete that folder. You can also drag a folder of photos into an empty space in the source column and a new roll and album will be created at the smae time for those images in the folder. The album will have the same name as the folder you dragged into the source column.
    -- you scan a picture/pictures and save it in a folder. You cannot scan directly into iPhoto or the iPhoto Library folder in the Finder.
    You want all your photos in iPhoto so you import them into iPhoto.
    Now you have two copies of that picture/pictures, so you can delete the originals that were in the scanned folder and keep the one/ones that were imported into iPhoto.
    -- You download pictures from your camera into iPhoto.
    There is now one copy of each of the pictures. (DO NOT HAVE IPHOTO DELETE THE IMAGES FROM YOUR CAMERA! DELETE THEM MANUALLY WITH THE CAMERA-if something goes wrong with the import and they are never imported and then they are deleted from the camera you might end up losing those images)
    --You want to change something about a picture you imported, such as
    cropping it or changing the size, or changing the orientation.
    Once you do that to a picture, you now have two copies of the picture
    in iPhoto, the original and the edited one. The edited one will be in the library organize view. The original is packed away in an Original folder in your iPhoto Library folder under the date of the roll. You can always revert to the original by control clicking on the photo and choose "revert to orginal" You will not have this choice if you used iPhoto Diet to get rid of the Originals.
    (a quick note on cropping within iPhoto...when you are in edit mode, you automatically will be in the crop mode with cross hairs to highlight the crop area. To finish cropping you must click the crop button and then go back to library view and your cropped picture will be there.
    --You want to use Photoshop or another graphic program to edit a picture in your iPhoto library.
    You can open up prefs for iPhoto and choose
    For iPhoto 5--"when double clicking on
    photo" ..do" choose "other" and select Photoshop. Now you can edit all
    pictures in your iPhoto library in PhotoShop by double clicking. If you save the photo with the same name and as a flattened file it will be saved right into iPhoto and you will see the changes. If you don't want to save it into iPhoto then do a "save as" and save to the desktop. You will then have the original photo still in iPhoto and your new edited photo on the desktop.
    For iPhoto 6 (from the Apple Help Menu)-Have you ever used PS as the external editor set up within iPhoto Prefs?
    From the iPhoto Help menu;
    "Choosing what happens when you click the Edit button
    When you want to edit a photo, you can have the photo open in iPhoto's edit view, in a separate window, in full-screen view, or in another application.
    To choose a preference:
    Choose iPhoto > Preferences.
    Click General at the top of the Preferences window.
    Under Edit Photo, select one of the following options:
    "In main window" opens the photo in the main viewing area.
    "In separate window" opens the photo in a separate window.
    "Using full screen" opens the photo in full-screen view.
    "In application" opens the photo in another application you choose.
    To open a photo in its own window when "Main window" is selected, press the Option key when double-clicking the photo.
    To open a photo in edit view when "Separate window" is selected, press the Option key when double-clicking the photo.
    Note: Any video clip you imported into iPhoto will always open in QuickTime Player when you double-click it."
    And...
    "Editing photos in another application
    You can do many editing tasks in iPhoto, such as rotating and cropping a photo, changing a color photo to black and white, adjusting exposure and contrast, and reducing red-eye. If you want to make other changes to a photo, you can open it in another image-editing application, such as Adobe Photoshop.
    To edit photos in another application:
    Set your preferences to open photos in another application when you double-click them or click the Edit button. (See Related Topics below.)
    Double-click the photo to open it in the application.
    Edit the photo and save it using the same name and file format.
    The changes you made to the photo will be visible when you return to iPhoto.
    IMPORTANT: When you double-click a RAW-format photo, iPhoto creates a copy of the photo in JPEG format, which opens in the other application. To edit the photo in its original RAW format, drag the photo from the iPhoto window to the Finder, and then use the other application to open it. (If you previously used iPhoto to edit the RAW photo, select the photo and choose Photos > Revert to Original before dragging it to the Finder. This way, you can edit the photo using its RAW data in the other application.) If you want to import the photo back into iPhoto, you must first save it as a JPEG or TIFF file."
    --Or, with iPhoto open, you can drag a picture from the library window
    to your desktop (you see a + sign on the pic you are dragging). You now
    have two of the same picture, one in the iPhoto library and one on your desktop. You can open up the one on your desktop in any graphic program and work on it. The one in iPhoto stays the same. You can also share/export the picture/pictures to your desktop or folder to work on them or do batch processing, etc. You will still have the originals in your iPhoto Library.
    --Or, you can open up the ~/Pictures/iPhoto Library/folders and option drag any
    picture out of the folder to your desktop. Notice that you will see a plus sign while dragging the photo. This is copying the file to your desktop
    I would advise anyone not to do this as they might forget to use the option key and drag the photo out. Next time you open iPhoto the photo will be missing.
    -The one option you will not find within iPhoto is to resize photos. iPhoto wants you to keep all full size images within iPhoto to give you the best size for printing or using for other applications. You can however go to Share>export (for iPhoto 5) or File>export (for iPhoto 6) and choose the naming scheme, input the dimensions and export to the desktop to use for uploading to a web space or emailing.
    --to email a photo set up your email client in iPhoto Preferences. Once done, just select a photo/photos and hit the email icon in the toolbar.
    If you use a web based email, then you need to export the photo to the desktop and upload it from there.
    Two Apple kbs for you to read
    Don't tamper with files in the iPhoto library folder
    About the iPhoto Library folder
    Don't forget that in Library view you can Control click on any picture and get a contextual menu with many options. One is to revert to original.
    For more help and information you can go to the Help menu wiithin iPhoto and input your search term in the search bar, then hit the "enter" key on the keyboard.
    You can also go to the iPhoto Support site.
    iPhoto Support

  • How to get data with out having any date/timestamp columns by year wise

    hi,
    how can i select years wise rows from tables,if that have not any date/timestamp column.

    Well Govind it quite depends on what is the data type of that column and the format in which it is stored.
    If the data type is varchar2/varchar and all the values are in a uniform format then there is no problem. All you need to use is the to_date function to convert the supplied strings to default date format and then use to_char function to only extract the YY or YYYY or RR or RRRR aspect of the data.
    For example: If the column is called 'hire_date' and it's data type is varchar2 and the entries in this column are all in a uniform format, say month,date,year like January,12,1999. What you need to do is convert this string to a default date value using to_date function, like to_date(hire_date,'format_model') In the format model mention the format of the hire_date string. The out put of this function can be fed into to_char to extract the year, like to_char(output_of_to_date,'YYYY')
    I hope you got what I meant. Let me know if it was of any use.

  • How do I save data so it can be imported??

    Hello, everyone.
    On my WP website, I 'export' data, and it comes up as simple text in a new browser window, which I simply copy and paste to save it. No problem so far.
    1) However, I have to save it as an .rtf file, which is not recognized by Numbers.
    If I drag the file into a new sheet, then it won't position all the data into the corresponding columns and stuff, but put it all into a one single column.
    2) I try to "rename" this .rtf file, and simply change the extension to .csv, but once I do this, some weird code is added at the beginning of the file, which consequently messes up the import process.
    So, my question is: how do I save this raw/simple data into a file that can be imported into Numbers???

    Numbers imports comma separated value (csv) files. It separates the data into columns based on the location of the commas and into rows when it hits a line break.
    You can drag a tab separated value file to a cell in a Numbers table. It will separate the data into columns based on the location of the tabs and into rows based on line breaks.
    You cannot simply change the extension to turn a rtf document into a csv document. You can open the rtf in TextEdit, change it to plain text, then save it as a plain text file with a csv extension but that won't necessarily make it a csv unless the data isn't separated by commas. It will, however, get rid of all the formatting code from the rtf document.
    Without knowing what is in your file and whether the data is separated by commas, spaces, or tabs, it's hard to tell you what to do. It may require a find/replace in a text editor or via an Applescript to separate your data by the correct character type. Yvan has posted at least one script for this purpose. Because it sounds like you import files of this type on a regular basis, if you do need to change the separating character, I'd go with an Applescript.

  • Why can't I see the column browser in iTunes 11.4?

    Why can't I see the column browser in iTunes 11.4?
    Just imported a CD of rare folk music that a friend gave me and want to edit the title, album name, etc like I used to.
    In iTunes under "View" the column Browser options are greyed out - not available.
    Seems that this is the view where editing is possible.
    What can I do to bring back column browser?
    Steve

    nevets2 wrote:
    Why can't I see the column browser in iTunes 11.4?
    Just imported a CD of rare folk music that a friend gave me and want to edit the title, album name, etc like I used to.
    In iTunes under "View" the column Browser options are greyed out - not available.
    Select Songs (not Artists or Albums) at top and you can use the Column browser.

  • How can I import iPhone Garageband Files to Mac Garageband?

    How can I import iPhone Garageband Files to Mac Garageband? I've found lots of threads about this but no direct answers/how to.
    Thanks

    With the latest build of GarageBand on the device, move to the My Songs view, tap the Edit button at top right, select the shaking song you want to export, then tap the sharing arrow symbol at top left, tap iTunes, then GarageBand.
    Connect the device to iTunes, select it in the left-hand column, then select the Apps tab. You should find the exported file in the File Sharing area of the GarageBand app and from there you can copy it to your computer, then open it with the GarageBand application.
    tt2

Maybe you are looking for

  • Installation problem with KM collaboration

    Dear All, I am trying to install KM on WEBAS 6.4 patch 9. I am using master CD to start SAP INSt.. then i specify location for NW Component CD and give user logon details.. it starts installation, but in second step itself. it gives error: ERROR 2006

  • How to get Long text in CJ20n

    Hi,    I need to get the long text that we maintained in CJ20n tcode under long text at project level. I need to display the same in Script layout or report. I didnot find any table or functional module to get it. please help me out. regards, Chandra

  • How can I enlarge text on a copy.

    On an HP Officejet 6500A Plus - how do I enlarge a copy?

  • FF68 Manual Check Deposit Transaction ...

    Dear All, Whats  the use of FF68 and wats the functionality of FF68 . Thanks in advance Dhanush Edited by: Dhanush on Oct 25, 2008 8:00 AM Edited by: Dhanush on Oct 29, 2008 12:57 AM

  • Sync Http to RFC

    Hi all, I keep getting this message RCVR_DETERMINATION">NO_RECEIVER_CASE_BE. And I can't figure out why. This is what i created : 1. IMported my object from R3. 2. Created all the mapping for Request, response & fault. 3. Created an Outbound synchrou