Timestamp to small - DC/DC converter

I have send you the whole schematics in ms12 file.
This schematics should be simulation for this: http://oi48.tinypic.com/v98k0.jpg
What should this be: - one simple dc/dc converter with max 400W output
What i want to do: -test with oscillator to see if the IGBT is giving some signal. If not then NE555 should be the problem. - put some 400W load on transformer and test it again.
What i'm not sure of: - how to define output nodes ( yes i know it's funny :-)) and to connect them to transformer - if the 4060BD is good for simulating 4060N - if the LMC555CN is ok for simulating NE555
Transformer values are ok because this basic idea of dc/dc inverter should be used for much greater powers. Can someone please be so kind and take a look / check this schematics before i start with simulation.
If i click simulate at this point i get error: Would you like to run convergence assistent to attempt to automaticly solve the problem I click yes and then i get - doAnalasys --> timestemp to small --> tran simulation canceled.
Huby
Attachments:
test1_noLEM.zip ‏529 KB
tc4420 mod.zip ‏77 KB

Hello,
For your simulation, try changing the interactive simulation settings under the Simulate tab. Go to analysis options>>use custom settings and in Customize..., change the RSHUNT value to 1e+006 ohms, The RELTOL to 0.01, and the ABSTOL to 1e-006 amps. This should aid in the simulation of your circuit.
A note:
Ttry not to have unconnected instruments, components, etc. They are all taken into account in the simulation setting and can 'sometimes' cause issues with SPICE. If it's not needed, simply remove it form your dsign, it might not make a difference right now and it might not affect anything, but it is a chance you would probably like to minimize.
Kind Regards,
Miguel V
National Instruments

