ANALYSIS of data series

I have the MESSAGE column in my data set.
This column contained this type of data, for example:

"OpenLDAP LINK failure dn =" uid = dvukovic2, or = People, OU = idea, dc = Agrokor d.d, dc = HR"

Now, I want to analyze it and to extract, say, the "dvukovic2" value in the uID column.

What is the best way to do it?

Hello

Post some sample data more to work on.

With the data I see a possible solution.

with T as
(
select '"OpenLDAP BIND failed dn="uid=dvukovic2,ou=People,ou=Idea,dc=agrokor,dc=hr"' col1 from dual
)
--
--End of sample data
--
select regexp_substr(regexp_replace(col1,'.*uid=(.*)','\1'),'[^,]+') output from t
/
PRAZY@11gR2> /

OUTPUT
---------
dvukovic2

Elapsed: 00:00:00.01
{code}

HTH,
Prazy                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                

Tags: Database

Similar Questions

  • DAQ USB 6363 - generate digital data series through the single DIO line

    Hello

    I'm new with Labview, currently, I bought NI DAQ USB 6363 for generating control signals and signals analog accquire. I would like to send digital data series through one of the digital IOs with throughput of 30 kbps. Please see the attachment for the data frame. Could someone comment the feasibility of this? Y at - it codes for the example that I can refer to? Most of the examples I've looked at so far deals to generate several line instead of 1 single line. How can I achieve this?

    Thank you

    Diem

    Hey diem.

    After looking on your code, I understand what you were trying to do. Here's how I'd do. Usually we do not write code to clients, but you peaked my curiosity of! I hope this helps. Good luck!

    ~ kgarrett

  • missing data series for port operation in

    Hello.

    My unit is transfer 51 asynchronous data bytes in frames (each image to 80ms) on six different channels (ch1, ch2, ch3, ch4 rate 19200 baud and other two ch5, ch6 baud rate 115200) and these data series of six diff is received by my system and it should be checked for any error byte... (as I'm new to labview I programmed a long vi) in which use visa read and process the received data. But now, my real problem starts... until some time that my system will be receive data without no loss but aftr some time (say 15 minutes approximately) data loss starts from the track being baud rate of 115 200 and later other channels begin to do the same... But my system is supposed to run for 4hours for a trial of endurance of a plane... If the data loss is very less in number its OK but 3 of 4 frames then starts missing... it's like losing 75% of data... I enclose a wink of my code... It's just for a single port (in a while loop) I took... Imagine I; did the same thing to rest the port in a single while loop... Please guide me where ive that has gone wrong, or is this something to with time delay... pls help me

    the thing is always my application system needs will grow more, so I have to rectify this himself in the beginning


  • convert data series to a string column

    Hello

    I'm trying to convert a string of data series "110111001001110011011110011..." in a string of column:

    1

    1

    0

    1

    1

    1

    ...

    Any help will be greatly appreciated.

    Thank you

    hiNi.

    Something like that?

  • HOW TO READ DATA SERIES WITH SYNCHRONIZATION

    I have a question about my application for the acquisition of data in series. In my application, I use visa read to acquire data series sent by an inertial measurement unit. When I first put the sensor, it sends data in the following one time format:

    1:0 x 8011 header followed 1 data word for Adler, 1 data word (each 16-bit word data).

    and the sensor then starts sending the data in the following format:

    2:0x7FFF header followed 1 data word for checksum, 9 data word (each 16-bit word data).

    (Note: checksum is defined as a 2s - complement of the sum of 16 bits of the rest of the entire message)

    In my application, to simplify the problem, I use a wait function to ensure that the initial data header 1 tag is sent. Then I start reading using VISA Read 20 bytes (header 2 more words of associated data are 20 bytes), as I'm mainly interested in the data header 2 tag words.

    However, when I do this, the data that I get do not begin by 7FFF character and, accordingly, my 20-byte data cannot be parsed correctly. My question is how can I do the "VISA read" block read the serial port when data are preceded by '7FFF '.  Once I have solve this part, my strategy will be assembled data read 20 bytes (including the header of 4 bytes) and analyzed accordingly.

    Another question, I wonder if you can tell me how to use the given checksum it is defined as "a s 2 - complement of the sum of 16 bits of the rest of the entire message". Note the data that contains the header 1 tag is 1 post.

    I would appreciate if you have responded to my request.

    Thank you!

    Serdar


  • How do 9229 trigger by analysis of data

    Since 9229 (USB casing) has no external analog trigger; the signal lasts 12 seconds.

    I need to scan data collection the long, until the trigger threshold voltage is detected, then beginning to collect 12 seconds signal.

    But after the detection threshold, some data may already lost when the start of collection time 12 seconds.

    Also ' How do make a scan ", the scan to read th data should be in a loop. If set the duration for each big loop, then maybe the loss of data, but if too samll, then can make the Windows.

    Any suggestion how to read the analysis of data from the device. Thank you.

    Hi Turbot,

    You can just continuously sample and store the data in the table.

    If the size of the data is greater than 12 second pad just outside, and the threshold is reached, use the subset of table data to select just 12 second part.

    You can see my attached sample for more information.

    Sincerely, Kate

  • the analysis of data from a legacy in the form of bytes bluetooth

    Hi, Iam execution of java for MYGlucoHealth code monitor. I have to catch the bluetooth through my application data and analyze format. (later I store in the SQLite database). But according to the specification of the Protocol had, I do not understand how to read and analyze. I know how to pair the device to my request. But I do not know how to parse the bytes of data according to the Protocol of the device specification.

    Can someone tell me how to do this. All done with this kind of coding?

    Thnaks in advance,

    -Cissokho

    Published by: 798686 on November 2, 2010 02:38

    798686 wrote:
    Ok.. Thank you

    Tips for the facilitator: don't double post. I've locked the new thread.
    the analysis of data from a legacy in the form of bytes bluetooth
    Please continue here.

    DB

  • Manipulation of data series

    I don't know how to handle the serial data I receive from a touch panel.

    What I want to do is view the two sets of coordinates, which are made up of two 4-digit.

    What I am struggling with, is the return of cart/line feed (Cr/Lf).

    For example, I get,

    TP TP CrLf = hurry touchscreen

    CrLf 0100 0100 = first game X coordinates where these values can be anything from 0000 to 4,000 and as wise as all coordinates

    0200 0200 first = CrLf series Y coordinates

    TR CrLf TR = touchscreen released

    CrLf 0100 0100 = last set of coordinates X

    0200 0200 CrLf = last set of coordinates Y

    If you drag the stylus on the touch screen, then I may receive many TP CrLf more details before final output all touchscreen.

    If I had all the CrLf but just a CrLf "after TP nnnn nnnn it wouldn't be problem.

    I had a discount using shift registers, but I'm not sure of the best way to go.

    Some advice would be most appreciated.

    Something like that?

  • (table of filling with data series) want table con datos serial

    Hola todos

    Tengo el siguiente problema put los datos back sensores fijado por el deseo series in a table, cada envio una palabra clave recibo 10 siguiente manera, ahora 0224,1023 datos are separo el chain y los convierto en numericos. El problema radica in than recibo los datos y los coloco en el table pero cuando cuando recibo otros 10 mas put in el table continuando siguiente linea desde los datos, lo what I need are my mantenga el table con los datos anteriores y cuando otros 10 reciba to borre el table y nuevo in the linea comienze 0

    in the first image is ve como's van while el pero Necesito UN Québec table me quédé como in the segunda vez as reciba los nuevos datos cada imagen

    the thank su ayuda is not to do

    Hello everyone

    I have the following problem will place two data received by sensors series in a table, each sending a key word to receive 10 facts, 0224.1023 is now following, I separate the string and turn them into digital. the problem is that I recover data and place it in the table but when when I receive another 10 data but their place in pursuit of the next line, what I need is to keep my table with previous data and when you get the other 10, the table and repeat is disabled on line 0

    in the first picture looks like they fill the table, but I need to keep me and the second image whenever you receive new data

    Hola aleramir

    You cuento that no me sirvio por ese lado pero prevalence hacerlo the siguiente forma y works exelente

    despues voy activar el boton don't con el programa no manual, igual manera you thank you answer

  • What is the best way to read data series high speed?

    My goal is to read 14 bytes of binary data of an instrument on the serial RS232 (460800 baud) to 2000 Hz. I didn't get a card series high speed again so I am currently using the standard serial port (115200 baud) and reading at 400 Hz I have configure the port series, empty the buffer, and then enter a while loop to read incoming data. I have a visa 14 bytes read by interation seconds 0.0025 (400 Hz). However it seems that the sensor is spewing data faster that labview can read because the bytes are accumilating in the port. After some time the buffer fills and the program fails.

    Is there a better way to do it?

    Would it not be better to read the larger quantities of data less often, for example as 1400 bytes every 0.25 seconds?

    Thank you

    Hello

    I think it would be good to read several points in a loop, and keep the loop less than 1000 Hz.  I found in the past, have something to run faster than about 10ms tends to fall down when windows loses interest in the process.  So yes, choose the slower you can get away with reading samples - for example to read every 10ms and read 20 samples every time. You should be able to configure your serial port in order to buffer the samples that I guess.

    Also and the issue of windows - if you use a loop "timed" instead of a while loop, so you can force it to an integer value including the ms.  You can also assign a dedicated processor and set the priority to 100, which means that it is less likely to elapse and decide to scan your hard drive for viruses or consult your account e-mail or what he does when he's bored with your program.  Also it "' tells you if the loop has taken longer that planned to run - you can use this to help iron out bugs etc. - report and/or to the user if you missed a few samples.

    http://zone.NI.com/reference/en-XX/help/371361H-01/Glang/timed_loop/

    JP

  • Unknown process, sending data series to my instruments

    I have a couple of test stations that I develop software to test at the moment.  When I'm actually under them, there is no problem with the serial communication.

    However, if I let any of test stations on without the software running for an extended period of time, I'll check back often to find that one of my series devices (a 2510-AT Keithley) locked.  For awhile, I thought it was defective devices (strange that both had the same problem), until I found that if I left the serial cable unplugged it will break lock.

    I borrowed a tap from a colleague data (the version 9 pins on this) and attached a laptop for the link over the weekend, using PuTTY to monitor communications.  I'd keep a log of what it has, and I enclose below.  The first 3 lines have been sending me * IDN? queries to verify that the data tap and others were working.  I edited on the serial number, just in case, but the rest is the RAW file.  Does anyone have an idea, which could send the rest of the data?  It doesn't seem to make much sense, but there are lots of channels repeated in there, is probably not the right line random noise or something.  The two stations were using the built-in COM1 port of the PC.

    One of test stations I have an Agilent E3646A power connected to the station with a USB-to-serial adapter and a null modem cable.  Sometimes she page and throw up a ton of errors, which are all 'error 511', which the manual says is a framing error RS232.  I put the data on this line valve and sent a few * IDN?  orders with reset and commands activate the remote to check that it worked and concluded that some other process was sending * IDN? queries as well, they just don't have not been correctly formatted (they seem to not properly finish more have some end ASCII gibberish) for the device, so it threw errors.  I've also attached the log of this Putty session.

    I tried to use the technique in this article to find which process accessed the port, but it seems that no matter what either method uses it don't leave it open long enough for me to find.

    I am using Windows 7 64 bit at the time of these PCs, so that means Portmon doesn't work, and I can't find another utility that works in the same way.  Does anyone know of one?

    Anyone know if there is a process OR who could send these signals?  There are only a few of them running in the background.  I have 4 other devices on the first station and 6 on the second station with their own drivers as well, so I can't exclude the software of others.

    I really really to want to have to write the manuals of equipment for these stations and include phrases such as "power Cycle the device each morning to reset" or "Disconnect the serial cable when done for the night" or "ignore the power of Agilent errors."

    I can guess what happens. at least with the Agilient.

    you have failed to use an external hub with its own power supply and you neglected to put a serious surge protection on main power from the PC.  Pretty undesirable power pri is out to actually make windows think that the USB - serial adapter is pluged back in and some device (Agilient IO libraries?) Manager did a scan for USB TMC devices when the connection is "restored".

    Simillarly the PC power supply affects the COM port.  Kiethleys are known to have reported a clear feature "DCL" when they receive malformed commands of the noise.

    NEITHER track will eliminate any VISA request and confirm the electrical noise

    Recommendations:

    • Get a surge / UPS on this machine to guard against junk food to the line managers from air and other large expenses cleanroom.
    • Get bundles of cables with ferrites on them for the serial data lines.

    Alternate:

    • Get a membership to a hair club - you'll get a lot of hair out
  • Read data series and detect the break in series at the same time

    I need to communicate with a serial device that sends messages back, but also sends a break, break, break, break series combo that I need to listen to. I've never worked with before series breaks but the only VI I found which seems to detect pending VISA on event VI with the series Break parameter. I'm not sure that understand how I could detect a break in the series, but also to be reading and writing messages at the same time in the meantime. Isn't this possible?

    If you use multiple loops, I think you can do.  You use 1 loop to check to see if there is data and 1 loop looking for breaks series.  Then use queues, authors of notifications or events to anyone who needs to know what you have experienced.

  • Build a regular expression for data series of Arduino.

    All,

    I have a few Arduinos Council integrated into a test configuration that I can't save the data of.  I now need to be able to see my data in real-time as it comes on the serial port.  I found a VI that seems like it should work, my problem is that I can't get a regular expression to work.

    The VI is not mine, but if I can get this working, I can easily put it in my VI.

    Here's my Arduino code; This is the timestamp, followed four data points, with delimiters tab. It prints on the serial port as

    190876 762314 814437 1108235 1091719

      Serial.print(sTime);
      //Serial.print(", ");
      Serial.print("\t");   
    
      data = getdata(dataRead);
      data = data>>4;
      Serial.print(data);
      //Serial.print(", ");
      Serial.print("\t");  
    
      data = getdata(dataRead1);
      data = data>>4;
      Serial.print(data);
      //Serial.print(", ");
      Serial.print("\t");  
    
      data = getdata(dataRead2);
      data = data>>4;
      Serial.print(data);
      //Serial.print(", ");
      Serial.print("\t");  
    
      data = getdata(dataRead3);
      data = data>>4;
      Serial.println(data);
    

    I think it is especially a problem with regular expression.  Any advice or pointers would be great.

    I wish there was a place where you just have to copy and paste my thong in and get a regular expression.

    Do not use bytes to the port!

    Take advantage of the termination character you have.  Activate it on the series set up and set it to the newline character.

    Now the VISA Read will wait until she has the entire line (or timeout if it does not).  Then you can analyze your data out there.

    I think the problem with your code, it's that you're looking for a backslash n.   Not a line break.  Turn it on the style of display of this constant and you will see it is fixed for normal display and backslash is no bar display.

  • HP Deskjet 1512: Attempt at analysis of a series of 1512 HP Deskjet

    Hello, I wonder if you could help me. I'm trying to scan a document using a HP Deskjet 1512.

    I tried to access the icon for the HP Deskjet printer, via the Start button, then he takes me into all programs, can I access the HP icon, it indicates the series HP Deskjet 1510. I noticed, that he did not actually 1512 series.

    Anyway, once I clicked on series HP Deskjet 1510, below that he has highlighted study to improve product HP. It does not emphasize the installation of HP Scan.

    In the past, I used to have a version older than a HP printer and never had any problems. Once you have pointed out the HP icon, it will give you the option of detection etc.

    For some reason, this model doesn't give me that option immediately. I would appreciate help with this.

    Thanking you.

    Hi Gemini2

    I would like to say thank you for having responded to my query re: above.

    Thanks for the link re: drivers mising, but didn't know about this path. You mentioned that there was a possibility that I might have to uninstall and reinstall the software.

    So, after having researched a bit more, I realized that it was more than likely that I had only the basic features installed.

    So, I decided to log on for my printer and re-installed HP website the full software for my HP Deskjet 1512. He took me to the registration also. I do not uninstall anything beforehand. Is it installed only the bits I didn't have before, can not be sure, but I noticed in the section devices and printers to my computer, it did not create another icon of the printer etc..

    Once the installation process is complete, I could see all of the features, including the option to scan.

    I tested the printer by printing a document and scanned a photo that I sent to me by e-mail.  Both worked well.

    There seems to be a lot of people out there who has similar problems with the analysis option. It seems that unless you install the FULL software for this printer, features as the scanning is not available.

    So, once again thank you for your quick response. Very much appreciated.

  • the data series and daq synchronization

    Hello

    I am trying to obtain simultaneous data to a serial port and a Board of Directors NI USB-6211.

    I want to write the data at the same time and every second.

    At first the I couldn t get the data as I wanted because there were delays in the acquisition, but then I've separated series both daq in two loops and it has been resolved. However now I can´t are able to simultaneously write data in the file.

    Any ideas?

    Thank you.

    Would it not possible to show your code?

    You can synchronize your curls with a "wait until the next ms tick with a value of 1000.  This would cause the two loops to run second never finished when at the same time.

    It seems that you have now a problem of writing data in a file at the same time.  You could put file writing in a third loop and transfer your data from the other two through lines of waiting or functional globals and then write to the file when the two pieces of data are ready.

Maybe you are looking for

  • Slimline s5-1160: graphics driver re-installed and still does not.

    I have Windows 7, 64-bit. My graphics were crashing, and I get the message that got the display driver. This happens with photo 360 views, Google Earth and various videos. I did the driver was last updated. Chkdsk /r found no problem. HP Support Assi

  • The DiscardCtrl causes GPF

    Hi all I just stumbled across a problem that seems too simple to be true. If I call DiscardCtrl callback command _that_ or if I call it since the recall of panel without swallowing the same, I get a general protection fault. Here is an example. To te

  • result 2003 task Windows 0 x 80131700

    I'm trying to run a scheduled task on a windows 2003 server.How ever when I run the task, I get a result code 0 x 80131700 and task does not run. If I run the task on a different server it runs with a problem. the user name password are correct, I ch

  • Not able to open Windows Media Player

    Windows media player Hi, I am unable to open windows media player. I tried to download again, but it will not install I have a more recent version of windows media player 11. I am trying to connect my computer to my PS3 and need to share my files]. H

  • Key word for marking content during check-ins

    HelloI would like to understand if we can tag content in the WCC registration form?I don't see any field as "Keyword" that I can use to label images.We have a condition where the company wants to say 15 images of logging and must tag say 'Red shoes'