Read data driver not giving exact values

I am trying to get the data from an OSA usinf the Labview read data
instrument driver. It most of  the time shows the spectrum similar
to the OSA in the Labview waveform grapf but the values, meaning the
x-axis and y-axis values do not at all correspond. I tried changing the
range using min,max and increment but did not work.Please advise. Here
is the snapshot of the graph obtained and the little program is also
attached.
Attachments:
readdata.vi ‏26 KB
Screen01.JPG ‏105 KB

ok i didnt really know what i was writing about then
but still i know from my own experience that the 2 types of graphs behave in different way when user tries to format x-axis
i had a program where 1 frame (have multiple frames in while function to control an instrument) was devoted to reading from the instrument and displaying a graph
i read not only data but also start/stop points on x axis
before i displayed data i used this additional info to format the graph using property nodes and it worked but then i pased data to the graph and x-axis was forced back to display number of points (i also set labels in the same way and it worked perfectly well for labels)
it also resulted in graph flickering
that was when i was using waveform graph, changing it simply to xy graph (and casting data to proper format)  fixed the bug
this hint and the explanation: 'Waveform graphs plot data as a function of time, you can't directly define the data on the X Plot. To do this you need to use an XY graph.' i got from one NI engineer:
http://forums.ni.com/ni/board/message?board.id=170&message.id=231199&jump=true

