Number to fractional string not working correctly

I am measuring some parameters from oscillsocpe. i need to write these values to text file for which i am using write to spreadsheet, but what is happening is it is always writing zero value to file, on debugging i found that while converting from number to string it is always writng zero to string indicator, then separately i used that number to fractional string indicator and it is always showing zero in string output , i dont why it is happening.
Attached below is the code.
Solved!
Go to Solution.
Attachments:
Time meas sub.vi ‏31 KB

Ranjeet Singh and Norbert_B
Thanks for ther reply
Ranjeet singh,
number to fractional string is working correctly, there is some other problem, because inly when i am executing this code converting this rise time value to string then only it is showing zero, otherwise for any random number if i am checking this number to fractional string is working correctly.
Norbert_B
i dont need to convert it back to string that i am doing only to check why it is showing zero value on converting number to string , because when i was writing to spreadsheet file it was always writing zero value, so when checked that code it was observed that while converting from array of numbers to spreadsheet string it is always writing zero value that's why i am doing it here just to check why it is not converting to string, but your suggestion helped in focussing the string that i am gettong from VISA read, i can use that  in last case if i wont be able to find the solution but main problem is that why i am not able to convert it back to string, why it is showing zero because it is because of this only write to spreadsheet is always showing zero value .

Similar Messages

  • If statement within a view is not working correctly ?

    Hi all,
    maybe i am wrong but i think the if statement within a view is not working correctly. See code down below.
    I would like to use the Hallo World depending on the page attribute isFrame with or without all the neccessary html tags. Therefore i have embedded the htmlb tags in an if statement. But for any reason if isframe is initial it isn't working. It would be great if anybody could help me.
    <%@page language="abap"%>
    <%@extension name="htmlb" prefix="htmlb"%>
    <% if not isframe is initial. %>
      <htmlb:content design="design2003">
         <htmlb:page title = "Top Level Navigation view">
    <% endif. %>
    hallo world
    <% if not isframe is initial. %>
         </htmlb:page>
      </htmlb:content>
    <% endif. %>
    thanks in advance and best regards
    Matthias Hlubek

    Matthias,
    The short answer: your example is <b>NOT</b> going to work. The long answer will probably 5 pages to describe. So first let me rewrite the example so that it could work, and then give a short version of the long answer. Do not be disappointed if it is not totally clear. It is rather complicated. (See the nice form of IF statements that are possible since 620.)
    <%@page language="abap"%>
    <%@extension name="htmlb" prefix="htmlb"%>
    <% if isframe is <b>NOT</b> initial. %>
    <htmlb:content design="design2003">
      <htmlb:page title = "Top Level Navigation view">
        hallo world
      </htmlb:page>
    </htmlb:content>
    <% else. %>
      hallo world
    <% endif. %>
    So why does your example not work? Let us start with a simple tag:
      <htmlb:page title = "Top Level Navigation view">
      </htmlb:page>
    Now, for each tag, we have effectively the opening part (<htmlb:page>), an optional body, and then the closing part (</htmlb:page>). We are now at the level of the BSP runtime processing one tag. What the runtime does not know, is whether the tag wants to process its body or not. Each tag can decide dynamically at runtime whether the body should be processed. So the BSP compiler generates the following code:
      DATA: tag TYPE REF TO cl_htmlb_page.
      CREATE OBJECT tag.
      tag->title = 'Top Level Navigation view'.
      IF tag->DO_AT_BEGINNING( ) = CONTINUE.
      ENDIF.
      tag->DO_AT_END( ).
    You should actually just debug your BSP code at ABAP level, and then you will immediately see all of this. Now, let us mix in your example with our code generation. First you simplified example:
    <% if isframe is NOT initial. %>
      <htmlb:page title = "Top Level Navigation view">
    <% endif. %>
    <% if isframe is NOT initial. %>
      </htmlb:page>
    <% endif. %>
    And then with our generated code. Look specifically at how the IF/ENDIF blocks suddenly match!
    if isframe is NOT initial.
      DATA: tag TYPE REF TO cl_htmlb_page.
      CREATE OBJECT tag.
      tag->title = 'Top Level Navigation view'.
      IF tag->DO_AT_BEGINNING( ) = CONTINUE.
    endif.
    if isframe is NOT initial.
      ENDIF.
      tag->DO_AT_END( ).
    endif.
    You can see that your ENDIF statements are closing IF blocks generated by the BSP compiler. Such a nesting will not work. This is a very short form of the problem, there are a number of variations, and different types of the same problem.
    The only way to solve this problem, is probably to put the body into a page fragment and include it like I did above with the duplicate HelloWorld strings. But this duplicates source code. Better is to put body onto a view, that can be processed as required.
    brian

  • Program not working correctly-Help!

    class Sort
         /* method takes an array of integers as an input,
         * and returns a copy with the element values sorted
         * by select method.
         int[] selectSort(int[] input)
              /*declare variables to be used in array */
              int x, y, max, temp;
              int[] select = new int[input.length];
              /*This loop reads the entire array */
              for(x = input.length - 1; x>0; x--)
                   max = 0;
                   /*This loop checks to see if any number is
                   lower possible greatest number /
                   for(y = 0; y <= x; y++)
                   {//Returns number if lowest number
                        if(input[y] > input[max])
                             max = y;
                        }//end of if statement
                   }//end of inner loop
                   /*Switches the values */
                        temp = input[x];
                        select[x] = input[max];
                        select[max] = temp;
              }//end of outer loop
              return select;          
         } //end of selectSort()
         /* method takes an array of integers as an input,
         * and returns a copy with the element values sorted
         * by bubble method.
         int[] bubbleSort(int[] input)
              int[] bubble = new int[input.length];
              for (int x = 1; x < input.length; x++)
                   for (int y = 0; y < input.length - 1; y++)
                        if (input[y] > input[y+1])
                             int temp = input[y];
                             bubble[y] = input[y+1];
                             bubble[y+1] = temp;
              return bubble;
         } //end of bubbleSort
    **********************Test Class**********************
    class TestSort
         public static void main(String[] args)
              /* count variable used as loop counter when
              * result table display is generated
              int count;
              /* variable for object of class Sort */
              Sort x;
              /* create object of class GroupEx2 */
              x = new Sort();
              /* create a source array of integer elements */
    int[] y = new int[5];
    /* assign values to array elements to be sorted     */     
              y[0] = 8;
              y[1] = 5;
              y[2] = 3;
              y[3] = 9;
              y[4] = 1;
              /* create variable for target of select sort array */
              int[] ss;
              /* create variable for target bubble sort array */
              int[] bs;
              /* call method to return an array with element values select sorted*/
              ss = x.selectSort(y);
              /* call method to return an array with element values bubble sorted*/
              bs = x.bubbleSort(y);          
              /* display original and sorted arrays in three columns*/
              System.out.print("Input Array" + "\t");
              System.out.print("Select Sort" + "\t");
              System.out.println("Bubble Sort");
              for (count = 0; count < y.length; count++)
                   /* Column 1: original array */
                   System.out.print("input[" + count + "] = " + y[count]);
                   /* tab between columns 1 and 2 */
                   System.out.print("\t");
                   /* Column 2: select sorted array */
                   System.out.print("select[" + count + "] = " + ss[count]);
                   /* tab between columns */
                   System.out.print("\t");
                   /* Column 3: bubble sorted array */
                   System.out.println("bubble[" + count + "] = " + bs[count]);
              } // end of display for loop
         } // end of main()
    } // end of class TestSort

    Thanks for the Bash! I'm surprised you had the time
    for it.Go back and look at your original post. A whole bunch of code, and the only description of the problem is "not working correctly." Do you honestly think that's a reasonable way to ask for help? Do you go to the doctor and say, "I'm sick" and then just wait for him to cure you? Do you take your care to the mechanic and say only, "It's broke"?
    Look, this is your problem and it's your responsibility to fix it. There are people here who are happy to help you, but it's up to you to provide a reasonable statement of what's wrong, what you've tried, what you don't understand. For instance:
    Does it compile? If not, post the complete error message.
    Does it run, but throw an exception? If so, post the stack trace.
    Does it not throw an exception, but not behave the way you expect? Then describe the expected beavior and the observed behavior.
    Do you really need to be told this stuff? It seems like common sense that when you're asking people to spend their time helping you, you should give them the information they need to be able to do so.

  • Number to fraction string +format value

    Hi there,
    I just met a stupid question which made me crazy, please help.
    The question is simple:
    Target: Numeric floating control-> number to fraction string -> format value -> desirable string format
    For example: 20.00 -> 20.00000 (Q1: why extra 0s?)-> "20.00"
    I use the following program:
    why doesn't it work, please?
    Thanks!

    Hi TriStones,
    "Why it doesn't work?"
    Because you haven't read the context help for "Number to fractional string"! Especially the sentences on those two additional inputs of that function (Q1)...
    I would suggest using FormatIntoString like that:
    (I tried to replicate your example, but your wiring is very bad: it's not clear which wire is connected to which input...)
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • ** Filtering is not working correctly in ALV (REUSE_ALV_GRID_DISPLAY)

    Hi Friends,
    We have one Z report that output is displayed in ALV. We are using the standard FM 'REUSE_ALV_GRID_DISPLAY. 
    We have requirement to remove leading zeros for the field like Material Number (MATNR), Equipment Number (EQUNR) etc. We did the changes by applying the field catalog properties as below.
    lw_fieldcat-lzero = space.
    lw_fieldcat-no_zero = 'X'.
    After this, the MATNR and EQUNR is displayed correctly in the ALV. (Leading zeros are suppressed). But, when we do filter for these fields, in the filter window it displays all the values with leading zeros.
    1. We don't understand why it is showing in the Filter widow with all leading zeros. All it shows all the records instead of unique items.
    Later on, we removed the above fieldcat coding. Then, we have called the CONVERSION_EXIT routines (in the domain) for the fields to remove leading zeros.
    Now, the MATNR and EQUNR is displayed correctly (without leading zeros) in ALV. When we do filter, it is also doing filtering correctly. But, when we do filter which have EQUNR having long values (after zero suppression), it is not working correctly. i.e no items are displayed in the ALV.
    Not only for this items. If we filter character columns which have long text, it is not filtering correctly.
    2. It is not able to understand why the filtering is not working for long items. But in the standard report, the filtering is working correctly.
    We are using SAP ECC 6.0.
    Friends, can you clarify the about doubts. It is surprising for me.
    Kind regards,
    Jegathees P.
    Our customer is asked to remove the leading zeros for the numeric field

    Hi Clemens Li
    I agreed on your point. When we define the Internal table the type for element EQUNR & QUMNR , we are referring the SAP data element for EQUNR, QMNUM field.
    Our doubt is even though we refer the standard data element, in the ALV display, it shows with leading zeros and also it creates problems in the filtering and in the filter window all values instead of unique nos.
    Hi Abhii
    I have given below the fieldcat coding.
    Friends, can you kindly clarify the above said problems. Since we use SAP ECC 6.0 any notes or patches apply is required. ( this is the basic functionality in ALV, that is my doubt).
        wls_fieldcat-col_pos   = wpv_pos.
        wls_fieldcat-fieldname = wpv_champ.
        wls_fieldcat-tabname   = wlc_tabname.
      wls_fieldcat-seltext_s = wls_fieldcat-seltext_m
        wls_fieldcat-seltext_l = wpv_libelle.
        wls_fieldcat-ddictxt   = 'L'.
        wls_fieldcat-no_out    = wv_no_out.
        APPEND wls_fieldcat TO gt_fieldcat.
    Kind regards,
    Jegathees P.

  • LaserJet Pr0 200 color MFP M276nw Touch Screen not Working correctly

    Hello, I'm having an issue with a LaserJet Pr0 200 color MFP M276nw Touch Screen not Working correctly. I have followed the instructions to reset the printer, but now am unable to select 'English' as my language because every time I select the 'English' option 'Spanish' is selected. I am then given two options to select 'Si' or 'No' both of which can not be selected on the touch screen?
    Anybody know of a way round this?

    Hi @dnhowes ,
    I see that you are having issues with the touch screen not working correctly. I will do my best to help you.
    Make sure the printer is connected directly to a wall outlet. (don't use a power hub or a surge protector) This ensures the printer is receiving full power and may help this situation.
    Was it the Nvram reset back to factory settings that you tried or a hard reset?
    Try selecting the option on the display a little higher above the icon to see if that helps. Some touch screens are finicky.
    I find that on the Lab printers when I am selecting different menus.
    If the issue continues, please call our technical support at 800-474-6836 for further assistance. If you live outside the US/Canada Region, please click the link below to get the support number for your region.
    http://www8.hp.com/us/en/contact-hp/ww-phone-assist.html
    Have a nice day!
    Thank You.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Gemini02
    I work on behalf of HP

  • System Update not working correctly

    Hi forum,
    System Update (Version 4.00.0024) is not working correctly on my T500 with Windows 7.
    1: Not detecting old versions
    SU is not detecting, that there is an old version of Access Connection (5.42) installed although there is a new version 5.50 avaliable. I had to do a manual update.
    2: Not installing a suggested update
    Each time I run SU, I get a suggested update for "Fix for Issue of HDD with HDP Detection for Windows Vista/7". After downloading there comes a meaningless message "package was not installed" (Paket wurde nicht installiert). No hint for any error.
    3: Some drivers (e.g. for the ultranav) have not been downloaded at all - I had to test the functions of some hardware components and download the appropriate drivers manually in case of malfuncion.
    Probably there is a solution known within the forum community, at least this should be a message to lenovo (I received no response from the help desk when reporting this finding).
    Regards
    AH_DE

    Dear Herik,
    thanks for your answer.
    I checked the log  file and found thousands of entries. Here are the lines related to "Fix for ...".
    Info    2010-02-03 , 08:40:37
              bei Tvsu.Gui.CustomComponents.UpdatePanel.SynchronizeBoxPackage(Object sender, EventArgs args)
              Message: Selected to install: Fix for Issue of HDD with HDP Detection for Windows Vista/7, with
    Info    2010-02-03 , 08:40:43
              bei Tvsu.Coreq.LoadCoreqsProcessor.ProcessUpdatesImplementation(Update[] ups)
              Message: Candidate list:
    Fix for Issue of HDD with HDP Detection for Windows Vista/7[reboot type 3]
    Info    2010-02-03 , 08:40:57
              bei Tvsu.GenericPackageInstaller.GenericPackageInstaller.ExtractFiles(String extractCommand)
              Message: osfq03ww.exe -s -ex -fC:\SWTOOLS\OSFIXES Extract command was executed sucessfully in Fix for Issue of HDD with HDP Detection for Windows Vista/7 update
    Info    2010-02-03 , 08:40:57
              bei Tvsu.GenericPackageInstaller.CmdInstaller.InstallUpdate()
              Message: Update Fix for Issue of HDD with HDP Detection for Windows Vista/7 is being install using Windows Service
    Info    2010-02-03 , 08:40:57
              bei Tvsu.Engine.Process.PackageInstallerProcess.InstallNewUpdates()
              Message: Update Fix for Issue of HDD with HDP Detection for Windows Vista/7 installation failed
    ADDITIONAL ENTRIES 
    Info    2010-02-03 , 08:40:57
              bei Tvsu.Gui.FlowScreens.Results.AdjustComponent()
              Message: System updated:
              Installed=0
              Not Installed=Tvsu.Beans.Update[]
              Deferred=0
              Download Failed=0
              Hidden=0
    Severe          2010-02-03 , 08:41:17
              bei Tvsu.Sdk.SuSdk.ShutDownApplication()
              Message: Has happened an exception while the UNCAuthenticator.Shutdown() was executedShare name can not be null or empty
    Since I'm a normal user only, I can't interprete this information. Do you know what to do?
    Kind Regards
    AH_DE

  • Internet Explorer 11 "Enterprise Mode" do not work or do not work correctly!

    Dear community,
    Since yesterday we test the Feature "Enterprise Mode" for "Internet Explorer 11". However, we have many problems
    with this Feature. We have configured it as described by officially instruction by MS, but it does not work
    properly. Here is what we have done exactly to test this Feature:
    In Registry Key " HKEY_LOCAL_MACHINE \ Software \ Policies \ Microsoft \ Internet Explorer \ Main \ Enterprise Mode " we have created the Entry " Site List " and create the string " Enable" . In the
    String "Enable" we have added no value . 
    In Case of String "Site List" , we have specified the path to the XML file , as value of this String.
    The XML file was created with the Site List Manager from Microsoft
    And now, we regocnized following Problems:
    The "Enterprise Mode" ist only "active", if the User(!) check "Enterprise Mode" under "Tools"...!
    The site list is seemingly ignored, although in the Registry "currentversion" is pulled correctly, everytime we change
    the XML File. So we think "SiteList" is configured well.
    On one of our test computer freezes Internet Explorer 11 , if you try to hook the corporate mode
    In Summary, it seems to be configured properly but it even do not work or not work correctly.
    Our goal would be:
    Enterprise Mode + access to the Site List by IE11 should be "on" by Default!
    Entrys of sitelist.XML should be filtered and shown in "Enterprise Mode" or/and the right "DocMode", as configured.
    The user should have no chance  to check on or off the"enterprise mode"
    We use "Windows 7" on all our Clients, as test Clients are also running the same operating System...
    Please reply
    Thank you very much
    Greetings!
    Ps: Please do not be angry if pronunciation or grammar do not fit well. English is not my nature language (my nature language is german)

    Hi,
    According to your description, seems the end-users can manually turn on\off the enterprise mode, If you don''t want this, you can disable the option.
    Computer(User) Configuration > Administrative Templates > Windows Components > Internet Explorer\Let users turn on and use Enterprise Mode from the Tools menu option
    Disable this option, user will not have "Enterprise Mode" under "Tools", after that, please run gpupdate /force to update the policy, and get "Use the Enterprise Mode IE website list" applied again in the target system.
    After that, the enterprise mode website list get applied again, and user don't have an option to disable it.
    Yolanda Zhu
    TechNet Community Support

  • Why can I not import pictures any more? Lightroom says "Your Lightroom 5 64-bit does not work correctly"

    Why can I not import pictures any more?
    Lightroom says "Your Lightroom 5 64-bit does not work correctly"
    Technical informations:
    PC with Windows 7 64-bit, Lightroom 5.7.1 64-bit installed.
    What I have done:
    I downloaded the newest LR 5.71 and installed it again - mode repair; without success
    I checked my PC with Norton 360: full scanning and optimizing registry
    I restarted the PC and than I installed the LR 5.7 again - repair
    Trouble 1:
    Two days ago I could work with my LR 5 and to import pictures from a SD was no problem. Now I can start LR 5 and I can watch/modify pictures, but as soon as I try to import new pictures LR 5 stops and gives the message "your LR 5 64-bit does not work correctly - searching for solution". I have not changed anything in my computer since lasttime LR 5 worked properly, only the registry was optimized by Norton 360.
    Trouble 2:
    I live in Switzerland and my language ist German. I dit not find a place where I can present my problem in German, e.g. a phone number oder email-address oder german-chat. My English is to week for a discussion for computer problems and do understand it.
    Help:
    I would very appreciate if anybody can help me, either to trouble 1 or to trouble 2. Thanks.

    Sehen Sie diesen Beitrag:
    Photoshop CS4 & Lightroom 2.6 X64 funktionieren nicht mehr
    Wacom Tablet-Treiber-Problem?

  • Some time tech pad not working correctly

    I am buy a HP Pavilion laptop from awok.com. Some time mouse teach pad not working correctly some time open windows 8.1 time bar and some time i am using mouse teach pad then automaticly come right click popup menu coming some time i am try to scrol the page using mouse pad then automaticly Select all from the page so please help me

    Hello @BABUMON ,
    Thank you for visiting the HP Support Forums and Welcome. I have read about your HP Notebook and mouse freezing. Here is a document on how to troubleshoot the mouse and Touchpad sensitivities.
    If you will go to the section on Adjusting TouchPad or ClickPad pointing sensitivities it should help resolve the issue.
    I would be happy to assist if needed as there are many models of HP Notebooks, I would need the model number.
    How Do I Find My Model Number or Product Number?
    Please respond with which Operating System you are running:
    Which Windows Operating System am I running?
    Please let me know.
    Thanks.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom to say “Thanks” for helping!

  • Canon MG3550 is not working correctly

    Hello,
    I have recently bought Canon MG3550. I installed the driver etc but the printer is not working correctly. Sometimes it prints without any issues but other times it:
    - does not pick the printer - saying it's offline even though it's not (this is from laptop, iPad, phone...not just from one device)
    - does not print - the error message appears after a while saying that the printer is not responding
    - prints half of the page...or just picks up a paper but doesn't print at all
    I tried to de-install and re-install the driver etc. but it did not help. The printer is still behaving the same unpredictable way.
    Do you have any ideas how to solve it? It is a faulty device or am I doing something wrong? 
    Thank you

    Your tags show iPad. You need the iPad 3 or newer in order to have Siri. What iPad do you have?
    There are a number of apps that are compatible with Word....Documents to Go, Pages, Quick Office Pro .... You need an app that will read, save and Word files on the iPad and if you don't have such an app, all that you can do is email the file and read it in the email. You will not be able to save or edit the files.
    After you download one of this apps, you can use email, DropBox, and IOS file sharing in order to transfer the documents back and forth. You can use iCloud as described above with Pages or any other app that works with iCloud.
    Read this to learn more about file sharing.
    http://support.apple.com/kb/HT4094

  • TS1702 siri is not working correctly

    siri is not working correctly & i need how to transfer the Microsoft office files example MS-Word file from my laptop to Ipad. how i install alredy purchased apps to my Ipad.

    Your tags show iPad. You need the iPad 3 or newer in order to have Siri. What iPad do you have?
    There are a number of apps that are compatible with Word....Documents to Go, Pages, Quick Office Pro .... You need an app that will read, save and Word files on the iPad and if you don't have such an app, all that you can do is email the file and read it in the email. You will not be able to save or edit the files.
    After you download one of this apps, you can use email, DropBox, and IOS file sharing in order to transfer the documents back and forth. You can use iCloud as described above with Pages or any other app that works with iCloud.
    Read this to learn more about file sharing.
    http://support.apple.com/kb/HT4094

  • Keyboard not working correctly on laptop. What do I do?

    so I was using windex to clean my laptop and it went on my keyboard too. I cleaned it off but I noticed that it was not functioning properly. Some letters were not even working. After 24 hrs. almost everything is working but not correctly. Some keys be typing weird things and opening programs. Like w types out 2w and e opens a program. F8 doesn't work either. Please help.

    Hello gurmeet1126,
    Welcome to the HP Forums!
    I understand the keyboard is not working correctly. I'll do my best to help, but first I require the following information:
    1. The computer's model number. If you require assistance locating this information, please reference this website: Guide to finding your notebook product number
    2. The computer's operating system. If you require assistance locating this information, please reference this website to determine your Windows operating system.
    3. Does this occur on certain programs, or all programs?
    4. Have you installed any new software or drivers on this computer, before the issue appeared?
    Also, try another keyboard. This will help determine whether or not the issue is with one keyboard or several. Thanks!
    Mario
    I worked on behalf of HP.

  • Auto Rotation not working correctly Radius p55w B5112

    It has not worked correctly since I bought it. I have recovered from image fresh again, and then went through and hit windows update and updated 134 updates. Auto rotate does not work in tablet or in presentation mode. The keyboard never shuts off and I can type in tablet mode. If I have this on my lap, the buttons are pressed. I have a lock on my screen rotation, it is greyed out and I cannot access it. Any other suggestions to fix this?? Everthing else works great!

    Model Name: P55W-B5112
    Part Number: PSVP3U-003003 Support site here If it is brand new and not working correctly then I suggest bringing it back and requesting a replacement or refund.  It should work perfectly brand new without having to fuss around. 

  • Ps CC 2014 is not working correctly after mac update to Yosemite 10.10.1.  Select does not protect unselected areas.  Magic eraser erases unselected ares.

    Ps CC 2014 is not working correctly after mac update to Yosemite 10.10.1.  Select does not protect unselected areas.  Magic eraser erases unselected ares.

    Yes my particular issue is not like yours. However, there have been many other laptop users experiencing similar problem to yours after 3.10 kernel. Mostly it seems to be bumblebee users that experience your problem with the blank screen. We do know that nvidia have yet to make their official drivers work with kernel 3.10 and up. The drivers in the Arch repository have been patched to work with 3.10. From what I have seen, this also only seem to be affecting laptops with newer nvidia gpu's. I fear there is not much to do with this problem until nvidia give official 3.10 kernel support.
    My suggestion would be to stick with 3.9.9 kernel and the drivers that work with it, and don't upgrade those packages until nvidia has addressed these issues. If you have a look at the nvidia forums you will see quite a number of topics mentioning black screen when starting x on 3.10 kernel, and also a thread for the system dying. Reading some of the threads there may help you keep up to date on whether or not the issue seem to be solved.
    https://devtalk.nvidia.com/default/board/98/

Maybe you are looking for