Please Help in generation of Random Numbers & Characters

hai friends,
Please help me to generate random Numbers and Characters to the Fields of the Table.
Please Send code to it.
madhava

It's easier enough. Just use the DBMS_RANDOM package supplied by Oracle.
SQL> desc rndm
Name                                      Null?    Type
COL1                                               NUMBER
COL2                                               VARCHAR2(10)
COL3                                               DATE
SQL> BEGIN
  2     DBMS_RANDOM.initialize(12348765);
  3     FOR i IN 1..4 LOOP
  4        INSERT INTO rndm VALUES (dbms_random.value
  5                                 , dbms_random.string('A', 10)
  6                                 , sysdate + dbms_random.value(1,1000));
  7     END LOOP;
  8  END;
  9  /
PL/SQL procedure successfully completed.
SQL> SELECT * FROM rndm;
      COL1 COL2       COL3
.028766128 pUFMxywBzC 14-JAN-07
  .7524715 SupFLVZmEC 22-JUN-07
.454116997 EHCEZKPORm 14-FEB-05
.330733477 gycpybxdRS 12-MAR-07
SQL> Note that the published API seems to have changed in 9.2 (if not earlier), with the apparent sole purpose of DBMS_RANDOM being the generation of random numbers. However, as you can see, the old methods still work. Not sure what Oracle are up to.
Cheers, APC

