PI RWB - Measurement in secs
Hi,
I'm looking for a way in RWB (or any PI internal table) which shows me how much time (in secs) an specific interface took to execute the the IDoc triggering within ECC until be inserted into JDBC DB.
I'm trying through Performance Monitoring in RWB but it shows several information that does not match the total of messages in SXMB_MONI.
The filter I'm performing in both is: All messages from yesterday, from 09/28/2011 00:00:00 until 09/29/2011 00:00:00.
Is there something being considered in one that is not being considered by another? Is there any other way to measure how much time an specific interface takes from start to finish running?
Tks !
Hi Veera,
Tks.
My analysis needs to be based on a total of messages (daily or weekly would be fine).
I tried this way you suggested but the Message Monitoring shows me in HH MM SS. It's not enough to define precisely how much time was spent during the message processing.
Also, still in Msg Monitoring, when trying to see details of a given message, the tabs Inbound CAdapter and Queue Monitor doesn't work. It shows this message:
Service cannot be reached
URL http://gsipp1.gsi.local:50000/sap/bc/gui/sap/its/webgui/! call was terminated because the corresponding service is not available.
Anyway, the one I need is a kind of report which says the total time spent hourly or daily (just like the Performance Monitoring, however it allows us to filter at least by minutes and it give us only a column Processing TIme[s] which looks like an average time. So I don't have accurateness in the analysis. It seems to be showing information that doesn't match (like, processing 1600 ORDERS05 IDocs in 6 secs).
Interval Start End of Interval Number Size (Bytes) Processing Time [s] Rate [msg./h]
29.09.11 00:00:00 29.09.11 01:00:00 376 16,959 0.387 376
29.09.11 01:00:00 29.09.11 02:00:00 25 9,212 0.406 25
29.09.11 13:00:00 29.09.11 14:00:00 26 8,003 0.603 26
29.09.11 14:00:00 29.09.11 15:00:00 83 22,104 0.444 83
29.09.11 15:00:00 29.09.11 16:00:00 94 12,943 0.447 94
29.09.11 16:00:00 29.09.11 17:00:00 103 7,890 0.427 103
29.09.11 17:00:00 29.09.11 18:00:00 179 13,266 0.501 179
29.09.11 18:00:00 29.09.11 19:00:00 73 10,638 0.437 73
29.09.11 19:00:00 29.09.11 20:00:00 78 8,399 0.519 78
29.09.11 20:00:00 29.09.11 21:00:00 112 8,621 0.449 112
29.09.11 21:00:00 29.09.11 22:00:00 169 13,939 0.51 169
29.09.11 22:00:00 29.09.11 23:00:00 106 16,280 0.495 106
29.09.11 23:00:00 30.09.11 00:00:00 193 19,855 0.426 193
Similar Messages
-
Producer/Consumer Design Pattern + DAQmx + Event Structure
Dear community users,
at the moment I try to implement the Producer/Consumer Design Pattern into my current project. For this purpose I am trying to make a "minimal-example" in which I use the Producer/Consumer Design Pattern for the data acquisition and analysis (display in GraphXY, calculation etc..) process. In the Producer Loop I perform the data readings via DAQmxRead.VI and in the Consumer Loop, in this example only, I display the data in a GraphXY. At the same time I want to control the data acquisition via an Event Structure, for example Start Measurement/Stop Measurement Buttons. To configure the measurement time, for example if the user only wants to measure 150 sec, I use the Time Out Event of the Event Structure. This is a technique which is often used, when data acquisition and Event Structures are used at the same time (Excuse me if this is wrong!). Due to understand the Producer/Consumer Design Pattern I looked up in the Template\Framework of LabVIEW.
In the attachment you will find my "minimal-example", which -sadly-, not working. What should I do ?
Thank you.
Best regards,
tugrul öztürk
Attachments:
daqEngine_PCP.vi 35 KBYour VI will never stop due to the Ok Button that stops the producer loop is read OUTSIDE of the loop. Add an event case for it.
Move the Start and the Ok Button inside of their respective event cases. This will allow the latch to reset when they are read.
Change the Ok Button to a stop button.
Use a Greater Or Equal instead of Equal for the measurement time comparison. What if somebody randomly changes it to 0 on you? Again, you will never stop.
Is the DAQ only supposed to read for "Measurement Time". Right now, it constantly reads. So if you don't use the DAQmx Read, you will get a buffer overflow error. You need to put the DAQmx Start Task inside of the Start event case and then the Stop DAQmx Task inside of the Timeout event case when the measurement time is exceeded. You should also perform the read regardless inside of the Timeout event case.
I HATE telling the consumer loop to stop by destroying the queue. You can look data that way. Instead, send something an empty array. In the consumer, check for an empty array. If it is empty, stop. Destroy the queue only AFTER BOTH LOOPS HAVE COMPLETED.
You should also report your errors in some way. Simple Error Handler at the minimum.
Since you are using Continous Samples, don't limit the buffer. Leave the Samples per Channel unwired on the DAQmx Timing VI.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines -
Hi everyone! I have a problem with my vi:
As I checked the vi, I found that it seems to "slow down" as the vi runs..I mean, the first measures goes as fast as 58 measures per second, +-30 seconds later it runs at 32 measures per second (this is with time between loops 0 ms-the fastest to measure-, delay before read 10 ms. I read some posts similar to this, and it seamed to be solved with time delay in the loops, even though I already have, I tried giving the loops more time, but it takes less measurements at first and similar measurements 30 sec later (I took the 30 sec just to compare)
1. What may be causing this problem? Is it the cases? The buffer? The shift register? The VISA close function? I don´t really know if this can make a vi slower.Ii tried deleting one of this at the time, and even though with some combinations run faster (more measurements per sec) , the problem remains (less measurements every second)...
2. Is it any way to run the vi faster? With 9600 bauds y should be able to collect +-180 measures per second.Instead I can only take +-60 measures per second....what should I consider when I´m programming, so a can take all the measures I can?
I attach my vi, if someone can take a look at it....Thank´s a lot!!
Attachments:
example lab view.zip 347 KBSorry for the delay...
Do you need indicators "waveform graph" and "table". The slowing down seems to come from the update of those two indicators.
Time to process 50 datas without updating "waveform graph" and "table".
Time to process 50 datas with update of "waveform graph" and "table".
Jean-Marc
Jean-Marc
LV2009 and LV2013
Free PDF Report with iTextSharp
Attachments:
Processing datas.vi 91 KB -
Not getting or clear about Load Test Result analysis
Hello Team,
I ran the load test VSTS 2012.
i am getting below result:
Overall Results
Max User Load
50
Tests/Sec
1.85
Tests Failed
3,288
Avg. Test Time (sec)
25.7
Transactions/Sec
0
Avg. Transaction Time (sec)
0
Pages/Sec
46.7
Avg. Page Time (sec)
0.26
Requests/Sec
221
Requests Failed
13,315
Requests Cached Percentage
43.2
Avg. Response Time (sec)
0.097
Avg. Content Length (bytes)
11,888
I am not clear about avg. response time: 0.097 ---actually it is in seconds right??
SO 0.097 means less than 1 seconds it it true???
sometime i observe that avg. response time as 0.67 ..............again it is less than 1 seconds
So how actually it is calculated in VSTS webtest 2012..............??
because when i took the reading from fiddler or network capture ---------for the same scenario -------i observed it is taking 7-8 seconds .........here -------its showing 0.097 ............
I understood ................here load is of 50 users..............but for single users also i observe avg. response time as 0.29 or 0.037 like that
Very confused about this result
Could you please tell me formula or detailed explanation?????????
If i get details about all parameters then it would great ------------------
Thanks in AdvanceHi Mon_bk,
As Jack has stated the response times are measured in secs.
If you think the response time is unrealistic have you tried doing a single test run directly from your script? What response time do you get?
Also how have you setup your users? Are they all cached enabled or 100% new users? You can check this if in the loadtest you click on the scenario name and then in the properties section there is a field called: "Percentage
of new users" if this is 0 that means all your users have cached enabled and this could be reason why the response times are so low.
Kind Regards -
Hey there,
I am using a LVDT to measure soil displacement and i want the lvdt to measure once/sec. However, when I put the rate as 1 as in the DAQ assistant and the run the program, it comes up with the error shown below. My vi file is attached as well.
Thanks,
Gurung
Solved!
Go to Solution.
Attachments:
Rowe Cell programming.vi 57 KBHi again,
Please check out the following KnowledgeBase article from our website: Why Do I Get Error -200284 from my DAQmx Read VI?
Checking out past issues involving this error, most were solved by adjusting the timeout value as an input to the DAQ Assistant -- see the very first Solution in the above KB. If this does not work, there are several other troubleshooting steps to try.
Here's another forum thread that is related -- some additional comments that may help explain the issue if it is not solved by the above KB: http://forums.ni.com/t5/SignalExpress/Error-200284-occurred-at-DAQ-Assistant/m-p/1404312
Regards,
Ryan C.
Applications Engineer
National Instruments -
High CPU Utilization by J2EE engine
Dear team,
I want to find the tread causing high CPU utilization within the "jlaunch" process. As stated in SAP note: 743204. I ran the command "tps -a <pid> -a" in the development box and it it running fine. But the same command in the production portal is giving us the following error:
jueppci:/#/usr/sap/tps -a
Initialize measurement (10 sec) ...Memory fault(coredump)
I did a strings command om the core and I got
jueppci:/#strings core
libdl.so
Why is tps not running properly ?Hello,
Thanks Russell. It is HP-UX 11.31 (11i v3). We have opened a Very High Message with SAP. SAP AG and HP are working with us to solve this issue. We will be applying some patches and doing a lot of Java parameter changes !
I'll update the solution once the system is stable and the case with SAP is closed. -
No measurement unit is assigned to ISO-Code SEC
hI ALL,,
am getting this error No measurement unit is assigned to ISO-Code SEC when is use ny bapi bapi_shipment_create.
to avoid this what i need to pass and where?
Please advise.... am unable to create shipment because of this..u need to pass UOM ISO code as well. Pass ISO code value to below structure field.
BAPISHIPMENTHDUNITEM-SALES_UNIT_ISO -
How to measure two frequency simultaniously in a PCI 6014
Hi I am measuring RPM of two gear drives by measuring the pulse/second(Measure frequency.vi). I have interlinked the gate of counter1 to the output of counter2. Similarly I have connected the gate of counter2 to output of counter1. to measure frequency.
This way in a cycle one counter acts as gate counter while the other counter counts and later the counters changes their role.But my problem is that I have to measure the two counters frequencies simultaniously.
I cannot do period measurement becasue I have several irregular pulse widths generated in each cycle.
I am currrently experimenting with mesure period(DAQ-STC).vi. I have the following doubts in this VI.
1)Can I replaced source configuration fr
om internal timebase to external PFI source signal.
2)If I replace my source signal from internal timebase to the pulse generated from my gear drive then would at the end of 1 sec (when the counter is disarmed due to change of trigger signal state and hence end of while loop) will the count attribute contain the count of my ttl edges?
3) Would this be a accurate method for measuring frequency simultanuiously without using two counters?
Thanks.Hi balajkasthuri,
The best way to perform this is to use the frequency generator (freqout) of your 601x board. Your board only has 2 counters but it also has a frequency generator that doesn't use the counters. It is an output found on the freqout pin. You can choose to have a frequency of 10 MHz or 100 kHz divided by any integer between 1 and 16. This means you can create a pulse train of known frequency and known period and use that into the source or gate of your two counters depending on the frequency measurement method you are using.
For example, assuming your two signals are much faster than the freqout signal, you can apply the freqout signal to the gate of a counter and have your signal feed the source. The number of counts you get in 1 pulse
width of the gate (which is known since it is the frequency you generated) will determine the frequency of your signal.
Otherwise, if your signal is much slower than 20 MHz, you can simply use the 20 MHz as the source of the counters and perform a simple period measurement on your signal. You would then take the inverse of your period measurement.
Anyway, using the onboard frequency generator will give you the flexibility you need. I have linked below a useful tutorial describing the 3 typical frequency measurements. Hope that helps. Have a good day.
Making Accurate Frequency Measurements
http://zone.ni.com/devzone/conceptd.nsf/webmain/CD2C8AAED8FA59A486256C230078FE75?opendocument
Ron -
How to measure mapping execution speed
Hi,
currently i'm trying to measure performance differences between Interface Mappings which contain one single Message Mapping and Interface Mappings which contain 2 or 3 Message Mappings.
I already tried to do this with RWB and Performance-Monitoring. But Performance Monitoring shows the processing time through the whole XI, and not only Mapping execution time. So it is difficult to get a clean measuring there, without influences from queueing and so on.
Test Tab on Integration Builder has a too big step (one second). Mapping execution time is slower.
Do you have any ideas to measure this?
Or do you have experience with performance differences between those two kinds of Interface Mappings?
regards,
ms
P.S. i'm using XI 3.0Hi, Manuel:
For the two scenarios you want to compare performance, trigger them separately.
You take following steps to take measurement for those two scenarios:
Go to SXMB_MONI, find the message, go to pipeline step after your "Request Message Mapping"
e.g. you can select "Technical Routing" step, expand it, -> SOAP Header -> Performance Header:
You will see the start time stamp for each steps executed up to current step.
Locate your mapping programs, get the begin time stamp and end time stamp, then you will know the how long the mapping program take.
For the scenario that you have several mapping programs, make sure you get begin timestamp for the first mapping program and end timestamp for last mapping program, the difference is the time for you few mapping program take.
Hope this helps.
Liang
Edited by: Liang Ji on Mar 29, 2008 5:42 AM -
[Need Help] DC Measuremen​t: Need more than 1 value/sec.
Hi,
I am measuring a dc voltage signal from a sensor using NI 6251. My goal is to acquire a DC measurement of the signal and save it in a spreadsheet file.
In LabVIEW, i used the Express DAQ Assistant with Samples to Read at 1k and Sampling Rate at 1kHz. I then connected it to a low pass filter, then to the Express Amplitude and Level Measurements for a DC Measurement. Finally, I connected it to Save Measurement File.
My problem is this: I only get one (1) dc value per second in my spreadsheet file. I wish to have at least 100 dc values per second but I do not know how to do this. I am aware that the DC value is somewhat an average of a set of samples. Maybe I could try to increase the sampling rate to 10kHz and probably get the DC Value for every 100 samples but I have no idea how to implement this.
Could anyone help me?
With best regards,
JasonCrispo wrote:
Hi,
I am measuring a dc voltage signal from a sensor using NI 6251. My goal is to acquire a DC measurement of the signal and save it in a spreadsheet file.
In LabVIEW, i used the Express DAQ Assistant with Samples to Read at 1k and Sampling Rate at 1kHz. I then connected it to a low pass filter, then to the Express Amplitude and Level Measurements for a DC Measurement. Finally, I connected it to Save Measurement File.
My problem is this: I only get one (1) dc value per second in my spreadsheet file. I wish to have at least 100 dc values per second but I do not know how to do this. I am aware that the DC value is somewhat an average of a set of samples. Maybe I could try to increase the sampling rate to 10kHz and probably get the DC Value for every 100 samples but I have no idea how to implement this.
Could anyone help me?
With best regards,
Jason
You need to understand some basic arithmetic. With a sample rate of 1000S/sec and 1000 samples, that will take 1 second to acquire and then the express VI will reduce that to a single sample. You are getting exactly what you have programmed. Basic arithmetic would tell you that if you requested 100 samples, that would take .1 second and you would have 10 readings in your file. Request 10 samples which would take .01 second and voila, 100 readings. -
Hdparm -t yields 1.13 MB/sec
I have an Alienware 7700 Laptop, its a bit more like a desktop... with a P4 processor, etc..
I've noticed from time to time that the hard drive seemed slow, but I never thought it that much out of the ordinary (I can't say for sure if its always been this way or if this is a recent problem).
Recently I did a hdparm -t /dev/sda and got about 4.5 mb/s. I've since noticed that after a pm-suspend, this is the speed it performs at. However, if I reboot, I get:
anubis@Thorin ~/ $ sudo hdparm -t /dev/sda
/dev/sda:
Timing buffered disk reads: 84 MB in 3.04 seconds = 27.65 MB/sec
Then if I pm-suspend it goes back to 4.5 mb/s. The simple solution would seem to simply not pm-suspend, but I had a new problem last night.
anubis@Thorin ~/ $ cp amtrak1.vob /media/disk/Videos/Home_Videos/
cp: reading `amtrak1.vob': Input/output error
The drive began copying the file more and more slowly, and after this copy failed, I received this speed:
anubis@Thorin ~/ $ sudo hdparm -t /dev/sda
/dev/sda:
Timing buffered disk reads: 4 MB in 3.53 seconds = 1.13 MB/sec
My external hard drive works fine at
anubis@Thorin ~/ $ sudo hdparm -t /dev/sdb
/dev/sdb:
Timing buffered disk reads: 100 MB in 3.03 seconds = 33.00 MB/sec
I don't think it has anything to do with it, but I recently converted the internal laptop hard disk's /root and /home to ext4
sudo hdparm -I /dev/sda
/dev/sda:
ATA device, with non-removable media
Model Number: SAMSUNG MP0603H
Serial Number: S03ZJ10Y628227
Firmware Revision: UD100-14
Standards:
Used: ATA/ATAPI-7 T13 1532D revision 0
Supported: 7 6 5 4
Configuration:
Logical max current
cylinders 16383 16383
heads 16 16
sectors/track 63 63
CHS current addressable sectors: 16514064
LBA user addressable sectors: 117304992
LBA48 user addressable sectors: 117304992
Logical/Physical Sector size: 512 bytes
device size with M = 1024*1024: 57277 MBytes
device size with M = 1000*1000: 60060 MBytes (60 GB)
cache/buffer size = 8192 KBytes (type=DualPortCache)
Capabilities:
LBA, IORDY(can be disabled)
Standby timer values: spec'd by Standard, no device specific minimum
R/W multiple sector transfer: Max = 16 Current = ?
Advanced power management level: disabled
Recommended acoustic management value: 254, current value: 0
DMA: mdma0 mdma1 mdma2 udma0 udma1 *udma2 udma3 udma4 udma5
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* SMART feature set
Security Mode feature set
* Power Management feature set
* Write cache
* Look-ahead
* Host Protected Area feature set
* WRITE_BUFFER command
* READ_BUFFER command
* DOWNLOAD_MICROCODE
Advanced Power Management feature set
SET_MAX security extension
Automatic Acoustic Management feature set
* 48-bit Address feature set
* Device Configuration Overlay feature set
* Mandatory FLUSH_CACHE
* FLUSH_CACHE_EXT
* SMART error logging
* SMART self-test
* IDLE_IMMEDIATE with UNLOAD
Security:
Master password revision code = 65534
supported
not enabled
not locked
not frozen
not expired: security count
supported: enhanced erase
66min for SECURITY ERASE UNIT. 66min for ENHANCED SECURITY ERASE UNIT.
HW reset results:
CBLID- above Vih
Device num = 0 determined by the jumper
dmesg
ata5.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6
ata5.00: port_status 0x20280000
ata5.00: cmd c8/00:00:4e:a0:c7/00:00:00:00:00/e5 tag 0 dma 131072 in
res 59/40:1b:33:a1:c7/00:00:00:00:00/e5 Emask 0x3 (HSM violation)
ata5.00: status: { DRDY DRQ ERR }
ata5.00: error: { UNC }
ata5: soft resetting link
ata5.00: configured for UDMA/100
ata5: EH complete
ata5.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6
ata5.00: port_status 0x20280000
ata5.00: cmd c8/00:00:4e:a0:c7/00:00:00:00:00/e5 tag 0 dma 131072 in
res 59/40:1b:33:a1:c7/00:00:00:00:00/e5 Emask 0x3 (HSM violation)
ata5.00: status: { DRDY DRQ ERR }
ata5.00: error: { UNC }
ata5: soft resetting link
ata5.00: configured for UDMA/100
ata5: EH complete
ata5.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6
ata5.00: port_status 0x20280000
ata5.00: cmd c8/00:00:4e:a0:c7/00:00:00:00:00/e5 tag 0 dma 131072 in
res 59/40:1b:33:a1:c7/00:00:00:00:00/e5 Emask 0x3 (HSM violation)
ata5.00: status: { DRDY DRQ ERR }
ata5.00: error: { UNC }
ata5: soft resetting link
ata5.00: configured for UDMA/100
ata5: EH complete
ata5.00: limiting speed to UDMA/66:PIO4
ata5.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6
ata5.00: port_status 0x20280000
ata5.00: cmd c8/00:00:4e:a0:c7/00:00:00:00:00/e5 tag 0 dma 131072 in
res 59/40:1b:33:a1:c7/00:00:00:00:00/e5 Emask 0x3 (HSM violation)
ata5.00: status: { DRDY DRQ ERR }
ata5.00: error: { UNC }
ata5: soft resetting link
ata5.00: configured for UDMA/66
ata5: EH complete
ata5.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6
ata5.00: port_status 0x20280000
ata5.00: cmd c8/00:00:4e:a0:c7/00:00:00:00:00/e5 tag 0 dma 131072 in
res 59/40:1b:33:a1:c7/00:00:00:00:00/e5 Emask 0x3 (HSM violation)
ata5.00: status: { DRDY DRQ ERR }
ata5.00: error: { UNC }
ata5: soft resetting link
ata5.00: configured for UDMA/66
ata5: EH complete
ata5.00: limiting speed to UDMA/33:PIO4
ata5.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6
ata5.00: port_status 0x20280000
ata5.00: cmd c8/00:00:4e:a0:c7/00:00:00:00:00/e5 tag 0 dma 131072 in
res 59/40:1b:33:a1:c7/00:00:00:00:00/e5 Emask 0x3 (HSM violation)
ata5.00: status: { DRDY DRQ ERR }
ata5.00: error: { UNC }
ata5: soft resetting link
ata5.00: configured for UDMA/33
sd 4:0:0:0: [sda] Unhandled sense code
sd 4:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08
sd 4:0:0:0: [sda] Sense Key : 0x3 [current] [descriptor]
Descriptor sense data with sense descriptors (in hex):
72 03 11 04 00 00 00 0c 00 0a 80 00 00 00 00 00
05 c7 a1 33
sd 4:0:0:0: [sda] ASC=0x11 ASCQ=0x4
end_request: I/O error, dev sda, sector 96969011
ata5: EH complete
ata5.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6
ata5.00: port_status 0x20280000
ata5.00: cmd c8/00:08:2e:a1:c7/00:00:00:00:00/e5 tag 0 dma 4096 in
res 59/40:03:33:a1:c7/00:00:00:00:00/e5 Emask 0x3 (HSM violation)
ata5.00: status: { DRDY DRQ ERR }
ata5.00: error: { UNC }
ata5: soft resetting link
ata5.00: configured for UDMA/33
ata5: EH complete
ata5.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6
ata5.00: port_status 0x20280000
ata5.00: cmd c8/00:08:2e:a1:c7/00:00:00:00:00/e5 tag 0 dma 4096 in
res 59/40:03:33:a1:c7/00:00:00:00:00/e5 Emask 0x3 (HSM violation)
ata5.00: status: { DRDY DRQ ERR }
ata5.00: error: { UNC }
ata5: soft resetting link
ata5.00: configured for UDMA/33
ata5: EH complete
ata5.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6
ata5.00: port_status 0x20280000
ata5.00: cmd c8/00:08:2e:a1:c7/00:00:00:00:00/e5 tag 0 dma 4096 in
res 59/40:03:33:a1:c7/00:00:00:00:00/e5 Emask 0x3 (HSM violation)
ata5.00: status: { DRDY DRQ ERR }
ata5.00: error: { UNC }
ata5: soft resetting link
ata5.00: configured for UDMA/33
ata5: EH complete
ata5.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6
ata5.00: port_status 0x20280000
ata5.00: cmd c8/00:08:2e:a1:c7/00:00:00:00:00/e5 tag 0 dma 4096 in
res 59/40:03:33:a1:c7/00:00:00:00:00/e5 Emask 0x3 (HSM violation)
ata5.00: status: { DRDY DRQ ERR }
ata5.00: error: { UNC }
ata5: soft resetting link
ata5.00: configured for UDMA/33
ata5: EH complete
ata5.00: limiting speed to PIO4
ata5.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6
ata5.00: port_status 0x20280000
ata5.00: cmd c8/00:08:2e:a1:c7/00:00:00:00:00/e5 tag 0 dma 4096 in
res 59/40:03:33:a1:c7/00:00:00:00:00/e5 Emask 0x3 (HSM violation)
ata5.00: status: { DRDY DRQ ERR }
ata5.00: error: { UNC }
ata5: soft resetting link
ata5.00: configured for PIO4
ata5: EH complete
ata5.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
ata5.00: ST-ATA: BUSY|DRQ persists on ERR|DF, dev_stat 0x59
ata5.00: cmd 20/00:08:2e:a1:c7/00:00:00:00:00/e5 tag 0 pio 4096 in
res 59/40:03:33:a1:c7/00:00:00:00:00/e5 Emask 0x3 (HSM violation)
ata5.00: status: { DRDY DRQ ERR }
ata5.00: error: { UNC }
ata5: soft resetting link
ata5.00: configured for PIO4
sd 4:0:0:0: [sda] Unhandled sense code
sd 4:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08
sd 4:0:0:0: [sda] Sense Key : 0x3 [current] [descriptor]
Descriptor sense data with sense descriptors (in hex):
72 03 11 04 00 00 00 0c 00 0a 80 00 00 00 00 00
05 c7 a1 33
sd 4:0:0:0: [sda] ASC=0x11 ASCQ=0x4
end_request: I/O error, dev sda, sector 96969011
ata5: EH complete
ata5.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
ata5.00: ST-ATA: BUSY|DRQ persists on ERR|DF, dev_stat 0x59
ata5.00: cmd 20/00:08:2e:a1:c7/00:00:00:00:00/e5 tag 0 pio 4096 in
res 59/40:03:33:a1:c7/00:00:00:00:00/e5 Emask 0x3 (HSM violation)
ata5.00: status: { DRDY DRQ ERR }
ata5.00: error: { UNC }
ata5: soft resetting link
ata5.00: configured for PIO4
ata5: EH complete
ata5.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
ata5.00: ST-ATA: BUSY|DRQ persists on ERR|DF, dev_stat 0x59
ata5.00: cmd 20/00:08:2e:a1:c7/00:00:00:00:00/e5 tag 0 pio 4096 in
res 59/40:03:33:a1:c7/00:00:00:00:00/e5 Emask 0x3 (HSM violation)
ata5.00: status: { DRDY DRQ ERR }
ata5.00: error: { UNC }
ata5: soft resetting link
ata5.00: configured for PIO4
ata5: EH complete
ata5.00: limiting speed to PIO3
ata5.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
ata5.00: ST-ATA: BUSY|DRQ persists on ERR|DF, dev_stat 0x59
ata5.00: cmd 20/00:08:2e:a1:c7/00:00:00:00:00/e5 tag 0 pio 4096 in
res 59/40:03:33:a1:c7/00:00:00:00:00/e5 Emask 0x3 (HSM violation)
ata5.00: status: { DRDY DRQ ERR }
ata5.00: error: { UNC }
ata5: soft resetting link
ata5.00: configured for PIO3
ata5: EH complete
ata5.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
ata5.00: ST-ATA: BUSY|DRQ persists on ERR|DF, dev_stat 0x59
ata5.00: cmd 20/00:08:2e:a1:c7/00:00:00:00:00/e5 tag 0 pio 4096 in
res 59/40:03:33:a1:c7/00:00:00:00:00/e5 Emask 0x3 (HSM violation)
ata5.00: status: { DRDY DRQ ERR }
ata5.00: error: { UNC }
ata5: soft resetting link
ata5.00: configured for PIO3
ata5: EH complete
ata5.00: limiting speed to PIO0
ata5.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
ata5.00: ST-ATA: BUSY|DRQ persists on ERR|DF, dev_stat 0x59
ata5.00: cmd 20/00:08:2e:a1:c7/00:00:00:00:00/e5 tag 0 pio 4096 in
res 59/40:03:33:a1:c7/00:00:00:00:00/e5 Emask 0x3 (HSM violation)
ata5.00: status: { DRDY DRQ ERR }
ata5.00: error: { UNC }
ata5: soft resetting link
ata5.00: configured for PIO0
ata5: EH complete
ata5.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
ata5.00: ST-ATA: BUSY|DRQ persists on ERR|DF, dev_stat 0x59
ata5.00: cmd 20/00:08:2e:a1:c7/00:00:00:00:00/e5 tag 0 pio 4096 in
res 59/40:03:33:a1:c7/00:00:00:00:00/e5 Emask 0x3 (HSM violation)
ata5.00: status: { DRDY DRQ ERR }
ata5.00: error: { UNC }
ata5: soft resetting link
ata5.00: configured for PIO0
sd 4:0:0:0: [sda] Unhandled sense code
sd 4:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08
sd 4:0:0:0: [sda] Sense Key : 0x3 [current] [descriptor]
Descriptor sense data with sense descriptors (in hex):
72 03 11 04 00 00 00 0c 00 0a 80 00 00 00 00 00
05 c7 a1 33
sd 4:0:0:0: [sda] ASC=0x11 ASCQ=0x4
end_request: I/O error, dev sda, sector 96969011
ata5: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
ata1.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0
cdb 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
res 51/20:03:00:00:00/00:00:00:00:00/a0 Emask 0x3 (HSM violation)
ata1.00: status: { DRDY ERR }
ata1: soft resetting link
ata1.00: configured for UDMA/33
ata1: EH complete
Could the problem be a driver/kernel issue? Or the hard drive itself? or BIOS? I'm completely mystified by extremely slow performance when I try to copy that 2.7 gb file or pm-suspend.Hmm...
anubis@Thorin ~/ $ sudo smartctl -H /dev/sda
Password:
smartctl version 5.38 [x86_64-unknown-linux-gnu] Copyright (C) 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
anubis@Thorin ~/ $ sudo smartctl -l error /dev/sda
smartctl version 5.38 [x86_64-unknown-linux-gnu] Copyright (C) 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
=== START OF READ SMART DATA SECTION ===
SMART Error Log Version: 1
ATA Error Count: 60 (device log contains only the most recent five errors)
CR = Command Register [HEX]
FR = Features Register [HEX]
SC = Sector Count Register [HEX]
SN = Sector Number Register [HEX]
CL = Cylinder Low Register [HEX]
CH = Cylinder High Register [HEX]
DH = Device/Head Register [HEX]
DC = Device Command Register [HEX]
ER = Error register [HEX]
ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.
Error 60 occurred at disk power-on lifetime: 2989 hours (124 days + 13 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
40 51 08 2e a1 c7 e5 Error: UNC at LBA = 0x05c7a12e = 96969006
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
20 00 08 2e a1 c7 e5 00 03:38:10.563 READ SECTOR(S)
ec 00 00 00 00 00 a0 00 03:38:10.563 IDENTIFY DEVICE
ef 03 08 00 00 00 a0 00 03:38:10.563 SET FEATURES [Set transfer mode]
ec 00 00 00 00 00 a0 00 03:38:10.563 IDENTIFY DEVICE
00 00 01 01 00 00 a0 00 03:38:10.438 NOP [Abort queued commands]
Error 59 occurred at disk power-on lifetime: 2989 hours (124 days + 13 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
40 51 08 2e a1 c7 e5 Error: UNC at LBA = 0x05c7a12e = 96969006
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
20 00 08 2e a1 c7 e5 00 03:38:09.000 READ SECTOR(S)
ec 00 00 00 00 00 a0 00 03:38:09.000 IDENTIFY DEVICE
ef 03 0b 00 00 00 a0 00 03:38:09.000 SET FEATURES [Set transfer mode]
ec 00 00 00 00 00 a0 00 03:38:09.000 IDENTIFY DEVICE
00 00 01 01 00 00 a0 00 03:38:08.875 NOP [Abort queued commands]
Error 58 occurred at disk power-on lifetime: 2989 hours (124 days + 13 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
40 51 08 2e a1 c7 e5 Error: UNC at LBA = 0x05c7a12e = 96969006
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
20 00 08 2e a1 c7 e5 00 03:38:07.438 READ SECTOR(S)
ec 00 00 00 00 00 a0 00 03:38:07.438 IDENTIFY DEVICE
ef 03 0b 00 00 00 a0 00 03:38:07.438 SET FEATURES [Set transfer mode]
ec 00 00 00 00 00 a0 00 03:38:07.438 IDENTIFY DEVICE
00 00 01 01 00 00 a0 00 03:38:07.313 NOP [Abort queued commands]
Error 57 occurred at disk power-on lifetime: 2989 hours (124 days + 13 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
40 51 08 2e a1 c7 e5 Error: UNC at LBA = 0x05c7a12e = 96969006
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
20 00 08 2e a1 c7 e5 00 03:38:05.875 READ SECTOR(S)
ec 00 00 00 00 00 a0 00 03:38:05.813 IDENTIFY DEVICE
ef 03 0c 00 00 00 a0 00 03:38:05.813 SET FEATURES [Set transfer mode]
ec 00 00 00 00 00 a0 00 03:38:05.813 IDENTIFY DEVICE
00 00 01 01 00 00 a0 00 03:38:05.688 NOP [Abort queued commands]
Error 56 occurred at disk power-on lifetime: 2989 hours (124 days + 13 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
40 51 08 2e a1 c7 e5 Error: UNC at LBA = 0x05c7a12e = 96969006
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
20 00 08 2e a1 c7 e5 00 03:38:04.250 READ SECTOR(S)
ec 00 00 00 00 00 a0 00 03:38:04.250 IDENTIFY DEVICE
ef 03 0c 00 00 00 a0 00 03:38:04.250 SET FEATURES [Set transfer mode]
ec 00 00 00 00 00 a0 00 03:38:04.250 IDENTIFY DEVICE
00 00 01 01 00 00 a0 00 03:38:04.188 NOP [Abort queued commands]
I wonder what those errors indicate.... -
How do you measure a Cycle's lenght in time, not bars and beats?
How to you measure the time length on a selected cycle ? I understand that when any cycle is selected, you can see the length of that specific range on Bars and beats, but not in Real time. How do I get to see ( Calculate ) the real time length of a cycle range? When working with video this feature is absolutely necessary. ProTools shows you the length in time when a cycle range is selected. I also know that you can calculate the distance of any given point in the song, relative to the start time, you can see it in the Time Position display, but what If I need a more exact time calculation ( min:sec:frames, etc. ) between two specific cue points that are only relevant to video sync, not relative to the start time and not relative to musical values. Like if I need the exact time length for a video cue, etc.
Thank you, very Much, That's it !!!
I've looked for that for years...LOL, It never occurred to me to look for a "negative",
Awesome
J -
Timer problem/ want to note time below mili sec
actually i have to measure the time of an event so for this i need to start the timer when the event fired and stop the timer when it finishes.
I used system milli second time which always return 0, because the time is soo small.
how i can cater time which is less than milli sec ?Look at System.nanoTime. Also note this disclaimer:
"This method provides nanosecond precision, but not necessarily nanosecond accuracy. No guarantees are made about how frequently values change" -
Hey All
I am using the SQL SERVER 2008R2 standard edition so please be mindful when posting any suggestion if that will work on this edition or not.
Here is the situation: I have Cube with one fact table "Positions". Measure I am querying is "AUM" and Dimensions across user can query are combinations of {"Portfolio", "Security" and "Time"}.
I am receiving the "AUM" values at "portfolio+Security+Time" level. AUM is actually the Portfolio level value. so sample data I receive would like this.
PORTFOLIO SECURITY TME AUM
A SEC1 JAN-1 100
A SEC2 JAN-1 100
B SEC1 JAN-1 200
B SEC3 JAN-1 200
A SEC1 JAN-2 300
A SEC2 JAN-2 300
B SEC1 JAN-2 400
B SEC3 JAN-2 400
So, as shown in above example , we received same "AUM" value for a given portfolio and time. (regardless of what security value is).
And as AUM is the snapshot values, we can not sum across time as well, so if user is looking across time we need to pick Last values.
Now when user wants to view this data from cube, two different ways s/he wants to look at it.
option one: AUM at port+sec+time level. that is same as shown above in example.
option two: AUM at portfolio level only, (notice that this is across time so results are picking values for time=JAN-2)
PORTFOLIO AUM
A 300
B 400
GRAND TOTAL 700
I have applied the "LastChild" aggregation property to measure to achieve "Do no Sum across Time "behavior. but with this I also get "SUM Across Except time" and hence my AUM values get summed across Portfolio and security as
well. I have also enable Time Intelligence to enable MTD, YTD calculations.
I tried to add SCOPE statement for Security before and after the "time calculations" yet I am not able to achieve expected behavior.
here is the calculated member definition, and scope statement i have tried.
CREATE MEMBER
CURRENTCUBE.[MEASURES].[AUMNetBaseCurrency] AS
[Measures].[AUMNetBaseCurrency_Raw_Max],
FORMAT_STRING = "#,##0.00 ;( #,##0.00 )",
VISIBLE = 1 , DISPLAY_FOLDER = 'Position';
After this I have MTD and YTD time calculation for few measures including AUM.
I tried placing the following SCOPE for AUM before and after the Time calculations but it no difference in result, in fact it seems like it has no affect of scope at all due to the "LastChild" aggregate property applied on measure.
SCOPE([MEASURES].[AUMNetBaseCurrency]);
SCOPE([Security].[Symbol].[All]);
THIS = MAX([Measures].[AUMNetBaseCurrency_Raw_Max]);
END SCOPE;
END SCOPE;
so options I am thinking of but do not have clear idea how to implement those are:
0) why my Security Scope Statement are not showing any effect, and can we do something about it?
1) Can be change "SUM" behavior to "MAX" / "MIN" across all Dimension except time.
2) Is there a way to implement "LastChild" across all dimension instead only across Time.
3) Should I need to make any changes at Fact table level to achieve this ? I refer one Q&A in this forum that suggested to create such measure in different measure group but it doesn't have any clarification.
Any help would be appreciated.
Thanks
Anup Shahhi,
you will have to enable cache in your nqsconfig.ini file under the section
# Query Result Cache Section
[ CACHE ]
ENABLE = YES;
cache seeding is also a mechanism through which the data would be updated in the cache. -
Read from measurement file (wrong values)
I have a VI where I save data using the ''Write To Measurement File utility''. When I open the .lvm file in the note pad I can see all the data correctly, but when I use the "Read From Measurement File" tool and try tho make a graph the data shown is not correct. Attached the .lvm file and one image of the chart that labview made using the "Read From Measurement File". If you open the lvm in the notepad you can see that the time column goes up to 22 sec. In the chart the time axis goes only up to 7,5 sec. What is going wrong??? Thanks
Ps: I changed the file .lvm to .txt to attach
Solved!
Go to Solution.
Attachments:
Chart.jpg 688 KB
teste.txt 156 KBvitor22 wrote:
I tryed.
And how did it turn out? Saying I tried and not saying how it didn't work doesn't help me help you.
I was able to do it. But the X data wasn't correct. That is because your timestamps aren't regular spaced. So you can't use a waveform graph.
You need to use an XY graph. See the attached code for how to convert the two channels of data (time, your values) into a datatype to feed to the XY graph.
Attachments:
Example_VI_BD.png 49 KB
Maybe you are looking for
-
Unable to print from MacBookPro to printer in Windows network
Hi, I am trying to print from a MacBookPro on an HP printer connected to a desktop computer running Windows Vista. MacBookPro - running Mac OS X 10.7.5; 2 GHz Intel Core 7; 4 GB 1333 MHz DDR3 Windows desktop computer - Acer Aspire M1100 running Wind
-
Placing an image in Indesign CS5- Previews are slow
I have a customer with identical intel MacPros, 10.5.8 OSX, 8GB RAM and running CS5. Whenever they go to PLACE an image in either InDesign or Illustrator the preview window that comes up takes up to 65 seconds for a preview to appear in the window. T
-
Volume Problem when using external midi instruments
Hi everyone, I'm having a problem recording the audio from my external midi instruments into Logic 8. I have all my external midi instruments set up in my environment and they are all going through a motu micro lite interface, with the audio going th
-
Could you help me how to work with libraries in Developer Studio? I haven't found explanation in help.sap.com I have EJB jar that packages into ear. All libraries from build classpath are included into ear. But I don't what to include all libraries.
-
Burning CDs that store large amounts of music
Hi, could someone help me? I know someone who has Windows XP and has a bunch of CDs that he plays in his car, and these CDs have a lot of songs on them, around 50-100 tracks. Is it possible for me to burn a CD with iTunes that plays 50-100 songs? Is