Print string

I try to print this string and for some reason any start-up printer print the text does not appear.

for example, I put in "Harold" to the string and the printer prints a blank sheet of paper

Here is the code:

In my vi, I used the 'simple text report' vi, which has a terminal of enter cluster "margins" in the upper part.  I put all the margins to 0.15.

Tags: NI Software

Similar Questions

  • You can print only the pages from the specific master page?

    I'm laying a big enough technical book using InDesign CS4 and need to print evidence of pages that use a specific custom master page. Rather than scroll the window to the Page and write the page numbers that use this specific basic form, I would have a quick way to do it. If someone knows a way to do this through script or other means, I would really appreciate the help. Thank you!

    NOTE: Originally posted in general, discussion, and recommended it to the forum script.

    Straight to the point, it seems to me. Commenting on a wide was free, today.

    // Gather Master Spread names
    masterlist = app.activeDocument.masterSpreads.everyItem().name;
    // Create a simple yet effective dialog
    masterDialog = app.dialogs.add ({name:"Select Your Master",canCancel:true});
    with (masterDialog)
    {
              with (dialogColumns.add())
              {
                        with (dialogRows.add())
                        {
                                  listbox1 = dropdowns.add ({stringList:masterlist, selectedIndex:0});
                        }
              }
    }
    
    // Get input
    if (masterDialog.show())
    {
              selectedName = masterlist[listbox1.selectedIndex];
              // Build Print string
              pages = [];
              for (i=0; i		   
  • 2651 a conversion of TSP Script for LabVIEW

    Hello

    I have a problem on the conversion of all TSP scripts that contain functions and appeal for the end loops. I'm new to the TSP with models of trigger scripts. I used the Script Builder (TSB) Test tool and am able to run any TSP and generate raw data, but I don't seem able to convert most of the codes in the command of LabVIEW VISA or loader LV TSP TSP and run it to generate data... I can't find any tutorial or examples how to do it.

    Let's say that... Use the example of KE2651A_Fast_ADC_Usage.tsp (pulse) and I'll just focus on the portion of function CapturePulseV (pulseWidth, pulseLimit, pulseLevel, numPulses). I have seen a few examples of LV that says loadscript myscript and close on endscript.  I did a lot of different approaches, and I kept getting errors in particular the print function that I am not able to generate data through LV by to read the data in the buffer to inside the instrument. Some approaches, I have had no errors but no data... Some approaches, I got error-285.

    The part of the code TSP pulse that works in TSB is here (I'm not including loadscript and endscript) and what is the RIGHT way to modify the code for LabVIEW and run it and obtain data? Thank you:

    function CapturePulseV(pulseLevel, pulseWidth, pulseLimit, numPulses)
        if (numPulses == nil) then numPulses = 1 end
    
        -- Configure the SMU
        reset()
        smua.reset()
        smua.source.func            = smua.OUTPUT_DCVOLTS
        smua.sense                  = smua.SENSE_REMOTE
        smua.source.rangev          = pulseLevel
        smua.source.levelv          = 0     -- The bias level
        smua.source.limiti          = 5     -- The DC Limit
        smua.measure.autozero       = smua.AUTOZERO_ONCE
    
        -- Use a measure range that is as large as the biggest
        -- possible pulse
        smua.measure.rangei         = pulseLimit
        smua.measure.rangev         = pulseLevel
    
        -- Select the fast ADC for measurements
        smua.measure.adc            = smua.ADC_FAST
    
        -- Set the time between measurements.  1us is the smallest
        smua.measure.interval       = 1e-6
    
        -- Set the measure count to be 1.25 times the width of the pulse
        -- to ensure we capture the entire pulse plus falling edge.
        smua.measure.count          =
                        (pulseWidth / smua.measure.interval) * 1.25
    
        -- Prepare the reading buffers
        smua.nvbuffer1.clear()
        smua.nvbuffer1.collecttimestamps    = 1
        smua.nvbuffer1.collectsourcevalues  = 0
        smua.nvbuffer2.clear()
        smua.nvbuffer2.collecttimestamps    = 1
        smua.nvbuffer2.collectsourcevalues  = 0
        -- Can't use source values with async measurements
    
        -- Configure the Pulsed Sweep setup
        -----------------------------------
        -- Timer 1 controls the pulse period
        trigger.timer[1].count          = numPulses - 1
        -- -- 1% Duty Cycle
        trigger.timer[1].delay          = pulseWidth / 0.01
        trigger.timer[1].passthrough    = true
        trigger.timer[1].stimulus       = smua.trigger.ARMED_EVENT_ID
    
        -- Timer 2 controls the pulse width
        trigger.timer[2].count          = 1
        trigger.timer[2].delay          = pulseWidth - 3e-6
        trigger.timer[2].passthrough    = false
        trigger.timer[2].stimulus       =
                    smua.trigger.SOURCE_COMPLETE_EVENT_ID
    
        -- Configure SMU Trigger Model for Sweep/Pulse Output
        -----------------------------------------------------
        -- Pulses will all be the same level so set start and stop to
        -- the same value and the number of points in the sweep to 2
        smua.trigger.source.linearv(pulseLevel, pulseLevel, 2)
        smua.trigger.source.limiti      = pulseLimit
        smua.trigger.measure.action     = smua.ASYNC
        -- We want to start the measurements before the source action takes
        -- place so we must configure the ADC to operate asynchronously of
        -- the rest of the SMU trigger model actions
    
        -- Measure I and V during the pulse
        smua.trigger.measure.iv(smua.nvbuffer1, smua.nvbuffer2)
    
        -- Return the output to the bias level at the end of the pulse/sweep
        smua.trigger.endpulse.action    = smua.SOURCE_IDLE
        smua.trigger.endsweep.action    = smua.SOURCE_IDLE
        smua.trigger.count              = numPulses
        smua.trigger.arm.stimulus       = 0
        smua.trigger.source.stimulus    = trigger.timer[1].EVENT_ID
        smua.trigger.measure.stimulus   = trigger.timer[1].EVENT_ID
        smua.trigger.endpulse.stimulus  = trigger.timer[2].EVENT_ID
        smua.trigger.source.action      = smua.ENABLE
    
        smua.source.output              = 1
        smua.trigger.initiate()
        waitcomplete()
        smua.source.output              = 0
    
        PrintPulseData()
    end
    
    function PrintPulseData()
        print("Timestamp\tVoltage\tCurrent")
        for i=1, smua.nvbuffer1.n do
            print(string.format("%g\t%g\t%g",
                                smua.nvbuffer1.timestamps[i],
                                smua.nvbuffer2[i],
                                smua.nvbuffer1[i]))
        end
    end
    

    I finally solved it myself! I first create support shell, according to the documents, but the problem was with functions of scripts but I solved by introducing VISA separate, feature writing and THEN retrieve the data from the instrument directly by VISA buffer read more. I did TSP_Function Script Loader that allows simply copy/paste codes teaspoon (any * .tsp) of: TSB program or incorporated into this type of function and loader.vi, name (parameters), defined by its own pasted script then it will generate RAW files directly in the array of strings that can be broken into pieces or restructured into what you want as for the graphics, etc..

    That's all I really need to do, I can do codes of tsp in LV and get the data off of it easily via the function defined. Now, this Loader.VI behaves in the same way that TSB keithley-made program I use.

    Here I add Loader.vi Script TSP_Function (in LV 2011 +).

  • Need help with a regular expression

    I have a Zebra printer string that I want to analyze some information, but I can't get a single regex to do.

    The string is like the following:

    ↑ FT342, 695 ^ A0N, 83, 81 ^ FH\ ^ FDS/N: [[WIDGET]] ^ FS

    ^ FT793, 1170 ^ A0N, 67, 67 ^ FH\ ^ ea FD1. Widget #00123 ^ FS

    ^ FT793, 1170 ^ A0N, 67, 80 ^ FH\ ^ ea FD2. #00456 Widget Deluxe ^ FS

    ^ FT793, 1170 ^ A0N, 67, 90 ^ FH\ ^ FD #0789 ^ FS

    I want what is in red. It will vary from one label to the label. I will use the results to show to the user what label it is printing. Who is blue only varies, if that helps anything.

    Thanks for any help!

    Here would be a way using regular expressions. Again, you have to ignore the first entry and this version will add a blank entry in the last position of the table. Wil you have more entries if your label contains more than what you have posted...

  • problem of regular expression with brackets

    Hello

    I have a Zebra printer string that contains tokens that I want to search.

    ^ BY2, 3, 55 ^ FT50, 219 ^ BCN, Y, N... ^ FD >: [[number 1]] ^ FS
    ^ BY2, 3, 55 ^ FT525, 221 ^ BCN, Y, N... ^ FD >: [[serial number 2]] ^ FS
    ^ FT170, 192 ^ XG000. GRF, 1, 1 ^ FS
    ^ FT220, 430 ^ A0N, 27, 27 ^ FH\ ^ ea FD2. #00931 drum kit / ^ FS
    ↑ FT350, 460 ^ A0N, 27, 27 ^ FH\ ^ FD #00602 ^ FS
    ^ FO10, 32 ^ GB780, 480, 8 B, 1 ^ FS
    ^ FT720, 500 ^ A0N, 10, 10 ^ FH\ ^ FD [[Date Code]] ^ FS

    I want to find any instance of double hooks regardless of the bracketed text. I find [[SerialNumber 1]] for example, but I also want to analyze the entire string and ensure that there no case [[text]] left in the string. I was not able to build a regular expression that will find them.

    Hi elrathia,.

    Please find below screenshot

    Kind regards

    SrikrishnaNF

  • create and write input by the user in a txt file

    Hey all

    Below, I added a piece of code... I would like to take the data and store it in a txt file as soon as the user clicks on the button field, I tried several times to get this figured out and google it fot too long now. could someone be so kind to help me please?

    Thank you

    btnRegister = new ButtonField ("Register", ButtonField.CONSUME_CLICK);

    customListener = new FieldChangeListener() {}
    ' Public Sub fieldChanged (field field, int context) {}
    Dialog.Alert ("you will receive an email as soon as your account has been activated!");
    }
    };
    Add (btnRegister);
    btnRegister.setChangeListener (customListener);
    }
    store users entry in a txt file, if no txt file, then create one.
    {} public void createFile()
    System.out.println ("registry"); Screen prints
    String data = Username.getText ();
    String Data1 = enterPIN.getText ();
    data from Byte [] = "Registration".getBytes ();
    try {}
    FileConnection fconn is (FileConnection) Connector.open (NewRegFileName, Connector.READ_WRITE);.
    If (fconn.exists ()) {}
    fconn. Delete();
    fconn. Create();
    System.out.println ("created txtfile");
    OutputStream os = fconn.openOutputStream ();
    System.out.println ("write data");
    OS. Write (Data);
    OS. Close();
    fconn. Close();
    }
    }
    catch (IOException e) {}
    System.out.println ("NewRegFileName" + (Data));
    }

    System.exit(); Quit the application after registration
    }
    Screen.onClose ();
    / * public boolean onClose() {//Exit application after registration
    System.Exit (0);
    Returns true;
    }*/
    Screen.Close (); Quit the application after registration
    }

    When you call createFile()?

  • Beginner JavaBeans

    I'm new in the development of javabeans and I need your help, if I could provide information on how to create a JDeveloper 11 g javabeans from scratch

    Thank you all for your replies, to finally create the beans

    package oracle.forms;

    import java.awt.print.PrinterException;

    import java.awt.print.PrinterJob;

    import java.io.File;

    import java.io.IOException;

    import java.net.URI.

    import java.net.URISyntaxException;

    Import javax.print.PrintService;

    Import javax.print.PrintServiceLookup;

    to import javax.swing.JComponent;

    Import org.apache.pdfbox.exceptions.COSVisitorException;

    Import org.apache.pdfbox.pdmodel.PDDocument;

    SerializableAttribute public class PrintOracleForms extends JComponent

    {

    public PrintOracleForms() {}

    }

    public print String (String archivo) throws COSVisitorException

    {

    String archivoURI = "file:///"+archivo;

    System.out.println ("Entro!" (+ file);

    PrinterJob printerJob.

    Patrick PrintService = PrintServiceLookup.lookupDefaultPrintService ();

    If (Patrick == null) {}

    System.out.println ("are printers instaladas No");

    return "error impresion 1: No. are printers instaladas."

    }

    printerJob = PrinterJob.getPrinterJob ();

    try {}

    printerJob.setPrintService (Patrick);

    } catch (e PrinterException)

    {

    System.out.println (e.getMessage ());

    return "error impresion 2:" + e.getMessage ();

    }

    PDDocument pdDocument = null;

    Try

    {

    pdDocument = PDDocument.load (new File (new URI (archivoURI)));

    } catch (IOException e)

    {

    System.out.println (e.getMessage ());

    return "error printing 3:" + e.getMessage ();

    } catch (URISyntaxException e)

    {

    System.out.println (e.getMessage ());

    return "error impresion 4:" + e.getMessage ();

    }

    Try

    {

    pdDocument.silentPrint (printerJob);

    } catch (e PrinterException)

    {

    System.out.println (e.getMessage ());

    return "error printing 5:" + e.getMessage ();

    }

    back printed "document";

    }

    }

  • Minimum/Maximum of check and value specific arrival textfield

    Hi all

    I do proof before printing. What I try to do is to validate if the JobCard field has a digital length less or more than 12, alert the user, but it alerts used. Second validation is that, after having noted that the length of number = 12, then check if the entered number starts with 5300100 or 5300200 then pint, to do this I don't know what code to use.

    This is the only code that I could work my own:

    If (this.resolveNode("JobCard").value < 12 |) ( this.resolveNode("JobCard").value > 12) {

    XFA. Host.message ("Invalid Value")

    }

    Sorry, but I'm not a programmer. I put the JobCard field as float (so when came it won't use a coma separator so more 4-digit) and not an integer.

    Also is there a way to not show the print dialog cancelled that displays automatically when printing is canceled.

    Thank you

    convert int to string, use the method of the length.

    var a = this.rawValue; value of digital field

    var newValueLength = a.toString () .length; convert int to String using the toString() method

    App.Alert (newValueLength); print string length

    I hope this helps.

    Thank you

  • Unable to load library ' / usr/lib64/php/modules/oci8.so'-libclntsh.so.11.1

    Hi all


    I have a problem with installing OCI8 and I would be grateful if you could kindly guide me how to solve this problem.

    I started to read the following articles to find out how to install the package OCI8 to install between PHP and oracle

    http://www.php.net/manual/en/oci8.installation.php

    http://www.Oracle.com/technetwork/articles/TechNote-PHP-instant-084410.html


    Here is my description of the environment
    OS: Fedora Core 17 (X86_64)
    Oracle version: Oracle Enterprise Edition 11gR2 (11.2.0.1.0) X86_64
    PHP Version: 5.4.13
    Apache version: 2.2.23
    Just a detail: almost every documentation begins by explaining the instant client installation. However, on the same physical machine, before you even install Apache and PHP. Oracle server was completely installed, i.e. both server and client (SQL * Plus, SQL * Loader,...). Accordingly, I have omitted this step in the documentation and I continued by measured install OCI8 and apparently everything has been compiled successfully (no error message).

    Problem: OCI8 does not appear in the phpinfo() function

    This suggests that there is a problem. I'll write exactly how I did and I would be grateful if you could well want to take a look at these steps and say if I made errors

    I started by running as ROOT. As I said the oracle server has already been installed on the machine and therefore all environment variables required as LD_LIBRARY_PATH ORACLE_SID,... have already been defined in ~/.bash_profile
    And if you look at the output below, you can see that for example ORACLE_HOME is detected automatically during the installation (* check Oracle ORACLE_HOME install directory... u01/app/oracle/product/11.2.0/db_1*)
    # pecl install oci8
    It gave me the following result
    # pecl install oci8
    downloading oci8-1.4.9.tgz ...
    Starting to download oci8-1.4.9.tgz (169,255 bytes)
    .....................................done: 169,255 bytes
    10 source files, building
    running: phpize
    Configuring for:
    PHP Api Version:         20100412
    Zend Module Api No:      20100525
    Zend Extension Api No:   220100525
    Please provide the path to the ORACLE_HOME directory. Use 'instantclient,/path/to/instant/client/lib' if you're compiling with Oracle Instant Client [autodetect] : 
    building in /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9
    running: /var/tmp/oci8/configure --with-oci8
    checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/bin/grep -E
    checking for a sed that does not truncate output... /usr/bin/sed
    checking for cc... cc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether cc accepts -g... yes
    checking for cc option to accept ISO C89... none needed
    checking how to run the C preprocessor... cc -E
    checking for icc... no
    checking for suncc... no
    checking whether cc understands -c and -o together... yes
    checking for system library directory... lib
    checking if compiler supports -R... no
    checking if compiler supports -Wl,-rpath,... yes
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking target system type... x86_64-unknown-linux-gnu
    checking for PHP prefix... /usr
    checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib
    checking for PHP extension directory... /usr/lib64/php/modules
    checking for PHP installed headers prefix... /usr/include/php
    checking if debug is enabled... no
    checking if zts is enabled... no
    checking for re2c... no
    configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
    checking for gawk... gawk
    checking for Oracle Database OCI8 support... yes, shared
    checking PHP version... 5.4.13, ok
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking size of long int... 8
    checking checking if we're on a 64-bit platform... yes
    checking Oracle ORACLE_HOME install directory... /u01/app/oracle/product/11.2.0/db_1
    checking ORACLE_HOME library validity... lib
    checking Oracle library version compatibility... 11.1
    checking how to print strings... printf
    checking for a sed that does not truncate output... (cached) /usr/bin/sed
    checking for fgrep... /usr/bin/grep -F
    checking for ld used by cc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    checking the name lister (/usr/bin/nm -B) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 1572864
    checking whether the shell understands some XSI constructs... yes
    checking whether the shell understands "+="... yes
    checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
    checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
    checking for /usr/bin/ld option to reload object files... -r
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for dlltool... no
    checking how to associate runtime and link libraries... printf %s\n
    checking for ar... ar
    checking for archiver @FILE support... @
    checking for strip... strip
    checking for ranlib... ranlib
    checking for gawk... (cached) gawk
    checking command to parse /usr/bin/nm -B output from cc object... ok
    checking for sysroot... no
    checking for mt... no
    checking if : is a manifest tool... no
    checking for dlfcn.h... yes
    checking for objdir... .libs
    checking if cc supports -fno-rtti -fno-exceptions... no
    checking for cc option to produce PIC... -fPIC -DPIC
    checking if cc PIC flag -fPIC -DPIC works... yes
    checking if cc static flag -static works... no
    checking if cc supports -c -o file.o... yes
    checking if cc supports -c -o file.o... (cached) yes
    checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... no
    configure: creating ./config.status
    config.status: creating config.h
    config.status: executing libtool commands
    running: make
    /bin/sh /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/libtool --mode=compile cc  -I. -I/var/tmp/oci8 -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/include -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/main -I/var/tmp/oci8 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/u01/app/oracle/product/11.2.0/db_1/rdbms/public -I/u01/app/oracle/product/11.2.0/db_1/rdbms/demo  -DHAVE_CONFIG_H  -g -O2   -c /var/tmp/oci8/oci8.c -o oci8.lo
    libtool: compile:  cc -I. -I/var/tmp/oci8 -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/include -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/main -I/var/tmp/oci8 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/u01/app/oracle/product/11.2.0/db_1/rdbms/public -I/u01/app/oracle/product/11.2.0/db_1/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /var/tmp/oci8/oci8.c  -fPIC -DPIC -o .libs/oci8.o
    /bin/sh /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/libtool --mode=compile cc  -I. -I/var/tmp/oci8 -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/include -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/main -I/var/tmp/oci8 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/u01/app/oracle/product/11.2.0/db_1/rdbms/public -I/u01/app/oracle/product/11.2.0/db_1/rdbms/demo  -DHAVE_CONFIG_H  -g -O2   -c /var/tmp/oci8/oci8_lob.c -o oci8_lob.lo
    libtool: compile:  cc -I. -I/var/tmp/oci8 -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/include -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/main -I/var/tmp/oci8 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/u01/app/oracle/product/11.2.0/db_1/rdbms/public -I/u01/app/oracle/product/11.2.0/db_1/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /var/tmp/oci8/oci8_lob.c  -fPIC -DPIC -o .libs/oci8_lob.o
    /bin/sh /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/libtool --mode=compile cc  -I. -I/var/tmp/oci8 -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/include -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/main -I/var/tmp/oci8 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/u01/app/oracle/product/11.2.0/db_1/rdbms/public -I/u01/app/oracle/product/11.2.0/db_1/rdbms/demo  -DHAVE_CONFIG_H  -g -O2   -c /var/tmp/oci8/oci8_statement.c -o oci8_statement.lo
    libtool: compile:  cc -I. -I/var/tmp/oci8 -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/include -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/main -I/var/tmp/oci8 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/u01/app/oracle/product/11.2.0/db_1/rdbms/public -I/u01/app/oracle/product/11.2.0/db_1/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /var/tmp/oci8/oci8_statement.c  -fPIC -DPIC -o .libs/oci8_statement.o
    /bin/sh /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/libtool --mode=compile cc  -I. -I/var/tmp/oci8 -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/include -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/main -I/var/tmp/oci8 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/u01/app/oracle/product/11.2.0/db_1/rdbms/public -I/u01/app/oracle/product/11.2.0/db_1/rdbms/demo  -DHAVE_CONFIG_H  -g -O2   -c /var/tmp/oci8/oci8_collection.c -o oci8_collection.lo
    libtool: compile:  cc -I. -I/var/tmp/oci8 -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/include -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/main -I/var/tmp/oci8 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/u01/app/oracle/product/11.2.0/db_1/rdbms/public -I/u01/app/oracle/product/11.2.0/db_1/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /var/tmp/oci8/oci8_collection.c  -fPIC -DPIC -o .libs/oci8_collection.o
    /bin/sh /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/libtool --mode=compile cc  -I. -I/var/tmp/oci8 -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/include -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/main -I/var/tmp/oci8 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/u01/app/oracle/product/11.2.0/db_1/rdbms/public -I/u01/app/oracle/product/11.2.0/db_1/rdbms/demo  -DHAVE_CONFIG_H  -g -O2   -c /var/tmp/oci8/oci8_interface.c -o oci8_interface.lo
    libtool: compile:  cc -I. -I/var/tmp/oci8 -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/include -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/main -I/var/tmp/oci8 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/u01/app/oracle/product/11.2.0/db_1/rdbms/public -I/u01/app/oracle/product/11.2.0/db_1/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /var/tmp/oci8/oci8_interface.c  -fPIC -DPIC -o .libs/oci8_interface.o
    /bin/sh /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/libtool --mode=link cc -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/include -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/main -I/var/tmp/oci8 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/u01/app/oracle/product/11.2.0/db_1/rdbms/public -I/u01/app/oracle/product/11.2.0/db_1/rdbms/demo  -DHAVE_CONFIG_H  -g -O2   -o oci8.la -export-dynamic -avoid-version -prefer-pic -module -rpath /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/modules  oci8.lo oci8_lob.lo oci8_statement.lo oci8_collection.lo oci8_interface.lo -Wl,-rpath,/u01/app/oracle/product/11.2.0/db_1/lib -L/u01/app/oracle/product/11.2.0/db_1/lib -lclntsh
    libtool: link: cc -shared  -fPIC -DPIC  .libs/oci8.o .libs/oci8_lob.o .libs/oci8_statement.o .libs/oci8_collection.o .libs/oci8_interface.o   -L/u01/app/oracle/product/11.2.0/db_1/lib -lclntsh  -O2 -Wl,-rpath -Wl,/u01/app/oracle/product/11.2.0/db_1/lib   -Wl,-soname -Wl,oci8.so -o .libs/oci8.so
    libtool: link: ( cd ".libs" && rm -f "oci8.la" && ln -s "../oci8.la" "oci8.la" )
    /bin/sh /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/libtool --mode=install cp ./oci8.la /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/modules
    libtool: install: cp ./.libs/oci8.so /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/modules/oci8.so
    libtool: install: cp ./.libs/oci8.lai /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/modules/oci8.la
    libtool: finish: PATH="/usr/bin:/usr/lib64/qt-3.3/bin:/usr/lib64/ccache:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/.local/bin:/root/bin:/usr/local/jdk1.7.0_05/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/u01/app/oracle/product/11.2.0/db_1/bin:/opt/libreoffice4.0/program:/root/.local/bin:/root/bin:/usr/local/jdk1.7.0_05/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/u01/app/oracle/product/11.2.0/db_1/bin:/opt/libreoffice4.0/program:/root/.local/bin:/root/bin:/usr/local/jdk1.7.0_05/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/u01/app/oracle/product/11.2.0/db_1/bin:/opt/libreoffice4.0/program:/root/.local/bin:/root/bin:/usr/local/jdk1.7.0_05/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/u01/app/oracle/product/11.2.0/db_1/bin:/opt/libreoffice4.0/program:/root/.local/bin:/root/bin:/usr/local/jdk1.7.0_05/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/u01/app/oracle/product/11.2.0/db_1/bin:/op
    t/libreoffice4.0/program:/root/.local/bin:/root/bin:/usr/local/jdk1.7.0_05/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/u01/app/oracle/product/11.2.0/db_1/bin:/opt/libreoffice4.0/program:/sbin" ldconfig -n /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/modules
    ----------------------------------------------------------------------
    Libraries have been installed in:
       /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/modules
    
    If you ever happen to want to link against installed libraries
    in a given directory, LIBDIR, you must either use libtool, and
    specify the full pathname of the library, or use the `-LLIBDIR'
    flag during linking and do at least one of the following:
       - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
         during execution
       - add LIBDIR to the `LD_RUN_PATH' environment variable
         during linking
       - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
       - have your system administrator add LIBDIR to `/etc/ld.so.conf'
    
    See any operating system documentation about shared libraries for
    more information, such as the ld(1) and ld.so(8) manual pages.
    ----------------------------------------------------------------------
    
    Build complete.
    Don't forget to run 'make test'.
    
    running: make INSTALL_ROOT="/var/tmp/pear-build-rootGiD7YE/install-oci8-1.4.9" install
    Installing shared extensions:     /var/tmp/pear-build-rootGiD7YE/install-oci8-1.4.9/usr/lib64/php/modules/
    running: find "/var/tmp/pear-build-rootGiD7YE/install-oci8-1.4.9" | xargs ls -dils
    3679979   4 drwxr-xr-x. 3 root root   4096 Apr  4 15:48 /var/tmp/pear-build-rootGiD7YE/install-oci8-1.4.9
    3680009   4 drwxr-xr-x. 3 root root   4096 Apr  4 15:48 /var/tmp/pear-build-rootGiD7YE/install-oci8-1.4.9/usr
    3680010   4 drwxr-xr-x. 3 root root   4096 Apr  4 15:48 /var/tmp/pear-build-rootGiD7YE/install-oci8-1.4.9/usr/lib64
    3680011   4 drwxr-xr-x. 3 root root   4096 Apr  4 15:48 /var/tmp/pear-build-rootGiD7YE/install-oci8-1.4.9/usr/lib64/php
    3680012   4 drwxr-xr-x. 2 root root   4096 Apr  4 15:48 /var/tmp/pear-build-rootGiD7YE/install-oci8-1.4.9/usr/lib64/php/modules
    3680008 596 -rwxr-xr-x. 1 root root 606865 Apr  4 15:48 /var/tmp/pear-build-rootGiD7YE/install-oci8-1.4.9/usr/lib64/php/modules/oci8.so
    
    Build process completed successfully
    Installing '/usr/lib64/php/modules/oci8.so'
    install ok: channel://pecl.php.net/oci8-1.4.9
    configuration option "php_ini" is not set to php.ini location
    You should add "extension=oci8.so" to php.ini
    # 
    Once installed OCI8 I've updated the */etc/php.ini* accordingly, by adding the following entries
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ; Dynamic Extensions ;
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    
    ; If you wish to have an extension loaded automatically, use the following
    ; syntax:
    ;
    ;   extension=modulename.extension
                           .
                           .
                           .
    extension=oci8.so
                           .
                           .
                           .
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ; Paths and Directories ;
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    
    ; UNIX: "/path1:/path2"
    ;
    ;
                           .
                           .
                           .
    extension_dir="/usr/lib64/php/modules"
    Also I updated the * / etc/sysconfig/httpd * in order to export the specified operating system environment variables set. So I added the following lines at the end of the file
    ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1
    LD_LIBRARY_PATH=/u01/app/oracle/product/11.2.0/db_1/lib:/u01/app/oracle/product/11.2.0/db_1/network/lib
    LD_LIBRARY_PATH64=/u01/app/oracle/product/11.2.0/db_1/lib:/u01/app/oracle/product/11.2.0/db_1/network/lib
    TNS_ADMIN=/u01/app/oracle/product/11.2.0/db_1/network/admin
    NLS_LANG=AMERICAN_AMERICA.WE8MSWIN1252
    ORACLE_SID=db01
    To verify that these values are actually taken into account by Apache, I run
    # service httpd restart
    Can I run a PHP script with the phpinfo() function and present especially in the environment section were the values above the LD_LIBRARY_PATH variable.

    As I said, however, there is no OCI8 input output of the phpinfo() function. I checked the apache log file and saw that there is a problem
    # cat /var/log/httpd/error_log
    [Thu Apr 04 16:02:13 2013] [notice] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
    [Thu Apr 04 16:02:13 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
    [Thu Apr 04 16:02:13 2013] [notice] Digest: generating secret for digest authentication ...
    [Thu Apr 04 16:02:13 2013] [notice] Digest: done
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/oci8.so' - libclntsh.so.11.1: cannot open shared object file: No such file or directory in Unknown on line 0
    [Thu Apr 04 16:02:13 2013] [warn] mod_wsgi: Compiled for Python/2.7.2.
    [Thu Apr 04 16:02:13 2013] [warn] mod_wsgi: Runtime using Python/2.7.3.
    [Thu Apr 04 16:02:13 2013] [notice] Apache/2.2.23 (Unix) DAV/2 PHP/5.4.13 mod_wsgi/3.3 Python/2.7.3 configured -- resuming normal operations
    #
    What I understand log above, is that the libclntsh.so.11.1 shared library is not found. Yet I checked and saw that it is present in LD_LIBRARY_PATH
    # locate libclntsh.so
    /u01/app/oracle/product/11.2.0/db_1/inventory/Scripts/ext/lib/libclntsh.so.11.1
    /u01/app/oracle/product/11.2.0/db_1/inventory/backup/2012-06-25_12-08-41PM/Scripts/ext/lib/libclntsh.so.11.1
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.10.1
    /u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1
    # 
    If the last line, shows that the specified library exists in * / u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1*.

    So I seem really what is the problem and the strangest thing is that, in the command line PHP seems to detect my oracle server settings.
    $ php --ri oci8
    
    oci8
    
    OCI8 Support => enabled
    Version => 1.4.9
    Revision => $Id: e2241cffb72c940cb2ca267b7a6a0ce436de7e5e $
    Active Persistent Connections => 0
    Active Connections => 0
    Oracle Run-time Client Library Version => 11.2.0.1.0
    Oracle Version => 11.2
    Compile-time ORACLE_HOME => /u01/app/oracle/product/11.2.0/db_1
    Libraries Used => -Wl,-rpath,/u01/app/oracle/product/11.2.0/db_1/lib -L/u01/app/oracle/product/11.2.0/db_1/lib  -lclntsh
    Temporary Lob support => enabled
    Collections support => enabled
    
    Directive => Local Value => Master Value
    oci8.max_persistent => -1 => -1
    oci8.persistent_timeout => -1 => -1
    oci8.ping_interval => 60 => 60
    oci8.privileged_connect => Off => Off
    oci8.statement_cache_size => 20 => 20
    oci8.default_prefetch => 100 => 100
    oci8.old_oci_close_semantics => Off => Off
    oci8.connection_class => no value => no value
    oci8.events => Off => Off
    $ 
    I thought that maybe there are several different php.ini and one used in GUI is not the same used in CLI but research has shown that there is only a single php.ini file
    # locate php.ini
    /etc/php.ini
    #
    #
    # php -i | grep Configuration
    Configuration File (php.ini) Path => /etc
    Loaded Configuration File => /etc/php.ini
    Configuration
    #
    It's almost 3 days I'm Googling to find a solution to this problem without success.

    So, could someone help me, what is the problem? Why the OCI8 module cannot be loaded by PHP and become visible in the output of the phpinfo() function?


    Thanks in advance,

    Kind regards
    Dariyoosh

    Since you say that the PHP command line is OK, I'm sure the problem comes from the Apache environment variables set.
    The last time I saw a similar problem, it was because I forgot to use "export". It was on Oracle Linux, equivalent to RHEL.

    I can't explain a couple of your most recent results, for example what you're seeing when using 'export' in/etc/sysconfig/httpd.

    Try to disable SELinux. On Oracle Linux would change/etc/selinux/config, SELINUX set to DISABLED and reboot. See also the setenforce command.

    About starting Apache, you must use apachectl start or /etc/init.d/httpd only if you set environment variables in your shell terminal and you want those to go down to Apache. If you look at the script of shell/sbin/service (Linux, Oracle), you can see that it works 'env-i' to start with a vacuum environment. If the environment values that you set in the terminal shell would be ignored. That's why they should be added to/etc/sysconfig/httpd when using 'service '.

    Oh, and don't forget to give the permissions for the owner of the process Apache to read the Oracle libraries and other data files in u01/app/oracle/product/11.2.0/db_1. After a new installation of DB I always change the permissions on the ~ 700 to 755 oracle directory. See 'frequently observed connection and environment errors.
    page 107 of the book.

  • Generic method

    Hi all

    I have a question related to the generic method in a non-generic class.
    the following code cannot be compiled. but I don't know why.
    public class G
    {
           void print(Integer i)
         {
              System.out.println("Inte");
         }
         
         void print(String s)
         {
              System.out.println("String");     
         }
    
            <T> void callprint(T t)
         {
              print(t);
         }
    
            public static void main(String args[])
            {
                    G g = new G();
                    g.callprint(new Integer(5));
            }
    }
    Published by: 812302 on November 16, 2010 18:58

    Published by: 812302 on November 16, 2010 18:59

    Yes, I was referring to your original code. Since you did the callprint generic method I pass an object of any type. So this method must be able to call a method of printing of the same type. But it's impossible to do. The compiler cannot predict the future. During the compilation of the G class, he can't watch another code and see you will pass an entire object to callprint so know that the method calls the whole print method and not the string of printing method.

  • How to print got string in buffer in a table at the front end?

    Hello. I want to print the string obtained in buffer in a table opposite end. I play serial with a machine, where I'm supposed to place an order to get the answer. The machine I'm trying to communicate has 6 cylinders, when I pass command 'b', it sends the values of the bottles as a string. Example: when 'b' is passed, I get "b 50.8 54.8 60.2 65.3 57.0 61.6" in buffer. I want to put these values in a table at the front end. Can you please give a tip / solution to my problem? I have attatched the vi. Thank you.

    Hi Madara77,

    Table is an array of shots, first think about how you can get the array from the string above,

    Here you need to parse the string correctly, for the string "b 50.8 54.8 60.2 65.3 57.0 61.6"

    1. remove the space first and the last, removal of b , (use the subset of the string function ( )

    2. now you have ' 50.8 54.8 60.2 65.3 57.0 61.6.

    3. now try to get the table on top of the string based on usage worksheet of array of strings

    (a) use the delimiter as space constant.

    Table 2D b) array type as a string

    Now, just wire this scoreboard table.

    It will be useful.

  • How can I print out the string and whole the two together

    Hello

    My requirement is like printf in c statement.

    I have the 32 bit integer data table.

    I want to print in the labview as

    u32Data [0]: 0 x 12345

    u32Data [1]: 0 x 45566

    the same in the code c is

    for (i = 0; i<5;>

    printf ("[i] u32Data: 0 x %x", i, u32Data [i] ' ");

    in the same way as this how can print it in the palette string or any other.

    Hi Richard,

    use FormatIntoString in an autoindexing FOR loop:

  • Input string Microsoft Fix It wasn't in a format suitable for the printer repair

    I have download Microsoft Fix It and when he goes to check the printer indicates the input string was not in a correct format, alos get an out of memory message when you try to print.

    Hello

    1 could you give the exact and complete error message?
    2. What is the number of brand and model of your printer?
    3. from what link you are running the fix it?
    4. of what program/application you want to print?

    Method 1.
    We start by execution of troubleshooting of the printer and check if it finds problems. Refer to the article below for the procedure.
    Open the printer Troubleshooter
    http://Windows.Microsoft.com/en-us/Windows7/open-the-printer-Troubleshooter

    Method 2.
    Also, try the methods listed in the article below, in particular under sectionto restart the print spooler service.
    Why can I not print?

    http://Windows.Microsoft.com/en-us/Windows7/why-cant-I-print

    I hope this helps.

    Thank you, and in what concerns:
    Shekhar S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.
    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • How to print the string as below

    Hi all

    I use Oracle database 12 c.

    I have a string like 'FS, SO, NT, TS.

    Select 'FS, SO, NT, TS' double Str;

    Output is

    Str

    ----------

    "FS, WELL, NT, TS.

    My requirement is, I need to print like this

    Str

    ------

    FS

    THEN

    NT

    TS

    How to do this?

    Thank you

    Su.GI

    I found the result in the link below

    Split single file delimited string in rows in Oracle | Lalit Kumar B

    WITH DATA AS

    (SELECT "word1 word2, mot3, mot4, word5, word6" double str)

    )

    SELECT trim (regexp_substr (str, ' [^,] +', 1, LEVEL)) str

    FROM THE DATA

    CONNECTION BY instr (str, ',', 1, LEVEL - 1) > 0

    Thank you

  • Print a string below each line

    DB version: 11.2.0.4 on Oracle Linux 6.4

    create table t (col1 varchar2 (20));

    insert into values t ('JOHN');

    insert into values t ("KATY");

    Insert values into t ("ELYSIUM");

    Insert values into t ('KRISHNA');

    Insert values into t ('XIANG');

    SQL > select * from t;

    COL1

    --------------------

    JOHN

    KATY

    ELYSEE

    KRISHNA

    XIANG

    I want a string (the CLIENT say) mentioned more down all the records. No idea how I can do this?

    Expected results:


    COL1

    --------------------

    JOHN

    CUSTOMER

    KATY

    CUSTOMER

    ELYSEE

    CUSTOMER

    KRISHNA

    CUSTOMER

    XIANG

    CUSTOMER

    My futile attempt: the CLIENT string only printed once downstairs!

    ----------------

    Select COL1 from T A

    UNION ALL

    Select the 'CUSTOMER' has double;

    A

    --------------------

    JOHN

    KATY

    ELYSEE

    KRISHNA

    XIANG

    CUSTOMER

    6 selected lines.

    Maybe

    Select * | Chr (10) | 'CUSTOMER' of t;

    HTH - Antonio NAVARRO

Maybe you are looking for

  • What happens to iMessage when I use a Sim Card in Europe

    I intend to get a prepaid Sim Card for my iPhone 6 s when I travel in Europe in a few weeks.  I wonder if I still have iMessages since most of the people that iMessage use me my (Verizon) cell phone number.  I get all the iMessages on my iPad and com

  • Problem activating PBS Kids video

    I bought and set up a new 4th gen Apple TV today. I was able to successfully download and install the PBS Kids video app unfortunately when I try to active service within the app, nothing happens. I click the icon 'Activate your Apple TV' and nothing

  • Acer Veriton M275 of does not start after the opening and closing of the case.

    I was about to update with an SSD HD, so I opened the folder and discovered there is no extension SATA ports. Private affair and now system put, CPU fan runs but no display or power USB for keyboard and mouse. Have you tried bypassing the switch of i

  • HP g72 i3 m350: upgrade memory from 4 GB to 8 GB

    I received two chips memoy 4 GB and they would not work.  Verifed that they were seen by the system, but the system would not start.   Removed and tried a single, same problem.  Replace both 2 gb and it worked.   It seems unlikely that both are bad.

  • HP pavilion dv6: absent the system tray network and Volume icons

    Hi all I have a HP laptop pavilion dv6 and network options and volume are shaded out, when I go to the option to add them to the tray at the bottom right of my screen. Is there a reason it is grayed out, and how can I bring back? Thank you Selena