Measurement error in reading Encoder Pulses

I am using PCI-6601 card to read a Linear Encoder which gives 2000 pulses per mm of distance.The accuracy of the Linear encoder is 2Microns.In my application I am measuring a distance of 7mm.But the card is reading with an error of 30 to 50 Microns error.We had checked up all the factors related to mechanical and Encoder.In fact the same application was earlier working with Advantech Encoder card which has provisons to connect the A,B,A Bar,B Bar inputs from Encoder.There was an accuracy of 0 to 5Microns.But the application was replaced with NI Card because of the continuous problem of the Digital I/O Card used from Advantech.
Mail me the possible causes and also the troubleshooting procedures for correcting the above problem

Hi,
What I think is happening is there might be some noise on your signal lines. The PCI-6601 counters are capable of detecting a pulse as small as 20ns. If the Advantech card can't detect pulses at that small a resolution, it might be ignoring "noisy" pulses that shouldn't be there. Are you reading more pulses than you should be or less?
There are a couple things I might be able to suggest to clean up your signal. The counters support several different encoder modes. Try using X4 Encoders. An X4 encoder counter increments or decrements on each edge of channels A and B. Whether the counter increments or decrements depends on which channel leads the other. Each cycle results in four increments or decrements. I believe this X4 mode is more noise resi
stant than the standard mode.
Another thing you might want to consider is applying a filter to the input signals (debounce or deglitch filters). Each PFI line coming from the I/O connector can be passed through a simple digital filter. The filter operates off a filter clock and a fast internal sampling clock. It samples the signal on the PFI line on each rising edge of the sampling clock. A change in the signal is propagated only if it maintains its new state for at least the duration between two consecutive rising edges of the filter clock (one filter clock period). The frequency of the filter clock determines whether a transition in the signal may propagate or not.
6601/6602 User Manual
http://digital.ni.com/manuals.nsf/webAdvsearch/DD0DBB6404BC139886256721007CF16D?OpenDocument&vid=niwc&node=132100_US
Hopefully one of these suggestions will do the trick. Have a good day.
Ron