Similar Messages

  • Please help - computer turns off randomly

    I purchased my computer in the US in september - right before I moved to London. Mid november it died. The computer would turn on and chime, but the screen was dead. I took it to a 3rd party repair (which apple phone tech support insisted was just as good as the apple store) and they replaced the logic board. It all seemed fine until I took it home and used ichat video with my family - the computer turned off. It didn't shut down, just seemed to pause and go dead. I could reboot it and it had no recollection of incorrect shutdown with the exception of firefox. (I dont know if this is important, but every time it does this and i reboot, the sound resets to mute) I started to notice that the computer does this any time I use video functions for an extended period of time (or at least 20 minutes). I have brought it to the apple store twice, where they have repaired it twice. I have gone through at least one more logic board, a heat sink, something to do with the power adapter, as well as the battery. They cannot find anything wrong - 3 repairs later its still shutting down so I went to apple again. Unwilling to give up my computer YET again, they recommended I archive and install. I have now done that - now my computer is crawling - still crashing - and some programs decide to open up occasionally or start and stop without a crash notice. I tried to run disk utility and it froze. On top of this all, they recommended I download xslimmer to convert old power pc programs to the current intel format I'm running on my new macbook - this seems to have complicated things more. I asked them to replace the computer during my last genius bar visit, i was told that because my computer was purchased in the states they cannot replace it, and I will not be heading back to the states soon enough to have it replaced there. So anyone with any insight, please help! I bought a new computer so i wouldn't have to deal with these problems and its turning out to be more of a headache than my old powerbook g4.

    I also forgot to mention that every 45-60 seconds there are two faint tick sounds coming from inside the computer.

  • Please Help!!   (Stripping first 7 Characters of every line in a file???

    Hey guys,
    I need to read in a file but strip the first 7 characters from each line in the file???
    How do i do it...
    Any help will be appreciated...

    Dear Friend,
    Thankyou very much for your interest.
    I am trying to strip the 1st 7 characters from the following file while reading....
    1. <?xml version="1.0" encoding="UTF-8"?>
    2.
    3. <DOCUMENT>
    4. <GREETING>
    5. THE LIVE EXAMPLE...
    6. <MESSAGE>
    7. </GREETING
    8. If this works then your project is over...;;;
    9. </MESSAGE>
    10. </DOCUMENT>
    I meant, if my file contains line break (space of a line between two lines just like in Double Line spacing. Eg. between 1 and 3).... the program doesn't read after reading the first line. Your method does stip first seven characters of first line...
    Your help is appreciated....

  • Please Help! My Pages, Keynote & Numbers won't open

    Updated Keynote (6.2.2) , Pages (5.2.2) & Numbers (3.2.2) August 25th
    Updated to Mavericks 10.9.4 September 10th.
    K, P & N would not open before or after system upgrade. When I open the app, it takes me to my Documents folder. I can't even download them again because they say installed. If I deleted them, can I re-add K, P & N for free? They came with my computer.

    Hey Jen127,
    Thanks for the question. When you open Pages, Keynote or Numbers, an “Open” dialog appears. This dialog allows you to choose to open a document (defaults to showing your Documents folder) or open a file from iCloud. In the bottom left corner there is also a “New Document” button:
    Create or open a document - Pages Help for Mac
    http://help.apple.com/pages/mac/5.0/#/tancdeedb11c
    Thanks,
    Matt M.

  • Please help - applications shutting down randomly

    Evening everyone,
    I've used macs for a few years now and am in the process of moving my mum from the crappy family PC over to my old iMac G5, which is just over 3 years old. The G5 is staying at home so mum can use it and I'm going back to uni on Tuesday with my MacBook.
    I've set mum up with a new user account, her iPhoto library is on the computer but the iTunes library and a load of backup stuff is on a Western Digital My Book Home edition external hard drive as there's not enough room on the G5. Just as I was starting to show mum how to use the mac (at times a painful process - she's not the best at learning new computer things) the G5 went and showed me up. It's being pretty slow at opening applications and loading photos in iPhoto and it is also quitting applications without any notice or obvious cause.
    The problem seems to be only in mum's user account which confuses me as it's pretty much pristine. I've scanned it with ClamxAV for viruses and found none and am in the process of scanning the external HD. One weird thing is that sometimes (but not all) after an app has shut itself down unannounced a finder window will open at a specific folder on the WD Hard Drive. It's a random photo file, originally I had mum's iPhoto library on the external drive but have sinced freed plenty of space for it on the G5 hard drive as I feel its more reliable, but there are still copies of all the photos on the hard drive. I really cant see why it sometimes links back to this one though.
    Sorry, I know this is a really long post but thought I'd try and give as much info as possible - I need to get this sorted before I go back to uni on Tuesday otherwise mum won't be able to use the computer and I'm not back again until Christmas! I'd really appreciate your help and any ideas/suggestions you guys could offer. These forums have always been very useful for troubleshooting in the past, just hope my first post can work out as well!

    The following may help:
    Help - a program unexpectedly
    Apps unexpectedly quit

  • Formula Experts Please Help! - Extracting text in numbers

    This may be very simple, but I have cells with a variety of text in it. I want to test the text to see if it contains a value, and if it does return one value, if not another.
    eg. cell contains text "01239 Personal drawings account 89"
    Is there a way in one formula to check if the text contains "personal" and return a value if it true or false?
    My formula: =IF((SEARCH("PERSONAL", T(cell ref)))>0, "YES", "NO")
    This only works if the text contains 'personal' otherwise it returns an error.
    I'd like to nest it into one formula if possible, but I'm not sure the easiest way.
    Many thanks.
    Paul

    Paul,
    Great, glad I could help. Sorry if it didn't completely satisfy. Here's a more refined version which I didn't offer on the first serving because it somewhat clouds the primary function. You may find that you would prefer that testing blank cells gives a blank result rather than a "No" result. The formula for that simply requires that you wrap the first formula in an ISBLANK test as follows: =IF(ISBLANK(B2), "", IF(ISERROR(SEARCH("PERSONAL", T(CellRef))), "No", "Yes"))
    Happy Numbers-ing,
    Jerry

  • Please help! My mac randomly restarted straight after a shutdown. As it restarted and loaded to desktop, I received an 'Anonymous UUID' error. This is the first time that it's happened!

    Hey guys! I was wondering if you could help me with this 'Anonymous UUID' thing? As I've only had this mac for just over a month, I was a little frightened to think that I may have done something wrong to receive a crash report such as this? Here is the report that I received (Without the UUID):
    Anonymous UUID:  (Deleted)
    Fri Feb 28 10:49:05 2014
    panic(cpu 0 caller 0xffffff80084dbe2e): Kernel trap at 0xffffff80084c5ea4, type 13=general protection, registers:
    CR0: 0x000000008001003b, CR2: 0x000000010dc09ee0, CR3: 0x0000000009648002, CR4: 0x00000000001606e0
    RAX: 0xdeadbeefdeadc6e7, RBX: 0x0000000000000000, RCX: 0xffffff8014b7b000, RDX: 0xffffff8014fbb940
    RSP: 0xffffff80f8d636e0, RBP: 0xffffff80f8d63790, RSI: 0x0000000000000000, RDI: 0x000000000002204a
    R8:  0x0000000000000021, R9:  0x00000000cccccccd, R10: 0xffffff80f8d63910, R11: 0xffffff801a719720
    R12: 0x00007fff7ec64000, R13: 0xffffff8019f38888, R14: 0x000000000002204a, R15: 0xffffff8014fbb940
    RFL: 0x0000000000010296, RIP: 0xffffff80084c5ea4, CS:  0x0000000000000008, SS:  0x0000000000000010
    Fault CR2: 0x000000010dc09ee0, Error code: 0x0000000000000000, Fault CPU: 0x0
    Backtrace (CPU 0), Frame : Return Address
    0xffffff80ea588c50 : 0xffffff8008422fa9
    0xffffff80ea588cd0 : 0xffffff80084dbe2e
    0xffffff80ea588ea0 : 0xffffff80084f3326
    0xffffff80ea588ec0 : 0xffffff80084c5ea4
    0xffffff80f8d63790 : 0xffffff80084c8697
    0xffffff80f8d637b0 : 0xffffff8008471d5a
    0xffffff80f8d637f0 : 0xffffff800847298f
    0xffffff80f8d63c00 : 0xffffff8008471f0d
    0xffffff80f8d63c60 : 0xffffff80087ffbe1
    0xffffff80f8d63c90 : 0xffffff80085dbcbd
    0xffffff80f8d63ce0 : 0xffffff80085db3a0
    0xffffff80f8d63d20 : 0xffffff80085db9dd
    0xffffff80f8d63db0 : 0xffffff80085e4747
    0xffffff80f8d63e10 : 0xffffff80085dcd2a
    0xffffff80f8d63e50 : 0xffffff80087dbf5a
    0xffffff80f8d63ec0 : 0xffffff80087ea858
    0xffffff80f8d63f50 : 0xffffff800883e363
    0xffffff80f8d63fb0 : 0xffffff80084f3b26
    BSD process name corresponding to current thread: launchd
    Mac OS version:
    13C64
    Kernel version:
    Darwin Kernel Version 13.1.0: Thu Jan 16 19:40:37 PST 2014; root:xnu-2422.90.20~2/RELEASE_X86_64
    Kernel UUID: 9FEA8EDC-B629-3ED2-A1A3-6521A1885953
    Kernel slide:     0x0000000008200000
    Kernel text base: 0xffffff8008400000
    System model name: MacBookPro9,2 (Mac-6F01561E16C75D06)
    System uptime in nanoseconds: 11742048137059
    last loaded kext at 11507482266712: com.apple.driver.AppleIntelMCEReporter 104 (addr 0xffffff7f8a3cd000, size 49152)
    last unloaded kext at 11570179667037: com.apple.driver.AppleIntelMCEReporter 104 (addr 0xffffff7f8a3cd000, size 32768)
    loaded kexts:
    net.telestream.driver.TelestreamAudio 1.1.0
    com.apple.filesystems.udf 2.5
    com.apple.driver.AGPM 100.14.15
    com.apple.driver.X86PlatformShim 1.0.0
    com.apple.filesystems.autofs 3.0
    com.apple.iokit.IOBluetoothSerialManager 4.2.3f10
    com.apple.driver.AppleMikeyHIDDriver 124
    com.apple.driver.AppleHDA 2.6.0f1
    com.apple.driver.AudioAUUC 1.60
    com.apple.driver.AppleMikeyDriver 2.6.0f1
    com.apple.driver.AppleUpstreamUserClient 3.5.13
    com.apple.iokit.IOUserEthernet 1.0.0d1
    com.apple.Dont_Steal_Mac_OS_X 7.0.0
    com.apple.driver.AppleBacklight 170.3.5
    com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport 4.2.3f10
    com.apple.driver.AppleHWAccess 1
    com.apple.driver.AppleThunderboltIP 1.1.2
    com.apple.driver.AppleMCCSControl 1.1.12
    com.apple.driver.AppleSMCPDRC 1.0.0
    com.apple.driver.AppleSMCLMU 2.0.4d1
    com.apple.driver.AppleLPC 1.7.0
    com.apple.driver.AppleIntelHD4000Graphics 8.2.4
    com.apple.driver.AppleIntelFramebufferCapri 8.2.4
    com.apple.driver.SMCMotionSensor 3.0.4d1
    com.apple.driver.AppleUSBTCButtons 240.2
    com.apple.driver.AppleUSBTCKeyboard 240.2
    com.apple.driver.AppleIRController 325.7
    com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
    com.apple.BootCache 35
    com.apple.iokit.SCSITaskUserClient 3.6.6
    com.apple.driver.XsanFilter 404
    com.apple.iokit.IOAHCIBlockStorage 2.5.1
    com.apple.driver.AppleUSBHub 666.4.0
    com.apple.iokit.AppleBCM5701Ethernet 3.8.1b2
    com.apple.driver.AppleSDXC 1.5.2
    com.apple.driver.AppleFWOHCI 4.9.9
    com.apple.driver.AppleUSBXHCI 670.4.0
    com.apple.driver.AirPort.Brcm4331 700.20.22
    com.apple.driver.AppleUSBEHCI 660.4.0
    com.apple.driver.AppleAHCIPort 3.0.0
    com.apple.driver.AppleRTC 2.0
    com.apple.driver.AppleSmartBatteryManager 161.0.0
    com.apple.driver.AppleACPIButtons 2.0
    com.apple.driver.AppleHPET 1.8
    com.apple.driver.AppleSMBIOS 2.1
    com.apple.driver.AppleACPIEC 2.0
    com.apple.driver.AppleAPIC 1.7
    com.apple.driver.AppleIntelCPUPowerManagementClient 216.0.0
    com.apple.nke.applicationfirewall 153
    com.apple.security.quarantine 3
    com.apple.driver.AppleIntelCPUPowerManagement 216.0.0
    com.apple.kext.triggers 1.0
    com.apple.iokit.IOSerialFamily 10.0.7
    com.apple.driver.DspFuncLib 2.6.0f1
    com.apple.vecLib.kext 1.0.0
    com.apple.iokit.IOAudioFamily 1.9.5fc2
    com.apple.kext.OSvKernDSPLib 1.14
    com.apple.iokit.IOBluetoothFamily 4.2.3f10
    com.apple.driver.X86PlatformPlugin 1.0.0
    com.apple.iokit.IOBluetoothHostControllerUSBTransport 4.2.3f10
    com.apple.iokit.IOFireWireIP 2.2.6
    com.apple.driver.AppleSMBusController 1.0.11d1
    com.apple.driver.AppleHDAController 2.6.0f1
    com.apple.iokit.IOHDAFamily 2.6.0f1
    com.apple.driver.IOPlatformPluginFamily 5.7.0d10
    com.apple.driver.AppleSMBusPCI 1.0.12d1
    com.apple.driver.AppleBacklightExpert 1.0.4
    com.apple.iokit.IOSurface 91
    com.apple.iokit.IONDRVSupport 2.4.1
    com.apple.iokit.IOAcceleratorFamily2 98.14
    com.apple.AppleGraphicsDeviceControl 3.4.35
    com.apple.iokit.IOGraphicsFamily 2.4.1
    com.apple.driver.AppleSMC 3.1.8
    com.apple.driver.AppleUSBMultitouch 240.9
    com.apple.iokit.IOUSBHIDDriver 660.4.0
    com.apple.driver.AppleThunderboltDPInAdapter 3.1.7
    com.apple.driver.AppleThunderboltDPAdapterFamily 3.1.7
    com.apple.driver.AppleThunderboltPCIDownAdapter 1.4.5
    com.apple.driver.AppleUSBMergeNub 650.4.0
    com.apple.driver.AppleUSBComposite 656.4.1
    com.apple.iokit.IOSCSIMultimediaCommandsDevice 3.6.6
    com.apple.iokit.IOBDStorageFamily 1.7
    com.apple.iokit.IODVDStorageFamily 1.7.1
    com.apple.iokit.IOCDStorageFamily 1.7.1
    com.apple.iokit.IOAHCISerialATAPI 2.6.1
    com.apple.iokit.IOSCSIArchitectureModelFamily 3.6.6
    com.apple.driver.AppleThunderboltNHI 2.0.1
    com.apple.iokit.IOThunderboltFamily 3.2.7
    com.apple.iokit.IOEthernetAVBController 1.0.3b4
    com.apple.driver.mDNSOffloadUserClient 1.0.1b5
    com.apple.iokit.IOUSBUserClient 660.4.2
    com.apple.iokit.IOFireWireFamily 4.5.5
    com.apple.iokit.IO80211Family 630.35
    com.apple.iokit.IONetworkingFamily 3.2
    com.apple.iokit.IOUSBFamily 675.4.0
    com.apple.iokit.IOAHCIFamily 2.6.5
    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
    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: MacBookPro9,2, BootROM MBP91.00D3.B09, 2 processors, Intel Core i5, 2.5 GHz, 8 GB, SMC 2.2f44
    Graphics: Intel HD Graphics 4000, Intel HD Graphics 4000, Built-In, 1024 MB
    Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1600 MHz, 0x802C, 0x384B54463531323634485A2D314736453220
    Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1600 MHz, 0x802C, 0x384B54463531323634485A2D314736453220
    AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xF5), Broadcom BCM43xx 1.0 (5.106.98.100.22)
    Bluetooth: Version 4.2.3f10 13477, 3 services, 15 devices, 1 incoming serial ports
    Network Service: Wi-Fi, AirPort, en1
    Serial ATA Device: APPLE HDD HTS541010A9E662, 1 TB
    Serial ATA Device: HL-DT-ST DVDRW  GS41N
    USB Device: Hub
    USB Device: FaceTime HD Camera (Built-in)
    USB Device: Hub
    USB Device: Hub
    USB Device: Apple Internal Keyboard / Trackpad
    USB Device: IR Receiver
    USB Device: BRCM20702 Hub
    USB Device: Bluetooth USB Host Controller
    Thunderbolt Bus: MacBook Pro, Apple Inc., 25.1
    Thank you in advance!

    Galadhrim wrote:
    Hello guys,
    i need help, my iMac got insane after a light shutdown, the first thing that happened is that my sister's account dissapeared, It was deleted
    I suspect that teh directory services entry for that account got corrupted but the account is still basically there. is the home directory present in the /Users folder?
    , after this I started having issues with Mac OS X, when I pressed "empty Trash", nothing happened, when I clicked again, Finder said that is was being emptied, but nothing showed up, the only way i found to emptying it, was through Terminal, after this, my account is not recognized as an Admin, in System Preferences is labeled as Admin, but my rights, doesn't look as it, when i try to create again my sister's account, I cant because when I click the Lock, for unlocking the settings, it says Authenticating... and then nothing happens the Finder window that asks me my password doesn't show up, this happens with every file or folder that I try to Unlock Authenticating... and the nothing, I hope you guys can help, this is making me mad ;(
    sounds like a number of system files got hosed. i would recommend an archive and install.
    see this post by kappy for instructions
    http://discussions.apple.com/thread.jspa?threadID=1582866&tstart=0
    also, make a full backup of your system before reinstalling

  • PLEASE HELP!  Mail recieving thousands of already recieved emails...

    I'm still on an iMac ver. 10.2.8. Prehistoric, I know.
    Almost daily, my Mail will suddenly start retrieving over a thousand or so "New" messages. These emails are not new, but just a re-retreiving of my incoming mail from the last few days or weeks.
    It doesn't matter if I've deleted mail, responded or otherwise. It just suddenly retrieves the last thousand or so emails that I've already been sent.
    CLUE- Every time this happens, I also get a single strange email. There is no content to read/see, no subject in the header, and no email address that it's coming from! I would try blocking this specific spammer (if that's what the problem is) but there's no visible email address to block...
    PLEASE HELP! This happens randomly, and now sometimes twice a day. It takes me almost an hour each time to filter out the doubled, tripled, and quadrupled emails!
    Thanks so much in advance for any help you can give!

    Have you tried removing the emails from the mail server? Perhaps your setting keeps them there and Mail is redownloading them.
    goto preferences>Accounts>Advanced and make sure "Remove copy from server after retrieving a message" is checked and "Right away" is selected on the drop down. Also, try clicking the "remove now" button.
    in theory, Mail shouldn't be downloading messages you've already gotten off the server with Mail, but things don't always have to make sense when it comes to computers.
    Hope this helps!
    iBook G4   Mac OS X (10.3.9)  

  • My ipod nano. when connected to a computer doesn't appear as an ipod but a USB device instead. Please help.

    Please help me! I badly want to transfer my videos to my computer but it won't appear as an ipod nano but a usb device instead. So I can't see the DMIC folder. I only see 'Recordings', 'Recylcler', and other folders but I can't see the DMIC folder. And yes, I already enabled it to disk use, but it still won't appear. Please help.

    What generation iPod Nano do you have?  I assume the Enable Disk Use option is ticked from under the iPod's Summary tab in iTunes?
    If it's a 5G Nano, have you seen this article to help walk you through the process of copying these recorded videos to your PC.
    iPod nano (5th generation): How to copy your recorded videos to a PC
    B-rock

  • Yes my ipod touch 2nd generation 8gb wont turn on, i was on my way to my next class at school and it just randomly shut off, its been off ever sense and i don't know whats wrong, it had a good charge and i don't know what to do please help me

    My ipod touch 2nd generation 8gb wont turn on, i was on my way to my next class at school and it just randomly shut off, its been off ever sense and i don't know whats wrong, it had a good charge and i don't know what to do please help me.

    Try here:
    iOS: Not responding or does not turn on

  • My iPod touch 2nd generation keeps turning the volume up and then turns off, by itself randomly. Please help!!, My iPod touch 2nd generation keeps turning the volume up and then turns off, by itself randomly. Please help!!

    my iPod touch 2nd generation keeps turning the volume up and then turns off by itself randomly. Please help!

    Try the standard fixes in order:
    - Reset:
    Reset iPod touch:  Press and hold the On/Off Sleep/Wake button and the Home
    button at the same time for at least ten seconds, until the Apple logo appears.
    - Restore the iPod from backup via iTunes
    - Restore the iPod to factory defaults/new iPod
    - Make an appointment at the Genius Bar of an Apple store.

  • Random Numbers in JSSE - Please Help

    I am pulling what little hair I have out trying to figure out this problem, please help if you can - How can I programmatically retrieve at runtime the client and server nonces used to negotiate a SSL socket in JSSE?
    Regards,
    Bart

    Sorry - I wasn't very specific in my post I guess - I realize that you can output the nonces, etc. by running the debugger - but, I am hoping to use the nonces at runtime in the code. Thus, it is not so much that I can figure out what nonces were used to negotiate an SSL session, but that my program can use them to perform another task. Any idea how to get these values programmatically?
    Thanks,
    Tore

  • Random numbers..please help

    hi,
    this is probably so basic.. but dont know it
    if i have a statement like this
    int number = (int)(Math.random()*12);what random numbers will i get?
    is it from 0 to 12 or 1 to 12 or what.?
    basically i need to get numbers in a range say 1 to 13
    thanks

    I believe that will return numbers from 0 - 11. If you're looking to get numbers 1 -13, then try something like:
    int number = (int)(Math.random()*13+1).I would recommend putting your code into a for loop that runs a hundred times and look at the results. There is another class Random (in java.util.Random) that also generates random numbers - might want to check that out.

  • I am trying to generate an array of 30 random numbers. after every 5 readings a new vi should open and tell the user that 5 readings has been completed. and again carry on with the generation of array.

    since i do not have a transducer now, i am currently generating an array of 30 random numbers. after every 5 readings a warning should be given to the user that 5 readngs are complete. this cycle should repeat. the array size is 30.
    please help me out,  waiting for reply asap.
    once i have the transducer, i will be taking 30 analog samples and then after every 5 smaples that wraning will be displaye din a new VI
    Solved!
    Go to Solution.

    Use a while loop with a time delay representing your sampling period.
    Use the count terminal to check if equals 4, so 4th iteration=5th sample.
    Use a case structure. The true case will only be executed on the 4th iteration.
    In the true case place a subVI  with your desired message in the front panel. Go to the VI properties window and set "open front panel when called".
    The closing condition of the warnign is not giving in your description.
    Consider that rather than usign a subvi for this, you could use the "One/Two/Three button dialog" or "display message" vis at the "dialog and user interface" pallete.
    Please give it a try and send your own VI. Do not expect us to provide a working solution.
    Regards,

  • New software update for iPod touch 4th generation? PLEASE HELP!!

    Ok so here is the problem: I have the iPod touch 4th generation with software version 4.3 (I have had my iPod for about 7 months) and recently within the past week or so I have started experiencing multiple crashes with many different various apps and games. Just random games crashing and then I noticed it happening with the Facebook app and even Safari on my iPod! I had to get off of my iPod and come on the computer to type this message out because Safari would crash every single time I tried to type this on my iPod! So at first I figured it was the apps and games' problems, but then as more and more began to crash, like Facebook and Safari, I figured it is the Apple software version 4.3 acting up. So I was wondering, is Apple working on a new software update for iPod touch 4th gen.? Or is this a rare problem? Is there anyone out there having this same problem? Or anyone at all that can PLEASE help me?! MANY THANKS!
    - Sam Amos

    No one would know what Apple is working on, unless they announce, which they very rarely do.
    Have you tried the basics from the manual?
    restart.
    reset.
    restore.

Maybe you are looking for

  • Smart Form - operator not followed by value

    Hi all, in smart form --> Global definition --> initialization i have written this code.... select belnr gjahr bukrs blart bldat budat waers into corresponding fields of table tbkpf from bkpf where bukrs = ubukrs and gjahr = ugjahr and budat in ubuda

  • 2 Problems with iWeb site

    I have been having 2 problems with my iWeb published site on MobileMe. 1. The Podcast search field does not display correctly - it appears as "two lines", not 1 (ie. the search icon i where it is supposed to be, but the search field is directly below

  • Open PDF through forms in apps

    I have a requirement where in I need to open a pdf document on click of a button. This document is a static doc for guideline/help purpose (for users accessing the form from apps). I want to know the best way to handle this. I can store the document

  • What is CL_EX_RSOD_ITEM_DOC_LIST and BADI

    Hi all, First of all: sorry for this very long question... I'm trying to create my own document list based on the original document list which can be found in de standard library in the web application designer. Therefor I needed to copy the class CL

  • Does the lnkfix_vista.zip work for window server 2008 R2 enterprise ?

    All icons on my exchange 2010 server show as .lnk, any icon I click on starts notepad... does the lnkfix_vista.zip work on Windows server 2008 R2 enterprise ? thank you.