IMAQ vision bug in several IMAQ vision functions
Some IMAQ Vision functions malfunction if you use the source image as the mask. I keep running into this bug in IMAQ Vision, some Vision functions exhibit this behavior, and some don't. It is not documented in the function descriptions. Even if it were, it would still be a bug. Example:
1. Create a U8 source image that contains some zeros and some nonzero values.
2. Wire the image into the source input and mask input of IMAQ Quantify and return the % value of the global report to see what percentage of pixels are nonzero.
The answer is wrong. If you copy the image into a separate image first, and wire the separate image into the mask input, you get the correct answer. See attached VI for edification
Cheers,
-root
Message Edited by Root Canal on 04-20-2009 06:06 PM
Message Edited by Root Canal on 04-20-2009 06:08 PM
global variables make robots angry
Attachments:
mayor of bug town.vi 43 KB
mayor of bug town.PNG 18 KB
Identical thread in Machine Vision discussion forum: mask bug in several IMAQ vision functions
Hope this helps.
-Ben
WaterlooLabs
Similar Messages
-
Imaq vision function reference
Hello All,
I am new to Lab Windows/CVI and am using the imaq vision library.
Could anyone tell me where I can find the IMAQ Vision function reference? I have found a function reference manual at Start--> National Instruments --> Vision--> Documentation. But, all the functions described in this document are starting with img******(). I was looking for functions beginning with imaq****().
I am sorry as it might be a stupid question but any help would be appreciated.
Cheers,
Solved!
Go to Solution.Hello Harmonium,
i think what you search is under Start --> National Instruments --> Vision --> Documentation --> NI-IMAQ IO
In this directory you found the documentation for the imaq**** functions.
C:\Programme\National Instruments\NI-IMAQ IO\Docs
There are three librarys the NI-IMAQ I/O, NI-IMAQ Librarys and the NI-IMAQdx. If you can please use the NI-IMAQdx library,
because its the newest for doing aquisition. The documentation can be found here
C:\Programme\National Instruments\NI-IMAQdx\Docs
best regards
Alexander Glasner
AE NIE -
IMAQ Copy function does not always copy Calibratio​n Informatio​n
This only seems to happen on one PC in compiled form- works fine elsewhere. I wrote a trap to check for the existance of calibration information before the copy, and again after the copy to a newly created image. If the two disagree, the program breaks. The program breaks consistantly on one of my machines, but never on other PCs. Does anyone know what conditions can cause this to happen?
Hello,
Thank you for contacting National Instruments.
I don't know of anything in particular that would cause the IMAQ Copy function to not copy the pattern matching information on one particular machine. For troubleshooting purposes, I recommend checking for any and all differences between the working machines and the non-working machine. For instance, check the versions of all software that may be used by the application (especially NI-IMAQ and IMAQ Vision). How do the systems differ in hardware? Are they all the same make/model of PC? Are they all using the same IMAQ board?
Any differences you uncover may help us figure out what is causing this behavior. Let me know your findings so I can continue to assist you.
Regards,
Jesse D.
Applications En
gineer
National Instruments -
Problem using the IMAQ Extract function.Not getting two different image out
Hi, I am trying to use the multiple IMAQ extract functions to get certain parts of the webcam image and then using the color extract function to get the average RGB values. The problem is that both the IMAQ extract functions give the same image on its output port. The block diagram snippet and VI are attached below. Also, please let me know if there is a better way of doing this. I need to expand this later to extract rgb values of about 40-50 different parts of the image instead of just two shown below.
Solved!
Go to Solution.
Attachments:
Extract RGB Data.vi 104 KBYou did not create another image that you should wire to the input "Image Dst" of "IMAQ Extract". That's why you always operate on the original image (which you should not do if you intend to operate on several regions of the image).
Solution:
(1) Create a new image and wire this to "Image Dst".
(2) Apply the histogram operation sequentially (e.g. in a loop).
That way you will notice, that Image Dst contains actually(!) the region you have specified. (Put a probe on the image wire that goes from the Extract VI to the Histogram VI). -
The problem of IMAQ/Vision function?
I use ImageToArray function to extract a pixel array from an image. And I want to copy this array to the portion of the other image. I wrote a program as follow, but it dosen't work? Did anybody can help me.
Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (hpvDest As Any, hpvSource As Any, ByVal cbCopy As Long)
Private Sub Test_Click()
Dim pixelArray1 As Variant
Dim testarray() As Variant
Dim filename As String
Dim image1 As New CWIMAQImage
Dim h As Integer,w As Integer
ChDrive App.Path
ChDir App.Path
filename = CurDir & "\\test.png"
CWIMAQViewer1.Palette = cwimaqPaletteBinary
CWIMAQVision1.ReadImage image1, filename
ReDim testarray(5000, 5000)
h=
image1.Height
w=image1.Width
pixelArray1 = image1.ImageToArray
CopyMemory testarray(1000,1000),pixelArray1,h*w*16
End SubAny time you use things like CopyMemory you need to be careful, and make sure you understand how things are really being stored in RAM. There are several things I would look at in your code.
First, the first argument of CopyMemory should be an address. It looks to me like you are giving the value stored in the 1000th row, and the 1000th column of testarray. If that element of the array actually contains an address then your in business, but more than likely it is undefined.
Second, arrays are stored in ram as one long continuous block of memory. The illusion of a 2D array is a higher level abstraction, done by the programming environment. The two arrays are stored as '1-D' continous blocks of memory. So, if your pixel array is 1000x1000, 5 rows of your so
urce will be stored in one row of your target. (5000/1000). The resulting image would definitely not be what you were expecting. -
A bug in /etc/rc.d/functions; and the release policy
This is a small issue, but how it relates to Arch's release policy is important.
I have CONSOLE="ter-120b" in my rc.conf, and I got following screen on startup. The message about console font is overwritten by the next message. Additionally, the right side is "[BUSY]".
http://i795.photobucket.com/albums/yy24 … ot/bad.png
It turned out to be a bug in the set_consolefont, in /etc/rc.d/functions:
if (($? != 0)); then
stat_fail
elif [[ $CONSOLEMAP ]]; then
cat <<"EOF" >>/etc/profile.d/locale.sh
if [ "$CONSOLE" = "" -a "$TERM" = "linux" -a -t 1 ]; then printf "\033(K"; fi
EOF
stat_done
fi
stat_done is not called on the implicit "else" branch. The fix is easy:
if (($? != 0)); then
stat_fail
else
if [[ $CONSOLEMAP ]]; then
cat <<"EOF" >>/etc/profile.d/locale.sh
if [ "$CONSOLE" = "" -a "$TERM" = "linux" -a -t 1 ]; then printf "\033(K"; fi
EOF
fi
stat_done
fi
The effect is shown here.
http://i795.photobucket.com/albums/yy24 … t/good.png
However, that made me think about Arch's release policy. The latest release is 2010.5, 10 months ago. That usually doesn't matter that much, as Arch is a rolling release distro, and the CD image is really light. However, now and then we may spot bugs in scripts like /etc/rc.d/functions, which come with the CD and remain untouched by pacman. Will it be better if we follow Gentoo's approach, generating installation media every few days, putting latest software (and more importantly for Arch) and fixed scripts in it?
PS. I'd love to remove some black area in the screenshots, but I can't figure out how to do it with GIMP. Help on this is also appreciated.
Last edited by jasonwryan (2011-03-09 06:44:53)tomk wrote:
xiaq wrote:now and then we may spot bugs in scripts like /etc/rc.d/functions, which come with the CD and remain untouched by pacman.
You are mistaken. /etc/rc.d/functions is provided by the initscripts package, which has been updated four times since the 2010.05 release. The current version is 2011.02.1.
I suggest you submit the bug and your patch in the normal way, so that it is handled correctly.
All right, so I'm firing a bug report and send in my patch there. I have also found that /etc/rc.d/functions has some style problems. It uses a mix of space and tab for indentation, and the misleading modeline option "ts=2" (ts means "tabstop") makes the code look terrible. I have tried several values, and ts=8 turned out fine(most likely the author use this setting and don't use vim). The code is still inconsistent in style, though. So I'm going to clean up the style too. Is that okay as long as I don't break something? -
1.5.3, 3 possible bugs, incorrect information and patchy functionality
on windows XP SQL Dev 1.5.3
1.) From the tree structure, I filter Other Users, then open another users views folder. Click on the view that I want to see information for, and instead of the 7 columns that the view is actually composed of, it lists it's 7 columns 3 times for a total of 21 columns.
2.) When trying to edit a procedure I've noticed that there is typically a +/- sign to expand and collapse loops and begin/end structures. It seems like it's hit or miss whether or not you get this functionality to work.
3.) I issued the following select and got unexpected results
select col1, col2, col3, table1.*
from table1;
this should return col1, col2, col3, col1, col2, col3, col4, col5, etc... with the values from col1 - col3 being the same in each row, well on several rows I noticed the values didn't match.
I'm beginning to get very wary of using SQL Developer to do anything other than just query data. I'm sort of afraid to use to actually make any changes within the database for fear of incorrect DDL being issued back to the database and corrupting something.Firstly, have you had a chance to test the problems on 1.5.4? The new release has certainly included some bug fixes.
As for your issues:
1) Which DB version are you connecting to? Do you get 7 or 21 columns listed if you just expand the view node instead of opening the view object tab?
I am on 1.5.4 (connecting to 10.2.0.3) and only get each column once when opening the view object tab for a view owned by another schema. Tracing SQL Developer it is using the following query to get the columns:
select c.column_name,
decode(data_type,'CHAR' ,data_type||'('||c.data_length||')',
'VARCHAR' ,data_type||'('||c.data_length||')',
'VARCHAR2',data_type||'('||c.data_length||')' ,
'NCHAR' ,data_type||'('||c.data_length||')' ,
'NUMBER' ,decode(c.data_precision,null,'NUMBER', data_type||'('||c.data_precision||','||c.data_SCALE||')'),
'NVARCHAR' ,data_type||'('||c.data_length||')' ,
'NVARCHAR2' ,data_type||'('||c.data_length||')' ,
data_type) data_type,
decode(nullable,'Y','Yes','No') nullable,
c.DATA_DEFAULT,
column_id,
com.comments,
c_update.insertable,
c_update.updatable,
c_update.deletable
from sys.all_tab_Columns c,
sys.all_col_comments com,
sys.all_updatable_columns c_update
where c.owner = :OBJECT_OWNER
and c.table_name = :OBJECT_NAME
and c.table_name = com.table_name
and c.owner = com.owner
and c.column_name = com.column_name
and c_update.column_name = com.column_name
and c_update.table_name = com.table_name
and c_update.owner = com.owner 2) I tried the same thing (once again on 1.5.4, but have not noticed this on 1.5.3 previously), although my package didn't have for loops, but did have standard loops and while loops. There was a very slight delay before the expand/collapse options appeared, but they appeared both times after the same short delay. With very large package bodies there can be a much more noticeable delay, but from the size of your scroll bar in your screen shots, it looks as though my test package which only had a slight delay is already longer than yours.
3) I wasn't able to reproduce this either
theFurryOne -
LV2011 bug - Error wired to boolen function breaks when saving for previous version
I just downloaded LabVIEW 2011 this morning. I created this VI and saved it for LV2010 to see how it would deal with it. I opened the VI in LabVIEW 2010SP1 and the error wire is broken. There were no warnings about problems saving this VI as an earlier version.
=====================
LabVIEW 2012
Solved!
Go to Solution.I would not consider this to be a "bug".
I would call it rather an "incomplete feature" were the extra-mile (backwards compatibility) is not fully implemented. So filing a suggestion is really the best thing to do (i will not file one since it is your idea, but i will kudo it!).
Saving VIs to previous versions does not change the BD itself. The requested functionality would require BD analysis and inserting (per scripting) an unbundle into the error wire. This is a complete new functionality, at least i am not aware that this is happening anywhere else....
As a "part time solution" i would like to see a BD analyzer which warns you about possible issues during downconvert. So in your case an "errorlist entry" like:
Warning: Connecting the error cluster to boolean functions is a new feature to LV 2011. Saving for previous version will lead to a broken VI.
just my 5 cents,
Norbert
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it. -
MacBook Pro "13 2010 several problems with functionality.
I've had my computer for about a year now and I've been having many problems since about 3 months after I upgraded to Mavericks. The machine would completely freeze, glitch, make crackling sounds that would persist until I forcefully shut the machine down by holding the power button for several seconds. This is one of the many problems I have with it. When I am typing a paper, or I'm watching a video, the machine's display will change to a solid color at random. After this, I reboot the machine and it gives me cpu caller 0 panic errors. It also will turn itself off and beep several times until I hold the power button down. I've done research and know that these are kernel panics, but I have no idea what causes this. I took it in to the genius bar at my local Apple Store, the guy named Tucker ran the diagnostics on my machine and he told me that the tests came back negative for issues and he then went to check the logs and saw that I had several kernel panic errors. He began to tell me that the 0 in the panics meant that they were software related and insisted that they wipe the cache to see if would help, and then if that didn't work then they offered to wipe it completely and reinstall Mavericks. They did so, and not even a day later the machine began to do the same things again with the solid screen colors, beeping, cpu caller 0's, and the crackling sound and screen rainbows. Even after updating to Yosemite, the problems still persist.
Can anyone please help me? I don't know what more I can do.Here is the most up to date panic report.
Anonymous UUID: 6F0DF84B-3D91-5C11-47E9-02E15CD93773
Fri Dec 19 21:11:51 2014
panic(cpu 0 caller 0xffffff80070dc43e): Kernel trap at 0xffffff8007036768, type 13=general protection, registers:
CR0: 0x0000000080010033, CR2: 0x00007f9953d8895e, CR3: 0x000000002b526000, CR4: 0x0000000000000660
RAX: 0xffdfff8018e2fc00, RBX: 0xffffff80076fdbc8, RCX: 0xffffff801ad15288, RDX: 0x00000000000023c9
RSP: 0xffffff8108d4be10, RBP: 0xffffff8108d4be90, RSI: 0xffffff8018e37c68, RDI: 0x00000115195f3216
R8: 0x0000000000000000, R9: 0x0000000077265012, R10: 0xffffff8108d4bd80, R11: 0x0000000000000202
R12: 0xffffff801ad15140, R13: 0xffffff8018e37b20, R14: 0xffffff80076d2ac8, R15: 0xffffff8018e37c68
RFL: 0x0000000000010046, RIP: 0xffffff8007036768, CS: 0x0000000000000008, SS: 0x0000000000000010
Fault CR2: 0x00007f9953d8895e, Error code: 0x0000000000000000, Fault CPU: 0x0
Backtrace (CPU 0), Frame : Return Address
0xffffff80e2cd9c50 : 0xffffff8007022f79
0xffffff80e2cd9cd0 : 0xffffff80070dc43e
0xffffff80e2cd9ea0 : 0xffffff80070f3976
0xffffff80e2cd9ec0 : 0xffffff8007036768
0xffffff8108d4be90 : 0xffffff8007035d5c
0xffffff8108d4bed0 : 0xffffff80070168ab
0xffffff8108d4bef0 : 0xffffff800701e106
0xffffff8108d4bf70 : 0xffffff80070c9b9d
0xffffff8108d4bfb0 : 0xffffff80070f4196
BSD process name corresponding to current thread: WindowServer
Mac OS version:
13F34
Kernel version:
Darwin Kernel Version 13.4.0: Sun Aug 17 19:50:11 PDT 2014; root:xnu-2422.115.4~1/RELEASE_X86_64
Kernel UUID: 9477416E-7BCA-3679-AF97-E1EAAD3DD5A0
Kernel slide: 0x0000000006e00000
Kernel text base: 0xffffff8007000000
System model name: MacBookPro7,1 (Mac-F222BEC8)
System uptime in nanoseconds: 1190131758497
last loaded kext at 971472814424: com.apple.filesystems.smbfs 2.0.3 (addr 0xffffff7f894ab000, size 335872)
last unloaded kext at 757946821563: com.apple.driver.AppleUSBCDC 4.2.1b5 (addr 0xffffff7f894ab000, size 16384)
loaded kexts:
com.apple.filesystems.smbfs 2.0.3
com.apple.driver.AudioAUUC 1.60
com.apple.driver.AppleHWSensor 1.9.5d0
com.apple.driver.AGPM 100.14.34
com.apple.filesystems.autofs 3.0
com.apple.driver.AppleMikeyHIDDriver 124
com.apple.driver.AppleHDA 2.6.3f4
com.apple.driver.AppleSMCLMU 2.0.4d1
com.apple.iokit.IOUserEthernet 1.0.0d1
com.apple.iokit.IOBluetoothSerialManager 4.2.7f3
com.apple.Dont_Steal_Mac_OS_X 7.0.0
com.apple.driver.AppleHWAccess 1
com.apple.driver.ACPI_SMC_PlatformPlugin 1.0.0
com.apple.driver.AppleMikeyDriver 2.6.3f4
com.apple.GeForceTesla 8.2.4
com.apple.driver.AppleUSBDisplays 360.8.14
com.apple.driver.AppleLPC 1.7.0
com.apple.driver.AppleUpstreamUserClient 3.5.13
com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport 4.2.7f3
com.apple.driver.AppleBacklight 170.4.11
com.apple.driver.AppleMCCSControl 1.2.5
com.apple.driver.SMCMotionSensor 3.0.4d1
com.apple.driver.AppleUSBTCButtons 240.2
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeLZVN 1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
com.apple.BootCache 35
com.apple.driver.AppleIRController 325.7
com.apple.driver.AppleUSBTCKeyboard 240.2
com.apple.driver.AppleUSBCardReader 3.4.1
com.apple.iokit.SCSITaskUserClient 3.6.7
com.apple.driver.XsanFilter 404
com.apple.iokit.IOAHCIBlockStorage 2.6.0
com.apple.driver.AppleUSBHub 683.4.0
com.apple.driver.AppleFWOHCI 5.0.2
com.apple.driver.AppleAHCIPort 3.0.5
com.apple.driver.AppleUSBEHCI 660.4.0
com.apple.driver.AppleUSBOHCI 656.4.1
com.apple.iokit.AppleBCM5701Ethernet 3.8.1b2
com.apple.driver.AirPort.Brcm4331 700.20.22
com.apple.driver.AppleSmartBatteryManager 161.0.0
com.apple.driver.AppleRTC 2.0
com.apple.driver.AppleHPET 1.8
com.apple.driver.AppleACPIButtons 2.0
com.apple.driver.AppleSMBIOS 2.1
com.apple.driver.AppleACPIEC 2.0
com.apple.driver.AppleAPIC 1.7
com.apple.driver.AppleIntelCPUPowerManagementClient 217.92.1
com.apple.nke.applicationfirewall 153
com.apple.security.quarantine 3
com.apple.driver.AppleIntelCPUPowerManagement 217.92.1
com.apple.AppleGraphicsDeviceControl 3.6.22
com.apple.kext.triggers 1.0
com.apple.driver.DspFuncLib 2.6.3f4
com.apple.vecLib.kext 1.0.0
com.apple.iokit.IOAudioFamily 1.9.7fc2
com.apple.kext.OSvKernDSPLib 1.14
com.apple.iokit.IOSurface 91.1
com.apple.iokit.IOSerialFamily 10.0.7
com.apple.iokit.IOBluetoothFamily 4.2.7f3
com.apple.driver.AppleHDAController 2.6.3f4
com.apple.iokit.IOHDAFamily 2.6.3f4
com.apple.driver.IOPlatformPluginLegacy 1.0.0
com.apple.driver.AppleSMBusPCI 1.0.12d1
com.apple.nvidia.classic.NVDANV50HalTesla 8.2.4
com.apple.driver.IOPlatformPluginFamily 5.7.1d6
com.apple.nvidia.classic.NVDAResmanTesla 8.2.4
com.apple.iokit.IOFireWireIP 2.2.6
com.apple.iokit.IOBluetoothHostControllerUSBTransport 4.2.7f3
com.apple.driver.AppleBacklightExpert 1.0.4
com.apple.iokit.IONDRVSupport 2.4.1
com.apple.driver.AppleSMBusController 1.0.12d1
com.apple.iokit.IOGraphicsFamily 2.4.1
com.apple.driver.AppleSMC 3.1.8
com.apple.driver.AppleUSBHIDKeyboard 170.15
com.apple.driver.AppleHIDKeyboard 170.15
com.apple.driver.AppleUSBMultitouch 240.10
com.apple.iokit.IOUSBHIDDriver 660.4.0
com.apple.iokit.IOSCSIBlockCommandsDevice 3.6.7
com.apple.iokit.IOUSBMassStorageClass 3.6.0
com.apple.iokit.IOSCSIMultimediaCommandsDevice 3.6.7
com.apple.iokit.IOBDStorageFamily 1.7
com.apple.iokit.IODVDStorageFamily 1.7.1
com.apple.iokit.IOCDStorageFamily 1.7.1
com.apple.driver.AppleUSBMergeNub 650.4.0
com.apple.driver.AppleUSBComposite 656.4.1
com.apple.iokit.IOAHCISerialATAPI 2.6.1
com.apple.iokit.IOSCSIArchitectureModelFamily 3.6.7
com.apple.iokit.IOUSBUserClient 660.4.2
com.apple.iokit.IOFireWireFamily 4.5.5
com.apple.iokit.IOAHCIFamily 2.6.5
com.apple.iokit.IOUSBFamily 686.4.1
com.apple.iokit.IOEthernetAVBController 1.0.3b4
com.apple.driver.mDNSOffloadUserClient 1.0.1b5
com.apple.driver.NVSMU 2.2.9
com.apple.iokit.IO80211Family 640.36
com.apple.iokit.IONetworkingFamily 3.2
com.apple.driver.AppleEFINVRAM 2.0
com.apple.driver.AppleEFIRuntime 2.0
com.apple.iokit.IOHIDFamily 2.0.0
com.apple.iokit.IOSMBusFamily 1.1
com.apple.security.sandbox 278.11.1
com.apple.kext.AppleMatch 1.0.0d1
com.apple.security.TMSafetyNet 7
com.apple.driver.AppleKeyStore 2
com.apple.driver.DiskImages 371.1
com.apple.iokit.IOStorageFamily 1.9
com.apple.iokit.IOReportFamily 23
com.apple.driver.AppleFDEKeyStore 28.30
com.apple.driver.AppleACPIPlatform 2.0
com.apple.iokit.IOPCIFamily 2.9
com.apple.iokit.IOACPIFamily 1.4
com.apple.kec.pthread 1
com.apple.kec.corecrypto 1.0
Model: MacBookPro7,1, BootROM MBP71.0039.B0E, 2 processors, Intel Core 2 Duo, 2.4 GHz, 8 GB, SMC 1.62f7
Graphics: NVIDIA GeForce 320M, NVIDIA GeForce 320M, PCI, 256 MB
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1067 MHz, 0x85F7, 0x483634353155373946373036364700000000
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1067 MHz, 0x85F7, 0x483634353155373946373036364700000000
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x8D), Broadcom BCM43xx 1.0 (5.106.98.100.22)
Bluetooth: Version 4.2.7f3 14616, 3 services, 15 devices, 1 incoming serial ports
Serial ATA Device: Hitachi HTS545025B9SA02, 250.06 GB
Serial ATA Device: MATSHITADVD-R UJ-898
USB Device: Built-in iSight
USB Device: Internal Memory Card Reader
USB Device: BRCM2046 Hub
USB Device: Bluetooth USB Host Controller
USB Device: IR Receiver
USB Device: Apple Internal Keyboard / Trackpad
Thunderbolt Bus: -
Bug in Address Book search function?
Here's an annoying bug in Address Book - maybe this has been noted here before.
Like most people, I like to divide my numbers into smaller blocks for legibility - it makes them easier to memorise.
So +49303912345 becomes + 49 30 391 2345 where the country and area codes are separated by a space.
The problem is that if I search for 12345 it will only give me the first result as it thinks that there is a gap/empty space between the 1 and the 2.
This is unhelpful and rather surprising - anyone else notice this - is it a bug?Don't think it's a bug... It's the way it works.
Are these phone numbers? and are you entering them into the phone number field?
If there appears a gap/empty space between the 1 and 2, then you should expect that it will think there is a gap/empty space between 1 and 2.
Basically, AddressBook - and the other Spotlight interfaces - treat numbers the same as any other text, so that '1 2345' is no more the same as '12345' than 'a star' is the same as 'astar'.
If you've memorized it by blocks, then it should be easier to enter it by the same blocks.
Of course, if you want to see it change, you can always submit feedback
Message was edited by: Mike N. (nahyunil) -
BUG : ORA-21779 with REGEXP_INSTR function
Hi,
When we use REGEXP_INSTR in a validation with the primary_language = 'en-us'
we get an Oracle Error : ORA-21779
We tried moving the REGEXP_INSTR in a stored function and we get the same error.
When we change the primary language of the application to 'fr-ca' we don't have the error anymore (??)
As a workaround , instead of using REGEXP_INSTR we use OWA_PATTERN and it works fine.
Here is the function using REGEXP_INSTR that causes the ORA-21779 :
FUNCTION validate_email_format(p_email IN VARCHAR2)
RETURN BOOLEAN
IS
BEGIN
IF REGEXP_INSTR(upper(p_email),'^[a-zA-Z0-9._%-]+@[a-zA-Z0-9._%-]+\.[a-zA-Z0-9]{2,4}+$') > 0 THEN
return true;
ELSE
return false;
END IF;
EXCEPTION
WHEN OTHERS THEN
return false;
END validate_email_format;
END;
Would it be possible to fix this in the next release ??
Database version is : 10.1.0.5
Thanks
Francis.with paragraph as (
select 'This is the first sentence. This is the second sentence. ... This is the last sentence. but there is more text here' par
from dual
union all
select 'This is the first sentence. This is the second sentence. ... This is the last sentence? but there is more text here' par
from dual
union all
select 'This is the first sentence. This is the second sentence. ... This is the last sentence! but there is more text here' par
from dual
select regexp_instr(par,'(\.|\!|\?)[^.!?]*$') from paragraph
REGEXP_INSTR(PAR,'(\.|\!|\?)[^.!?]*$')
87
87
87
SQL> SY. -
BUG: Not so well placed functionality in app builder (4.02)
Some sub optimal placed functionality:
- Want to delete a breadcrumb? It's under "Edit breadcrumb name".
- Want to delete multiple pages? First select 1 page, then look under utilities for "cross page".
- When using a wizard you can select e2.gif as the edit link image. When manually creating a link this image is not one of the options.
Feel free to add your own.
Edited by: Rene W. on May 2, 2011 3:48 AMSome sub optimal placed functionality:
- Want to delete a breadcrumb? It's under "Edit breadcrumb name".
- Want to delete multiple pages? First select 1 page, then look under utilities for "cross page".
- When using a wizard you can select e2.gif as the edit link image. When manually creating a link this image is not one of the options.
Feel free to add your own.
Edited by: Rene W. on May 2, 2011 3:48 AM -
Query Syntax Bug in orcl:query-database function
Hi,
I have a 'Transform' process activity, I have a Description and I intend to get the corresponding Id on the basis of the "text Description".
e.g.
Input: "Jack"
table: EMP [i.e. Employee Table]
Expected Query: SELECT EMP_ID FROM EMP WHERE EMP_NAME = "Jack"
<SNIP>
<ns0:empId>
<xsl:value-of select="orcl:query-database('SELECT EMP_ID FROM EMP WHERE EMP_NAME="Jack"', false(), false(), 'jdbc:oracle:thin:soaadmin/soaadmin@localhost:1521:XE')"/>
</ns0:empId>
</SNIP>
Presently Resulting as:
oracle.xml.sql.OracleXMLSQLException: ORA-00904: "Jack": invalid identifier
Details:
It seems that it is not accepting quotes in the query.
- I tried escaping quote however it did not work.
- I tried giving " or amp;quot; or " - nothing worked.
Please Suggest me something on this.
regards
JoyHow about:
<ns0:empId>
<xsl:value-of select="orcl:query-database('SELECT EMP_ID FROM EMP WHERE EMP_NAME=&apos;Jack&apos;', false(), false(), 'jdbc:oracle:thin:soaadmin/soaadmin@localhost:1521:XE')"/>
</ns0:empId>
? -
Another bug found in the search function, please fix.
If I search for *.ISO on my computer, trying to find the Windows 7 iso's I downloaded, it reports back with.
05 - John Lennon - Isolation.mp3
(2)Isolation.scx
09 - Dido - Isobel.mp3
arial-iso-8859-1
(As well as the Windows 7 ISO files)
What is going on here?? Do the programmers of Windows search not know what a file extension is?
*. ISOMastering the new search is not for the faint of heart. I guess they tried to make it useful for....I don't know who they tried to make it useful for. I doubt it was programmers and yet those are the only people to whom it makes sense. And I guess if you are one, then the new search is indeed way more powerful if too complex and inefficient for simple file-searches.
There is no point in searching using old style wildcard syntax, returned results are rarely anything but irrelevant garbage. What you need to do, like it or not is to get on board because that train is leaving the station and ain't coming back.
Following page gives some rather detailed insight into the matter:
Advanced Query Search syntax
I don't know why MS does not put a hot-link to that page somewhere within the Search-box or when you press F1 while in it, it would help tremendously and save people a lot of (unnecessary) aggravation.
To give a direct answer to the OP, your search should actually be ext:iso or file:*.iso. Then you would get your list of ISO files. Otherwise, "*.iso" returns all occurrences within ALL metadata properties, which can obviously be more than just the filename. The AQS is extensive and it is a lot to remember.
On the visuals, it would be nice of MS to let us add our own Quick Filter sets for speedy access instead of the only two Date Modified: and Size: (sure, whatever). I'd love to have a File: and Ext: there instead which would save me time by not having to type that in every time - maybe it can be hacked, I dunno. -
Poor implementation: image bugs and PDF TOC non functional
I have just completed my new eBook, which I made the mistake of writing in Pages 5 (latest version).
First, the Table of Contents is no longer active in teh exported PDF.
Second, I had an awful lot of buggy behaviour in this picture-rich book. Pictures mirroring; randomly changing pages; being swapped; losing the "keep with text" option; not being able to go where I want them; etc.
But worst of all, when I try to go back by exprting to Pages 09, that seems ot work.. expcet Pages 09 then says "The document <name> couldn't be opened".
I seem stuck. Any workarounds, anyone?
Michael
PS I already announced the new book, as I was sure I;d be releasing imminently...
http://www.speedlighter.ca/e-books/ebook-impactful-travel-photography/Ok. It's 3am and I can't sleep. Peter, do you need my help with Mavericks? Mine purrs despite the name.
I may be off base here, but do I remember correctly a post from this year or last where someone ran up against a aggregate image size ceiling in Pages ’09 while creating a book. If that condition is in fact true, and Pages v5 increased this ceiling, but fails to check for it in Pages ’09 exports, could this be a contributing factor in the current issue?
Maybe you are looking for
-
I brought a video from a trusted website. They sent me an e-mail with a link to use to download the video. It is a mp3 video with 2.75 GB. When I click on the link to download it seems to try but stops and won't do anything else. It appears to be
-
How to call a java script in while eventprocessing?
hi friends, How to call a java script from an event. when i click a button, i want to display a message in IE. For ex: BTN_CAN, When i click on this in IE i want show a message like "clicked on cancelled". how can i do this..... in javascript WINDOW.
-
GRC 10.0 - Transport Connector Relevant Settings
Hi Gurus, Many of you have already completetd GRC 10.0 implementaion. One of the Key advantage of GRC 10.0 stated as "Changes can be transported". While carrying out configuration settings under nodes SPRO -->GRC --> Common Component Settings --> Int
-
ITunes & App Store in Mac show old e-mail when using "Tell a Friend"
Hi, I have changed my e-mail address on my Apple Account a while ago. All seems to work and when i go to manage the account it shows my current e-mail. But when i use "Tell a Friend" feature in the iTunes Store and in the App Sore in Mac is shows my
-
i go to play my videos one day (today) and all i get is the audio from that video, it looks as if its playing a song, it has the artwork, title etc not video i thought it was jsut my purchased tv shows but its all my stuff even the videos i converted