Similar Messages

  • Reading Encoder pulses using US DIGITAL PCI4E

    Hello All,
    I'm new to this forum so I hope that I post the question in the correct board.
    I have an encoder connected to PCI4e board.
    The problem is that when trying to measure velocity I get different result using different methods:
    So I want to measure the Encoder pulses frequency.
    I'm trying to figure out which PCI4E function gives me this information
    If anyone know please tell me.
    Thanks
    Gil,
    Solved!
    Go to Solution.

    Gil,
    The US Digital website provides a set of VI's for using their hardware in Labview, this is not supported hardware and we do not have access to the commands that are sent to the device as it was made by a third party vendor. However there is example code for labview which can be downloaded at (http://usdigital.com/download/43) which was found in the download section of that product support page. Keep in mind, this code was created in LabVIEW 6.1 and may have problems integrating with current versions and or may have different functions and features. This download contains many different VIs which may help you to better understand the workings of the device. Feel free to contact me at any time if you experience any more issues. I will be happy to help you. Thanks!
    Frank,
    National Instruments
    Staff Software Project Engineer

  • Velocity Measurement from FPQuad-510 encoder pulse counter

    Hi, I have a quad-510 quadrature encoder counter and a 1024pulse/1rotation encoder. How can I read or calculate angular velocity(accurately and without much delay) from encoder readings?
    Is there a special vi or another algorithm (other than derivative.vi) that could help?
    Thank you.

    Caner,
    What do you see listed for the status of the velocity channels in MAX?
    Also check your channel configuration to make sure you have an appropriate range set.
    Regards,
    Simon
    Message Edited by Simon H on 02-02-2007 06:50 PM
    Attachments:
    MAX_CTR.png ‏26 KB
    MAXDataConf.png ‏11 KB

  • Read Encoder Position Error -70012

    I am using the "Read Encoder Position" and I keep getting error #-70012.  There are no errors up to this point and it does not SEEM to affect the way my program runs.  Does anyone know what this error is? 
    I did try to look up the error # to no avail.
    Thanks.

    Have you seen this?

  • How to measure time difference between two continous encoder pulse (PULSE A & PULSE B)

    im trying to figure out the time difference between two square
    wave pulse (PULSE A and PULSE B) from an encoder. I tried to modify many code but fail to capture thephase difference  for each pulse. the
    pulse only rise to 5V and fall to 0V like normal square wave pulse
    can you and all of experts here help me out with this?
    my problem
    1) Encoder pulse are continous (pulse A and pulse B)
    2) Square wave pulse have "0V" and "5V" please rapidly
    if possible someone show me correct method , Im using LABVIEW 7.1 and Hardware NI SCOPE (PCI 5102)
    your advice are highly appreciated
    among my idea as in attachment , but I failed to get it
    Attachments:
    Need to Get this wave.JPG ‏34 KB

    Hi Amirul,
    Check the attached JPG file. i think this will be use full to you
    Regards,
    Santhosh M

  • How to measure the frequency of a pulse being generated by a counter

    Hi,
    I am using labview 8.6 to generate 5 evenly spaced pulses for every 1 revolution of my shaft. However, I would also want to know the frequency of these pulses so I can determine the shaft speed. Since I am already generating the pulses using one of my counters, can I still tap into that or task another counter to measure the pulse frequency? If so, how? I have attached my code for generating the pulses and I am using an Ni 9401 module and an NI 9172 chassis. If someone can helo me modify the code to measure and tell me the pulse frequency as well, that would be really appreciated
    Attachments:
    autotrain2.vi ‏19 KB

    You'd probably get a more coherent answer if you didn't bounce around from thread to thread so much...
    How can I generate a pulse train from shaft encoder? (5/13)
    pulse train from encoder (5/15)
    how to measure rpm (5/20)
    How to measure rpm using shaft encoder and labview (5/23)
    This thread (also 5/23)
    I see you ignored my suggestion from the other thread--Kevin's solution is good too but using an encoder task offers more noise immunity (I think this is probably the cause of the problem you reported on the other thread).  You can fix it with digital filtering if you want to keep using a counter output instead of an encoder task.  Noise during transitions is pretty common for a quadrature encoder.
    A finite counter output task uses 2 counters on the 9172 (although you said 9174 earlier at one point--this wouldn't be the case on a 9174) so you wouldn't have one left to make your frequency measurement.  With the solution you have now, you can change to continuous to free up a counter if you don't care about outputing an exact number of rotation's worth of pulses (I'm not sure if you do or not--I didn't read through all of the various threads relating to this application to find out).
    For your actual question in this thread...  Have you tried running one of the frequency measurement examples?  From the code here I can't tell what you have tried (it just looks like a mangled version of the code Kevin gave to you in your other thread).
    Best Regards,
    John Passiak

  • Analog and Encoder being collected only on encoder pulses.

    I currently have the setup below and the XValue timestamps from the Write to Measurement File are not exactly at the rate I specified in the DAQ Assistant.  The DAQ Assistant just has analog channels with Samples to Read set as 10 (or 1, which does not affect this example) and the Sample Rate (Hz) set to 10 Hz.  The main problem that I am having is that the analog channels seem to follow the Frequency Counter in the sense that it alters the XValue timestamps in the Write to Measurement File and will only log the analogs and frequency channel when the encoder (frequency counter) encounters the edge of a pulse.  How do I get the analog channels in the DAQ Assistant to log as well as getting the Frequency Counter to log simultaneously with the correct XValue timestamps from the Write to Measurement File with or without the encoder moving? 
    Also, is the 100 ms Wait Until Next ms Multiple needed for the Frequency Counter?
    Thanks in advance for the help.

    The *.vi works correctly except for the fact that when the encoder is not reading any pulses, not moving, it delays all data acquisition for all channels (analog and counter) until the encoder rotates again or the counter channel for the encoder times out according to the timeout specified.  I would like for all of the channels to be able to continue logging at the specified rate in the DAQ Assistant for the analog channels and the specified rate for the counter channel (encoder) if the encoder is not reading any pulses.  Also, when the counter channel is reading pulses, the timestamp XValue of the Write to Measurement File is not at the exact rate I specify in the DAQ Assistant.  An example of some data is shown below.
    X_Value
                  Analog
           Encoder
    0
    2.231008
    0
    9.237507
    0.942442
    0
    20.366281
    3.523876
    5.227699
    20.725778
    -4.150966
    1.09365
    22.304438
    6.117589
    70.197237
    When the encoder is not receiving counts, it halts all data to be written to the Write to Measurement File and the X_Value timestamps are not exactly at 10Hz as I requested in the DAQ Assistant.
    Thanks again for any help.

  • Unable to Log-in *SAP System Message : Error while reading a Dynpro*

    Hi,
    We are facing issues while logging-in through SAP logon 710.
    The system throws an error dialog box with the below message:
    SAP System Message : Error while reading a Dynpro
    At the OS level Java process  server0 is in stop status with exit code -11113. In ABAP WP Table all processes are in wait status.

    Hi Please find the contents of std_server.out below.
    stdout/stderr redirect
    node name   : server0
    pid         : 4124
    system name : KEC
    system nr.  : 01
    started at  : Mon Jul 27 15:44:57 2009
    [Thr 5656] MtxInit: -2 0 0
    CompilerOracle: exclude com/sapportals/portal/pb/layout/taglib/ContainerTag addIviewResources
    CompilerOracle: exclude com/sap/engine/services/keystore/impl/security/CodeBasedSecurityConnector getApplicationDomain
    CompilerOracle: exclude com/sap/engine/services/rmi_p4/P4StubSkeletonGenerator generateStub
    CompilerOracle: exclude com/sapportals/portal/prt/util/StringUtils escapeToJS
    CompilerOracle: exclude com/sapportals/portal/prt/core/broker/PortalServiceItem startServices
    CompilerOracle: exclude com/sap/engine/services/webservices/server/deploy/WSConfigurationHandler downloadFile
    CompilerOracle: exclude com/sapportals/portal/prt/jndisupport/util/AbstractHierarchicalContext lookup
    CompilerOracle: exclude com/sapportals/portal/navigation/cache/CacheNavigationNode getAttributeValue
    CompilerOracle: exclude com/sapportals/portal/navigation/TopLevelNavigationiView PrintNode
    CompilerOracle: exclude com/sapportals/wcm/service/ice/wcm/ICEPropertiesCoder encode
    CompilerOracle: exclude com/sap/lcr/pers/delta/importing/ObjectLoader loadObjects
    CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/InstanceBuilder readElement
    CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/InstanceBuilder readSequence
    CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/TypeMappingImpl initializeRelations
    CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/GeneratedComplexType _loadInto
    SAP J2EE Engine Version 7.00   PatchLevel 110760.44 is starting...
    Loading: LogManager ... 250 ms.
    Loading: PoolManager ... 0 ms.
    Loading: ApplicationThreadManager ... 47 ms.
    Loading: ThreadManager ... 16 ms.
    Loading: IpVerificationManager ... 0 ms.
    Loading: ClassLoaderManager ... 16 ms.
    Loading: ClusterManager ... 93 ms.
    Loading: LockingManager ... 32 ms.
    Loading: ConfigurationManager ... 1032 ms.
    Loading: LicensingManager ... 0 ms.
    Loading: CacheManager ... 93 ms.
    Loading: ServiceManager ...
    Loading services.:
      Service runtimeinfo started. (16 ms).
      Service cross started. (31 ms).
      Service file started. (31 ms).
      Service memory started. (31 ms).
      Service timeout started. (16 ms).
      Service trex.service started. (32 ms).
      Service userstore started. (0 ms).
      Service jmx_notification started. (15 ms).
      Service p4 started. (62 ms).
      Service classpath_resolver started. (16 ms).
      Service deploy started. (3722 ms).
      Service MigrationService started. (31 ms).
      Service bimmrdeployer started. (0 ms).
      Service log_configurator started. (5177 ms).
      Service locking started. (0 ms).
      Service http started. (126 ms).
      Service naming started. (157 ms).
      Service failover started. (16 ms).
      Service appclient started. (31 ms).
      Service javamail started. (47 ms).
      Service ts started. (47 ms).
      Service jmsconnector started. (47 ms).
      Service licensing started. (15 ms).
      Service connector started. (93 ms).
      Service iiop started. (94 ms).
      Service configuration started. (16 ms).
      Service webservices started. (265 ms).
      Service dbpool started. (1204 ms).
      Service UT started. (0 ms).
    Jul 27, 2009 3:45:09 PM         com.sap.security.core.persistence [SAPEngine_System_Thread[impl:5]_54] Fatal: Initialization of ABAP data source (com.sap.security.core.persistence.datasource.imp.R3Persistence) failed: "     Error while reading a dynpro                                        ". This message is critical if it appears during the startup of the AS Java.
    Jul 27, 2009 3:45:09 PM  ...re.server.ume.service.UMEServiceFrame [SAPEngine_System_Thread[impl:5]_54] Fatal:
      service com.sap.security.core.ume.service ================= ERROR =================
    Core service com.sap.security.core.ume.service failed. J2EE Engine cannot be started.
    com.sap.engine.frame.ServiceException: Start of UME service failed. Check help topic "Start of UME Service Failed". Technical details:      Error while reading a dynpro                                       
         at com.sap.security.core.server.ume.service.UMEServiceFrame.start(UMEServiceFrame.java:398)
         at com.sap.engine.frame.ApplicationFrameAdaptor.start(ApplicationFrameAdaptor.java:31)
         at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:214)
         at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:144)
         at com.sap.engine.frame.core.thread.Task.run(Task.java:64)
         at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:81)
         at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:152)
    Caused by: com.sap.security.core.persistence.datasource.PersistenceException:      Error while reading a dynpro                                       
         at com.sap.security.core.persistence.datasource.imp.R3PersistenceBase.newPersistenceException(R3PersistenceBase.java:236)
         at com.sap.security.core.persistence.datasource.imp.R3PersistenceBase.init(R3PersistenceBase.java:491)
         at com.sap.security.core.persistence.imp.PrincipalDatabagFactoryInstance.<init>(PrincipalDatabagFactoryInstance.java:446)
         at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.newInstance(PrincipalDatabagFactory.java:164)
         at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.getInstance(PrincipalDatabagFactory.java:117)
         at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.getInstance(PrincipalDatabagFactory.java:63)
         at com.sap.security.core.InternalUMFactory.initializeUME(InternalUMFactory.java:221)
         at com.sap.security.core.server.ume.service.UMEServiceFrame.start(UMEServiceFrame.java:287)
         ... 6 more
    com.sap.engine.frame.ServiceException: Start of UME service failed. Check help topic "Start of UME Service Failed". Technical details:      Error while reading a dynpro                                       
         at com.sap.security.core.server.ume.service.UMEServiceFrame.start(UMEServiceFrame.java:398)
         at com.sap.engine.frame.ApplicationFrameAdaptor.start(ApplicationFrameAdaptor.java:31)
         at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:214)
         at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:144)
         at com.sap.engine.frame.core.thread.Task.run(Task.java:64)
         at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:81)
         at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:152)
    Caused by: com.sap.security.core.persistence.datasource.PersistenceException:      Error while reading a dynpro                                       
         at com.sap.security.core.persistence.datasource.imp.R3PersistenceBase.newPersistenceException(R3PersistenceBase.java:236)
         at com.sap.security.core.persistence.datasource.imp.R3PersistenceBase.init(R3PersistenceBase.java:491)
         at com.sap.security.core.persistence.imp.PrincipalDatabagFactoryInstance.<init>(PrincipalDatabagFactoryInstance.java:446)
         at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.newInstance(PrincipalDatabagFactory.java:164)
         at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.getInstance(PrincipalDatabagFactory.java:117)
         at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.getInstance(PrincipalDatabagFactory.java:63)
         at com.sap.security.core.InternalUMFactory.initializeUME(InternalUMFactory.java:221)
         at com.sap.security.core.server.ume.service.UMEServiceFrame.start(UMEServiceFrame.java:287)
         ... 6 more
    [Framework -> criticalShutdown] Core service com.sap.security.core.ume.service failed. J2EE Engine cannot be started.
    Jul 27, 2009 3:45:09 PM             com.sap.engine.core.Framework [SAPEngine_System_Thread[impl:5]_54] Fatal: Critical shutdown was invoked. Reason is: Core service com.sap.security.core.ume.service failed. J2EE Engine cannot be started.

  • Error during rendering/encoding -- PLEASE HELP!!

    Hey everybody!! After trying twice to burn this project to DVD, I'm about ready to rip my hair out!! First of all, here's the specifics about my computer:
    Mac OS 10.3.7 / 800 MHZ Power PC G4 / 256 MB SDRam / My programs are iMovie 4 and I have iDVD5
    OK, I'm trying to burn a movie that is about 1 hour, 23 minutes long. Even though my movie is not 90 minutes long, iDVD does tell me that it is too long and that I need to click on "Best Performance" in my iDVD Preferences. No problem, I did that. (By the way, at the time of the burning, I have about 5.1 GB on space left on my hard drive.)
    Before burning I do repair permissions and delete my "com.apple.idvd.plist".
    So, it burns and burns for roughly 6 hours. Right at the very end, the disk spits out and an error message comes up saying:
    Encoding Video
    Error during rendering/encoding:
    This is very frustrating because I need to get this video done by tonight and turn it in by Monday morning!!
    Any suggestions?? Please help!!! Thanxx!!

    I have about 5.1 GB on space left on my hard drive
    I don't think that's enough. Remember a DVD is 4.7GB (which iDVD first stores on your hard drive) plus temporary files that iDVD needs.

  • I repeatedly get "error during rendering/encoding of menus/slideshow" message.  This process is the same on my iMac, MacBook and another iMac.  I have been burning dvd's int he same way for the past 12 months using the exact same steps successfully.

    I keep getting "error during rendering/encoding of menus/slideshows" message.  I have been burning DVD's in exactly the same way for the past 12 months and mostly on my MacBook which is 3 years old.  Obviously I'm using iDVD.  I purchased an iMac about a year ago and moved to use this for dvd burning without problem.  A few months ago (approximately) I started to experience problems with burning with the error message above.  I tried everything including starting the whole process from scratch right down to capturing the movie clips from my video recorder into iMovie, then using them in iDVD.  Still the same message came up.  I lost count of how many times I repeated the process with different clips and variations and the same thing happened.  This was also the case with my MacBook and my husband's iMac.
    After taking both of mymac's tothe service centre, having new optical thingys put it and even a new hard drive on my iMac along with a new DVD burner the same thing happened.  They told me it must be the process that I am using that is incorrect!
    I took my 27" iMac to an apple shop and asked them to assist me while I use the same technique as I always had.  The same message came up so they tried using my clips in one of their mac's.  The same message. They tried it with different clips and the same message.  The only way we could get theirs to work was with a magic DVD which did not produce what I needed and was limited with only one page. 
    I now cannot use any of my Mac's for the intended purpose that I bought them for - to produce good media for my work!  It was suggested that I purchase some non Mac software to burn DVDs which defeats the object of having a mac with iDVD in my opinion.  I have a book on iDVD which is very informative and have followed the process to the letter and checked all the trouble shooting and still no remedy.  It was mentioned that an up-date may have caused the problem on all my macs.
    I feel that this issue should be addressed by Apple as a matter of correctness.
    I now find that on the net there are many posts in forums and such like with exactly the same (almost word for word) problems.  Please Apple, keep/regain your good name and sort this out.
    Jayne Connelly

    Thanks Bengt W for your attention to this matter.  So much appreciated.  And thanks for putting me right on the aim of forums (new to this).  Although, you may regret asking for more information.  I've added everything I can below.
    The process I used is as follows:
    Import recorded clips of between 5 and 15minutes each from my video recorder into i
    Edit the clips (remove unwanted start and endng)
    Add title to front of clips
    ‘Share’ them to ‘movie’ (export using QuickTime)folder in .mov format individually
    Open iDVD and ‘create new project’
    Select ‘favourite’ theme that I have set up forall my work dvd’s (this has been used successfully many times and I’ve triedwithout using the favourite them).
    Add 2 submenus for each group of clips
    Select submenu  - drag and drop between 3 – 6 clips in each of the twosubmenus
    Change title colours on clips
    Dragand drop image into drop zones where required
    In‘map’ view I check for any yellow warnings before burning to disc
    In an attempt to remedy the problems I’ve tried the following:
    Try new DVD discs
    Try different themes (favourites and standardones)
    Change images in drop zones
    Start whole process again even from importingfrom camera again
    Two other completely different computers (iMacand MacBook) with iDVD
    Go to apple shop and use their computers to doin iDVD
    Try with one clip and no menu pages added
    Use a clip that I already have that did notoriginate from my camera
    Turn computer off and restart
    New hard drive
    New optical lense (thing)
    New DVD burner
    Saving to disc image rather than dvd disc
    Other points:
    I also have a ‘flip’ and ‘iPhone’ whereI’ve imported footage camera which, although limited, records and makes videoclips and burns them to DVD through iDVD without problem.
    For example, I have just gone through steps 5 - 11 using some clips that were already imported from my iphone to iPhoto and dragged across.  I used a theme that I've used before which has failed and added one sub menu page where the clip went.  It burned to disc image successfully.
    The startup disc, I believe will have no space issues asit’s a new hard drive with no use apart from this.  That could have been an issue before (I didn’t check it) butnot now.
    Other technical stuff that I don't understand but you may:
    I have…… Mac OS X Version 10.6.7 with all updates onit.  Processor 2.8 GHz Intel Corei7.  Memory 4GB 1067 MHz DDR3.
    iDVD version 7.1.1
    HardwareOverview:
      Model Name: iMac
      Model Identifier: iMac11,1
      Processor Name: Intel Core i7
      Processor Speed: 2.8 GHz
      Number Of Processors: 1
      Total Number Of Cores: 4
      L2 Cache (per core): 256 KB
      L3 Cache: 8 MB
      Memory: 4GB
      Processor Interconnect Speed: 4.8 GT/s
      Boot ROM Version: IM111.0034.B02
    SMC Version (system):            1.54f36
    OPTIARCDVD RW AD-5680H:
      Firmware Revision:     3AHB
      Interconnect:    ATAPI
      Burn Support:   Yes (AppleShipping Drive)
      Cache:    2048KB
      Reads DVD:    Yes
      CD-Write: -R, -RW
      DVD-Write:   -R, -R DL,-RW, +R, +R DL, +RW
      Write Strategies:  CD-TAO,CD-SAO, CD-Raw, DVD-DAO
      Media: Toshow the available burn speeds, insert a disc and choose View > Refresh
    If you can solve this you are better than the 'apple geeks' in the shop and the service technicians in the service centre (and of course me but that's no achievement). 
    Eagerly awaiting your reply.
    Jayne

  • Error while reading excel file from application server into internal table.

    Hi experts,
    My requirement is to read an excel file from application server into internal table.
    Hence I have created an excel file fm_test_excel.xls in desktop and uploaded to app server using CG3Z tcode (as BIN file type).
    Now in my program I have used :
    OPEN DATASET v_filename FOR INPUT IN text mode encoding default.
    DO.
    READ DATASET v_filename INTO wa_tab.
    The statement OPEN DATASET works fine but I get a dump (conversion code page error) at READ DATASET statement.
    Error details:
    A character set conversion is not possible.
    At the conversion of a text from codepage '4110' to codepage '4103':
    - a character was found that cannot be displayed in one of the two
    codepages;
    - or it was detected that this conversion is not supported
    The running ABAP program 'Y_READ_FILE' had to be terminated as the conversion
    would have produced incorrect data.
    The number of characters that could not be displayed (and therefore not
    be converted), is 445. If this number is 0, the second error case, as
    mentioned above, has occurred.
    An exception occurred that is explained in detail below.
    The exception, which is assigned to class 'CX_SY_CONVERSION_CODEPAGE', was not
    caught and
    therefore caused a runtime error.
    The reason for the exception is:
    Characters are always displayed in only a certain codepage. Many
    codepages only define a limited set of characters. If a text from a
    codepage should be converted into another codepage, and if this text
    contains characters that are not defined in one of the two codepages, a
    conversion error occurs.
    Moreover, a conversion error can occur if one of the needed codepages
    '4110' or '4103' is not known to the system.
    If the conversion error occurred at read or write of  screen, the file
    name was '/usr/sap/read_files/fm_test_excel.xls'. (further information about
    the file: "X 549 16896rw-rw----201105170908082011051707480320110517074803")
    Also let me know whether this is the proper way of reading excel file from app server, if not please suggest an alternative .
    Regards,
    Karthik

    Hi,
    Try to use OPEN DATASET v_filename FOR INPUT IN BINARY mode encoding default. instead of OPEN DATASET v_filename FOR INPUT IN text mode encoding default.
    As I think you are uploading the file in BIN format to Application server and trying to open text file.
    Regards,
    Umang Mehta

  • Error while reading the ID of own business system from the SLD for system

    Hello,
    I try to send master material data from a 4.7 system via XI 3.0 to an autoID Infrastructure system 2.1. All Communication Channels, Receiver Agreements, Receiver and Interface Agreements are configured. The IDOC gets propper into the XI, Inbound Message is "green". Now, I get the following message:
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">SLD_NO_OWN_BS</SAP:Code>
      <SAP:P1>ZTA</SAP:P1>
      <SAP:P2>013</SAP:P2>
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error while reading the ID of own business system from the SLD for system ZTA and client 013</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Can anybody help me?

    Probably, its due to incorrect RFC Adapter properties in config.
    Go to Integration COnfiguration. Double Click on the Business System for your R/3 system. On the right hand screen, Click  on Service-->Adapter Specific Parameters.
    Check whether the Logical System Name comes up as SAP<SID> and whether R/3 system ID and Client are appropriate.
    If these values are inappropriate, make changes to the corresponding Technical System defined in the SLD. After you have made the necessary corrections, come back to Integration COnfiguration, Double click on Business SYstem for R/3. Switch to Edit Mode. Click on Service-> Adapter Specific Parameters and then click on the Icon between Apply and Cancel buttons, inorder to compare with SLD and make those values reflect in config. Then click on Apply and Save the Business System.
    After this, you can retry sending the message.
    Rgds
    R Chandrasekhar

  • How do I read a pulsed input on an SCB-68 counter channel?

    Hello all, I have been searching through the DAQ help and this board
    for a few hours now and I cannot find an answer that addresses what
    should be a simple problem. Let's start with hardware and software: I
    have a 6062E PCMCIA DAQmx card connected to a SCB-68 (E Series)
    connector block. I am running Version 7.1.0.306 of Measurement Studio
    for Visual Studio .NET and am coding in C#. So please, no LabView
    answers.
    I am trying to read the pulsed output of the Omega HHT-1501 Digital
    Tachometer - it outputs a TTL LOW pulse every time the sensor is
    triggered, I would like to read in these pulses and  get the
    frequency to determine RPMs.  As far as I can tell I need to
    connect the pulsed signal line to CTR0, which is PFI9/GPCTR0_GATE on
    the connector block, pin #3. I have verified that the tachometer is
    indeed pulsing correctly. I have used the DAQ Assistant to create a
    DAQmx task to acquire the frequency of a digital signal using the 1
    Counter Low Frequency Measurement method, input range is set from 1Hz
    to 1KHz, starting edge is set to falling. For Task Timing the
    Acquisition Mode is Continuous, Samples to Read = 100.
    When I run the test I get no response. And it also seems that the
    GPCTR0_GATE is always at +5V. I have tried just about every other
    combination of inputs, including using CTR1 on GPCTR1_GATE, pin 41, all
    with the same result - no signal read.
    So what is the problem? Every post or help article I have read makes it
    sound like plug and play to read the pulses but this is not the case -
    does the counter gate need to be configured as an input in either
    software or hardware? Am I supposed to have a signal set on the SOURCE,
    and if so what? And what about my ground line from the pulse source? I
    have tried attachign that to DGND, still no result, and if I attach the
    pulse signal gnd to the GPCTR0_SOURCE it causes my tachometer to lock
    up.
    This thread
    http://forums.ni.com/ni/board/message?board.id=170&message.id=34826&query.id=3937#M34826
    seems to be very closely related to what I want to do but is as vague
    as the help articles - it mentions using one of the two timebases as
    the source input - what does this mean in terms of code/wiring?
    Additionally in the NI-DAQmx help article under Device
    Considerations->Counter Signal Connections->AO/E/S Series it says
    "The count direction terminal must be tristated to use an external
    signal. Reset the device to ensure the terminal is tristated" for edge
    counting. A) Is this related? and B) how does one tristate by reset?
    Power cycling the scb-68 has no apparent effect on anything.
    I would appreciate any help on this matter, hopefully with as much
    detail as possible since the help manuals seem to be mostly useless for
    guiding one in performing any task.
    Thanks!
                       J. Slater

    Hi Shyam,
    The major factor that would come into play with the signal having some noise is that the counter is expecting a TTL signal and the oscilloscope is measuring an analog input signal. If your signal floats above the TTL thresholds or does not rise/fall within the specifications, the behavior is not predictable and it can be measured as a high or low by the counter. An oscilloscope will measure the analog signal and you may be able to measure the frequency of the noise on your scope by analyzing a smaller timeframe of the signal.
    What Is the Definition of a TTL (Transistor-Transistor Logic) Compatible Signal?
    http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/acb4bd7550c4374c86256bfb0067a4bd
    Steve B

  • Error while reading ID of own business system from the SLD for system D18

    Dear guru's,
    I have almost completed a file2proxy scenario but I'm stuk on the following.
    When sending a message the outbound adapter says:
    <b>Error while reading ID of own business system from the SLD for system D18 and client 200</b>
    What's the problem? I'm using a HTTP connection in the comm. channel. In this http connection a user with SAP_ALL is defined.
    Any suggestions?
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">SLD_NO_OWN_BS</SAP:Code>
      <SAP:P1>D18</SAP:P1>
      <SAP:P2>200</SAP:P2>
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error while reading ID of own business system from the SLD for system D18 and client 200</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>

    Login to system D18 and client 200 and check the TC SLDCHECK and also as per my pervious message check the entries in the SLDAPICUST, it should point to the Server on which SLD is present usually XI server https.
    Actually what happens in this error is when you are done with the configuration part in the ID, you are trying to eceute the scenario File to proxy, when it comes to identify the receiver system which is D18 clnt 200, it goes to SLD to check it and SLD is trying to ping to the machine D18 this connection is set from the TC SLDAPICUST on the machine D18.
    here the problem is that either the D18 is not able to ping to the SLD and also try refreshing the SLD cache.
    Hope you problem is fixed

  • FMLE Unexpected Error encountered in encoding process every 2 minutes

    Hi,
    We are wondering if anyone has advice as to what could be causing the following problem.
    We are having an issue where by we are getting an Unexpected error ever 2 minutes.
    We are running FMLE 3.2 on a Mac Pro server with a Blackmagic Intensity Pro Capture card
    Wed Jan 11 2012 17:49:49 : Session Started
    Wed Jan 11 2012 17:49:49 : Video Encoding Started
    Wed Jan 11 2012 17:49:49 : Audio Encoding Started
    Wed Jan 11 2012 17:51:49 : Unexpected error encountered in encoding process.
    Wed Jan 11 2012 17:51:49 : Audio Encoding Stopped
    Wed Jan 11 2012 17:51:49 : Video Encoding Stopped
    Wed Jan 11 2012 17:51:49 : Session Stopped
    Wed Jan 11 2012 17:51:51 : Primary - Stream[1_o9kj1pu9_1@39123] Status: NetStream.Unpublish.Success
    Wed Jan 11 2012 17:51:51 : Primary - Network Status: NetConnection.Connect.Closed status
    Wed Jan 11 2012 17:51:51 : Primary - Disconnected
    Wed Jan 11 2012 17:51:51 : Primary - Connected to FMS/3,5,7,7009
    Wed Jan 11 2012 17:51:51 : Primary - Stream[1_o9kj1pu9_1@39123] Status: Success
    Wed Jan 11 2012 17:51:51 : Primary - Network Command: onFCPublish
    Wed Jan 11 2012 17:51:51 : Primary - Stream[1_o9kj1pu9_1@39123] Status: NetStream.Publish.Start
    Wed Jan 11 2012 17:51:51 : Backup - Stream[1_o9kj1pu9_1@39123] Status: NetStream.Unpublish.Success
    Wed Jan 11 2012 17:51:51 : Backup - Network Status: NetConnection.Connect.Closed status
    Wed Jan 11 2012 17:51:51 : Backup - Disconnected
    Wed Jan 11 2012 17:51:51 : Backup - Connected to FMS/3,5,7,7009
    Wed Jan 11 2012 17:51:51 : Backup - Stream[1_o9kj1pu9_1@39123] Status: Success
    Wed Jan 11 2012 17:51:51 : Backup - Network Command: onFCPublish
    Wed Jan 11 2012 17:51:51 : Backup - Stream[1_o9kj1pu9_1@39123] Status: NetStream.Publish.Start
    Wed Jan 11 2012 17:51:51 : File /Users/harvardiop/Movies/bobsburgers.f4v closed.
    Wed Jan 11 2012 17:51:51 : Renaming existing file from /Users/harvardiop/Movies/bobsburgers.f4v to /Users/harvardiop/Movies/bobsburgers.4.f4v
    Wed Jan 11 2012 17:51:51 : Session Started
    Wed Jan 11 2012 17:51:51 : Video Encoding Started
    Wed Jan 11 2012 17:51:52 : Audio Encoding Started
    Wed Jan 11 2012 17:53:51 : Unexpected error encountered in encoding process.
    Wed Jan 11 2012 17:53:52 : Audio Encoding Stopped
    Wed Jan 11 2012 17:53:52 : Video Encoding Stopped
    Wed Jan 11 2012 17:53:52 : Session Stopped
    Wed Jan 11 2012 17:53:53 : Primary - Stream[1_o9kj1pu9_1@39123] Status: NetStream.Unpublish.Success
    Wed Jan 11 2012 17:53:53 : Primary - Network Status: NetConnection.Connect.Closed status
    Wed Jan 11 2012 17:53:53 : Primary - Disconnected
    Wed Jan 11 2012 17:53:53 : Primary - Connected to FMS/3,5,7,7009
    Wed Jan 11 2012 17:53:53 : Primary - Stream[1_o9kj1pu9_1@39123] Status: Success
    Wed Jan 11 2012 17:53:53 : Primary - Network Command: onFCPublish
    Wed Jan 11 2012 17:53:53 : Primary - Stream[1_o9kj1pu9_1@39123] Status: NetStream.Publish.Start
    Wed Jan 11 2012 17:53:53 : Backup - Stream[1_o9kj1pu9_1@39123] Status: NetStream.Unpublish.Success
    Wed Jan 11 2012 17:53:53 : Backup - Network Status: NetConnection.Connect.Closed status
    Wed Jan 11 2012 17:53:53 : Backup - Disconnected
    Wed Jan 11 2012 17:53:53 : Backup - Connected to FMS/3,5,7,7009
    Wed Jan 11 2012 17:53:54 : Backup - Stream[1_o9kj1pu9_1@39123] Status: Success
    Wed Jan 11 2012 17:53:54 : Backup - Network Command: onFCPublish
    Wed Jan 11 2012 17:53:54 : Backup - Stream[1_o9kj1pu9_1@39123] Status: NetStream.Publish.Start
    Wed Jan 11 2012 17:53:54 : File /Users/harvardiop/Movies/bobsburgers.f4v closed.
    Wed Jan 11 2012 17:53:54 : Renaming existing file from /Users/harvardiop/Movies/bobsburgers.f4v to /Users/harvardiop/Movies/bobsburgers.5.f4v
    Wed Jan 11 2012 17:53:54 : Session Started
    Wed Jan 11 2012 17:53:54 : Video Encoding Started
    Wed Jan 11 2012 17:53:54 : Audio Encoding Started
    Wed Jan 11 2012 17:55:54 : Unexpected error encountered in encoding process.
    Wed Jan 11 2012 17:55:54 : Audio Encoding Stopped
    Wed Jan 11 2012 17:55:54 : Video Encoding Stopped
    Wed Jan 11 2012 17:55:54 : Session Stopped
    Wed Jan 11 2012 17:55:55 : Primary - Stream[1_o9kj1pu9_1@39123] Status: NetStream.Unpublish.Success
    Wed Jan 11 2012 17:55:55 : Primary - Network Status: NetConnection.Connect.Closed status
    Wed Jan 11 2012 17:55:55 : Primary - Disconnected
    Wed Jan 11 2012 17:55:55 : Primary - Connected to FMS/3,5,7,7009
    Wed Jan 11 2012 17:55:55 : Primary - Stream[1_o9kj1pu9_1@39123] Status: Success
    Wed Jan 11 2012 17:55:55 : Primary - Network Command: onFCPublish
    Wed Jan 11 2012 17:55:56 : Primary - Stream[1_o9kj1pu9_1@39123] Status: NetStream.Publish.Start
    Wed Jan 11 2012 17:55:56 : Backup - Stream[1_o9kj1pu9_1@39123] Status: NetStream.Unpublish.Success
    Wed Jan 11 2012 17:55:56 : Backup - Network Status: NetConnection.Connect.Closed status
    Wed Jan 11 2012 17:55:56 : Backup - Disconnected
    Wed Jan 11 2012 17:55:56 : Backup - Connected to FMS/3,5,7,7009
    Wed Jan 11 2012 17:55:56 : Backup - Stream[1_o9kj1pu9_1@39123] Status: Success
    Wed Jan 11 2012 17:55:56 : Backup - Network Command: onFCPublish
    Wed Jan 11 2012 17:55:56 : Backup - Stream[1_o9kj1pu9_1@39123] Status: NetStream.Publish.Start
    Wed Jan 11 2012 17:55:56 : File /Users/harvardiop/Movies/bobsburgers.f4v closed.
    Wed Jan 11 2012 17:55:56 : Renaming existing file from /Users/harvardiop/Movies/bobsburgers.f4v to /Users/harvardiop/Movies/bobsburgers.6.f4v
    Wed Jan 11 2012 17:55:56 : Session Started
    Wed Jan 11 2012 17:55:56 : Video Encoding Started
    Wed Jan 11 2012 17:55:56 : Audio Encoding Started
    Wed Jan 11 2012 17:57:39 : Audio Encoding Stopped
    Wed Jan 11 2012 17:57:39 : Video Encoding Stopped
    Wed Jan 11 2012 17:57:39 : Session Stopped
    Wed Jan 11 2012 17:57:40 : File /Users/harvardiop/Movies/bobsburgers.f4v closed.
    Wed Jan 11 2012 17:57:40 : Primary - Stream[1_o9kj1pu9_1@39123] Status: NetStream.Unpublish.Success
    Wed Jan 11 2012 17:57:40 : Primary - Network Command: onFCUnpublish
    Wed Jan 11 2012 17:57:41 : Backup - Stream[1_o9kj1pu9_1@39123] Status: NetStream.Unpublish.Success
    Wed Jan 11 2012 17:57:41 :
    The following is our FMLE Profile XML
    <?xml version="1.0" encoding="UTF-16"?>
    <flashmedialiveencoder_profile>
        <preset>
            <name>Custom</name>
            <description></description>
        </preset>
        <capture>
            <video>
            <device>Intensity NTSC/PAL</device>
            <frame_rate>24.00</frame_rate>
            <size>
                <width>720</width>
                <height>480</height>
            </size>
            </video>
            <audio>
            <device>Blackmagic Audio</device>
            <sample_rate>22050</sample_rate>
            <channels>2</channels>
            <input_volume>75</input_volume>
            </audio>
        </capture>
        <encode>
            <video>
            <format>H.264</format>
            <datarate>500;</datarate>
            <outputsize>640x426;</outputsize>
            <advanced>
                <profile>Baseline</profile>
                <level>3.1</level>
                <keyframe_frequency>5 Seconds</keyframe_frequency>
            </advanced>
            <autoadjust>
                <enable>false</enable>
                <maxbuffersize>1</maxbuffersize>
                <dropframes>
                <enable>false</enable>
                </dropframes>
                <degradequality>
                <enable>true</enable>
                <minvideobitrate></minvideobitrate>
                <preservepfq>false</preservepfq>
                </degradequality>
            </autoadjust>
            </video>
            <audio>
            <format>MP3</format>
            <datarate>48</datarate>
            </audio>
        </encode>
        <restartinterval>
            <days></days>
            <hours></hours>
            <minutes></minutes>
        </restartinterval>
        <reconnectinterval>
            <attempts></attempts>
            <interval></interval>
        </reconnectinterval>
        <output>
            <rtmp>
            <url>rtmp://p.ep39123.i.akamaientrypoint.net/EntryPoint</url>
            <backup_url>rtmp://b.ep39123.i.akamaientrypoint.net/EntryPoint</backup_url>
            <stream>1_o9kj1pu9_%i@39123</stream>
            </rtmp>
            <file>
            <limitbysize>
                <enable>false</enable>
                <size>10</size>
            </limitbysize>
            <limitbyduration>
                <enable>false</enable>
                <hours>1</hours>
                <minutes>0</minutes>
            </limitbyduration>
            <path>bobsburgers.f4v</path>
            </file>
        </output>
        <metadata>
            <entry>
            <key>author</key>
            <value></value>
            </entry>
            <entry>
            <key>copyright</key>
            <value></value>
            </entry>
            <entry>
            <key>description</key>
            <value></value>
            </entry>
            <entry>
            <key>keywords</key>
            <value></value>
            </entry>
            <entry>
            <key>rating</key>
            <value></value>
            </entry>
            <entry>
            <key>title</key>
            <value></value>
            </entry>
        </metadata>
        <preview>
            <video>
            <input>
                <zoom>75%</zoom>
            </input>
            <output>
                <zoom>75%</zoom>
            </output>
            </video>
            <audio></audio>
        </preview>
        <log>
            <level>100</level>
            <directory>/Users/harvardiop/Movies</directory>
        </log>
    </flashmedialiveencoder_profile>
    Thank you,

    Hi. I am currently having the same problems, only i do believe my settings are correct. However the error appears every thirty seconds. What am i doing wrong?
    <?xml version="1.0" encoding="UTF-16"?>
    <flashmedialiveencoder_profile>
    <preset>
    <name>Custom</name>
    <description></description>
    </preset>
    <capture>
    <video>
    <device>Blackmagic HD 720p 50 - 10 Bit</device>
    <frame_rate>25.00</frame_rate>
    <size>
    <width>1280</width>
    <height>720</height>
    </size>
    </video>
    <audio>
    <device>Line In</device>
    <sample_rate>44100</sample_rate>
    <channels>2</channels>
    <input_volume>75</input_volume>
    </audio>
    </capture>
    <process>
    <video>
    <crop>
    <left>15</left>
    <top>15</top>
    <right>15</right>
    <bottom>15</bottom>
    </crop>
    </video>
    </process>
    <encode>
    <video>
    <format>H.264</format>
    <datarate>2048;</datarate>
    <outputsize>640x360;</outputsize>
    <advanced>
    <profile>Baseline</profile>
    <level>4.1</level>
    <keyframe_frequency>8 Seconds</keyframe_frequency>
    </advanced>
    <autoadjust>
    <enable>false</enable>
    <maxbuffersize>1</maxbuffersize>
    <dropframes>
    <enable>false</enable>
    </dropframes>
    <degradequality>
    <enable>true</enable>
    <minvideobitrate></minvideobitrate>
    <preservepfq>false</preservepfq>
    </degradequality>
    </autoadjust>
    </video>
    <audio>
    <format>AAC</format>
    <datarate>128</datarate>
    </audio>
    </encode>
    <restartinterval>
    <days></days>
    <hours></hours>
    <minutes></minutes>
    </restartinterval>
    <reconnectinterval>
    <attempts></attempts>
    <interval></interval>
    </reconnectinterval>
    <output>
    <rtmp>
    <url>rtmp://p.xxxxxxx.i.akamaientrypoint.net/EntryPoint</url>
    <backup_url>rtmp://b.xxxxxx.i.akamaientrypoint.net/EntryPoint</backup_url>
    <stream>xxxxx</stream>
    </rtmp>
    </output>
    <metadata>
    <entry>
    <key>author</key>
    <value></value>
    </entry>
    <entry>
    <key>copyright</key>
    <value></value>
    </entry>
    <entry>
    <key>description</key>
    <value></value>
    </entry>
    <entry>
    <key>keywords</key>
    <value></value>
    </entry>
    <entry>
    <key>rating</key>
    <value></value>
    </entry>
    <entry>
    <key>title</key>
    <value></value>
    </entry>
    </metadata>
    <preview>
    <video>
    <input>
    <zoom>25%</zoom>
    </input>
    <output>
    <zoom>50%</zoom>
    </output>
    </video>
    <audio></audio>
    </preview>
    <log>
    <level>100</level>
    <directory>/Users/xxx/Movies</directory>
    </log>
    </flashmedialiveencoder_profile>

Maybe you are looking for