Reading Real Time Encoding Stats

Hi,
Does anyone know if it is possible to read the real time encoding stats that is outputted on the screen via command line? It would be nice to be able to display this info on the screen to the user in an app that we are running.
Any help or suggestions would be appreciated.
Thanks in advance

To add to what tst said, since you are expecting two bytes to make a 16 bit number, you have to combine these two bytes to make the 16 bit number. Just wiring the byte array will produce 8 values of 8-bit numbers. You can use the join numbers function (Functions - Advanced - Data Manipulation - Join Numbers) to combine two bytes from the array into one 16-bit number. You would have to index the array to get bytes 1 and 2 to join, then bytes 3 and 4 to join, etc... Or you could use Type Cast on the incoming string to convert to an array of U16. See attached vi.
- tbob
Inventor of the WORM Global
Attachments:
StringToBytes.vi ‏41 KB

Similar Messages

  • SQL Query for real time resource stats

    Does anyone know what the query would be to duplicate the real time resource stats page in version 8 or above of UCCX?  I need to build a custom web page that displays the same information.  I've got all the connectivity to the database just fine and can query it and display information.  Just can't figure out what the SQL would be that would extract that information.

     Michael,
    you can try :
    SELECT x.resourceName, t.eventType, x.datetime FROM (SELECT t1.resourceID, t1.resourceName, MAX(t2.eventDateTime) AS datetime FROM Resource AS t1 INNER JOIN AgentStateDetail AS t2 ON t2.agentID = t1.resourceID GROUP BY t1.resourceID, t1.resourceName ) AS x INNER JOIN AgentStateDetail AS t ON t.agentID = x.resourceID AND t.eventDateTime = x.datetime ORDER BY x.resourceName
    You will need to translate the eventType into the "readable" status like Talking or Not Ready with an IF or Case statement.
    Regards,
    Jeroen

  • Webview Real Time Agent State issue

    Hi
    We have UCCE 8.0(1) Environment, We have an issue in Webview like one single agent state is always TALKING even if he loggedout. We could see the Active-Skill-group is DEFAULT_5342. We tried that paticular extension unregister state still the same..
    We deleted that agent id in AW and still same. We checked for any event logs in CTI Server, there was no events, We have restarted the CTI Server, still the agent state showing as TALKING and the Duration is 360 hours. Does anyone have any suggestions
    Regards
    Senthil

    In order to recover from this, you'll likely need to cycle the PG for the site (both sides stopped at the same time & brought up clean, or via an opctest: exit_opc).
    To perform true root cause analysis, you'd likely need to enable some tracing on the PG & get logs from when the processes restart clean, all the way until you see this 'ghost agent'.
    TAC could help you with the trace settings but I'd think "opctest: debug /agent" would be a good start.
    Good luck.

  • Monitor real time sql statement.

    Hii All,
    I am working on win 7 machine using oracle 11gR2 with tool sql developer.
    I am accessing database using VPN from some xyz location.
    I want to monitor the sql statements like insert, update when somebody performs operation using front end.
    I have done this before in case of oracle forms via toad's sql monitor.
    But I can't use toad now, only sql developer.
    So please let me know how i can do this.
    Thank you.
    Aamir

    Hi,
    Following query will give you currently running SQLs,
    select sesion.sid,
    sql_text
    from v$sqltext sqltext, v$session sesion
    where sesion.sql_hash_value = sqltext.hash_value
    and sesion.sql_address = sqltext.address
    and sesion.username is not null
    order by sqltext.piece;
    This should help you.
    Thanks,
    Sundaram.

  • Why can't read access log file in real-time? (Oracle Weblogic Server 10.3)

    We can't read access log file in real-time. If access log is rotation to new file so can read access log file but can't read real-time.
    *** Oracle Weblogic Server versions 10 R3

    what's your meaning? try this command "tail -f access.log".
    Threre is a buffer about 8K for WebLogic to write the access info into the log files, so you can't see the access info untill the buffer is full.

  • Reading and saving real time data

    Hi,
    I would like to read and save real time data using DAQ card 6004 with my PDA device. There is no problem with reading real time data, I can see it on the PDA's screen successfully. But, when I'm trying to save this real time data, I have the following problem:
    -It continuosly asks for file name.
    -It only saves the data instaneously,i.e. it only saves the data at the moment.
    I'm stuck with this problem, could you please help me?  I attached my vi doc.
    By the way, I'm using Labview PDA 8.5 version. 
    Attachments:
    Acq&Graph&Save Voltage-Int Clk.vi ‏32 KB

    oozdemir,
    >> -It continuosly asks for file name.
    You are prompting the user for a file name each time through the loop.  Do this before you enter the loop and pass that file ref in.
    >> -It only saves the data instaneously,i.e. it only saves the data at the moment.
    By this, I am going to assume you want to append to the file as you go.  Two problems, 1.  you are saving an array to the file and additional info about the array structure is being saved.  You would essentially be creating a binary file filled with array "records" (for lack of a better term) appended one after another.  2.  If you want to append to the file, you will need to use the "Set File Position.vi" to locate the file pointer to the end of the file.
    This task looks like it runs once per second until the stop button is pressed.  You could build an array of all acquired data in the loop and then write it when the loop exits.  Just a thought.  This app could create a lot of data though.
    -cb

  • Capturing real time movies - HDV

    Hello,
    When I try to capture HDV in real time with QT 7.2 using Canon HV20 I can't get any pictures. I can record but the final movie will be an empty white screen.
    QT recognizes the Canon HV20 but will not record HDV format movies.
    Is there anything I'm doing rong with QT?
    Thank you.
    There is no problem capturing real time SD movies.
    MacBPRO 2.33   Mac OS X (10.4.10)   Logic and FinalCutXpress

    I doubt the mac has the power to do real time encoding of HDV like you want - even iMovie uses a time delayed import with a conversion to Apple Intermediate Codec to keep up with capturing. Real time seems terribly unlikely.

  • How do you interface a Renishaw laser real-time with NI DAQ?

    I understand that it is possible to acquire "real time" feedback from a Rensishaw Laser while measuring linear position, with the following modifiers applied.
    *The standard output is a digitized value to a proprietary (Renishaw) data acquisition (DAQ) card.
    *Renishaw lasers have a quadrature output facility on the back of the laser head. This permits capture of the �raw� interferometry signal. This raw signal is not compensated for environmental factors such as temperature, air pressure, humidity, etc.
    *The standard system integrates signals from an environmental unit for air temperature, pressure, and humidity, as well as signals from up to three material probes. Acquisition and pro
    cessing of these or equivalent signals would have to be considered to provide data for environmental compensation calculations (Edlen equation). This is mandatory in order to obtain accurate distance and velocity readings.
    *The quadrature output can communicate with other cards. (NI DAQ?)
    Specifics with regard to Labview software and required DAQ to read real time Laser output would be very much appreciated.

    You can use a counter available on the E-series MIO DAQ boards or the 660x counter boards. You can measure the position, frequency, and period of the output from a quadrature encoder. Examples on how to measure signals from a quadrature encoder for LabVIEW can be found on the web at ww.ni.com/support under the technical resource section search under the example programs section.
    You may also want to contact Renishaw to see if they have drivers available for LabVIEW and their DAQ equipment.

  • Capture all SQL statements and archive to file in real time

    Want to Capture all SQL statements and archive to file in real time?
    Oracle Session Manager is the tool just you need.
    Get it at http://www.wangz.net
    This tools monitor how connected sessions use database instance resources in real time. You can obtain an overview of session activity sorted by a statistic of your choosing. For any given session, you can then drill down for more detail. You can further customize the information you display by specifying manual or automatic data refresh, the rate of automatic refresh.
    In addition to these useful monitoring capabilities, OSM allows you to send LAN pop-up message to users of Oracle sessions.
    Features:
    --Capture all SQL statement text and archive to files in real time
    --Pinpoints problematic database sessions and displays detailed performance and resource consumption data.
    --Dynamically list sessions holding locks and other sessions who are waiting for.
    --Support to kill several selected sessions
    --Send LAN pop-up message to users of Oracle sessions
    --Gives hit/miss ratio for library cache,dictionary cache and buffer cache periodically,helps to tune memory
    --Export necessary data into file
    --Modify the dynamic system parameters on the fly
    --Syntax highlight for SQL statements
    --An overview of your current connected instance informaiton,such as Version, SGA,License,etc
    --Find out object according to File Id and Block Id
    Gudu Software
    http://www.wangz.net

    AnkitV wrote:
    Hi All
    I have 3 statements and I am writing some thing to a file using UTL_FILE.PUT_LINE after each statement is over. Each statement takes mentioned time to complete.
    I am opening file in append mode.
    statement1 (takes 2 mins)
    UTL_FILE.PUT_LINE
    statement2 (takes 5 mins)
    UTL_FILE.PUT_LINE
    statement3 (takes 10 mins)
    UTL_FILE.PUT_LINE
    I noticed that I am able to see contents written by UTL_FILE.PUT_LINE only after statement3 is over, not IMMEDIATELY after statement1 and statement2 are done ?
    Can anybody tell me if this is correct behavior or am I missing something here ?Calling procedure must terminate before data is actually written to the file.
    It is expected & correct behavior.

  • Plotting a graph in real-time without reading from a file

    Hello there.
    I am trying to plot a graph. I have succeeded in plotting the graph by first writing the data to a text file (.TXT), then reading from that text file.
    However, I feel this method will take up a lot of memory. Thus, I was wondering whether it is possible to plot the graph directly without first writing it to a text file.
    Thanks a million.

    You can use a while loop with a shift register, inside the while loop, put a case structure, and in it, your data aquisition vi. When you get data, use the shift register to append data to the array, using build array (the shift register will go in as an array, and data as an element) just execute the appending state when data is present, and you'll have a real time graph.
    Hope this helps

  • How to read updated data from a real-time generated file?

    I have a question:
    I want to read the 10 mostly updated data from a real time generated data file. The data in this file is accumulated. how can i read mostly recently data to an applet? and further to using this data to draw a real-time graph? pls help
    kelvin t.l. tse

    Hi,
    I think there is no "typical" way. You will have to define a convention on how the new data are stored into the file, so as to know how to accessthem. If new data are simply put at theend of your file, you may use a RandomAccessFile to read only those lines that interest you (the 1 final lines).Otherwise, you should at least know how the data file is written.
    You can know if thedata file has been modified with the File.lastModified() method. This retrurns a long value corresponding to the date and hour the file was last modified. Store that value ito you appl. and perdiodically (use a Thread), compare that value with the value returned by lastModief(). If both value are NOt equal, then the file has been updated
    it's all a question of knowing how the data are stored into the datafie generated.
    Be also aware that you will probably have problem when your java appl. tries to read the file at the same time it is updated by the other application. I guess when theother application writes data into the file, you will not be able to read it. So, use try{} catch statements and first check to see if you can read the file with File. canRead(). If not, simply delay the reading process by asking a Thread.yield() or Thread.delay (1000)...
    vincent

  • What is the sql query for the real time reports Resource Stats?

    Does anyone know what the query is that the real time report tool uses for the Resource Stats page?  Trying to develop a custom report that displays similar information that is updated regularly.

    Hi,
    009 wrote:
    Hi Frank,
    Just wanted your opinion on the above given SQLI'm not sure I understand it.
    I added some more formatting to help me read it:
    SELECT      A
    ,     CASE WHEN LAG(A,1) OVER (ORDER BY A) IS NULL
              OR A=LAG(A,1) OVER (ORDER BY A)
              THEN LAG(B,1) OVER (ORDER BY A)
         END B_LAG
    ,     B
    FROM     (
         SELECT A, B
         FROM
              SELECT '1'A,'Apple' B FROM DUAL UNION ALL
              SELECT '1'A,'cat'B FROM DUAL UNION ALL
              SELECT '2'A,'bat'B FROM DUAL UNION ALL
              SELECT '3'A,'rat'B FROM DUAL UNION ALL
              SELECT '2'A,'yellow'B FROM DUAL UNION ALL
              SELECT '1'A,'pin'B FROM DUAL
         CONNECT BY PRIOR A=B
         ORDER BY A
    );What is the purpose of the CONNECT BY in what you have so far?
    Is the idea that you will add another CONNECT BY query, using
    CONNECT BY  b_lag  = PRIOR b?
    Do you think that will be better than using ROW_NUMBER?
    Will it work if (a, b) is not unique?

  • Great News if you don't allready know encode in Real Time

    I just found out about a great piece of hardware from Lacie that encodes in REAL time. It's called the 108071 LaCie FASTCODER. Check it out. Only 249.00

    Phil,
    You probably want to check to make sure the quality is good enough for your project. All single pass encoders must make significant compromises to be able to run in real time.

  • I have downloaded adobe reader 20 times and still can't view any of my statements on my credit cards

    i have downloaded adobe reader 20 times and still cant view any of my statements??????????

    You write "downloaded", but did you also install it?
    Also, are these online docs?  If so, what browser do you use?

  • How Real Time Apply works while physical standby is open in Read Only mode

    Hi,
    With Active data guard option, we can open physical standby DB in read only mode, while redo log are being applied. (Real Time Query)
    Standby Redo log (SRL) enables Real Time Apply (with "USING CURRENT LOGFILE" clause in recover database command on standby DB)
    I am interested to know, how Real Time Query works ?
    What is the mechanism with allows us to open physical standby DB in read only mode while redo logs are being applied continuously ?
    Regards,
    Sujit

    Dear user7419391,
    That is a new feature in Oracle Database 11g. MRP can use the real time apply in 10g but the concept here is different.
    Taken from the following document;
    http://www.ascent.co.za/documents/oracle/Oracle%20databse%2011g%20Active-Data-Guard%20datasheet.pdf
    *Unique Advantages of Oracle Active Data Guard*
    +Active Data Guard is an evolution of Data Guard technology, providing unique+
    +performance advantages while leveraging all other enhancements included in Oracle+
    +Data Guard 11g. For example, any Data Guard 11g physical standby database can+
    +be easily converted to a Snapshot Standby. A Snapshot Standby is open read-write+
    +and is ideally suited as a test system, able to process transactions independent of the+
    +primary database. A Snapshot Standby maintains protection by continuing to receive+
    +data from the production database, archiving it for later use. When tests are+
    +complete, a single command discards changes made while open read-write and+
    +quickly resynchronizes the standby database with the primary.+
    The other link in the previous post is excellent and you really have to read it to understand the active data guard aspects.
    Regards.
    Ogan

