Square root symbol in front panel

how to inser a square root symbol in the front panel in the given vi snippet? i want to write V3 instead of sqrt(3). using Labview 8.6. 
Solved!
Go to Solution.
Attachments:
GUI.png ‏15 KB

Hi,
Thank you all.. I could insert the sqrt symbol in the GUI. 
I also want to initialise one of the strings with the same symbol. So I copied the sqrt symbol and inserted that in place of "sqrt(3)"  . but it switched back to a special character. I selected that special character and selected symbol font from the font menu, then it switched back to sqrt symbol. but as soon as i clicked the mouse outside, it reverted to the old special character(may be the one corresponding to 0xD3 in Application Font). 
How to fix this?
Attachments:
sqrtinit.png ‏5 KB
sqrt_reverted.png ‏5 KB

Similar Messages

  • Cannot display square root symbol in cvi

    I don't understand why this would be an issue, but if I'm writing in the source window (with the default font of NIEditor), I cannot display a square root symbol "√" - every time I type alt+251, I get "v". Ok, not a huge deal in the source window, but it is a big deal if THAT is what's being stored in a string variable I'm writing out to a file. Additionally, if I use the following to format a string:
    "Fmt(setpointUOM, "%s<W%cT/P3", 251);", then setpointUOM = "WüT/P3". If I display this variable in a string control, it displays as "W√T/P3", which is correct, but if I use it in a Text Box or save it to a sql database, it displays "WüT/P3" which is unacceptable.
    I've tried changing the fonts but nothing works or I get even stranger results. I've been dealing with/ignoring this since CVI7 and I'm currently at CVI10. Thanks for any help.
    Solved!
    Go to Solution.

    The difference in the display between W√T/P3 and WüT/P3 has to do with the character set that you select for the UI control. From what I can tell, only the OEM code pages map the √ symbol to character 251, so if you want to see √ for that character, you should pick the OEM character set, in that control.
    Entering √ with the keyboard in a CVI window seems like a much more problematic task. When you type Alt+251 on a CVI window, the keyboard driver is converting the 251 to 118 (the letter v). I don't know why it does that, but I noticed that the code that it converts 251 to varies, depending on your input language (which you can change in Control Panel>>Region and Language>>Change keyboards or other input methods). When english is selected in the language bar, it converts it to 118. With other languages, it converts it to other codes. I tried entering the unicode value for √ directly, which is Alt+221A (to enter unicode characters using the keypad, you have to follow the steps described here). But it didn't work. It still converted it to 118. I suspect the keyboard driver is doing this because it tries to map 221A to some symbol that is valid in the code page that corresponds to the input language, isn't able to, and picks what it thinks is the closest match.
    In lots of other applications (but not all) you can type Alt+251 or Alt+221A and it works just fine. This is because those applications accept unicode characters directly. Unfortunately, CVI isn't one of them. It uses code pages (a.k.a. character sets, or multibyte sequences) instead of unicode, and symbols don't have a universal meaning; they depend on the code page.
    Even if all this were not an impediment, you'd still run into the problem that in CVI 2010 you cannot change the font of the CVI source window to use an OEM character set. So, you'd still see it displayed as a v or a ü. In CVI 2012 you can change the change it, and so if you were using CVI 2012 you could conceivably use the clipboard to paste the √, but there is a bug in CVI that is preventing OEM characters from being pasted correctly (I realize the description says that it affects tree tooltips, but it's also generally affecting clipboard operations of some less commonly used character sets).
    So, to make a long story short, I think you should continue entering the code directly with the Fmt function, at least until this bug is fixed. And make sure that all UI controls that need to display this string are using the OEM character set.
    Luis

  • Square root symbol in BI Publisher Layout

    Hi,
    How can I display the Square root symbol in Interactive Layout in BI Publisher, In my SQL, if a column has the a value, say 10, then I have to display √ symbol.
    Can anyone help on doing this, please?
    Thanks much..

    you can try this way
    cut that symbol image using paint or snip tool or snag it and save as png .
    then include condition <?if@inlines:XML_TAG=10?>paste your image <?end if?>
    <?if@inlines:XML_TAG=10?> in a form field
    <?end if?> in a form field

  • Square root symbol

    Hi,
    I need to display square root symbol in sql query.
    Thanks !!!

    Hi,
    (Sorry about this)
    SQL> WITH t as (
      2  select '  ' sqrtsym, 1 l from dual union all
      3  select '\/' sqrtsym, 2 l from dual)
      4  , d as (
      5  select 2647 n from dual union all
      6  select 123 n from dual union all
      7  select 10000 n from dual)
      8  select case l when 1 then rpad(sqrtsym, 2 + length(to_char(n)), '_')
      9                when 2 then sqrtsym || to_char(n) end sqrtn
    10  from d
    11    cross join t
    12  order by n, l;
    SQRTN
    \/123
    \/2647
    \/10000
    6 rows selected.

  • Greater than or equal to symbol on front panel

    Is there a way to place the "greater than or equal to" symbol on the front panel as a font? I could do it as an image but I am not authorized a paint program.

    Use the number pad with the alt-key. Enter ALT - 0179.
    If you see a superscript number three (³), use the select tool and select just the superscript three and then use text settings to change the font to Symbol.
    Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
    If you don't hate time zones, you're not a real programmer.
    "You are what you don't automate"
    Inplaceness is synonymous with insidiousness

  • How to add ASCII symbol to Front Panel

    Hello,
    I am trying to add an ASCII character to the front panel but I cannot figure out or find out how to do it. It should be ALT key plus the decimal code I thought.
    Any help would be appreciaited.
    John

    you can enter an "e", select the character, and change to symbol font.
    LabVIEW Champion . Do more with less code and in less time .

  • Asus Xonar DGX no rear sound / mic. Front panel sound/mic ok. [SOLVED]

    Hi guys,
    I have a ASUS Xonar DGX PCI-E GX2.5 sound card since my onboard audio crapped out on my motherboard. I just did a first time install on my desktop and the rear portion of my card refuses to work. If I connect up my speakers to my analog output in the back I don't have any options in my sound manager for the analog output to just be a 2.0 system. I get 4.0, 4.1, 5.0, 5.1. All of which do not work obviously. Also my microphone doesn't work plugged into the actual card. If I plug them into the front panel audio, both the microphone and headphone out work. I did some searching, and it seems like a likely cause has something to do with amixer being multichannel. I tried several commands but wasn't successful in getting the audio to work through the back. Any help would be useful, I'm still trying to learn a lot about Arch while doing all this. Thanks in advance!
    Solution. Using Alsamixer in terminal and selecting the analog out as stereo headphones, instead of stereo headphones (fp).
    Last edited by 15goudreau (2014-08-04 21:56:36)

    Search for vid and pid combination, ergo 13f6:8788 in your case. This should be one of the search terms, vid and pid could be also separated, other search terms could include oxygen, sonar, dgx and so on. Simple google search should turn something up.
    Edit: The point is to locate a thread/post where the support for this card was implemented/talked about. It could provide some further insight.
    The simplest approach would be to download linux-rt sources from aur with yaourt, modify PKGBUILD, compile and then install.
    yaourt -G linux-rt
    cd linux-rt
    Copy this into PKGBUILD replacing the original:
    # Maintainer: Joakim Hernberg <[email protected]>
    # Contributor: Ray Rashif <[email protected]>
    # Contributor: timbosa <[email protected]>
    # Contributor: Tobias Powalowski <[email protected]>
    # Contributor: Thomas Baechler <[email protected]>
    pkgbase=linux-rt
    pkgname=('linux-rt' 'linux-rt-headers' 'linux-rt-docs') # Build realtime patched -rt kernel
    #pkgname=linux-custom # Build kernel with a different name
    _kernelname=${pkgname#linux}
    _basekernel=3.14
    _releasever=12
    _rtpatchver=rt9
    pkgrel=1
    _pkgver=${_basekernel}.${_releasever}
    pkgver=${_basekernel}.${_releasever}_${_rtpatchver}
    arch=('i686' 'x86_64')
    url="http://rt.wiki.kernel.org/"
    license=('GPL2')
    makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc')
    options=('!strip')
    source=("https://www.kernel.org/pub/linux/kernel/v3.x/linux-${_basekernel}.tar.xz"
    "https://www.kernel.org/pub/linux/kernel/v3.x/patch-${_pkgver}.xz"
    "https://www.kernel.org/pub/linux/kernel/projects/rt/${_basekernel}/patch-${_pkgver}-${_rtpatchver}.patch.xz"
    # the main kernel config files
    'config' 'config.x86_64'
    # standard config files for mkinitcpio ramdisk
    "${pkgname}.preset"
    'change-default-console-loglevel.patch'
    '0001-Bluetooth-allocate-static-minor-for-vhci.patch'
    '0002-module-allow-multiple-calls-to-MODULE_DEVICE_TABLE-p.patch'
    '0003-module-remove-MODULE_GENERIC_TABLE.patch'
    '0006-genksyms-fix-typeof-handling.patch'
    '0007-asus-xonar-dgx.patch')
    md5sums=('b621207b3f6ecbb67db18b13258f8ea8'
    '89a5af1f3609d0c27e63fea298dd80ed'
    '2aa3614e488efa939007a1c428406c30'
    'a8126ad28c0a902a575397cacd099db2'
    '843119a441c942efc5ec4b73c3c6ced5'
    'eb14dcfd80c00852ef81ded6e826826a'
    '6623d69fdc936d707990ca060dabd2ce'
    '6839ddec74a5300beff1709a81b0e4f3'
    '706549e8a05f33f7fc697f28c0ca71d2'
    'd23fc66be93ebce698bd7da844789de1'
    '16a161979f846b049e90daea907c35dd'
    'SKIP')
    prepare() {
    cd "${srcdir}/linux-${_basekernel}"
    # add upstream patch
    msg "apply patch-${_pkgver}"
    patch -p1 -i "${srcdir}/patch-${_pkgver}"
    # add realtime patch
    msg "applying patch-${_pkgver}-${_rtpatchver}.patch"
    patch -p1 -i "${srcdir}/patch-${_pkgver}-${_rtpatchver}.patch"
    # add latest fixes from stable queue, if needed
    # http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git
    # set DEFAULT_CONSOLE_LOGLEVEL to 4 (same value as the 'quiet' kernel param)
    # remove this when a Kconfig knob is made available by upstream
    # (relevant patch sent upstream: https://lkml.org/lkml/2011/7/26/227)
    msg "change-default-console-loglevel.patch"
    patch -p1 -i "${srcdir}/change-default-console-loglevel.patch"
    # Fix vhci warning in kmod (to restore every kernel maintainer's sanity)
    msg "0001-Bluetooth-allocate-static-minor-for-vhci.patch"
    patch -p1 -i "${srcdir}/0001-Bluetooth-allocate-static-minor-for-vhci.patch"
    # Fix atkbd aliases
    msg "0002-module-allow-multiple-calls-to-MODULE_DEVICE_TABLE-p.patch"
    patch -p1 -i "${srcdir}/0002-module-allow-multiple-calls-to-MODULE_DEVICE_TABLE-p.patch"
    msg "0003-module-remove-MODULE_GENERIC_TABLE.patch"
    patch -p1 -i "${srcdir}/0003-module-remove-MODULE_GENERIC_TABLE.patch"
    # Fix generation of symbol CRCs
    # http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=dc53324060f324e8af6867f57bf4891c13c6ef18
    msg "0006-genksyms-fix-typeof-handling.patch"
    patch -p1 -i "${srcdir}/0006-genksyms-fix-typeof-handling.patch"
    msg "0007-asus-xonar-dgx.patch"
    patch -p1 -i "${srcdir}/0007-asus-xonar-dgx.patch"
    msg "All patches have successfully been applied"
    if [ "${CARCH}" = "x86_64" ]; then
    cat "${srcdir}/config.x86_64" > ./.config
    else
    cat "${srcdir}/config" > ./.config
    fi
    # if [ "${_kernelname}" != "" ]; then
    # sed -i "s|CONFIG_LOCALVERSION=.*|CONFIG_LOCALVERSION=\"${_kernelname}\"|g" ./.config
    # sed -i "s|CONFIG_LOCALVERSION_AUTO=.*|CONFIG_LOCALVERSION_AUTO=n|" ./.config
    # fi
    # set extraversion to pkgrel
    #sed -ri "s|^(EXTRAVERSION =).*|\1 -${pkgrel}|" Makefile
    # set localversion to pkgrel-rt
    sed -i "s|CONFIG_LOCALVERSION=.*|CONFIG_LOCALVERSION=\"-${pkgrel}${_kernelname}\"|g" ./.config
    # don't run depmod on 'make install'. We'll do this ourselves in packaging
    sed -i '2iexit 0' scripts/depmod.sh
    # get kernel version
    make prepare
    # load configuration
    # Configure the kernel. Replace the line below with one of your choice.
    #make menuconfig # CLI menu for configuration
    #make nconfig # new CLI menu for configuration
    #make xconfig # X-based configuration
    #make oldconfig # using old config from previous kernel version
    # ... or manually edit .config
    # rewrite configuration
    yes "" | make config >/dev/null
    # stop here
    # this is useful to configure the kernel
    #msg "Stopping build"; return 1
    build() {
    cd "${srcdir}/linux-${_basekernel}"
    make ${MAKEFLAGS} LOCALVERSION= bzImage modules
    package_linux-rt() {
    pkgdesc="The Linux Kernel and modules (with realtime preemption)."
    #groups=('base')
    depends=('coreutils' 'linux-firmware' 'kmod' 'mkinitcpio>=0.7')
    optdepends=('crda: to set the correct wireless channels of your country')
    # provides=("kernel26${_kernelname}=${pkgver}")
    # conflicts=("kernel26${_kernelname}")
    # replaces=("kernel26${_kernelname}")
    backup=("etc/mkinitcpio.d/${pkgname}.preset")
    install=${pkgname}.install
    cd "${srcdir}/linux-${_basekernel}"
    KARCH=x86
    # get kernel version
    _kernver="$(make LOCALVERSION= kernelrelease)"
    # _basekernel=${_kernver%%-*}
    # _basekernel=${_basekernel%.*}
    mkdir -p "${pkgdir}"/{lib/modules,lib/firmware,boot}
    make LOCALVERSION= INSTALL_MOD_PATH="${pkgdir}" modules_install
    cp arch/$KARCH/boot/bzImage "${pkgdir}/boot/vmlinuz-${pkgname}"
    # add vmlinux
    install -D -m644 vmlinux "${pkgdir}/usr/src/linux-${_kernver}/vmlinux"
    # set correct depmod command for install
    cp -f "${startdir}/${install}" "${startdir}/${install}.pkg"
    true && install=${install}.pkg
    sed \
    -e "s/KERNEL_NAME=.*/KERNEL_NAME=${_kernelname}/" \
    -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/" \
    -i "${startdir}/${install}"
    # install mkinitcpio preset file for kernel
    install -D -m644 "${srcdir}/${pkgname}.preset" "${pkgdir}/etc/mkinitcpio.d/${pkgname}.preset"
    sed \
    -e "1s|'linux.*'|'${pkgname}'|" \
    -e "s|ALL_kver=.*|ALL_kver=\"/boot/vmlinuz-${pkgname}\"|" \
    -e "s|default_image=.*|default_image=\"/boot/initramfs-${pkgname}.img\"|" \
    -e "s|fallback_image=.*|fallback_image=\"/boot/initramfs-${pkgname}-fallback.img\"|" \
    -i "${pkgdir}/etc/mkinitcpio.d/${pkgname}.preset"
    # remove build and source links
    rm -f "${pkgdir}"/lib/modules/${_kernver}/{source,build}
    # remove the firmware
    rm -rf "${pkgdir}/lib/firmware"
    # gzip -9 all modules to save 100MB of space
    find "${pkgdir}" -name '*.ko' -exec gzip -9 {} \;
    # make room for external modules
    ln -s "../extramodules-${_basekernel}${_kernelname:--rt}" "${pkgdir}/lib/modules/${_kernver}/extramodules"
    # add real version for building modules and running depmod from post_install/upgrade
    mkdir -p "${pkgdir}/lib/modules/extramodules-${_basekernel}${_kernelname:--rt}"
    echo "${_kernver}" > "${pkgdir}/lib/modules/extramodules-${_basekernel}${_kernelname:--rt}/version"
    # Now we call depmod...
    depmod -b "$pkgdir" -F System.map "$_kernver"
    # move module tree /lib -> /usr/lib
    mv "$pkgdir/lib" "$pkgdir/usr"
    package_linux-rt-headers() {
    pkgdesc="Header files and scripts for building modules for linux kernel (with realtime preemption)."
    # provides=("kernel26${_kernelname}-headers=${pkgver}")
    # conflicts=("kernel26${_kernelname}-headers")
    # replaces=("kernel26${_kernelname}-headers")
    install -dm755 "${pkgdir}/usr/lib/modules/${_kernver}"
    cd "${pkgdir}/usr/lib/modules/${_kernver}"
    ln -sf ../../../src/linux-${_kernver} build
    cd "${srcdir}/linux-${_basekernel}"
    install -D -m644 Makefile \
    "${pkgdir}/usr/src/linux-${_kernver}/Makefile"
    install -D -m644 kernel/Makefile \
    "${pkgdir}/usr/src/linux-${_kernver}/kernel/Makefile"
    install -D -m644 .config \
    "${pkgdir}/usr/src/linux-${_kernver}/.config"
    mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/include"
    for i in acpi asm-generic config crypto drm generated keys linux math-emu \
    media net pcmcia scsi sound trace uapi video xen; do
    cp -a include/${i} "${pkgdir}/usr/src/linux-${_kernver}/include/"
    done
    # copy arch includes for external modules
    mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/arch/x86"
    cp -a arch/x86/include "${pkgdir}/usr/src/linux-${_kernver}/arch/x86/"
    # copy files necessary for later builds, like nvidia and vmware
    cp Module.symvers "${pkgdir}/usr/src/linux-${_kernver}"
    cp -a scripts "${pkgdir}/usr/src/linux-${_kernver}"
    # fix permissions on scripts dir
    chmod og-w -R "${pkgdir}/usr/src/linux-${_kernver}/scripts"
    mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/.tmp_versions"
    mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}/kernel"
    cp arch/${KARCH}/Makefile "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}/"
    if [ "${CARCH}" = "i686" ]; then
    cp arch/${KARCH}/Makefile_32.cpu "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}/"
    fi
    cp arch/${KARCH}/kernel/asm-offsets.s "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}/kernel/"
    # add docbook makefile
    install -D -m644 Documentation/DocBook/Makefile \
    "${pkgdir}/usr/src/linux-${_kernver}/Documentation/DocBook/Makefile"
    # add dm headers
    mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/md"
    cp drivers/md/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/md"
    # add inotify.h
    mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/include/linux"
    cp include/linux/inotify.h "${pkgdir}/usr/src/linux-${_kernver}/include/linux/"
    # add wireless headers
    mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/net/mac80211/"
    cp net/mac80211/*.h "${pkgdir}/usr/src/linux-${_kernver}/net/mac80211/"
    # add dvb headers for external modules
    # in reference to:
    # http://bugs.archlinux.org/task/9912
    mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb-core"
    cp drivers/media/dvb-core/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb-core/"
    # and...
    # http://bugs.archlinux.org/task/11194
    mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/include/config/dvb/"
    cp include/config/dvb/*.h "${pkgdir}/usr/src/linux-${_kernver}/include/config/dvb/"
    # add dvb headers for http://mcentral.de/hg/~mrec/em28xx-new
    # in reference to:
    # http://bugs.archlinux.org/task/13146
    mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb-frontends/"
    cp drivers/media/dvb-frontends/lgdt330x.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb-frontends/"
    mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/i2c/"
    cp drivers/media/i2c/msp3400-driver.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/i2c/"
    # add dvb headers
    # in reference to:
    # http://bugs.archlinux.org/task/20402
    mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/usb/dvb-usb"
    cp drivers/media/usb/dvb-usb/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/usb/dvb-usb/"
    mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb-frontends"
    cp drivers/media/dvb-frontends/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb-frontends/"
    mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/tuners"
    cp drivers/media/tuners/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/tuners/"
    # add xfs and shmem for aufs building
    mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/fs/xfs"
    mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/mm"
    cp fs/xfs/xfs_sb.h "${pkgdir}/usr/src/linux-${_kernver}/fs/xfs/xfs_sb.h"
    # copy in Kconfig files
    for i in `find . -name "Kconfig*"`; do
    mkdir -p "${pkgdir}"/usr/src/linux-${_kernver}/`echo ${i} | sed 's|/Kconfig.*||'`
    cp ${i} "${pkgdir}/usr/src/linux-${_kernver}/${i}"
    done
    chown -R root.root "${pkgdir}/usr/src/linux-${_kernver}"
    find "${pkgdir}/usr/src/linux-${_kernver}" -type d -exec chmod 755 {} \;
    # strip scripts directory
    find "${pkgdir}/usr/src/linux-${_kernver}/scripts" -type f -perm -u+w 2>/dev/null | while read binary ; do
    case "$(file -bi "${binary}")" in
    *application/x-sharedlib*) # Libraries (.so)
    /usr/bin/strip ${STRIP_SHARED} "${binary}";;
    *application/x-archive*) # Libraries (.a)
    /usr/bin/strip ${STRIP_STATIC} "${binary}";;
    *application/x-executable*) # Binaries
    /usr/bin/strip ${STRIP_BINARIES} "${binary}";;
    esac
    done
    # remove unneeded architectures
    rm -rf "${pkgdir}"/usr/src/linux-${_kernver}/arch/{alpha,arc,arm,arm26,arm64,avr32,blackfin,c6x,cris,frv,h8300,hexagon,ia64,m32r,m68k,m68knommu,metag,mips,microblaze,mn10300,openrisc,parisc,powerpc,ppc,s390,score,sh,sh64,sparc,sparc64,tile,unicore32,um,v850,xtensa}
    package_linux-rt-docs() {
    pkgdesc="Kernel hackers manual - HTML documentation that comes with the Linux kernel (with realtime preemption)."
    # provides=("kernel26${_kernelname}-docs=${pkgver}")
    # conflicts=("kernel26${_kernelname}-docs")
    # replaces=("kernel26${_kernelname}-docs")
    cd "${srcdir}/linux-${_basekernel}"
    mkdir -p "${pkgdir}/usr/src/linux-${_kernver}"
    cp -al Documentation "${pkgdir}/usr/src/linux-${_kernver}"
    find "${pkgdir}" -type f -exec chmod 444 {} \;
    find "${pkgdir}" -type d -exec chmod 755 {} \;
    # remove a file already in linux package
    rm -f "${pkgdir}/usr/src/linux-${_kernver}/Documentation/DocBook/Makefile"
    # vim:set ts=8 sts=2 sw=2 et:
    Then create the file '0007-asus-xonar-dgx.patch' with the following content:
    --- a/sound/pci/oxygen/oxygen.c 2014-08-01 20:45:20.299191180 +0200
    +++ b/sound/pci/oxygen/oxygen.c 2014-08-01 20:46:11.179947117 +0200
    @@ -105,7 +105,7 @@
    { OXYGEN_PCI_SUBID(0x10b0, 0x0219), .driver_data = MODEL_CMEDIA_REF },
    { OXYGEN_PCI_SUBID(0x13f6, 0x0001), .driver_data = MODEL_CMEDIA_REF },
    { OXYGEN_PCI_SUBID(0x13f6, 0x0010), .driver_data = MODEL_CMEDIA_REF },
    - { OXYGEN_PCI_SUBID(0x13f6, 0x8788), .driver_data = MODEL_CMEDIA_REF },
    + { OXYGEN_PCI_SUBID(0x13f6, 0x8788), .driver_data = MODEL_XONAR_DGX },
    { OXYGEN_PCI_SUBID(0x147a, 0xa017), .driver_data = MODEL_CMEDIA_REF },
    { OXYGEN_PCI_SUBID(0x1a58, 0x0910), .driver_data = MODEL_CMEDIA_REF },
    /* Asus Xonar DG */
    Finally run makepkg, should there be errors try removing the src dir first 'yes|rm -r src', then run makepkg again. Should there still be an error post here.
    As for the patch, should there be no real difference there is also MODEL_XONAR_DG, might be worth trying out.
    Last edited by emeres (2014-08-01 22:34:05)

  • How to print square root ?

    Hi...i want to print square root on command prompt and a symbol(i don't know what it's name for second symbol). But i get a problem. Below is my code. For what i understand i should use \u221A right? :-
    public class Test
         public static void main(String[]args)
              try
                   System.out.println("\u221A");
                   System.out.println("\u00ea");
              catch(Exception e)
                   e.printStackTrace();
    }But the result is only question mark...can someone show me the right way and what's wrong to my code. I very appreciate to any help. Thank you.

    but it does show up in swing components
    import javax.swing.*;
    import java.awt.*;
    public class printsymb
         private static final String SYMBOL = String.valueOf( '\u221A' );
         public static void main( String args[] )
              display( SYMBOL );
              System.out.print( SYMBOL );
              System.out.println( 4 );
         private static void display( String symbol )
              JTextArea text = new JTextArea( symbol );
              JFrame f = new JFrame();
              f.add( text, BorderLayout.CENTER );
              enableJFrame( f );
         private static void enableJFrame( JFrame frame )
              frame.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
              frame.setSize( 320, 240 );
              frame.setVisible( true );
    }you can always put it out like this "sqrt(someExp)" can't you?
    Edited by: scphan on Apr 4, 2009 1:41 PM

  • Square root of a channel

    I am trying to use Diadem and still learning to do basic calculations.
    Given a channel containing several values. How do I calculate that will give me another channel giving corresponding square root of values in original channel..?
    Thanks. Himanshu.
    Solved!
    Go to Solution.

    In the Analysis panel you can bring up the calculator and enter the following equation Ch("[1]/results" )=Sqr(Ch("[1]/baseVals" )).
    If you are doing this in script you can use the following. 
      Call ChnCalculate("Ch(""[1]/results"" )=Sqr(Ch(""[1]/baseVals"" ))" ) 
    Hope this helps.
    Message Edited by waynecj7 on 05-07-2009 08:51 PM

  • Square root is not working...

    I wrote a simple program to derermine the square root of a number, but its not working: Heres the code:
    class root{
         static public void main(String[] args){
              int square = Math.sqrt[4];
              System.out.println("the square root is " + square);
    }I get this error mesage when running:
    C:\java_apps>javac root.java
    root.java:3: cannot find symbol
    symbol : variable sqrt
    location: class java.lang.Math
    int square = Math.sqrt[4];
    ^ (arrow points to dot after "Math")
    1 error
    Thanks!
    Jake

    Math.sqrt() is a method, so you have to invoke it with parentheses:int square = Math.sqrt(4);
    > root.java:3: cannot find symbol
    symbol : variable sqrt
    location: class java.lang.Math
    int square = Math.sqrt[4];
    ^ (arrow points to dot after "Math")Because of the square bracket the compiler is looking for an array sqrt inthe Math class. It can't find one and so you get the message.
    (Note that the Math static methods tend to return double not int, so you will have to
    deal with that as well.)

  • Conditionally include Front Panel of a Subvi in an EXE

    I want to make two versions of an EXE, one "normal" version and a debug version. I know how to set conditional disable symbols via pre/post build actions (btw. NI: these variables should REALLY be defineable per build specification; even bare command line C compilers are easier to use in that regard than Labview).
    The "normal" version won't show anything but the main vi. The front panels shouldn't even be included in the exe. For the debug version I want to show the front panels on request (I've queues for sending that to the subvis). Simply calling "FP.open" does not work with an compiled exe, because I get a "resource not found" error (the front panel of the subvi is not compiled into the exe). I tried setting show "frontpanel when called" which forces the FP to be compiled into the exe, but then the FP will shortly flash on the screen, even when the first command of the subvi is hiding the frontpanel.
    How can I make a subvi depending on a conditional disable symbol include its front panel into the exe without forcing it to show its frontpanel at the same time?

    There are a number of things which cause LV to keep a FP when building. These include things like open when called (which you understandably don't like), but also various things which statically require the front panel. Things like changing the scrollbar settings or creating a property node for a control on the FP. Personally, my preference is for the latter because you can document it better.
    If you don't actually mind whether the FP is included, you can just do that and be done with it. If you really do mind, you can check whether placing the property node for the control in a conditional disable structure has an impact on this or not. I have no idea whether it does or not, since I don't know exactly how LV will treat the code in the disabled case.
    The other alternative is making two builds and configuring it for each VI:
    The disadvantage here is that you have to manage two builds and do this manually for each VI.
    If you want, there's a related idea on the idea exchange, but it won't actually help in your case, because it's not conditional:
    http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Add-a-property-to-guarantee-that-the-front-panel-of-a-...
    Try to take over the world!

  • VI Front Panel in SubPanel reacts slowly

    In LabView 2010F2, I have a VI that has several buttons and other controls on the Front Panel. When I run that VI standalone, it runs very quickly, uses less than 20% CPU, and is very responsive. ALl of the controls react very quickly. But when I put that same VI FP in a subpanel in a small VI, all of the controls in the VI in the subpanel are now running very slowly. There buttons are slow to react. There is almost a 1/2 second delay on the buttons. The CPU is stall down around 25% usage. The hosting VI does not do much and should not be responsible for this delay.
    If the CPU is not very busy, what is the cause for the delay in the reaction of a Front Panel of a VI that is placed in a subpanel?
    What can be done to significantly improve the response of a FP that is placed in a subpanel?

    dbaechtel wrote:
    Ben wrote:
    How is you memory doing?
    Do you have "show Kernal time' selected?
    Ben
    CPU Usage and Kernel Time do not pudge much during Save All or Clean Up Diagram of large diagram.  CPU usage stays about 25%, Kernel time stays about 50-75% of Total CPU Usage.
    I don't see any reason why LV would show "not responding" under these conditions unless there are some long LV processes that are being executed that include significant I/O delays that do not relinquish the CPU to do other things while executing these long LV processes. If LV was not blocked by I/O (disk) delays then I should see near 100% CPU usage. If LV was being delayed by memory swapping, the I should see less than 50% memory free,
    I'll leave the discusion of Internals and Data Structure for another thread.  
    Spoiler (Highlight to read)
    Both of my copies of that book are much more worn.
    Both of my copies of that book are much more worn.
    It is going to take some work to narrow down the possiblitlites since you have presented this situation as an interaction problem.
    Generally speaking there is one hot button that comes to mind and that is the UI (User Inteface) thread where all GUI updates are handled as well as those things that do not play well if left to run in their own threads (property nodes for example).
    SO I would like to suggest you start by trimming it down to something that work good and then start adding stuff back until you can detect the performance hit. At tath point step back and look for contention issues.
    If I remebe correctly you can't post code images so asking you to post images of teh code that does not play nice together is a no-go.
    You could also run the performance monitor.
    THe Trace Execution tool kit should aslo help you get a the root of this situation.
    Trying to help, wondering if if I can,
    Ben
    PS Regarding the bug thread. I depend on that thread to stay on top of potential bugs. I asked and Laura moved the off-topic posts to the proper thread. Please excuse my "anal-retentive" side.
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • The list of extensions for InDesign now have a yellow triangle warning symbol in front of a good many of the extensions and when moused over i get one of two messages:  "Extensions may not function properly because it does not meet the dependency conditio

    The list of extensions for InDesign now have a yellow triangle warning symbol in front of a good many of the extensions and when moused over i get one of two messages:
    "Extensions may not function properly because it does not meet the dependency condition."
    OR
    Extension Status is not consistent with extension set configuration."
    The reason I opened the Extension Manager in the first place was to check to see if I had installed a third party extension.  And I was presented with these warning symbols.  I haven't added anything, I haven't done anything that would cause this.
    Does anyone know how to fix this???
    I am running OSX 10.9.5; Indesign CS6 version 8.0.2 And Adobe Extension Manager version  6.0.8.28.
    Thanks in advance!
    Nina

    Many InDesign pre-installed extensions (Those extensions you have immediately after InDesign installation) define dependency rules in their mxi files. Dependency means that one extension works well only if one or more other extensions are installed and enabled. If this condition is not met, the yellow triangle warning will be shown.
    You can select an extension with warning, click "Advanced" tag page in the lower right panel. You will see "This extension has dependency on: <extension name> ...". Check whether every extensions listed here are available and enabled. If not, enable them. Repeat these steps for all the extensions which have warning.

  • How to create a front panel display that lights up with different colours depending on its input signal?

    I am doing a project where I have this array which has different voltage outputs for each grid. How do I create a front panel object that lights up with different colours depending on the voltage input or is there already such a pre-built function?
    In addition, I wish to display these in an array on screen. Is there any pre-built function for this?

    Repulse wrote:
    I am doing a project where I have this array which has different voltage outputs for each grid. How do I create a front panel object that lights up with different colours depending on the voltage input or is there already such a pre-built function?
    The simplest way would be an intensity graph. It gives you a 2D grid where each grid point is colored according to the value of a 2D array. The Z axis color ramp determines the color.
    My second choice would be an array of colorboxes. (They could even be made to look like LEDs (see image, if course you can leave them square too), All you need is a scaling function thap maps voltages into a color ramp lookup table with an 8bit index)
    (Using booleans and color property nodes is relatively clumsy. Booleans are meant for two states because the value is boolean. Since array elements can only differ in value, and not in properties, it will not even work. Color boxes have a color data type which is much more appropriate for this case)
    LabVIEW Champion . Do more with less code and in less time .

  • Audio Video Front Panel m8277c

    I bought an HP Pavillion Media Center model m8277c and it has front panel input for video, svideo, and audio. Is this connection directly connected to the motherboard? Or is this connection passing through the PCI TV Tuner at the back? I tried to connect a video/audio connection to the front panel, but I don't see/hear audio-video. What program shall I use to enable me to watch an a/v connection to the front panel? Thanks in advance.

    Okay Guys,pay attention because here it goes:To get the S-Video and A/V in jacks to engage you have to have the Cyberlink DVD Suite Deluxe to make these work.This is common software on most HP computers that have the A/V jacks and S-Videos jacks on the front and rear of most of the better HPs out there.The Cyberlink DVD Suite has in it the ability to copy CDs,DVDs,make CDs using MP3s WAVs etc.In this DVD Suite is a program called Power Director.This allows you to make you own movies that you can view on your computer saving them to My Movies or that you can burn to a DVD to watch on all types of consumer DVD players,even ones that are installed in Automobiles.How you engage these jacks is by going to the Power Director and open it.Once Power Director is open,go to File,in that select New Untitled Project.On the Lower Right Side Corner you will see a Grey Rectangular Settings Button.Click on that and you will select Analog Video Settings.A new square Pop up window will open up.That allows you to select ViXs Pure TV Capture.Click Capture Source so that you can see Video Composite-01(Front Jack),Video Composite-02(Rear Jack),Video S Video-01(Front Jack),Video S Video-02(Rear Jack) .The Audio Device is underneath that so if you are using the analog jacks from your camcorder or VHS Unit,make sure that you have the RCA jacks Both Left(White) and Right(Red) connected to the A/V jacks.Make SURE that you have all the cables connected BEFORE you open the Power Director so that the program detects them.When the Power Director program is open you will see a Blue Capture Button at the Top Left Side.You will see icons for Capture from DV Device,an icon that looks like a Prosumer Camcorder that says HDV Device,and Capture Video icon that looks like a TV with little Rabbit Ears coming off of it.Capture Video is the one you want.Click on that one then click on the Blue Button at the Top Left.and record your home Camcorder tapes or VHS tapes straight to your computer.I used a Sony Hi8 using the S-Video and a RCA Y cord so that both channels would come through and also used a Sony SLV -N51 using the Stereo Outs and everything worked fine.I hope this helps.Also,if you Don't have the Cyberlink DVD Deluxe Suite already installed in your HP,you can find it online from the popular auction site from $35 to $55.Good Luck.

Maybe you are looking for

  • HP 3540 e-all-in-one series. Missed a step during setup. Please help!

    Hi, I've just set up my HP 3540 e-all-in-one series, however I think I've missed a crucial step and I'm worried I've messed everything up. I printed the alignment page and on it, it says to scan the alignment page for best print quality. I somehow by

  • How do i download all my iTunes from the cloud to my new iMac?

    Hi all, I have a new iMac (and very happy), i have opened it up and entered my icloud information and all my music stored in the cloud is there but greyed out. How do I download it onto the computer? I kept getting error=5099 Can any one help? I have

  • Downloading table data into Excel sheet - Webdynpro Java

    Hi All, We have developed a custom webdynpro application that executes an RFC and displays data in Table UI element. We have provided a button to download the data in excel sheet. When data is huge like, total number of rows filled up in the table ar

  • Stored procedure for checking Invoice value if more than R 15 000

    Hi All I have a problem with my stored procedure below, i want to check the doctotal if it above R 15 000 , if it is then it checks if the supplier has a tax clearance cert. IF @transaction_type = 'A' AND @object_type = '22' BEGIN If exists (SELECT T

  • Check in service is not performing

    Hi , I am using Sun IDM 8.0. I tried to update user view of simulated user profile using check in view service. How ever, the process was going fine like checkoutView -->modifying attribute values --> and then check in the view. But its not updating