Similar Messages

  • Read data from ODS table using value mapping

    hi all;
    can anyone help on how to read data from ODS table using value mapping

    Mudit,
    Take a look at this blog,
    <a href="/people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler">DB Lookup in Mapping</a>
    Regards,
    Bhavesh

  • PO query not giving correct values

    Hi
    I am running the following query in PL?SQL Developer
    SELECT hou.name Operating_unit,
           pha.segment1 po_number,
           pha.revision_num,
           ap.vendor_name,
           hla1.location_code,
           papf.full_name Buyer,
           to_char(pha.creation_date, 'DD-MON-RRRR HH24:MI:SS') creation_date,
           pdta.type_name,
           assa.vendor_site_code,
           hla2.location_code,
           initcap(pha.authorization_status) po_status,
           pha.currency_code,
           pla.line_num,
           pltt.line_type,
           msib.segment1 item,
           (mcb.segment1 || '.' || mcb.segment1) category,
           msib.description,
           msib.primary_unit_of_measure UOM,
           pla.quantity,
           pla.unit_price,
           (pla.quantity * pla.unit_price) amount,
           (gcc.segment1 || '-' || gcc.segment2 || '-' || gcc.segment3 || '-' ||
           gcc.segment4 || '-' || gcc.segment5) charge_account,
           pla.list_price_per_unit,
           at.name,
           pha.freight_terms_lookup_code,
           pha.fob_lookup_code,
           initcap(pha.pay_on_code) pay_on_code,
           pha.acceptance_required_flag,
           ood.organization_code,
           ood.organization_name,
           msib.primary_unit_of_measure UOM,
           pla.quantity,
           plla.country_of_origin_code,
           (gcc.segment1 || '-' || gcc.segment2 || '-' || gcc.segment3 || '-' ||
           gcc.segment4 || '-' || gcc.segment5) charge_account,
           (pla.quantity * pla.unit_price) amount,
           plla.receive_close_tolerance,
           plla.invoice_close_tolerance,
           plla.quantity,
           plla.quantity_received,
           plla.quantity_cancelled,
           plla.quantity_billed,
           plla.match_option,
           plla.accrue_on_receipt_flag,
           plla.enforce_ship_to_location_code,
           plla.days_early_receipt_allowed,
           plla.days_late_receipt_allowed,
           plla.receipt_days_exception_code,
           plla.qty_rcv_tolerance,
           initcap(plla.qty_rcv_exception_code),
           plla.allow_substitute_receipts_flag,
           plla.receiving_routing_id,
           plla.enforce_ship_to_location_code,
           initcap(pda.destination_type_code),
           papf.full_name requestor,
           hla3.location_code,
           --pda.quantity_ordered,  -- commented because giving wrong value
           (select quantity_ordered
              from po_distributions_all
             where po_header_id IN (select po_header_id
                                      from po_headers_all
                                     where segment1 = pha.segment1)) quantity_ordered, -- Added
           (gcc.segment1 || '-' || gcc.segment2 || '-' || gcc.segment3 || '-' ||
           gcc.segment4 || '-' || gcc.segment5) po_charge_account,
           haou.name,
           prha.segment1,
           prla.line_num,
           to_char(prla.rate_date, 'DD-MON-RRRR') rate_date,
           (gcc.segment1 || '-' || gcc.segment2 || '-' || gcc.segment3 || '-' ||
           gcc.segment4 || '-' || gcc.segment5) po_charge_account,
           (SELECT acc.segment1 || '-' || acc.segment2 || '-' || acc.segment3 || '-' ||
                   acc.segment4 || '-' || acc.segment5
              FROM gl_code_combinations acc
             WHERE acc.code_combination_id = pda.accrual_account_id) accrual_account,
           (SELECT acc.segment1 || '-' || acc.segment2 || '-' || acc.segment3 || '-' ||
                   acc.segment4 || '-' || acc.segment5
              FROM gl_code_combinations acc
             WHERE acc.code_combination_id = pda.variance_account_id) variance_account,
           pla.line_num,
           plla.shipment_num,
           ood.organization_code,
           ood.organization_name,
           msib.segment1,
           msib.description,
           pla.quantity
      FROM hr_operating_units           hou,
           po_headers_all               pha,
           ap_suppliers                 ap,
           hr_locations_all             hla1,
           per_all_people_f             papf,
           po_document_types_all        pdta,
           po_document_types_all_b      pdtab,
           ap_supplier_sites_all        assa,
           hr_locations_all             hla2,
           po_lines_all                 pla,
           po_line_types_b              pltb,
           po_line_types_tl             pltt,
           mtl_system_items_b           msib,
           po_line_locations_all        plla,
           mtl_categories_b             mcb,
           po_distributions_all         pda,
           gl_code_combinations         gcc,
           ap_terms                     at,
           org_organization_definitions ood,
           hr_locations_all             hla3,
           po_requisition_headers_all   prha,
           po_req_distributions_all     prda,
           po_requisition_lines_all     prla,
           hr_all_organization_units_tl haou
    WHERE 1 = 1
       AND pha.segment1 = '6395'        --&po_number
       AND hou.organization_id = 204    --&operating_unit
       AND hou.organization_id = pha.org_id
       AND pha.vendor_id = ap.vendor_id
       AND hla1.location_id = pha.ship_to_location_id
       AND papf.person_id = pha.agent_id
       AND SYSDATE BETWEEN papf.effective_start_date AND papf.effective_end_date
       AND ((pdtab.document_type_code IN ('PO', 'PA') AND
           pdtab.document_subtype = pha.type_lookup_code))
       AND pdta.document_subtype = pdtab.document_subtype
       AND pdta.document_type_code = pdtab.document_type_code
       AND pdta.org_id = Pdtab.org_id
       AND pha.org_id = pdta.org_id
       AND ap.vendor_id = assa.vendor_id
       AND pha.org_id = assa.org_id
       AND pha.vendor_id = assa.vendor_id
       AND pha.vendor_site_id = assa.vendor_site_id
       AND pha.bill_to_location_id = hla2.ship_to_location_id
       AND pla.po_header_id = pha.po_header_id
       AND pltb.line_type_id = pla.line_type_id
       AND pla.line_type_id = pltt.line_type_id
       AND pltt.language = USERENV('LANG')
       AND msib.inventory_item_id = pla.item_id
       AND plla.po_line_id = pla.po_line_id
       AND msib.organization_id = plla.ship_to_organization_id
       AND mcb.category_id = pla.category_id
       AND pda.po_line_id = pla.po_line_id
       AND pda.po_header_id = pha.po_header_id
       AND pda.code_combination_id = gcc.code_combination_id
       AND at.term_id = pha.terms_id
       AND ood.organization_id = plla.ship_to_organization_id
       AND pda.deliver_to_person_id = papf.person_id
       AND hla3.location_id = pda.deliver_to_location_id
       AND haou.organization_id = prha.org_id
       AND haou.language = USERENV('LANG')
       AND prha.org_id = pha.org_id
       AND prha.requisition_header_id = prla.requisition_header_id
       AND pda.req_distribution_id = prda.distribution_id
       AND prda.requisition_line_id = prla.requisition_line_id
       AND haou.organization_id = hou.organization_id
       AND prla.org_id = pha.org_id
       AND prda.code_combination_id = gcc.code_combination_id    --added
       AND hla3.inventory_organization_id = msib.organization_id   --added
       AND pda.line_location_id = prla.line_location_id  --added
       AND plla.po_header_id = pha.po_header_id  --added
    I tested it for 10 POs. for 2 the query is giving right value. but for others it is giving wrong value.
    Mainly the PO Charge Account, accrual and variance account values are not matching. What changes I can make to get the correct data?
    I am using r12 version
    Thanks

    Hi Srini,
    Thanks for replying. I check and the application context is set.
    I think we might be missing certain conditions. Can you help me with that.

  • DAT Drive not registering on sunfire V240

    Hi,
    I have 9 SUN v240 with which i connected the same DAT drive HP 72GB DDS DAT (PART NUMBER C7439). In six servers
    did devfsadm and it registered the DAT. It worked fine but in three of the SUN v240, this command doesnt seem to
    do anything. /dev/rmt is not created. I cannot restart the server because they are live/production servers. Is there
    any other solution to get this DAT recognised in solaris with out a reboot. Also, i cannot go to OBP (OK prompt) because
    ofcourse it needs a reboot.
    I checked the st.conf file and the entries of these file are the same in all 9 v240. So i think its not a problem of
    st.conf.
    Eargerly waiting for a solution.
    Here are some of the command outputs from 1 of the 3 servers which donot see the DAT:
    [root@vbsmf /kernel/drv] $strings /kernel/drv/st.conf | grep st
    # Copyright (c) 1995-2000 by Sun Microsystems, Inc.
    "@(#)st.conf
    # devices of Sun Microsystems and many 3rd party devices.
    # 1 Drive is configured automatically - no entry is needed in st.conf.
    # The 3rd party devices do apparently work with the configurations listed.
    # the past, but have not been tested by Sun Microsystems. Use these entries
    # as your starting point for generating your configuration entries.
    #tape-config-list=
    name="st" class="scsi"
    name="st" class="scsi"
    name="st" class="scsi"
    name="st" class="scsi"
    name="st" class="scsi"
    name="st" class="scsi"
    name="st" class="scsi"
    #name="st" class="scsi"
    #name="st" class="scsi"
    #name="st" class="scsi"
    #name="st" class="scsi"
    #name="st" class="scsi"
    #name="st" class="scsi"
    #name="st" class="scsi"
    #name="st" class="scsi"
    name="st" parent="fp" target=0;
    [root@vbsmf /kernel/drv] $cfgadm configure
    Ap_Id Type Receptacle Occupant Condition
    configure: No matching library found
    [root@vbsmf /kernel/drv] $cfgadm -al
    Ap_Id Type Receptacle Occupant Condition
    c0 scsi-bus connected configured unknown
    c0::dsk/c0t0d0 CD-ROM connected configured unknown
    c1 scsi-bus connected configured unknown
    c1::dsk/c1t0d0 disk connected configured unknown
    c1::dsk/c1t1d0 disk connected configured unknown
    c2 scsi-bus connected unconfigured unknown
    [root@vbsmf /kernel/drv] $cfgadm configure c2
    Ap_Id Type Receptacle Occupant Condition
    c2 scsi-bus connected unconfigured unknown
    configure: No matching library found
    [root@vbsmf /kernel/drv] $cfgadm -val
    Ap_Id Receptacle Occupant Condition Information
    When Type Busy Phys_Id
    c0 connected configured unknown
    Jan 1 1970 scsi-bus n /devices/pci@1e,600000/ide@d:scsi
    c0::dsk/c0t0d0 connected configured unknown unavailable
    Jan 1 1970 CD-ROM y /devices/pci@1e,600000/ide@d:scsi::dsk/c0t0d0
    c1 connected configured unknown
    Jan 1 1970 scsi-bus n /devices/pci@1c,600000/scsi@2:scsi
    c1::dsk/c1t0d0 connected configured unknown FUJITSU MAT3073N SUN72G
    Jan 1 1970 disk n /devices/pci@1c,600000/scsi@2:scsi::dsk/c1t0d0
    c1::dsk/c1t1d0 connected configured unknown FUJITSU MAT3073N SUN72G
    Jan 1 1970 disk n /devices/pci@1c,600000/scsi@2:scsi::dsk/c1t1d0
    c2 connected unconfigured unknown
    Jan 1 1970 scsi-bus n /devices/pci@1c,600000/scsi@2,1:scsi
    [root@vbsmf /kernel/drv] $ls /dev/rmt/0
    /dev/rmt/0: No such file or directory
    [root@vbsmf /kernel/drv] $ls /dev/rmt
    [root@vbsmf /kernel/drv] $devfsadm -v
    [root@vbsmf /kernel/drv] $ls /dev/rmt
    [root@vbsmf /kernel/drv] $ls /dev/rmt/0
    /dev/rmt/0: No such file or directory
    [root@vbsmf /] $modinfo
    Id Loadaddr Size Info Rev Module Name
    6 10158000 445b 1 1 specfs (filesystem for specfs)
    8 1015dd40 333c 1 1 TS (time sharing sched class)
    9 10160938 8d4 - 1 TS_DPTBL (Time sharing dispatch table)
    10 101609c0 291e3 2 1 ufs (filesystem for ufs)
    11 10187b33 1f7 - 1 fssnap_if (File System Snapshot Interface)
    12 10187c83 10900 226 1 rpcmod (RPC syscall)
    12 10187c83 10900 226 1 rpcmod (32-bit RPC syscall)
    12 10187c83 10900 1 1 rpcmod (rpc interface str mod)
    13 10195cc3 66f08 0 1 ip (IP Streams module)
    13 10195cc3 66f08 3 1 ip (IP Streams device)
    14 101f30bb 1982 1 1 rootnex (sun4u root nexus 1.91)
    15 101f4648 210 57 1 options (options driver)
    17 101f4d3c 18d8 12 1 sad (Streams Administrative driver's)
    18 101f639c 67b 2 1 pseudo (nexus driver for 'pseudo')
    19 101f68a5 1c228 85 1 md (Meta disk base module)
    24 1023362d 5234 - 1 md_stripe (Meta disk stripes module)
    25 1023847d a760 - 1 md_mirror (Meta disk mirrors module)
    26 10242765 10338 109 1 pcisch (PCI Bus nexus driver 1.201)
    27 1025111d 1023b 50 1 glm (GLM SCSI HBA Driver 1.166.)
    28 1025f310 8ac0 - 1 scsi (SCSI Bus Utility Routines)
    29 10264fe4 18008 32 1 sd (SCSI Disk Driver 1.356)
    33 1029bf1e a52d 135 1 uata (ATA controller Driver 1.89)
    34 102a5713 151f - 1 dada ( ATA Bus Utility Routines)
    37 102a7141 93c - 1 todm5819p_rmc (tod module for ALI M5819P)
    38 102a7a0b 344f 196 1 rmc_comm (rmc_comm driver, v1.2)
    39 102aaa92 508 199 1 pmugpio (Pmugpio Driver 1.1)
    40 780b8000 72bf - 1 ufs_log (Logging UFS Module)
    41 1027bd5c 1b04a 5 1 procfs (filesystem for proc)
    42 102962ba fab 126 1 ebus (ebus nexus driver)
    43 10296efd 2fcd 194 1 mc-us3i (Memory-controller: v1.1)
    44 10299bba d98 134 1 power (power button driver v1.9)
    45 1029a7aa 1016 159 1 pmubus (pmubus nexus driver)
    46 10211abd 5cb6 197 1 rmclomv (rmclomv control driver v1.4)
    47 1021684b 256a 9 1 pcf8584 (I2C Nexus Driver 1.13)
    48 102a689a 464 - 1 i2c_svc (I2C module ver 1.2)
    50 102aae3a 10628 8 1 sockfs (filesystem for sockfs)
    52 102a6c7b 6be 11 1 clone (Clone Pseudodriver 'clone')
    53 1029b5f0 304 2 1 ip6 (IP Streams module)
    53 1029b5f0 304 143 1 ip6 (IP Streams device)
    54 102bafd2 25e40 3 1 tcp (TCP Streams module)
    54 102bafd2 25e40 42 1 tcp (TCP Streams device)
    55 10219963 1059 - 1 md5 (MD5 Message-Digest Algorithm)
    56 1029b734 365 4 1 tcp6 (TCP Streams module)
    56 1029b734 365 146 1 tcp6 (TCP Streams device)
    57 1021a907 9b50 5 1 udp (UDP Streams module)
    57 1021a907 9b50 41 1 udp (UDP Streams device)
    58 1029b8d9 365 6 1 udp6 (UDP Streams module)
    58 1029b8d9 365 145 1 udp6 (UDP Streams device)
    59 1022292f 7f10 7 1 icmp (ICMP Streams module)
    59 1022292f 7f10 5 1 icmp (ICMP Streams device)
    60 1029ba7e 30e 8 1 icmp6 (ICMP Streams module)
    60 1029ba7e 30e 144 1 icmp6 (ICMP Streams device)
    61 10228ea7 651b 9 1 arp (ARP Streams module)
    61 10228ea7 651b 44 1 arp (ARP Streams driver)
    62 1022e16a 4b93 10 1 timod (transport interface str mod)
    64 102d9d66 c83 16 1 conskbd (Console kbd Multiplexer driver )
    65 102da65d 1ffa 15 1 wc (Workstation multiplexer Driver )
    66 102dba4f 4885 37 1 su (su driver 1.47)
    67 102dff2c 3f2e 1 1 elfexec (exec module for elf)
    67 102dff2c 3f2e 0 1 elfexec (32-bit exec module for elf)
    68 102e3d57 3400 3 1 fifofs (filesystem for fifo)
    69 102e6ebf adea 11 1 ldterm (terminal line discipline)
    70 102f13b6 246d 12 1 ttcompat (alt ioctl calls)
    71 102f365a 9223 29 1 zs (Z8530 serial driver V4.125)
    72 102fc375 1568 26 1 ptsl (tty pseudo driver slave 'ptsl')
    73 102fd645 211f 25 1 ptc (tty pseudo driver control 'ptc')
    77 10318d3b 116a9 - 1 usba (USBA: USB Architecture 1.25)
    78 10313719 498c - 1 usbser (USB generic serial module 1.1)
    80 1032d854 15ac5 - 1 usba10 (USBA10: USB 1.0 Architecture 1.)
    81 781b6000 4012 - 1 usba10_usbser (USBA10 Generic Serial Modul
    82 10344153 1c30 13 1 rts (Routing Socket Streams module)
    82 10344153 1c30 43 1 rts (Routing Socket Streams device)
    83 781e8000 f487 15 1 ipsecesp (IP Encapsulating Security Paylo)
    83 781e8000 f487 141 1 ipsecesp (IP Encapsulating Security Paylo)
    84 7814e000 ff46 14 1 ipsecah (IP Authentication Header Stream)
    84 7814e000 ff46 140 1 ipsecah (IP Authentication Header Stream)
    85 7803c000 4af3 105 1 tl (TPI Local Transport Driver - tl)
    86 78042000 44ab 16 1 keysock (keysock module)
    86 78042000 44ab 139 1 keysock (PF_KEY Key Management Socket ST)
    87 78040743 16ea 97 1 sysmsg (System message redirection (fan)
    88 780416bd 82c 0 1 cn (Console redirection driver)
    89 780e3c1a 475 2 1 intpexec (exec mod for interp)
    90 78041d59 2c3 42 1 pipe (pipe(2) syscall)
    90 78041d59 2c3 42 1 pipe (32-bit pipe(2) syscall)
    91 10354c78 f9d 13 1 mm (memory driver)
    92 78046000 8a90 195 1 bge (BCM570x driver v0.22)
    93 7804e000 e868 - 1 gld (Generic LAN Driver (v2))
    94 7805e000 4eac6 217 1 ce (CE Ethernet Driver v1.135)
    95 780b0000 2bd7 - 1 vlan (Ethernet VLAN module (v1) 1.18)
    97 780b4000 322b 115 1 pci_pci (Standard PCI to PCI bridge nexu)
    98 780b7ad5 5ac 19 1 dump (crash dump driver)
    99 780c0000 4421 201 1 doorfs (doors)
    99 780c0000 4421 201 1 doorfs (32-bit door syscalls)
    100 780c6000 2d06 88 1 devinfo (DEVINFO Driver 1.33)
    103 780ca000 ebf8 66 1 ohci (USB OpenHCI Driver 1.23)
    104 781579c6 c03 176 1 inst_sync (instance binding syscall)
    104 781579c6 c03 176 1 inst_sync (32-bit instance binding syscall
    105 780d4c38 1538 4 1 namefs (filesystem for namefs)
    106 7814c6d0 1a98 4 1 logindmux ( LOGIND MUX Driver)
    110 780bf047 d70 14 1 iwscn (Workstation Redirection driver )
    111 7804d698 a4f 17 1 consms (Mouse Driver for Sun 'consms' 5)
    113 780b6bbb 9f7 21 1 log (streams log driver)
    114 780b734a 8f3 22 1 sy (Indirect driver for tty 'sy')
    115 780c8b56 cc4 23 1 ptm (Master streams driver 'ptm')
    116 10342e11 dc6 24 1 pts (Slave Stream Pseudo Terminal dr)
    117 780c5670 a8c 31 1 seeprom (I2C serial EEPROM device driver)
    120 1030a1c5 6a30 - 1 fctl (Sun FC Transport Library v1.12)
    123 780c411c 17ec 34 1 smbus (SMBUS nexus Driver 1.6)
    124 10308a8f 1dea 35 1 random (random number device v1.1)
    125 780e0000 2290 17 1 authsha1 (SHA1-HMAC algorithm)
    127 780b2637 1f01 38 1 openeepr (OPENPROM/NVRAM Driver v1.7)
    131 78188000 30bc0 - 1 s1394 (IEEE 1394 Services Library 1.0)
    143 10355a75 2e1f - 1 hidparser (HID PARSER 1.5)
    146 103256b4 2d2e 60 1 fssnap (snapshot driver)
    153 781af8c7 820 72 1 ksyms (kernel symbols driver)
    156 10345623 2d73 - 1 usba10_hidparser (USBA10 HID PARSER 1.1)
    161 780e2467 1a23 81 1 winlock (Winlock Driver v1.43)
    162 10317889 14ed - 1 seg_drv (Segment Device Driver v1.1)
    165 1030f375 2268 - 1 diaudio (Generic Audio)
    167 1032811a 19cc 89 1 lockstat (Lock Statistics)
    168 78215406 d1e 90 1 kstat (kernel statistics driver)
    169 780e6000 5d08 91 1 vol (Volume Management Driver, 1.87)
    170 780de000 1664 95 1 cpc (cpc sampling driver v1.8)
    170 780de000 1664 179 1 cpc (cpc sampling system call)
    170 780de000 1664 179 1 cpc (32-bit cpc sampling system call)
    172 78259747 ba0 103 1 qec (QEC driver v1.32)
    175 10347bee 4197 107 1 llc1 (LLC Class 1 Driver)
    177 780ec000 4c5e - 1 amsrc1 (Audio Sample Rate Conv. #1 1.2)
    178 780f2000 23ee - 1 audiosup (Audio Device Support 1.9)
    179 780f6000 14f6e - 1 mixer (Audio Mixer 1.41)
    182 1030331b 4edc 114 1 tnf (kernel probes driver 1.48)
    184 7816a000 b3ec 150 1 fcp (Sun FCP Pseudo Driver v1.11)
    185 1034b93d 4cd6 127 1 pm (power management driver v1.95)
    186 780598aa 846 128 1 tod (tod driver 1.0)
    189 780f0baf 1420 138 1 poll (Dev Poll driver)
    190 780f4176 1ecf 147 1 lofi (loopback file driver (1.2))
    193 78142000 499d - 1 pcihp (PCI nexus hotplug support v1.31)
    194 78146605 1ae7 - 1 busra (Bus Resource Allocator (BUSRA) )
    195 780df02c c4c - 1 hpcsvc (hot-plug controller services v1)
    196 78148000 4fe8 - 1 pcicfg (PCI configurator v1.38)
    203 781567ae bb1f - 1 amsrc2 (Audio Sample Rate Conv. #2 1.1)
    214 1034f79b 4805 187 1 sppp (PPP 4.0 mux v1.3)
    215 780da000 3ae0 18 1 sppptun (PPP 4.0 tunnel module v1.2)
    215 780da000 3ae0 188 1 sppptun (PPP 4.0 tunnel driver v1.2)
    218 781f0000 b5c0 191 1 rsm (Remote Shared Memory Driver 1.6)
    219 7804dd6f 2e8 - 1 ipc (common ipc code)
    220 780c95b2 aac - 1 rsmops (RSMOPS module 1.1)
    221 781fb0b0 b33 198 1 rmcadm (rmcadm control driver v1.1)
    222 78174f30 fec 200 1 pca9556 (pca9556 device driver v1.2)
    231 10329430 1069 214 1 fcode (FCode driver 1.8)
    232 1032a2c1 29ec - 1 fcodem (FCode framework 1.13)
    245 78104000 4819 242 1 kb_ps2 (PS/2 Keyboard 1.31, 01/05/09)
    250 781ba000 267e7 250 1 llc2 (SUN LLC2 Class II Streams Drive)
    253 78108000 1bcaa - 1 pcmcia (PCMCIA Nexus Support)
    264 781b2000 304c 263 1 ipdcm (IP/Dialup v1.9)
    265 7814dd68 40a 264 1 ipdptp (IP/Dialup ptp interface v1.9)
    266 7825bd1b 407 265 1 ipd (IP/Dialup mtp interface v1.9)
    268 7826a000 165b8 268 1 wrsmd (RSMPI DLPI 1.4 03/01/08)
    269 7827c000 295e6 19 1 nca (NCA Streams module)
    269 7827c000 295e6 269 1 nca (NCA Streams device 1.2)
    270 1032c3f5 15cc 15 1 mntfs (mount information file system)
    271 78210000 159d2 11 1 tmpfs (filesystem for tmpfs)
    272 78228000 2aa20 106 1 nfs (NFS syscall, client, and common)
    272 78228000 2aa20 106 1 nfs (NFS syscall, client, and common)
    272 78228000 2aa20 16 1 nfs (network filesystem)
    272 78228000 2aa20 7 1 nfs (network filesystem version 2)
    272 78228000 2aa20 17 1 nfs (network filesystem version 3)
    273 78254000 4d9b - 1 rpcsec (kernel RPC security module.)
    274 7825a000 1dc1 - 1 tlimod (KTLI misc module)
    275 7825c000 860f - 1 klmmod (lock mgr common module)
    276 78264000 65e3 18 1 autofs (filesystem for autofs)
    277 10357fa4 109 2 1 IA (interactive scheduling class)
    278 78258a03 f40 3 1 RT (realtime scheduling class)
    279 102a70e1 28c - 1 RT_DPTBL (realtime dispatch table)
    280 103406c9 2878 53 1 semsys (System V semaphore facility)
    280 103406c9 2878 53 1 semsys (32-bit System V semaphore facil)
    281 103064bf 26f8 52 1 shmsys (System V shared memory)
    281 103064bf 26f8 52 1 shmsys (32-bit System V shared memory)
    282 102186fd cf0 207 1 pset (processor sets)
    282 102186fd cf0 207 1 pset (32-bit pset(2) syscall)
    283 102ff5cc 3d82 178 1 kaio (kernel Async I/O)
    283 102ff5cc 3d82 178 1 kaio (kernel Async I/O for 32 bit com)
    284 780a8a5e 1687 20 1 ptem (pty hardware emulator)
    285 781b482c 19d2 21 1 telmod (telnet module)
    [root@vbsmf /kernel/drv] $vi st.conf
    # Copyright (c) 1995-2000 by Sun Microsystems, Inc.
    # All rights reserved.
    #pragma ident "@(#)st.conf 1.27 00/08/29 SMI"
    # This file contains configuration entries for both officially supported
    # devices of Sun Microsystems and many 3rd party devices.
    # The officially supported devices are :
    # "ARCHIVE Python 28388"
    # "ARCHIVE Python 28454"
    # "ARCHIVE Python 29279"
    # "ARCHIVE VIPER 150"
    # "EXABYTE EXB-8200"
    # "EXABYTE EXB-8500"
    # "EXABYTE EXB-8505"
    # "EXABYTE EXB-8900"
    # "HP 88780"
    # "HP C5683A" Note 1
    # "HP C5713A" Note 1
    # "Quantum DLT4000"
    # "Quantum DLT7000"
    # "Quantum DLT8000" Note 1
    # "STK 9840" Note 1
    # "SUN DLT4000"
    # "SUN DLT4700"
    # "SUN DLT7000"
    # "TANDBERG SLR5"
    # "TANDBERG TDC 4200"
    # "TANDBERGMLR1"
    # "TANDBERGMLR3"
    # Notes
    # 1 Drive is configured automatically - no entry is needed in st.conf.
    # The 3rd party devices do apparently work with the configurations listed.
    # All the entries have been taken from the net and probably have worked in
    # the past, but have not been tested by Sun Microsystems. Use these entries
    # as your starting point for generating your configuration entries.
    #tape-config-list=
    # "Emulex MTO2", "Emulex MT02 QIC-11/QIC-24", "MT02",
    # "ANRITSU DMT2120", "Unisys 1/2\" Reel", "ANRITSU",
    # "ARCHIVE Python 28454","Archive Python 4mm Helical Scan","ARCH_Python",
    # "ARCHIVE Python 29279", "Archive Python 4mm DAT Stacker","ARCH_Python",
    # "ARCHIVE Python 28388", "Archive/Conner CTDX004 4mm DAT", "Conner2-DAT",
    # "ARCHIVE VIPER 150", "Archive QIC-150", "QIC150",
    # "ARCHIVE VIPER 255", "Archive QIC-525", "QIC150",
    # "DEC DLT2", "DEC DLT", "DLT2",
    # "DEC TZ87", "DEC DLT", "DLT2",
    # "EXABYTE EXB-2501", "Exabyte EXB-2501 QIC", "EXB-2501",
    # "EXABYTE EXB-4200c", "Exabyte 4mm Helical Scan","Exa4200c",
    # "EXABYTE EXB-8200", "Exabyte EXB-8200 8mm Helical Scan","EXB-8200",
    # "EXABYTE EXB-8500", "Exabyte EXB-8500 8mm Helical Scan","EXB-850X",
    # "EXABYTE EXB-8505", "Exabyte EXB-8505 8mm Helical Scan","EXB-850X",
    # "EXABYTE EXB8500C", "Exabyte 8500C 8mm Helical Scan", "EXB-850X",
    # "EXABYTE EXB-8900", "Mammoth EXB-8900 8mm Helical Scan","EXB-8900",
    # "FUJITSU M1016B M2483B","Fujitsu 1/2\" Cartridge", "Fujitsu_comp",
    # "FUJITSU M248", "Fujitsu 1/2\" Cartridge", "Fujitsu_m248x",
    # "HP 88780", "HP-88780 1/2\" Reel", "HP_half",
    # "HP C1533A", "HP DDS2 4mm DAT loader", "HP_DAT",
    # "HP C1553A ", "HP C1553A 4mm DAT", "HP_DAT",
    # "HP C1537A", "HP DDS-3 4mm DAT ", "HP_DAT_3",
    # "HP C1557A", "HP DDS-3 4mm DAT loader", "HP_DAT_3",
    # "HP HP35470A", "HP 35470A 4mm DAT", "HP_DAT",
    # "HP HP35480A", "HP 35480A 4mm DAT", "HP_DAT",
    # "IBM 03490", "IBM 3490E 1/2\" Cartridge", "CLASS_3490",
    # "IBM 9348", "STK 4220 1/2\" Cartridge", "C3490",
    # "KENNEDY", "Kennedy 1/2\" Reel", "KENNEDY",
    # "LMS", "CDC 1/2\" Cartridge", "LMS",
    # "M4 DATA 123107 SCSI", "M4-Data 1/2\" Reel", "M4_DATA",
    # "Metrum", "Metrum VHS Cartridge", "MetD",
    # "QUANTUM DLT7000", "Quantum DLT7000", "DLT7k-data",
    # "SUN DLT7000", "Sun DLT7000", "DLT7k-data",
    # "Quantum DLT4000", "Quantum DLT4000", "DLT-data",
    # "SUN DLT4000", "DLT4000", "DLT-data",
    # "SUN DLT4700", "DLT4700 Library", "DLT-data",
    # "R-BYTE RB100", "R-Byte Whozits", "DAT",
    # "SONY SDT-5000", "SONY 4mm DAT", "DAT",
    # "SONY SDT-5200", "SONY 4mm DAT", "DAT",
    # "STK 9490", "STK 9490 1/2\" Cartridge", "CLASS_3490",
    # "STK 4280", "STK 4280 1/2\" Cartridge", "C3490",
    # "STK", "STK 1/2\" Cartridge", "CLASS_3490",
    # "TANDBERG 4100", "Tandberg 4100 QIC", "TAND_4100_QIC",
    # "TANDBERG 4200", "Tandberg 4200 QIC", "TAND_4200_QIC",
    # "TANDBERG TDC 4200", "Tandberg QIC 2.5 Gig Tape Drive", "TANDB-2_5G",
    # "TANDBERG SLR5", "Tandberg 8 Gig QIC", "TAND-8G-VAR",
    # "TANDBERGMLR1", "Tandberg MLR1 QIC", "TANDBERG_MLR1",
    # "TANDBERGMLR3", "Tandberg 50 Gig QIC", "TAND-50G-VAR",
    # "TELEX", "STK 4220 1/2\" Cartridge", "C3490",
    # "WANGTEK 51000 SCSI", "Wangtek 1.2GB QIC", "WtQIC",
    # "WANGTEK 5150ES", "Wangtek QIC-150", "WANGTEK_QC150",
    # "WANGTEK 5525ES SCSI", "Wangtek 525MB QIC", "WtQIC",
    # "WANGTEK 6130-HS", "Wangtek 4mm Helical Scan", "WANGTEK_6130",
    # "WangDAT Model 2600", "WangDAT 4mm DAT", "WangDAT",
    # "WangDAT Model 3400", "WangDAT 4mm DAT", "WangDAT",
    # "WangDAT", "Wang DAT 3.81 Helical Scan", "WangDAT",
    # "\076\000", "Fujitsu 1/2\" Cartridge", "Fujitsu_half";
    #ANRITSU = 1,0x25,0,0x41d,4,0x00,0x02,0x03,0x03,1;
    #ARCH_Python= 1,0x2c,0,0xde39,4,0x00,0x8c,0x8c,0x8c,3;
    #CLASS_3490 = 1,0x24,0,0x1c43d,1,0x00,0;
    #C3490 = 1,0x24,0,0x1c43d,4,0x00,0x00,0x00,0x01,2;
    #Conner2-DAT= 1,0x2c,0,0xde39,1,0x00,0;
    #DAT = 1,0x34,0,0x0439,1,0x00,0;
    #DLT2 = 1,0x38,0,0xd639,4,0x17,0x18,0x80,0x81,2;
    #DLT-data = 1,0x38,0,0xD639,4,0x80,0x81,0x82,0x83,2;
    #DLT7k-data = 1,0x38,0,0xD639,4,0x82,0x83,0x84,0x85,2;
    #EXB-2501 = 1,0x28,1024,0x442,1,0x00,0;
    #EXB-8200 = 1,0x28,0,0x8c79,1,0x00,0;
    #EXB-850X = 1,0x29,0,0xce39,4,0x14,0x15,0x8c,0x8c,1;
    #EXB-8900 = 1,0x29,0,0x19E39,4,0x27,0x27,0x27,0x27,3;
    #Exa4200c = 1,0x34,0,0x1639,2,0x63,0x0,1;
    #Fujitsu_comp = 1,0x21,0,0x18639,4,0x00,0x00,0x00,0x09,1;
    #Fujitsu_half = 1,0x21,0,0x63b,1,0x00,0;
    #Fujitsu_m248x = 1,0x21,0,0xc639,1,0x00,0;
    #HP_DAT = 1,0x34,0,0x19679,1,0x0,0;
    #HP_DAT_3 = 1,0x34,0,0x9639,4,0x00,0x8c,0x8c,0x8c,1;
    #HP_half = 1,0x23,0,0x41d,4,0x01,0x02,0x03,0xc3,1;
    #KENNEDY = 1,0x22,0,0x41d,4,0x01,0x02,0x03,0x03,1;
    #LMS = 1,0x20,0,0x66b,1,0x00,0;
    #M4_DATA = 1,0x27,0,0x49d,4,0x01,0x02,0x06,0x06,1;
    #MT02 = 1,0x14,512,0x202,4,0x84,0x05,0x05,0x05,1;
    #MetD = 1,0x36,0,0x1639,1,0x00,0;
    #QIC150 = 1,0x15,512,0x642,1,0x00,0;
    #TANDB-2_5G = 1,0x32,0,0xD67b,1,0x0,0;
    #TAND-8G-VAR = 1,0x37,0,0x963b,4,0xA0,0xD0,0xD0,0xD0,3;
    #TANDBERG_MLR1 = 1,0x32,512,0x463a,1,0x00,0;
    #TAND-50G-VAR = 1,0x37,0,0x963b,4,0xA0,0xD0,0xD0,0xD0,3;
    #TAND_4100_QIC = 1,0x32,512,0x463a,1,0x00,0;
    #TAND_4200_QIC = 1,0x32,512,0x463a,1,0x00,0;
    #WANGTEK_6130 = 1,0x2a,0,0x659,1,0x00,0;
    #WANGTEK_QC150 = 1,0x16,512,0x642,1,0x00,0;
    #WangDAT = 1,0x2b,0,0x659,1,0x00,0;
    #WangDAT = 1,0x34,0,0x0679,1,0x00,0;
    #WtQIC = 1,0x32,512,0x467a,1,0x00,0;
    name="st" class="scsi"
    target=0 lun=0;
    name="st" class="scsi"
    target=1 lun=0;
    name="st" class="scsi"
    target=2 lun=0;
    name="st" class="scsi"
    target=3 lun=0;
    name="st" class="scsi"
    target=4 lun=0;
    name="st" class="scsi"
    target=5 lun=0;
    name="st" class="scsi"
    target=6 lun=0;
    # as your starting point for generating your configuration entries.
    #tape-config-list=
    # "Emulex MTO2", "Emulex MT02 QIC-11/QIC-24", "MT02",
    # "ANRITSU DMT2120", "Unisys 1/2\" Reel", "ANRITSU",
    # "ARCHIVE Python 28454","Archive Python 4mm Helical Scan","ARCH_Python",
    # "ARCHIVE Python 29279", "Archive Python 4mm DAT Stacker","ARCH_Python",
    # "ARCHIVE Python 28388", "Archive/Conner CTDX004 4mm DAT", "Conner2-DAT",
    # "ARCHIVE VIPER 150", "Archive QIC-150", "QIC150",
    # "ARCHIVE VIPER 255", "Archive QIC-525", "QIC150",
    # "DEC DLT2", "DEC DLT", "DLT2",
    # "DEC TZ87", "DEC DLT", "DLT2",
    # "EXABYTE EXB-2501", "Exabyte EXB-2501 QIC", "EXB-2501",
    # "EXABYTE EXB-4200c", "Exabyte 4mm Helical Scan","Exa4200c",
    # "EXABYTE EXB-8200", "Exabyte EXB-8200 8mm Helical Scan","EXB-8200",
    # "EXABYTE EXB-8500", "Exabyte EXB-8500 8mm Helical Scan","EXB-850X",
    # "EXABYTE EXB-8505", "Exabyte EXB-8505 8mm Helical Scan","EXB-850X",
    # "EXABYTE EXB8500C", "Exabyte 8500C 8mm Helical Scan", "EXB-850X",
    # "EXABYTE EXB-8900", "Mammoth EXB-8900 8mm Helical Scan","EXB-8900",
    # "FUJITSU M1016B M2483B","Fujitsu 1/2\" Cartridge", "Fujitsu_comp",
    # "FUJITSU M248", "Fujitsu 1/2\" Cartridge", "Fujitsu_m248x",
    # "HP 88780", "HP-88780 1/2\" Reel", "HP_half",
    # "HP C1533A", "HP DDS2 4mm DAT loader", "HP_DAT",
    # "HP C1553A ", "HP C1553A 4mm DAT", "HP_DAT",
    # "HP C1537A", "HP DDS-3 4mm DAT ", "HP_DAT_3",
    # "HP C1557A", "HP DDS-3 4mm DAT loader", "HP_DAT_3",
    # "HP HP35470A", "HP 35470A 4mm DAT", "HP_DAT",
    # "HP HP35480A", "HP 35480A 4mm DAT", "HP_DAT",
    # "IBM 03490", "IBM 3490E 1/2\" Cartridge", "CLASS_3490",
    # "IBM 9348", "STK 4220 1/2\" Cartridge", "C3490",
    # "KENNEDY", "Kennedy 1/2\" Reel", "KENNEDY",
    # "LMS", "CDC 1/2\" Cartridge", "LMS",
    # "M4 DATA 123107 SCSI", "M4-Data 1/2\" Reel", "M4_DATA",
    # "Metrum", "Metrum VHS Cartridge", "MetD",
    # "QUANTUM DLT7000", "Quantum DLT7000", "DLT7k-data",
    # "SUN DLT7000", "Sun DLT7000", "DLT7k-data",
    # "Quantum DLT4000", "Quantum DLT4000", "DLT-data",
    # "SUN DLT4000", "DLT4000", "DLT-data",
    # "SUN DLT4700", "DLT4700 Library", "DLT-data",
    # "R-BYTE RB100", "R-Byte Whozits", "DAT",
    # "SONY SDT-5000", "SONY 4mm DAT", "DAT",
    # "SONY SDT-5200", "SONY 4mm DAT", "DAT",
    # "STK 9490", "STK 9490 1/2\" Cartridge", "CLASS_3490",
    # "STK 4280", "STK 4280 1/2\" Cartridge", "C3490",
    # "STK", "STK 1/2\" Cartridge", "CLASS_3490",
    # "TANDBERG 4100", "Tandberg 4100 QIC", "TAND_4100_QIC",
    # "TANDBERG 4200", "Tandberg 4200 QIC", "TAND_4200_QIC",
    # "TANDBERG TDC 4200", "Tandberg QIC 2.5 Gig Tape Drive", "TANDB-2_5G",
    # "TANDBERG SLR5", "Tandberg 8 Gig QIC", "TAND-8G-VAR",
    # "TANDBERGMLR1", "Tandberg MLR1 QIC", "TANDBERG_MLR1",
    # "TANDBERGMLR3", "Tandberg 50 Gig QIC", "TAND-50G-VAR",
    # "TELEX", "STK 4220 1/2\" Cartridge", "C3490",
    # "WANGTEK 51000 SCSI", "Wangtek 1.2GB QIC", "WtQIC",
    # "WANGTEK 5150ES", "Wangtek QIC-150", "WANGTEK_QC150",
    # "WANGTEK 5525ES SCSI", "Wangtek 525MB QIC", "WtQIC",
    # "WANGTEK 6130-HS", "Wangtek 4mm Helical Scan", "WANGTEK_6130",
    # "WangDAT Model 2600", "WangDAT 4mm DAT", "WangDAT",
    # "WangDAT Model 3400", "WangDAT 4mm DAT", "WangDAT",
    # "WangDAT", "Wang DAT 3.81 Helical Scan", "WangDAT",
    # "\076\000", "Fujitsu 1/2\" Cartridge", "Fujitsu_half";
    #ANRITSU = 1,0x25,0,0x41d,4,0x00,0x02,0x03,0x03,1;
    #ARCH_Python= 1,0x2c,0,0xde39,4,0x00,0x8c,0x8c,0x8c,3;
    #CLASS_3490 = 1,0x24,0,0x1c43d,1,0x00,0;
    #C3490 = 1,0x24,0,0x1c43d,4,0x00,0x00,0x00,0x01,2;
    #Conner2-DAT= 1,0x2c,0,0xde39,1,0x00,0;
    #DAT = 1,0x34,0,0x0439,1,0x00,0;
    #DLT2 = 1,0x38,0,0xd639,4,0x17,0x18,0x80,0x81,2;
    #DLT-data = 1,0x38,0,0xD639,4,0x80,0x81,0x82,0x83,2;
    #DLT7k-data = 1,0x38,0,0xD639,4,0x82,0x83,0x84,0x85,2;
    #EXB-2501 = 1,0x28,1024,0x442,1,0x00,0;
    #EXB-8200 = 1,0x28,0,0x8c79,1,0x00,0;
    #EXB-850X = 1,0x29,0,0xce39,4,0x14,0x15,0x8c,0x8c,1;
    #EXB-8900 = 1,0x29,0,0x19E39,4,0x27,0x27,0x27,0x27,3;
    #Exa4200c = 1,0x34,0,0x1639,2,0x63,0x0,1;
    #Fujitsu_comp = 1,0x21,0,0x18639,4,0x00,0x00,0x00,0x09,1;
    #Fujitsu_half = 1,0x21,0,0x63b,1,0x00,0;
    #Fujitsu_m248x = 1,0x21,0,0xc639,1,0x00,0;
    #HP_DAT = 1,0x34,0,0x19679,1,0x0,0;
    #HP_DAT_3 = 1,0x34,0,0x9639,4,0x00,0x8c,0x8c,0x8c,1;
    #HP_half = 1,0x23,0,0x41d,4,0x01,0x02,0x03,0xc3,1;
    #KENNEDY = 1,0x22,0,0x41d,4,0x01,0x02,0x03,0x03,1;
    #LMS = 1,0x20,0,0x66b,1,0x00,0;
    #M4_DATA = 1,0x27,0,0x49d,4,0x01,0x02,0x06,0x06,1;
    #MT02 = 1,0x14,512,0x202,4,0x84,0x05,0x05,0x05,1;
    #MetD = 1,0x36,0,0x1639,1,0x00,0;
    #QIC150 = 1,0x15,512,0x642,1,0x00,0;
    #TANDB-2_5G = 1,0x32,0,0xD67b,1,0x0,0;
    #TAND-8G-VAR = 1,0x37,0,0x963b,4,0xA0,0xD0,0xD0,0xD0,3;
    #TANDBERG_MLR1 = 1,0x32,512,0x463a,1,0x00,0;
    #TAND-50G-VAR = 1,0x37,0,0x963b,4,0xA0,0xD0,0xD0,0xD0,3;
    #TAND_4100_QIC = 1,0x32,512,0x463a,1,0x00,0;
    #TAND_4200_QIC = 1,0x32,512,0x463a,1,0x00,0;
    #WANGTEK_6130 = 1,0x2a,0,0x659,1,0x00,0;
    #WANGTEK_QC150 = 1,0x16,512,0x642,1,0x00,0;
    #WangDAT = 1,0x2b,0,0x659,1,0x00,0;
    #WangDAT = 1,0x34,0,0x0679,1,0x00,0;
    #WtQIC = 1,0x32,512,0x467a,1,0x00,0;
    name="st" class="scsi"
    target=0 lun=0;
    name="st" class="scsi"
    target=1 lun=0;
    name="st" class="scsi"
    target=2 lun=0;
    name="st" class="scsi"
    target=3 lun=0;
    name="st" class="scsi"
    target=4 lun=0;
    name="st" class="scsi"
    target=5 lun=0;
    nam

    Sorry Simon, but I had to jump in on that.
    You are correct that they'll need to probe from OBP, however...
    jumping down from an active OS will leave much in various bus registers and they'll lock up the entire system when a probe is done that way. They'll have to power-cycle the chassis to recover.
    Vassilios,
    When you have the chance for testing this system, bring the chassis down to the OBP level. ( init 0 is acceptable ) then do:
    OK setenv auto-boot? false <enter>
    OK reset-all <enter>
    The chassis will cycle and automatically stop at the OK prompt, with empty bus registers, and you can probe all you wish.
    The peripheral MUST be seen at the hardware level before an OS can dream of manipulating it.
    But, if I may ask...
    You attached the tape peripheral to where?
    (the integrated onboard SCSI connector or to an add-on card?)
    Is it a Single-Ended SCSI device, a HVD SCSI device, or a LVD SCSI device?
    If your cable is attached to an appropriate add-on card, do you need to install any packages for that card?

  • Drill Down are not giving correct values

    Hi
    We created sales Order values as a character and putting them in Rows and populating data by writing update rule. We created variables on calendar month in order to choose specific period of data in the query. For example if we need 02/2008 to 0/42008 which gives two months of data. When I drill down on Sales Order or billing document on the report it’s not giving variable interval data instead it’s pulling all the sales orders and billing documents in the Cube. With out drilling down the values are showing OK.  If I restrict with same period in the cube it's giving correct values
    Please let us know if you have any ideas.
    Thanks
    Naga

    Aah, I guessed it correctly!
    Remove the local var of the Stop button & place the terminal itself inside the inner while loop & directly wire it to the conditional terminal of the outer while loop.
    Please see the attached pic...
    Message Edited by parthabe on 07-30-2009 07:12 AM
    - Partha
    LabVIEW - Wires that catch bugs!
    Attachments:
    arrayreq_mod.jpg ‏97 KB
    arrayreq_mod.jpg ‏97 KB
    arrayreq_mod.jpg ‏99 KB

  • Stock Ledger Report in Day Wise not giving correct values for Opening Stock

    Dear Experts,
    I m working on Sock ledger report to give the day wise data.
    since yesterdays closing Stock will become opening stock of today,
    To get Opening Stock,
    I have restricted the stock key figure with 2 variables on calday        
                                  (DATE FROM var with <=(Lessthan or equal to) and offset -1
                                   DATE TO      var with <=(Lessthan or equal to) and offset -1)
    To get Closing Stock,
    I have restricted the Stock key figure with 2 variables on calday        
                                  (DATE FROM var with <=(Lessthan or equal to)
                                   DATE TO      var with <=(Lessthan or equal to) )
    But in the output Opening stock values are not coming correctly and for given range of dates,
    for last date, opening stock is showing as Zero.
    Could you please tell me how can I achieve the correct values for opening stock.
    Thanks in advance.

    Hi Arjun,
    Seems like you are making it more complicated. What is your selection screen criteria?
    Ideally you should only use the offset.
    You will have say Calday in rows and stock in Column
    ____________Opening Stock_____________Closing Stock
    01/06/2009___(Closing stock of 31/05/2009)_(Stock of 01/06/2009)
    02/06/2009___(Closing stock of 01/06/2009)_(Stock of 02/06/2009)
    03/06/2009___(Closing stock of 02/06/2009)_(Stock of 03/06/2009)
    So, from above scenario, create one RKFs and include Calday in it. Create a replacement path variable on calday and apply the offset as -1.
    So, your Opening Stock will be calculated by closign stock of previous day.
    - Danny

  • The dml not giving proper value in the returning into variable

    DELETE FROM temp_records_med
    WHERE slno NOT IN (SELECT COLUMN_VALUE
    FROM TABLE (v_slno_tab));
    RETURNING COUNT(slno) INTO p_retval;
    There are 4 rows deleted but the the the variable has got 0 in it.
    Why?

    I am deleting from the below given table based on SLNO.
    How to get the count of records that are deleted?
    DESC temp_records_med
    SQL>
    FILEID NUMBER,
    FILENAME VARCHAR2(100 BYTE),
    SLNO NUMBER,
    IMSI VARCHAR2(20 BYTE),
    IMEI VARCHAR2(20 BYTE),
    CALLEVENTSTARTTIMESTAMP DATE,
    UTCTIMEOFFSET VARCHAR2(6 BYTE),
    CALLEVENTDURATION NUMBER,
    CAUSEFORTERMINATION NUMBER,
    CALLTYPE NUMBER,
    SERVICETYPE NUMBER,
    SERVICECODE NUMBER,
    SUPPLSERVICECODE VARCHAR2(5 BYTE),
    DIALLEDDIGITS VARCHAR2(20 BYTE),
    CONNECTEDCALLINGNUMBER VARCHAR2(20 BYTE),
    THIRDPARTYNUMBER VARCHAR2(20 BYTE),
    RECORDINGENTITYIDENTIFICATION VARCHAR2(20 BYTE),
    CALLREFERENCE VARCHAR2(20 BYTE),
    ACCESSPOINTNAMENI VARCHAR2(20 BYTE),
    ACCESSPOINTNAMEOI VARCHAR2(20 BYTE),
    DATAVOLUMEINCOMING NUMBER,
    DATAVOLUMEOUTGOING NUMBER,
    SGSNADDRESS VARCHAR2(20 BYTE),
    GGSNADDRESS VARCHAR2(20 BYTE),
    CHARGINGID VARCHAR2(20 BYTE),
    CHARGEAMOUNT NUMBER
    CREATE OR REPLACE PROCEDURE p1 (p_retval OUT NUMBER)
    IS
       CURSOR med_rec_cur
       IS
          SELECT *
            FROM temp_records_med;
       TYPE med_rec_tab IS TABLE OF temp_records_med%ROWTYPE;
       TYPE slno_tab IS TABLE OF temp_records_med.slno%TYPE;
       v_count         NUMBER;
       v_filename      temp_records_med.filename%TYPE;
       v_fileid        temp_records_med.fileid%TYPE;
       v_med_rec_tab   med_rec_tab;
       v_slno_tab      g_slno_tab;
       dml_errors      EXCEPTION;
       v_count1 number;
       v_count2 number;
    BEGIN
       OPEN med_rec_cur;
       LOOP
          BEGIN
             FETCH med_rec_cur
             BULK COLLECT INTO v_med_rec_tab LIMIT 1000;
             FORALL i IN v_med_rec_tab.FIRST..v_med_rec_tab.LAST SAVE EXCEPTIONS
                INSERT INTO meddetail
                     VALUES v_med_rec_tab (i)
                  RETURNING       slno
                BULK COLLECT INTO v_slno_tab;
          EXCEPTION
             WHEN DUP_VAL_ON_INDEX
             THEN
                NULL;
             WHEN OTHERS
             THEN
                NULL;
          END;
          EXIT WHEN med_rec_cur%NOTFOUND;
       END LOOP;
       CLOSE med_rec_cur;
      DELETE FROM temp_records_med
             WHERE slno NOT IN (SELECT COLUMN_VALUE
                              FROM TABLE (v_slno_tab));
        --RETURNING COUNT(slno) INTO p_retval;
       COMMIT;
    END;Edited by: user8731258 on Sep 8, 2010 10:50 PM

  • Customer exit code  not  fetching exact value.

    Dear All,
    My requirement is as per the user entry date
    for that date in one column   for that month in one column    for that finacial year in one column
    fo that date it is coming fine
    even for month  when i give 14/06/2010 a user entry data has to come up to 14th of that month in year also from financial year starting to  14/o6/2010.
    for tha i created three varaibles on calday
    as below
    zv_sn_dat  user entry varaible  ready for input
    zv_mtd_dat---- customer exit not ready for input
    zv_ytd_dat----- customer exit not ready for input
    and written the code as below
    for fetching the current date data
        WHEN 'ZV_SN_DAT'.
       IF i_step = 1 .
         CLEAR l_s_range.
         l_s_range-low = sy-datum.
         l_s_range-opt = 'EQ'.
         l_s_range-sign = 'I'.
         APPEND l_s_range TO e_t_range.
       ENDIF.
    For fetchin month to date ( current date)
    WHEN 'ZV_MTD_DAT'.
       DATA : month(2) TYPE n ,
              year(4) TYPE n .
       IF i_step = 2.
         CLEAR : loc_var_range,month,year.
         LOOP AT i_t_var_range INTO loc_var_range WHERE vnam = 'ZV_SN_DAT'.
           IF sy-subrc = 0.
             CLEAR l_s_range.
             l_s_range-high = loc_var_range-low.
             year = loc_var_range-low(4).
             month = loc_var_range-low+4(2).
             CONCATENATE year month '01' INTO l_s_range-low.
             l_s_range-sign = 'I'.
             l_s_range-opt = 'BT'.
             APPEND l_s_range TO e_t_range.
           ENDIF.
         ENDLOOP.
       ENDIF.
    *(financial year starts from october first)
       For fetching the Year to Data ( Current Date)
    WHEN 'ZV_YTD_DT'.
       IF i_step = 2.
         CLEAR : loc_var_range,month,year.
         LOOP AT i_t_var_range INTO loc_var_range WHERE vnam = 'ZV_SN_DAT'.
           IF sy-subrc = 0.
             CLEAR l_s_range.
             year = loc_var_range-low(4).
             month = loc_var_range-low+4(2).
             l_s_range-high = loc_var_range-low.
             IF month NE '01' OR month NE '02' OR month NE '03' OR MONTH NE '04' OR MONTH NE '05' OR MONTH NE '06' OR
               MONTH NE '07' OR MONTH NE '08' OR MONTH NE '09'.
               CONCATENATE year '10' '01' INTO l_s_range-low.
             ELSE.
               year = year - 1.
               CONCATENATE year '10' '01' INTO l_s_range-low.
             ENDIF.
             l_s_range-sign = 'I'.
             l_s_range-opt = 'BT'.
             APPEND l_s_range TO e_t_range.
           ENDIF.
         ENDLOOP.
       ENDIF.
    But the month to date even though iam executing from july 1st but for month to date the data is coming is JUne data
    for year also up to may there is no data , but it is showing June data.
    where the code is wrong ,
    please can anybody suggets where i was gone wrong in code.
    or  may be i was gone wrong to create varaibles all te varaibles onot on the calday?
    Thansk & Regarsd,
    sathish
    *ENDCASE.

    In debugging you can check what are the values being assigned to low and high.
    Place check points at places where you assing the high and low values.
    Double click on them during debugging, you can then find out where the logic is not fine.
    Try by commenting out the code where you are initializing the system date to variable.
    Also this would be fine for IF MONTH LT 10 instead of
    IF month NE '01' OR month NE '02' OR month NE '03' OR MONTH NE '04' OR MONTH NE '05' OR MONTH NE '06' OR
    MONTH NE '07' OR MONTH NE '08' OR MONTH NE '09'.
    -Neelesh
    Edited by: Neelesh Jain on Jul 3, 2010 6:57 PM

  • Reprt is not getting exact values

    Hi All
    In my report valuse are not correct. see below
    3.70     ,          0.46     ,     8.000
    0.51      ,              0.06     ,     8.000
    0.94         ,           0.13     ,     7.500
    0.32      ,              0.04     ,     8.000
    1.39      ,              0.17     ,     8.000
    1.41      ,              0.18     ,     8.000
    49.50      ,              1.04     ,     47.500
    I need the sum of (3.700.51.94.32.1.41.32 = 8.X) But in my report its showing 49.50.
    In the above values 3.7 is calculating based on the 8 * 0.46 = 3.70.
    How can I achieve this I dont need 49.50 I need 8.x and this 49.5 value is calculating based on total of(887.5888) * (.46.06.13.04.17.18).
    Please help on this and Thanks in Advance
    Edited by: Allu on Apr 17, 2009 12:52 PM

    Hi,
         its due to formula collision.
    Just refer this link.
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/02223c5f00612be10000000a11402f/frameset.htm
    At the end of that page you find given problem is same as your problem. just follow the instruction of solution. that will definately solve your confusion + clear your doubt.

  • Goto link query is not giving exact results

    Hi Folks
    I am having issue with GOTO query.
    My main query gives details of Employee seperation in particular year.
    For this query i have goto query.
    When i am checking the details of goto query ,it is giving incorrect results.
    Your help is appreciated.
    Thanks & Regards,
    Hari Reddy

    Hi Hari,
        Check in RSBBS, whether you specified the receiver query correctly...
    Check the link:
    [http://help.sap.com/saphelp_nw04/helpdata/en/99/08629bd3e41d418530c6849df303c9/content.htm]
        Hope this helps you.
    Regards,
    Yokesh.

  • GetColumnSize....Not giving exact Size......! Urgent....!

    Hai,
    I am using getColumnSize method to find column size. It gives correct column size for oracle. But when I use postgres database it does not give correct column size for data,smallint datatype columns.
    How can Solve it?
    Any experts please help to me!
    Thanks in advance
    by
    Joseph

    vikrant dixit wrote:
    hello sir,
    i already posted in my first post that i would like to know the size of the data occupied by particular user in database (ok on tablespace)..and i think it does not matter on which tablespace.
    and size of database is really a confusion to me....in how many types we can calculate size of database???
    Ultimately, only you can define what you mean by "size of database". Depending on your purposes, your usage, it could mean any of the following:
    1) Total size of all data files occupying disk space, measured at the OS
    2) Total size (in bytes) of all extents. This will probably be somewhat less than #1.
    3) Total count of all extents.
    4) Total size (in bytes) of all data rows. This will probably be somewhat less than #2.
    5) Total count of all data rows.
    Personally, I would argue that only #1 and #2 could be considered measures of database size. #4 and #5 do not account for non-table objects which also occupy space, and #3 is pretty meaningless for most uses. But I have seen all of the above used at various times to mean "database size". There are probably some others that I've overlooked. My point is that there is no fixed definition of "database size" (just as there is no fixed definition of "database administrator") so you must decide what you mean by that term. Once you've done that - once you've defined what it is you really want to measure - the technique should be easy.
    1.bytes:- Os bytes (we can get it from dba_segments)
    2.blocks :oracle blocks (again from dba_segments)
    we can find size on disk, by calculating size of all .dbf files......can't we??? please correct me if i am wrong...
    thanks and regards
    Vd

  • Problem in reading data from serial port continuously- application hangs after sometimes

    I need to read data from two COM port and order of data appearance from COM port is not fixed. 
    I have used small timeout and reading data in while loop continously . If my application is steady for sometime it gets hangs and afterwards it doesnt receive any data again. 
    Then I need to restart my application again to make it work.
    I am attaching VI. Let me know any issue.
    Kudos are always welcome if you got solution to some extent.
    I need my difficulties because they are necessary to enjoy my success.
    --Ranjeet
    Attachments:
    Scanning.vi ‏39 KB

    billko wrote:
    Ranjeet_Singh wrote:
    I need to read data from two COM port and order of data appearance from COM port is not fixed. 
    I have used small timeout and reading data in while loop continously . If my application is steady for sometime it gets hangs and afterwards it doesnt receive any data again. 
    Then I need to restart my application again to make it work.
    I am attaching VI. Let me know any issue.
    What do you mean, "not fixed?"  If there is no termination character, no start/stop character(s) or even a consistent data length, then how can you really be sure when the data starts and stops?
    I probably misunderstood you though.  Assuming the last case is not ture - there is a certain length to the data - then you should use the bytes at port, like in the otherwise disastrous serial port read example.  In this case, it's NOT disastrous.  You have to make sure that you read all the data that came through.  Right now you have no idea how much data you just read.  Also, if this is streaming data, you might want to break it out into a producer/consumer design pattern.
    Not fixed means order is not fixed, data from any com port can come anytime. lenght is fixed, one com port have 14 byte and other 8 byte fixed..
    Reading data is not an issue for me as it works nice but I have a query that why my application hangs after sometime and stops reading data from COM PORT.
    Kudos are always welcome if you got solution to some extent.
    I need my difficulties because they are necessary to enjoy my success.
    --Ranjeet

  • My DVD drive not reading DVDs, but can read some DVDs with data on it. Device manager shows no error

    My DVD drive not reading DVDs, but can read some DVDs with data on it. Device manager shows no errors.
    I tried to reinstall driver.
    I downloaded new codec
    I tried Microsoft FIX IT
     Nothing worked.
    Need some help.
    Thank you!!
    Paul

    Hi Albos, This is a known problem. These superdrives die after a while. See the various threads on this site and the internet. I have the same problem with my Imac 20" 2.16 ghz. Just wants to burn and read cd's. Its has to do with the laser. For DVD an CD are two different laser and the one for DVD's has probably died in yours (as it did in mine). I bought an external LG burner and problem solved. (And a lot cheaper than replacing the superdrive)
    Hope this helps you.
    Robert

  • SDIXML_DOM_TO_XML is giving hexa values not xml

    Hi all,
    As per the suggestion from Satish, I am using these FM to convert data> dom> xml.
    but the function SDIXML_DOM_TO_XML is giving hexa values
    Please advise.
    CALL FUNCTION 'SDIXML_DATA_TO_DOM'
    EXPORTING
    NAME = 'ACCESOS'
    DATAOBJECT = ACCESOS[]
    IMPORTING
    DATA_AS_DOM = L_DOM
    CHANGING
    DOCUMENT = M_DOCUMENT
    EXCEPTIONS
    ILLEGAL_NAME = 1
    OTHERS = 2.
    IF SY-SUBRC = 0.
    WRITE 'Ok'.
    ELSE.
    WRITE: 'Err =',
    SY-SUBRC.
    ENDIF.
    CHECK NOT L_DOM IS INITIAL.
    W_RC = M_DOCUMENT->APPEND_CHILD( NEW_CHILD = L_DOM ).
    IF W_RC IS INITIAL.
    WRITE 'Ok'.
    ELSE.
    WRITE: 'Err =',
    W_RC.
    ENDIF.
    --CALL FUNCTION FOR: put the XML data ino ITAB--
    CALL FUNCTION 'SDIXML_DOM_TO_XML'
    EXPORTING
    DOCUMENT = M_DOCUMENT
    IMPORTING
    XML_AS_STRING = W_STRING
    SIZE = W_SIZE
    TABLES
    XML_AS_TABLE = IT_XML
    EXCEPTIONS
    NO_DOCUMENT = 1
    OTHERS = 2.
    IF SY-SUBRC = 0.
    WRITE 'Ok'.
    ELSE.
    WRITE: 'Err =',
    SY-SUBRC.
    ENDIF.
    LOOP AT IT_XML INTO XML_TAB-D.
    APPEND XML_TAB.
    ENDLOOP.

    also,
    I am trying to write the XML file to file in app.server.

  • My Slot Drive is giving me trouble. Doesn't burn or read discs that i have/want to work!!

    My Slot drive is giving me trouble. It will not burn or read discs that i have/want to work on. It makes a strange noise when i put in a blank cd and spits it back out after 20seconds. It will read third party discs no problem which is very strange indeed. Last week i burned photos to a blank disc and went to make a duplicate and this is when the trouble began. Has anyone ever come across an issue such as this before?? Any assistance would be greatly appreciated.

    Well it looks like my media i.e. CDs/DVDs have gone past their sell by date. I purchased new discs to test your theory/bad experience and it looks like i too suffer the same fate!! It's great that this problem i have been having seems to be now rectified although it does lead me to a new issue, as the last two/three years of work saved on these discs are being rejected by my iMac If this is the case then what is the point in purchasing and burning discs for storage over a time that is quite reasonable really(at least 5years)!!!!!

Maybe you are looking for