Maybe you are looking for

  • Is there a way of having the email name show and not the Company name.

    I have a few address listing for Companies that have 7 or 8 names. I have them listed with the custom names for each person separately. I really do not need separate e-mail listings for each person. Is there a way that would list the individuals name

  • Sales invoice Smartform printing in dot matrix printer in sucession

    Dear all, I am trying to Print Sales invoice on Dot matrix Printer. My First Invoice is printed ok, but if i try to print second invoice without manually adjusting the paper the alignment on printer goes haywiered. Do we have some option in smartform

  • TOAD HELP - Explain Plan

    Hi, I am using TOAD 8.0 for oracle 9i DB and new to toad I had set the plan table for a schema say schema1@dev1 as follows view>options>oracle>general> explain plan table name -> TOAD_PLAN_TABLE username -> xa11.....some blah blah that came by defaul

  • WM-production order supply quantity is not reduced after confirmation,GRN

    Dear Gurus                i am configured the WM-PP , in the production order after material staging and TR-TO process , i did confirmed the                production order and GRN.  Raw material stock is not reduced from the storage type 100....    

  • The Business-System  from SLD canu00B4t read

    Hello, during export from an configuration object folloging exception occure: "The Business-System  from SLD can´t read" It seams all OK ... Thanks in advance, Frank