Jump to content

Liang

NI
  • Posts

    31
  • Joined

  • Last visited

Posts posted by Liang

  1. Liang - that didn't seem to work. The osk came up fine, but when I ran the osk kill vi, I saw a cmd window popup and then dissapear - but the osk stayed on the screen... I'll try it with a couple of other things to see if it will work.

    It works on my PC. I'm not sure if your windows account is administrator.

  2. I want to ask that if I want to design my own control how can i do?

    when you create a new control, you need to drop a control from control palette to. Then change to Customize Mode to customize your control. You can replace existing image or add some decoration yourself.

  3. My VI is launched from menu, so it will be add to NI.LV.Dialog context.

    Before I invoke GSW by item tag, I will check if there are FP opened VIs, lvlib and lvproj in Application Instance context.

    What confused me is GSW can be invoked correctly at the first time only. After the first invoke, I've checked there are no FP opened VIs, lvlib and lvproj.

  4. So you have found a solution but find it to complicated? Or what is the problem you still have?

    By discussing here, I got alot of innovations to accomplish it. Now it's difficult to judge if there is only my VI running. There are VI windows and non-VI windows (such as lvlib, lvproj). And in my VI, it use other VI's reference. I'm confused.

  5. You simply can't. GSW is a private VI in the Getting Started library (GettingStartedWindow.lvlib). The only public VIs from that library are "getting_started.vi" and it will fail if you have any FPs opened... and Close_GSW.

    There are two options here:

    1- Idea exchange, as suggested by Jon.

    2- Contact Christina Rogers (Eyes on VIs) and ask her for a quick fix, if she (or NI?) is willing to accomodate your request.

    Yes, it cannot operate correctly even I launch the GSW from my tool by calling GSW VI.

    But by using the invoke node of "User Interaction.Invoke Menu Item" and setting the ItemTag to "APP_VIEW_GETTING_STARTED" to launch GSW can be operated correctly (GSW can be closed automatically after new...).

    In LabVIEW, you can launch GSW from menu launch when you've already opened a VI. So I think this can work correctly.

    • Like 1
  6. Hi UnCLAD

    If LabVIEW is configured to do so GSW will open when no other VI's FP are open (I.e. all closed).

    Are you looking for a programmatic way to show GSW? I don't think that is possible. Maybe you could suggest it on the IE??

    Hi Jgcode,

    I do really want to launch GSW programmatic. I can launch GSW by VI server without close FP , but it's difficult to figure out when to launch.

    Thanks a lot

  7. So I was playing around with Unicode in LabVIEW stuff, and for some controls and indicators you need to append the BOM to the front of the string. In LabVIEW that is typically 0xFFFE to the front of the string. It worked for the tree contro and table. Here is an example. Tell me if it works for you.

    Hi GoGators,

    How did you make your string constant has "Force Unicode Text" item in right-click menu.

    Thanks

  8. Create a named notifier in your splash screen. Have the splash VI wait for a notification. Acquire the notifier reference by name in the main VI. when the main VI has completed it's initialization and is 'ready', send a notification to the splash screen and then close the splash screen VI appropriately.

    Don't forget to set some sort of timeout on the splash VI in case your main fails to load. You can use a timeout on wait for notifier in the splash vi.

    Notifier Operations Functions

    Hi Phillip,

    That's a good idea. Very nice.

  9. Hi,

    After building my VIs to executable file, I found it's too large and will take long time to launch.

    So I want to use splash screen to avoid this. But I do not find the way how to show loading information just like LabVIEW's.

    What I can make is using a VI that contains serveral seconds delay then hiden FP and run my main VI.sad.gif

    Thanks a lot.

  10. Can you provide more detail, is there an error message?

    I included source code and a build, did either of those work?

    Hi SciWare,

    I try to shut my firewall and open TCP and set my LabVIEW VI Server.

    But it cannot work.

    Error:

    post-15967-125115826654_thumb.jpg

    VI Server Setting:

    post-15967-125115835793_thumb.jpg

    post-15967-125115836316_thumb.jpg

    This is what I was referring to in my post.

    Certain functions do not operate in the Run Time Environment.

    Therefore you can still create an EXE but you need to use Development Environment (LabVIEW IDE) to do the work.

    E.g. Creating/editing a MNU file.

    The Agent VI does just that.

    Hi Jgcode,

    Thanks for your explanation.

    I'm learning it now.biggrin.gif

  11. I think what you need to do is open an application reference and pass it to your Read/Write Palette functions. Use machine name "localhost" also check that your VI Server Configuration is correct by going to Tools -> Options. Enable TCP/IP and machine access to 127.0.0.1

    Hi SciWare,

    I try to use Open Application Reference and use "localhost" as Machine Name input. And I also check the VI Server Configuration.

    But I still got the same results.sad.gif

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.