Similar Messages

  • DB LINK Oracle to SQL Server SQL Server TimeStamp converts to Oracle Date

    Hi All,
    I have created a DB link between Oracle 10g 10.2.0.5 to SQL server 2005 using Oracle 11g gateway. When I execute a query from Oracle that selects data from SQL server using the DBLINK then the column value of type Timestamp from SQL server gets converted to Date data type in Oracle and it losses the time value.
    Is there some way (in gateway configurations or in select query sql ) that the SQL server data type Timestamp gets converted to Oracle's Timestamp?
    Please help.
    Best Regards!
    Irfan
    Edited by: irf_mas on Mar 13, 2012 3:23 AM

    You're getting the ORA-2070 error as the gateway that you are using is not supporting the to_timestamp function in this context. You need to rewrite the code.
    Best would be if you first check out the data format that is sent as a string when you just select the date column - for example:
    data_create_dt
    Jan 11 2012 1:40PM
    Now the easiest way is to make sure the format you are using in your where clause matches the string from the SQL Server:
    select * from "data_ms_view"@FREETDS_DG4ODBC_EMGTW_11_2_0_3 where "data_create_dt"<'Jan 11 2012 1:41PM';
    which will result in:
    data_create_dt
    Jan 11 2012 1:40PM
    BTW,
    it works with all formats the SQL Server understands:
    SQL> select * from "data_ms_view"@FREETDS_DG4ODBC_EMGTW_11_2_0_3 where "data_create_dt">'11-JAN-12 01.40.00.000000000 AM';
    data_create_dt
    Jan 11 2012 1:40PM
    Another way using binds:
    SQL> variable datum varchar2(26);
    SQL> exec select to_char(systimestamp,'MON dd yyyy hh:mi') into :datum from dual;
    PL/SQL procedure successfully completed.
    SQL> print datum
    DATUM
    MAR 19 2012 08:29
    SQL> select * from "data_ms_view"@FREETDS_DG4ODBC_EMGTW_11_2_0_3 where "data_create_dt" <:datum;
    data_create_dt
    Jan 11 2012 1:40PM
    There are several ways to get a result, just make sure you don't use an unsupported function in your statement. A list of supported functions is found in the manual.

  • Retrieving/inserting timestamp

    I have a VB dll that calls a stored procedure and retrieves a timestamp column (Oracle 9i, VB6, OraOLEDB Provider). I am getting the following error:ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    I am using the adDBTimeStamp type. Which is the correct ado type to use?
    I also have direct "select * ..." sql statements that retrieve Timestamp data, and the application crashes when I try to execute them.
    Has anyone encountered these issues. Are there any limitations on retrieving/inserting Timestamp data. Any help is appreciated.

    Yes, I have had the same experience. When trying to create an OLE DB connection between Oracle 8.1.7 and SQL Server, I can see the schema and tables. When I try to query the linked Oracle server, if the table includes a timestamp field, I get unpredictable results or query crashes. If I try to use the timestamp field in a WHERE clause, I get an error saying that the timestamp data type cannot be converted to a datetime data type. I have tried explicit CAST or CONVERT statements, but they crash, too.

  • Display UTC-Timestamp in timezone of user/server

    Hello,
    the view of my WD Component displays UTC-Timestamps in a table (Cell Editor LinkToAction).
    The user has the possibility to alter the timestamps by providing date and time.
    The controller converts date and time to a UTC-timestamp by using ABAP-Statement CONVERT with timezone of server (sy-zonlo).
    The timezone is CET (UTC1). Therefore the fields to enter the time is displayed in UTC1 but the  timestamp is displayed as UTC. The user might be confused, because when entering a time in the inputfield, the timestamp will be displayed 1 hour in the past.
    The domain of the timestamp is TZNTSTMPS. I also tried to convert the timestamp into a field with domain TZNTSTMPSL, but with the same effect.
    Is there a possibility to display the timestamp in the timezone of the server (sy-zonlo) or in the timezone of the user?
    Thanks in advance
    Patrick

    Thank you Phil,
    I already use both commands.
    The user can enter a date and time which is already displayed in his timezone (use of command CONVERT TIMESTAMP ... and later when user saves his settings use of command CONVERT DATE lv_date TIME lv_time ...).
    The date and time that user has given should be displayed as a timestamp later(LinkToAction in a table column).
    Hope I made the problem clear. The date and time that the user can enter is already displayed in his timezone. It's just about the timestamp which is displayed after user has given date and time. That timestamp should be also displayed in the timezone of the user and not in UTC.
    Thanks for your help so far.
    Patrick

  • Converting Catalogs From Photoshop Album (2.0) to Photoshop Elements 13

    My Photoshop Album currently holds some 23,000 photographs/jpgs from 2003 to date. Each is catalogued to provide a very high level of granularity to assist in identifying specific photographs and their subject content.
    I have purchased Photoshop Elements to update the management of the collection. The Adobe information identifies it to be a suitable successor but indicates that there is likely to be some effort required to update the catalog. Using Catalog Manager I have attempted to Convert the old catalog which didn’t work because it “couldn’t be seen” in Elements. Further research of the Forum and other Adobe resources pointed to the Catalog Conversion Utility. Again this also failed to work.
    I then reduced the number of photographs to about 4,500 (year 2014). I have noted by the way that this has had virtually no effect on the psa file size. As I gradually Deleted photos from the Catalog I have come across about 100 items which cannot be deleted and returns the following error message….
    The ODBC data source reported the following error:
    “[Microsoft][ODBC Microsoft Access Driver] Indicator variable required but not supplied on column number 10 (fDateTimeHigh)”
    I have tried a number of ways to delete the photos including removing them from their folder; “Reconnecting the Missing File” with/without the same name in a different Folder; and generally getting myself very frustrated with my lack of knowledge. Googling/search for help and pointers hasn’t found the solution.
    What or where can I find a way of deleting these errant files? (I have MS Access if this is a tool that might get me the solution.)
    Note that one very old and small Catalog did convert and successfully integrated into Elements so it all works in principle. It seems to point to these problem jpgs.
    Any help would be much appreciated.
    FROM PHOTOSHOP ALBUM
    System Details:
    #### NOTE the following is incorrect (copied from “System Info” on Album Help. This is the original build OS; currently Windows 7 with latest updates. See further down for Photoshop Elements for System Info. ####
    Adobe Photoshop Album 2.0.0.16271
    Current Catalog:
    Catalog Name: Main.psa
    Catalog Location: C:\ProgramData\Adobe\Photoshop Album\Catalogs\
    Catalog Size: 45MB
    Catalog Cache Size: 536MB
    System:
    Operating System Name: XP
    Operating System Version: 6.1 Service Pack 1
    System Architecture: Intel CPU Family:6 Model:10 Stepping:7 with MMX, SSE Integer, SSE FP
    Built-in Memory: 4GB
    Free Memory: 4GB
    Important Drivers / Plug-ins / Libraries:
    Microsoft DirectX Version: 9.0
    Apple QuickTime Version: 7.76
    Adobe Image Viewer Version: Not installed
    Adobe Acrobat Reader Version: 11.0
    Adobe Acrobat Version: 10.1
    Adobe Atmosphere Version: 3.0
    FROM PHOTOSHOP ELEMENTS
    Elements Organizer 13.0.0.0
    Core Version: 13.0 (20140831.m.62014)
    Language Version: 13.0 (20140831.m.62014)
    Current Catalog:
    Catalog Name: Mum & Dad Document Scans
    Catalog Location: C:\ProgramData\Adobe\Photoshop Album\Catalogs\New Catalogs\Mum & Dad Document Scans\
    Catalog Size: 132KB
    Catalog Cache Size: 31.8KB
    System:
    Operating System Name: Windows 7
    Operating System Version: 6.1 Service Pack 1
    System Architecture:
    Built-in Memory: 8GB
    Free Memory: 4.6GB
    Important Drivers / Plug-ins / Libraries:
    Microsoft DirectX Version: 9.0
    Apple QuickTime Version: Not installed
    Adobe Reader Version: Not installed
    Adobe Acrobat Version: 10.1
    CD and DVD drives:
    D: (ATAPI iHAS624 BUS: 1 ID: 1 Firmware: B)

    Yes. Thanks for your reply. Just shows my age doesn't it! I've really got to upgrade my system from Windows 3.1.
    Still it lasted me for quite a few years over its various issues and wasn't a bad investment for me considering I think it was a magazine cover freebie, though I can't remember whether it was issued on 5" or 3" disks!!!
    Interesting to note that conceptually the original design was quite good and together with the new face recognition technology which is as good if not better than Picasa the PSE13 Organiser does a good job. It's a pity Adobe doesn't promote more of this side of the product. I wasn't able to find the replacement to Album as it was starting to struggle as the photo count increased and I hadn't been able to find an obvious replacement. Still that's over now.
    All I have to do now is to raise a query as to how to order/sort certain tags and it's a near perfect product for me. Can't find the answer in the Manual(s) or FAQs - or I'm not using the correct query key words.

  • Conversion from DATE to TIMESTAMP datatype

    Hello,
    My issue is as follows:
    1. I have one variable of type DATE, which I assign the value of SYSDATE
    mydatevar DATE:= SYSDATE;2. I want to find *"today"*, truncated to DAY
      TRUNC (mydatevar, 'DD')
    TRUNC function returns DATE datatype. So I will receive in point 2 for example *'2010-01-13 00:00:00'*.
    3. I want to assign the value from point 2 to a variable of type TIMESTAMP
      mytimestampvar TIMESTAMP := mydatevar;which implicitly will convert the DATE variable to TIMESTAMP.
    Problem: During the conversion (both implicit and explicit conversion with a format mask) I lose the "00" hours and "00" minutes and receive something like this: "10-JAN-13 *12*.00.00.000000000 AM".
    Question: How can I convert from DATE to TIMESTAMP keeping hours and minutes zeros?
    Why I need this conversion: I have a table with a column "column1" TIMESTAMP(0) and I would like to take only those rows from the table, where "column1" is in range from today 12 o'clock in the morning till now (whatever hour it is).
    NLS characteristics of the database:
    PARAMETER                           VALUE
    NLS_LANGUAGE                           AMERICAN
    NLS_TERRITORY                   AMERICA
    NLS_CURRENCY     $
    NLS_ISO_CURRENCY                    AMERICA
    NLS_NUMERIC_CHARACTERS     .,
    NLS_CHARACTERSET                    AL32UTF8
    NLS_CALENDAR                            GREGORIAN
    NLS_DATE_FORMAT                    DD-MON-RR
    NLS_DATE_LANGUAGE            AMERICAN
    NLS_SORT     BINARY
    NLS_TIME_FORMAT                     HH.MI.SSXFF AM
    NLS_TIMESTAMP_FORMAT             DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT             HH.MI.SSXFF AM TZR
    NLS_TIMESTAMP_TZ_FORMAT     DD-MON-RR HH.MI.SSXFF AM TZR
    NLS_DUAL_CURRENCY              $
    NLS_COMP                             BINARY
    NLS_LENGTH_SEMANTICS               BYTE
    NLS_NCHAR_CONV_EXCP             FALSE
    NLS_NCHAR_CHARACTERSET     AL16UTF16
    NLS_RDBMS_VERSION             10.2.0.4.0Session parameters are the same.
    DBTIMEZONE is "+02:00".

    Verdi wrote:
    Problem: During the conversion (both implicit and explicit conversion with a format mask) I lose the "00" hours and "00" minutes and receive something like this: "10-JAN-13 *12*.00.00.000000000 AM".I don't think you are necessarily losing any information whatsoever. It's probably more of a function of your NLS_TIMESTAMP_FORMAT and NLS_DATE_FORMAT. For example your NLS_DATE_FORMAT could be setup by default for a HH24 (24 hour time) which would report midnight as "00" hours. However, it looks like your NLS_TIMESTAMP_FORMAT is setup with a "HH" format with a meridian indicator which means 12 hours time.
    Your comparisons should be using date/timestamp data types anyways so as long as the input value is converted properly into a date type this shouldn't matter anyways.
    You can see what is actually stored by using the DUMP function:
    SQL> SELECT  DUMP(TO_TIMESTAMP(TO_CHAR(TRUNC(SYSDATE,'DD'),'MM/DD/YYYY HH:MI:SS AM'))) AS TSTAMP
      2  ,       DUMP(TRUNC(SYSDATE,'DD')) AS DT
      3  FROM DUAL
      4  /
    TSTAMP                                                                      DT
    Typ=187 Len=20: 218,7,1,13,0,0,0,0,0,0,0,0,0,0,3,0,0,0,0,0                  Typ=13 Len=8: 218,7,1,13,0,0,0,0As you can see the TSTAMP and DT store nearly the same values (218,7,1,13), but the TSTAMP has more precision because of fractional seconds.
    HTH!
    Edited by: Centinul on Jan 13, 2010 7:23 AM

  • Converting PDF to excel using Adobe Acrobat Pro XI

    I am trying to convert long but simple PDFs to excel but I keep getting an error message. I have tried disabling OCR, but nothing. Some of my files are rather large, but smaller than 100MB. Any suggestions?

    Hi Sara,
    I'm working on an Imac 3.2GHz Intel Core i5 running OS X 10.9.5. Sometimes
    Acrobat just shuts down, sometimes it stops responding and I have to force
    quit, and other times I get this message: "Save as failed to process this
    document. No document was created".
    I don't know exactly how the PDFs were created, as they come from another
    institution. They look as if they were exported from excel though. The
    thing is I have several files, all with the same structure, from the same
    source, and the small ones were converted without a problem, but the large
    ones simply won't. I'm attaching one of the files, perhaps you can see for
    yourself something useful.
    Thanks,
    Mariana
    On Tue, Nov 11, 2014 at 7:34 PM, Sara.Forsberg <[email protected]>

  • How can I get my ipad Pages app to keep video when converting to epub file?

    I am trying to create a epub file to be opened in  Ibook using Pages on the IPad. I have inserted a video and when I go to export to Ibooks it gives me a warning that video has been converted into an image.  I have created this same video on a desktop computer and been able to email and open it in IBook on my IPAD.
    Is there a way to have video embedded on the IPAD Pages app to be able to be published as an epub and be able to be opened later.
    Cassy Mate

    I'm wondering about this also. Even when importing very small videos it converts into pictures... Hope someone can shed some light on this matter for us!

  • Timezone effects on Date and Timestamp fields in af:query component

    Hello,
    I'm working on an ADF application where time zone is configured as follows:
    * Dynamic View Layer time zone is configured in trinidad-config.xml file and bound to a session scoped value:
    <trinidad-config>
      <skin-family>fusionFx</skin-family>
      <time-zone>#{sessionScope.tz}</time-zone>
    </trinidad-config>* ADF BC time zone is configured in adf-config.xml file and bound to View Layer time zone:
    <adf-config>
      <user-time-zone-config xmlns="http://xmlns.oracle.com/adf/usertimezone/config">
        <user-timezone expression="#{adfFacesContext.timeZone.ID}"/>
      </user-time-zone-config>
    </adf-config>The problem here is that Dates and Timestamp values work as expected all over the application except for the af:query component. When displayed as af:inputDate in af:form, Dates and Timestamp values are NOT getting converted to the time zone (TZ) configured in trinidad-config.xml file, whereas TimestampTz and TimestampLtz are. However, when displayed in af:query component, Dates and Timestamp values are automatically converted to View Layer TZ after a search has been performed.
    For example, say View Layer TZ = US/Pacific and we enter 01/jun/2011 as a search criteria of type Date and then click on the Search button. The displayed value automatically changes to 25/nov/2011, that is, it gets converted to the WLS JVM time zone, which is set to Europe/London.
    Is conversion of Date and Timestamps in af:query component the expected behaviour or could this be a bug?
    Is there any way to avoid this conversion?
    Thanks in advance
    Version:
    ADF Business Components 11.1.1.59.23
    Java(TM) Platform 1.6.0_21
    Oracle IDE 11.1.1.4.37.59.23
    PMD JDeveloper Extension 4.2.5.3.0
    Repost on 26-nov-2011 9:29
    Repost on 28-nov-2011 15:10
    Edited by: Barbara Gelabert on 26-nov-2011 9:29
    Edited by: Barbara Gelabert on 28-nov-2011 15:10

    Hi,
    Thanks for your reply. This certainly seems promising. However, I am getting a connection error now.
    The following...
    jar_loaded = require 'ojdbc14.jar'
    puts "Oracle jar loaded? #{jar_loaded}"
    puts "Starting active record"
    require 'rubygems'
    gem 'activerecord'
    gem 'activerecord-oracle_enhanced-adapter'
    require 'activerecord'
    puts "Connecting to MXGN"
    ActiveRecord::Base.establish_connection(
    :adapter => 'oracle_enhanced',
    :host => 'THEHOST',
    :port => '1550',
    :database => 'THEDB',
    :username => 'THEUSER',
    :password => 'THEPASSWORD'
    ... produces
    Oracle jar loaded? true
    Starting active record
    Connecting to MXGN
    ERROR: ActiveRecord oracle_enhanced adapter could not load Oracle JDBC driver. Please install ojdbc14.jar library.
    ERROR: ActiveRecord oracle_enhanced adapter could not load Oracle JDBC driver. Please install ojdbc14.jar library.
    C:/jruby/jruby-1.2.0/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/connection_adapters/abstract/connection_specification.rb:76:in `establish_connection': Please install the oracle_enhanced adapter: `gem install activerecord-oracle_enhanced-adapter` (LoadError) (RuntimeError)
    from H:\sandbox\DBPlay\lib\main_enhanced.rb:12
    I'm confused. Am I missing the driver, or have I failed to setup the enhanced Oracle adapter?
    I have tried moving the jar to $JRUBY_HOME/lib too, but the result was the same.
    All help would be greatly appreciated.
    Many Thanks
    Adrian

  • Removing milliseconds from timestamp

    Hello.
    I'm having problems with a date value (of type java.sql.Timestamp).
    I need to convert:
    java.sql.Timestamp date1 = 2005-05-11 12:12:30.40
    I want to delete the milliseconds from the date above and format it as:
    05/11/2005 12:12:30
    How can I do this? I've tried:
    SimpleDateFormat sdf= new SimpleDateFormat("MM/dd/yyyy HH:mm:ss");
    String tempDate = sdf.format(date1);
    But how do I now convert tempDate back to a timestamp?
    Thanks for your help!

    The output I'm looking for is 05/19/2005 13:38:37.
    I don't want to .0 at the end.Then create a SimpleDateFormat that doesn't include millis.
    Also, if only strings, etc. can be formatted, how can
    I convert a string to a timestamp?SimpleDateFormat.parse gives you a Date. Timestamp has either a constructor or a setter method that takes a Date or the Date's long from its getTime() method.
    Dates and Timestamps are just numbers--how many millis or nanos or whatever elapsed since the epoch.

  • Selection on timestamps

    Hello all,
    I like to write a report with ranges of date and time in the selection screen. The table to be selected contains a timestamp.
    How can I convert several date and time ranges in corresponding timestamp ranges for the selection?
    Many thanks for help.
       Elmar

    Hi Elmar,
    Convert date and time to timestamp format and try to use this variable:
                  CONVERT DATE <date>
                          TIME <>time
                          INTO TIME STAMP <time stamp variable>
                          TIME ZONE SY-ZONLO.
    Regards,
    Swarna Munukoti

  • Timestamp to Date format

    Hi all
    Can anyone tell me how to convert Timestamp to Oracle date format please. This is Timestamp and I need to convert it to Oracle Date format e.g 02-FEB-10
    String p_event_date = req.getParameter("EVENT_DATE");I'm working with stored procedures and this is the way the Date is stored;
    ADD_MONTHS(TRUNC(SYSDATE, 'YYYY'),12)+10 Some help will be much appreciated
    Thanks
    Zed

    Anyone with any suggestions please, slightly desperate now. Your help will be greatly appreciated. This was my last code that I tried.
    Date dtTmp = null;
         try {
              dtTmp = new SimpleDateFormat("yyyy-MM-dd").parse(p_event_date);
         } catch (ParseException e1) {
              // TODO Auto-generated catch block
              e1.printStackTrace();
        String strOutDt = new SimpleDateFormat("yyyy-MM-dd").format(dtTmp);
        System.out.println("Formatted" + strOutDt);And the error I get is;
    SQLException caught: ORA-01847: day of month must be between 1 and last day of month ORA-06512: at line 1 Thanks
    Zed

  • Converting time one format to another

    Hi Friends,
    I have a small problem in converting time..
    Actually In my program i am getting time like this ' 080000 ' but that should be converted to 8.00 hrs
    if i give time is ' 085215 ' means 8 hrs 52 min 15 sec so...it should be changes to 8.52.15
    Is there any function module is change this format..pls tell me
    thanks,
    laxmi

    Hi,
    it can be acheived by writing a single write:
    Eg:
    DATA TIME TYPE T VALUE '154633'.
      WRITE (8) TIME USING EDIT MASK '__:__:__'.  "Output: 15:46:33
    if you want with dots, then replace dots by colon in write iteself...
    WRITE (8) TIME USING EDIT MASK '__.__.__'.  "Output: 15.46.33
    it will fullfill ur requirement...
    Hope it helps!!
    Regards,
    Pavan
    Edited by: vishnu Pavan on Mar 23, 2009 8:16 AM
    Edited by: vishnu Pavan on Mar 23, 2009 8:17 AM

  • Trouble importing some shapefile data and Not converting with Planner Geometry

    Hello,
    We have a Small shapefile projected in EPSG:4326 which are clipped from a BIG shapefile by QGIS.
    But this Small shapefile not converting into SQL by Shape2Sql with planner geometry, while converting with Geography option.
    Note: BIG Shapefile converting correctly!
    Please assist us asap, so that we can move further in our project.
    Thanks in advance!

    Hi folks,
    About the ring-ordering requirement in geography: There's a blog entry about it here:
    http://blogs.msdn.com/b/isaac/archive/2007/10/29/geography-and-ring-orientation.aspx and another one here by the same author:
    http://blogs.msdn.com/b/isaac/archive/2008/04/06/the-unexpected-too-large-polygon.aspx. Note that things are a bit different in SQL Server 2012 WRT what SQL Server does with polygons that are the "wrong" ring order, because SQL Server 2012 and
    above supports polygons bigger than a hemisphere. Pre-SQL2012 these will cause errors. Planar geometry data type in SQL Server doesn't have this behavior because it's not related to the earth at all (e.g. you can use ANY SRID with the same result). The easiest
    way to think about it is: "Does your polygon represent Iceland or does it represent everything on earth that is not Iceland?". (
    http://www.sqlskills.com/blogs/bobb/the-other-fullglobe-feature-in-sql-server-denali/) This is why polygon ring-order matters with a geography datatype...
    About Shape2SQL: This is a 3rd party offering and a don't think the author is actively working on it, or AFAIK still supporting it. So, if it produces no errors, or if it doesn't produce the results you want, it's a black box WRT figuring out why. I've used
    it in the past for some simple shapefiles but it has idiosyncrasies. I've not seen the case where it produces no errors and/or no output (no table) before. You can try contacting the author (http://sharpgis.net/page/Shape2SQL) or
    using a different program to load the data.
    Trying something like ogr2ogr (part of an open-source spatial offering that allows import into SQL Server) or one of SAFE software's offerings (e.g.
    http://www.safe.com/solutions/for-databases/microsoft-sql-server/loader-edition/, SAFE also has a 30-day trial download, be sure and get the SQL Server edition) would be helpful because this would at least isolate the problem to something Shape2SQL
    is doing or something QGIS is doing in the output.
    At this point I'm wondering if the clipping function in QGIS is writing a shapefile with some "shapefile feature" that Shape2SQL doesn't support (or support correctly). But that's just a wild guess...trying one of the other import programs will
    possibly get you going in the right direction.
    Another choice is to post something to QGIS support (http://www.qgis.org/en/site/forusers/support.html) or on StackExchange as they suggest (http://gis.stackexchange.com/?tags=qgis) to
    see if anyone else has run into a similar problem.
    If you get any SQL Server spatial errors from Shape2SQL or any SQL Server spatial-specific error messages, feel free to followup here.
    There isn't any SQL Server supported solution for loading shapefiles into SQL Server tables, although interestingly the spatial feature of SSRS (and maybe PowerMap in SQL Server's BI offerings) support using shapefiles directly. That won't help you with
    this problem, however. 
    Hope this is helpful, Bob

  • Very Quick Newb Question - Converting Float to String

    I created a small program that converts currency for the iPhone. Unfortauntely, I cannot get the UILabel to display my float value. Apparently, NS can though. I found a tutorial that told me simply to use this:
    [label setFloatValue:currency];
    label is the UILabel
    currency is the float value
    When I do that with the iPhone SDK, I get this error:
    warning: 'UILabel' may not respond to '-setFloatValue:'
    messages without a matching method signature will be assumed to return 'id' and accept '...' as arguments.
    Any quick advice would be appreciated!
    Message was edited by: hollafortwodollas

    Simple requirements:
    label.text = [NSString stringWithFormat:@"%f", floatValue];
    More complex example:
    NSNumberFormatter *formatter = [[NSNumberFormatter alloc] init];
    [formatter setFormatWidth:2];
    [formatter setPaddingCharacter:@"0"];
    [formatter setPaddingPosition:NSNumberFormatterPadBeforePrefix];
    lable.text = [NSString stringWithFormat:@"%@:%@:%@",
    [formatter stringFromNumber:[NSNumber numberWithInt:hours]],
    [formatter stringFromNumber:[NSNumber numberWithInt:minutes]],
    [formatter stringFromNumber:[NSNumber numberWithInt:seconds]]];

Maybe you are looking for