Portlets not displayed first time until refresh

Hi,
I have a strange bug when using WLP 8.1 sp5.
When I go on a page for the first time, my page (Portal Page) is bad displayed : its title is diplayed but the inner portlet is not displayed.
When I look at the source, I can see that the Portal rendering stopped at the page level (no HTML for the skeleton of portlets).
If I refresh the page (just F5 or refresh button), the portlet "magically" appears.
Do you have any idea ?

For the both .portal and desktop
It happens after login.
I use a backing file with handlePostBackData method to check the login action.
If everything is ok, I redirect the user to the private space.
On this space, another backing file check that the user is authorized to access to the private space (so it checks for destroyed sessions, url hacks, ...).
I can put the code of the backing files if you need it.
After some tests, it seems to be a problem in relation with the page label. If the page label is a book , the portlet don't dipslay, but if the label is the full way to the page, it appears immediately.

Similar Messages

  • Accordion problem: child not display first time added

    I have an mx Accordion that I extend to add some simple functionality (e.g., replace a child content at certain index). I tested it in a clean window and everything seemed to work fine, until I use it in my "real" app.
    The problem is when I add a child content to it, the child never bothers to show up until after I click on another header and then go back to click on the header of the child that was just added. I try to call "invalidateParentSizeAndDisplayList();invalidateDisplayList(); invalidateSize();" in the child content's addhandler, and on the Accordion's "childAdd" handler, without luck.
    Anyone has encountered this before? This is probably not the best place to ask for troubleshooting tips but this is really driving me crazy. Any lead is really appreciated!

    ok. i figured it out. setting the "creationPolicy" of the navigatorContent to "all" solves the issue!

  • Audio is not playing first time in Flex app with 11.2 Flash player.

    Hi,
    I am playing an audio fle as flv in a flex application with flash player 11.2  but it is not playing first time and it is playing afetr pause/play and page refresh. Loacally it is playing fine. Please help and guide me.
    thanks in Advance
    Rangrajan.

    Taha,
    Not sure that I understand your workflow there. For editing, the 48KHz 16-bit is the "standard." The 32KHz is not.
    Now, what is the Sample-Rate of your original material?
    What is the CODEC used in that muxed (multiplexed, i.e. combined Audio & Video) file?
    Did you allow Conforming complete 100%? This ARTICLE will give you some background.
    Do you see the Waveform Display for that Clip? Alt+click on the Audio portion of the Clip, and then Dbl-click on it to get it into the Source Monitor. Do you see the Waveform Display there?
    Have you added any Keyframes, or Effects to that Audio? Toggle the Keyframe Display in the Track Header, to see if there are any Clip, or Track Keyframes there.
    Have you accidentally Muted that Track? Look at the Visibility (eyeball) icon in the Track Header. Then, look in Audio Mixer to see if that Track is Muted.
    Good luck,
    Hunt

  • How do I connect to Time Capsule from a Windows 8.1 machine which is on a Windows domain. I have been able to connect from a Windows 7 machine on a Windows domain to a Time Capsule. Airport utility is not displaying the Time Capsule Win8.1 machine

    How do I connect to Time Capsule from a Windows 8.1 machine which is on a Windows domain. I have been able to connect from a Windows 7 machine on a Windows domain to a Time Capsule. Airport utility is not displaying the Time Capsule Win8.1 machine.
    I have checked that the firmware has been updated to 7.6.4 . Similalrly the Win8.1 machine has been loaded with the update specified in another discussion.

    Firstly how are you connecting to the TC.. wireless or ethernet?
    Please open a command window and ping it.. ping by name and by IP address.
    If ping succeeds at least by IP it should work.
    In windows explorer type
    \\10.0.1.1 (or whatever the TC ip is.. that is the default).
    Having the airport utility for windows loaded can help the process. As it loads bonjour for windows.
    7.6.4 firmware on the TC is useless. It works better on 7.6.1
    If the ping does not succeed by either name or IP address yet you have internet through the TC, then your network is setup wrongly. You are have firewalls blocking local IP. Take down all the firewalls.

  • Powerbook pismo with OS 10.4.9 not display battery time

    I was very curious why my newly upgraded powerbook pismo (400 MHz, 1 MB, 55 GB drive, firewire, etc) would no longer display "time remaining" when on battery or external voltage.
    I was getting very close to ordering another battery (6600 mAH) for $150 but decided to do some research first. Lo & behold on the archives there were 30 entries about the same problem on OS 10.4. So in a nutshell, a powerbook pismo with OS 10.4 will not display battery time remaining no matter how many brand new batteries you mail order.
    I'll learn how to use system profiler more often (remaining capacity mAh/amperage = time remaining).

    There's nothing at all wrong with preferring APpleWorks and wanting to continue using it. It's a bit unfashionable these days, but there are many people who have discovered how powerful, flexible and easy it is to use and continue to use it despite the development of alternatives!
    Of course, it does have the drawback of not being intel native, so performance on intel-based Macs will be relatively poor in comparison to iWork, but if that doesn't cause you any problems in use, then it's purely a matter of what you want to use not what anyone else thinks is appropriate!
    That said, what exactly is the problem? Can you scroll by clicking the scroll arrows and dragging the scroll bar, but not by using the mouse wheel?

  • TS1702 I had this Scrabble on my iPad2 and began to have connection problems, it would lock in the "connecting" position. This is not the first time Scrabble has had problems with interface. Typically customers delete the Ap then download it again to rein

    I have contacted EA about this and can find no help. I had this Scrabble on my iPad2 and began to have connection problems, it would lock in the "connecting" position. This is not the first time Scrabble has had problems with interface. Typically customers delete the Ap then download it again to reinstall it. During the process you sign in and approve the purchase KNOWING that another window will open saying that you have previously purchased it and that there is no charge. So what happened this time? It will not connect and all of my saved and current games are wiped out. I want my money back, this game interface is pretty junk and operates like some ancient DOS program,,bug,bug,buggy. I want my money back.

    Go here:
    http://www.apple.com/support/itunes/contact/
    and follow the instructions to report the issue to the iTunes Store.
    Regards.

  • The most recent update erased all of my bookmarks. I tried the steps to find them and they are gone. This is not the first time this has happened and it extremely disuptive.

    the most recent update resulted in a loss of ALL of my bookmarks. This is not the first time this has happened and it is very disruptive. I tried the steps suggested to find the bookmarks but that failed.

    A possible cause is a problem with the file places.sqlite that stores the bookmarks and the history.
    * http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox

  • Making a JSR168 Portlet not display due to auths

    Hi,
    We have a portlet that we'd like to not display based on some authorization business rules. These rules are not based on portal groups (otherwise we could just set the portlet's access through the Builder UI), we need to do this check in java code. So I tried throwing both a PortletSecurityException and a PortletException but neither of these causes the portlet to not display, instead it causes an Error message inside the portlet.
    Does anyone have any ideas on how to programmatically make a portlet not display?
    Thanks!
    -Mike

    Hi,
    I am also Interested to learn this.
    Thnx
    ~Neeraj Sidhaye

  • Mac mini restart because of a problem. Not the first time!

    Hi everyone!
    This morning, while I was simply listening to iTunes, browsing with Safari and a Time Machine Backup was going on I had the Grey Screen Of Death!
    This is not the first time it happens, I'm really worried about a real hardware problem.
    Here are the infos about the restart, I really don't know how to read them.... Please if someone could help me I will really appreciate!
    Thanks in advance for your help.
    A.A.R.
    Fri Aug 29 09:45:28 2014
    panic(cpu 0 caller 0xffffff80248bc6bc): "complete() while dma active"@/SourceCache/xnu/xnu-2422.110.17/iokit/Kernel/IOMemoryDescriptor.cpp:26 20
    Backtrace (CPU 0), Frame : Return Address
    0xffffff820eccb970 : 0xffffff8024422f79
    0xffffff820eccb9f0 : 0xffffff80248bc6bc
    0xffffff820eccba30 : 0xffffff7fa49f9b06
    0xffffff820eccba70 : 0xffffff7fa49efab2
    0xffffff820eccbac0 : 0xffffff7fa509c2ca
    0xffffff820eccbb10 : 0xffffff7fa509fc3a
    0xffffff820eccbb60 : 0xffffff7fa4a870d4
    0xffffff820eccbbb0 : 0xffffff7fa4a8114e
    0xffffff820eccbc00 : 0xffffff7fa4a8121c
    0xffffff820eccbc30 : 0xffffff7fa4d6a7cd
    0xffffff820eccbd30 : 0xffffff7fa515d126
    0xffffff820eccbde0 : 0xffffff7fa515df11
    0xffffff820eccbe20 : 0xffffff7fa516b82e
    0xffffff820eccbed0 : 0xffffff7fa5173469
    0xffffff820eccbef0 : 0xffffff80248b07f0
    0xffffff820eccbf30 : 0xffffff80248af292
    0xffffff820eccbf80 : 0xffffff80248af367
    0xffffff820eccbfb0 : 0xffffff80244d7417
          Kernel Extensions in backtrace:
             com.apple.iokit.IOStorageFamily(1.9)[9B09B065-7F11-3241-B194-B72E5C23548B]@0xff ffff7fa49ec000->0xffffff7fa4a10fff
             com.apple.iokit.IOUSBFamily(683.4)[7595281D-D047-3715-9044-98F46B62F845]@0xffff ff7fa4d67000->0xffffff7fa4dc7fff
                dependency: com.apple.iokit.IOPCIFamily(2.9)[4662B11D-2ECA-315D-875C-618C97CDAB2A]@0xffffff 7fa4abe000
             com.apple.driver.AppleUSBXHCI(683.4)[4C9A2D47-0723-387A-9C4B-6199093960A9]@0xff ffff7fa515c000->0xffffff7fa5178fff
                dependency: com.apple.iokit.IOUSBFamily(683.4.0)[7595281D-D047-3715-9044-98F46B62F845]@0xff ffff7fa4d67000
                dependency: com.apple.iokit.IOPCIFamily(2.9)[4662B11D-2ECA-315D-875C-618C97CDAB2A]@0xffffff 7fa4abe000
             com.apple.iokit.IOSCSIArchitectureModelFamily(3.6.6)[C7B04E3E-37FF-3DC4-A0ED-92 DDCE6FCB98]@0xffffff7fa4a7c000->0xffffff7fa4aa6fff
             com.apple.iokit.IOSCSIBlockCommandsDevice(3.6.6)[160F02BC-97C1-3119-BD28-4B2ED1 21C501]@0xffffff7fa509b000->0xffffff7fa50affff
                dependency: com.apple.iokit.IOSCSIArchitectureModelFamily(3.6.6)[C7B04E3E-37FF-3DC4-A0ED-92 DDCE6FCB98]@0xffffff7fa4a7c000
                dependency: com.apple.iokit.IOStorageFamily(1.9)[9B09B065-7F11-3241-B194-B72E5C23548B]@0xff ffff7fa49ec000
    BSD process name corresponding to current thread: kernel_task
    Mac OS version:
    13E28
    Kernel version:
    Darwin Kernel Version 13.3.0: Tue Jun  3 21:27:35 PDT 2014; root:xnu-2422.110.17~1/RELEASE_X86_64
    Kernel UUID:
    Kernel slide:     0x0000000024200000
    Kernel text base: 0xffffff8024400000
    System model name: Macmini6,2 (Mac-F65AE981FFA204ED)
    System uptime in nanoseconds: 1057344563610
    last loaded kext at 419151165914: com.apple.driver.AppleIntelMCEReporter 104 (addr 0xffffff7fa63b7000, size 49152)
    last unloaded kext at 542203040150: com.apple.driver.AppleIntelMCEReporter 104 (addr 0xffffff7fa63b7000, size 32768)
    loaded kexts:
    com.motu.driver.FireWireAudio 1.6 60625
    com.apple.filesystems.autofs 3.0
    com.apple.driver.AudioAUUC 1.60
    com.apple.iokit.IOBluetoothSerialManager 4.2.6f1
    com.apple.driver.AGPM 100.14.28
    com.apple.driver.ApplePlatformEnabler 2.0.9d6
    com.apple.driver.X86PlatformShim 1.0.0
    com.apple.driver.AppleMikeyHIDDriver 124
    com.apple.driver.AppleHDA 2.6.3f4
    com.apple.driver.AppleUpstreamUserClient 3.5.13
    com.apple.driver.AppleMCCSControl 1.2.5
    com.apple.driver.AppleMikeyDriver 2.6.3f4
    com.apple.iokit.IOUserEthernet 1.0.0d1
    com.apple.driver.AppleIntelHD4000Graphics 8.2.8
    com.apple.Dont_Steal_Mac_OS_X 7.0.0
    com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport 4.2.6f1
    com.apple.driver.AppleHWAccess 1
    com.apple.driver.AppleLPC 1.7.0
    com.apple.driver.AppleSMCPDRC 1.0.0
    com.apple.driver.AppleIntelFramebufferCapri 8.2.8
    com.apple.driver.AppleThunderboltIP 1.1.2
    com.apple.iokit.IOUSBAttachedSCSI 1.0.5
    com.apple.driver.AppleIRController 325.7
    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.XsanFilter 404
    com.apple.iokit.IOAHCIBlockStorage 2.6.0
    com.apple.driver.AppleUSBHub 683.4.0
    com.apple.driver.AppleSDXC 1.5.2
    com.apple.iokit.AppleBCM5701Ethernet 3.8.1b2
    com.apple.driver.AirPort.Brcm4331 700.20.22
    com.apple.driver.AppleFWOHCI 5.0.2
    com.apple.driver.AppleAHCIPort 3.0.5
    com.apple.driver.AppleUSBEHCI 660.4.0
    com.apple.driver.AppleUSBXHCI 683.4.0
    com.apple.driver.AppleACPIButtons 2.0
    com.apple.driver.AppleRTC 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 217.92.1
    com.apple.nke.applicationfirewall 153
    com.apple.security.quarantine 3
    com.apple.driver.AppleIntelCPUPowerManagement 217.92.1
    com.apple.kext.triggers 1.0
    com.apple.iokit.IOSerialFamily 10.0.7
    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.IOBluetoothFamily 4.2.6f1
    com.apple.iokit.IOSurface 91.1
    com.apple.iokit.IOBluetoothHostControllerUSBTransport 4.2.6f1
    com.apple.driver.AppleSMBusController 1.0.12d1
    com.apple.iokit.IONDRVSupport 2.4.1
    com.apple.driver.AppleHDAController 2.6.3f4
    com.apple.iokit.IOHDAFamily 2.6.3f4
    com.apple.driver.AppleSMBusPCI 1.0.12d1
    com.apple.iokit.IOFireWireIP 2.2.6
    com.apple.iokit.IOAcceleratorFamily2 98.22
    com.apple.AppleGraphicsDeviceControl 3.6.22
    com.apple.iokit.IOGraphicsFamily 2.4.1
    com.apple.driver.X86PlatformPlugin 1.0.0
    com.apple.driver.AppleSMC 3.1.8
    com.apple.driver.IOPlatformPluginFamily 5.7.1d6
    com.apple.driver.AppleUSBHIDKeyboard 170.15
    com.apple.driver.AppleHIDKeyboard 170.15
    com.apple.iokit.IOSCSIBlockCommandsDevice 3.6.6
    com.apple.iokit.IOSCSIArchitectureModelFamily 3.6.6
    com.apple.driver.AppleUSBMergeNub 650.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.iokit.IOUSBHIDDriver 660.4.0
    com.apple.driver.AppleUSBComposite 656.4.1
    com.apple.driver.AppleThunderboltNHI 2.0.1
    com.apple.iokit.IOThunderboltFamily 3.3.1
    com.apple.iokit.IOEthernetAVBController 1.0.3b4
    com.apple.driver.mDNSOffloadUserClient 1.0.1b5
    com.apple.iokit.IO80211Family 640.36
    com.apple.iokit.IONetworkingFamily 3.2
    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 683.4.0
    com.apple.driver.AppleEFINVRAM 2.0
    com.apple.iokit.IOHIDFamily 2.0.0
    com.apple.driver.AppleEFIRuntime 2.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.corecrypto 1.0
    com.apple.kec.pthread 1
    Model: Macmini6,2, BootROM MM61.0106.B03, 4 processors, Intel Core i7, 2.6 GHz, 16 GB, SMC 2.8f0
    Graphics: Intel HD Graphics 4000, Intel HD Graphics 4000, Built-In
    Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1600 MHz, 0x802C, 0x31364B544631473634485A2D314736453120
    Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1600 MHz, 0x802C, 0x31364B544631473634485A2D314736453120
    AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x10E), Broadcom BCM43xx 1.0 (5.106.98.100.22)
    Bluetooth: Version 4.2.6f1 14216, 3 services, 23 devices, 1 incoming serial ports
    Network Service: Ethernet, Ethernet, en0
    Network Service: Wi-Fi, AirPort, en1
    Serial ATA Device: APPLE HDD HTS541010A9E662, 1 TB
    Serial ATA Device: KINGSTON SH103S3240G, 240,06 GB
    USB Device: Porsche Desktop
    USB Device: Hub
    USB Device: Keyboard Hub
    USB Device: USB Receiver
    USB Device: Apple Keyboard
    USB Device: Hub
    USB Device: Hub
    USB Device: IR Receiver
    USB Device: BRCM20702 Hub
    USB Device: Bluetooth USB Host Controller
    FireWire Device: Vendor 0x1F2 Device 0x106800, 0x1F2, Up to 400 Mb/sec
    Thunderbolt Bus: Mac mini, Apple Inc., 23.4

    I'll do... but it sounds strange to me... this LaCie is brand new (I've bought it a month ago) and it seems to be a good brand for drives, especially for Mac OS X, isn't it?
    All this problems started after a Mavericks fresh install...
    I hope to solve this problem quickly.

  • After updating itunes to the latest version it will now not open. I have tried reinstalling the programme, rebooting and all other suggestions, to no avail. this not the first time I have had issues with itunes. Frankly I find it completely unacceptable .

    I recently updated itunes to the latest version and now the programme will not open.
    I have tried all suggestions such as reinstalling the programme, rebooting you name it, nothing.
    This most frustrating and completely unacceptable, especially when a company such as Apple touts itself being the leader in music technology yet does not respond directly to questions about faults in their system, but prefers to leave to disgruntled customers to try and sort it out amongst themselves
    This not the first time I have had frustrating problems with the Apple system. Perhaps someone could suggest a more reliable system to switch to. Someone with a better troubleshooting system.

    Going all the way back to Firefox 3.0.5 is shear foolishness, it is 14 security versions behind the last 3.0.19 release. And that version is missing at least a dozen security updates that were applied to the 3.5 and 3.6 versions after support for 3.0.x ended.
    If you are not happy with Firefox 4, you should have installed Firefox 3.6.17. That is very similar to the 3.0 and has all the security fixes that have been released since support for Firefox 3.0.x ended last year.

  • I was almost done my project. I hadn't published it anywhere. Then, the next day, the clips from my timeline went all grey and there was an "out of date" icon. My project was lost. What happened? It's not the first time it's done that!

    I was almost done my project. I hadn't published it anywhere. Then, the next day, the clips from my timeline went all grey and there was an "out of date" icon. My project was lost. What happened? It's not the first time it's done that!

    You can undo your permission changes. Probably the most relevant one is cookies. Try one or both of these methods:
    (1) Page Info > Permissions tab
    While viewing a page on the site:
    * right-click and choose View Page Info > Permissions
    * Alt+t (open the classic Tools menu) > Page Info > Permissions
    (2) about:permissions
    In a new tab, type or paste '''about:permissions''' and press Enter. Allow a few moments for the list on the left to populate, as this information needs to be extracted from a database.
    Then type or paste ''rcn''' in the search box above the list to filter it to the most relevant domains. When you highlight a domain, you can adjust its permissions in the right pane.
    Any luck?

  • Flash file not loading first time but loads on refresh

    I have a problem where a flash program is not loading when
    the webpage is first visited, it will get stuck on the loading
    screen. Now for this file to finish loading, it needs to load in
    another file. Once that file is done loading then the program will
    continue. But like I said the first time the program gets stuck on
    the loading screen and never continues. If you hit refresh in the
    browser then the program will continue past the loading screen.
    I've checked the code and everything seems fine there. Could
    this be a security issue? The two files are on the same domain. Or
    if anyone has any insight into this problem, it would be
    appreciated.

    "Dusarn" <[email protected]> wrote in
    message news:e3b9i7$qup$[email protected]..
    >I have a problem where a flash program is not loading
    when the webpage is first
    > visited, it will get stuck on the loading screen. Now
    for this file to finish
    > loading, it needs to load in another file. Once that
    file is done loading then
    > the program will continue. But like I said the first
    time the program gets
    > stuck on the loading screen and never continues. If you
    hit refresh in the
    > browser then the program will continue past the loading
    screen.
    >
    > I've checked the code and everything seems fine there.
    Could this be a
    > security issue? The two files are on the same domain. Or
    if anyone has any
    > insight into this problem, it would be appreciated.
    That is almost always caused by a faulty preloader code. Post
    your preloader code or a link to the website so it can be checked.
    tralfaz

  • Airplay sound not mirroring after first time until restart

    Anyone else seeing this issue?
    When we connect either the iMac or the MacBook Pro to our 2nd generation apple tv via airplay the first time, the sound goes to the tv as expected.
    If we try to use airplay a second time, the sound stays on the computer, though the picture shows up on the tv. If we try to change the sound in preferences to the apple tv, the airplay connection is broken. Once we restart the computer, the sound works as expected.
    All of the latest system software updates have been applied.

    That is right - upgrade to Mac as in purchase a Mac which now have Intel processors and the ability to also install and use Windows XP or Vista along with OS X on the same computer.
    I wonder if u have gone thru Apple's OS X license agreement recently?
    I have gone through the Apple website recently but I don't need to. Regardless, the answer remains the same and will not change. If you want to run OS X, you need to purchase a Mac.

  • Dynamic page in region as a portlet not displaying in portal template

    As the title suggests I have a portal template that contains a region at the top . within this region i have included 2 portlets, first is a dynamic page (a simple banner title ) then a navigation page beneath them .
    when I am logged in as a specific user it displays correctly , when I log onto the page without logging in - the dynamic page does not display ,yet the navigation page does . I have clicked on every display to public check box , assigned public user with view privilege and everything else along those lines . Any ideas ??
    thanks in advance , Chris

    Hi Chris: Just to be specific, did you go to the providers tab in Navigator, the locally built providers link then the provider which contains your dynamic page and check the access set directly on that page? You can either set the dynamic page to have its own access (overriding that of the provider) or set the provider itself to be public.
    Rgds/Mark M.

  • How to make a program that will ask for a name the first time the program is used and if is not the first time will not ask the name?

    I want to make a program that will ask for the ID of the testing machine the first time the program is running, then will never ask for it. I'm using Labview 6.0

    Hi
    There are a Couple of methods you can use for this.
    Method 1 -
    You can create an ini file and save a boolean Key "First Instance" as True. Now In your Program you read this Key, If it is True then you can show your ID Dialog VI.If False do not run the VI. At the Conclusion of Id Dialog you can update this registry enrty to False. So In effect you have created One time Event. In fact you can save ID as another Config entry.
    The Drawback and advantage is that such an INI file can be edited by someone moderately knowledgeable about the Program
    Method 2
    Use Unitialized Shift Register in A while Loop. Please see LV2 style Globals entry under this forum. You can read and write to this Variable and it retains the Value it last had within it.
    You can read
    this Global the Very first time and say if it true you display your ID Vi. If False you dont. When you display your ID Vi you can Update your Global Like Before.
    If you need Example Let me Know.
    Good Luck
    Mache!!
    Good Luck!
    Mache

Maybe you are looking for