Jump to content

Cool-LV

Members
  • Posts

    117
  • Joined

  • Last visited

    Never

Posts posted by Cool-LV

  1. QUOTE (Ton @ Dec 16 2008, 05:13 AM)

    Hi,

    if you look at the code of the Code Capture Tool, there is a piece of code to do that.

    However in LabVIEW 8.x you can sent any string to the OS clipboard, and I don't think there is a special 'path' type.

    Ton

    Hi ton,

    Thanks your quickly reply, I think you comment is not correct, LabVIEW8.X sent string to OS clipboard is different from right click mouse on a file and select "copy", LabVIEW8.X sent string to OS, it is just send text to OS, if you don't think so, you can try with below steps

    1. create a txt file on C driver, name it "1.txt" .

    2. sent "c:\1.txt" to clipboard with LabVIEW8.X sent string to clipboard function.

    3. go to D driver, and right click mouse, select paste.

    4. see whether you can paste "1.txt" file from C driver ??!

    with sum up operation, you would know what I said.

    thanks.

  2. QUOTE (Ton @ Dec 9 2008, 10:45 AM)

    Thanks Ton, but it is still not my want. my attachment tell clear, and I am just focus that kind of push button, make it to system style one, it is more beautiful. and I don't want to make it manual, I watch LabVIEW Scripting is powerful to handle the block diagram, so I am looking for LabVIEW scripting, whether it can give me a hand. handle the front panel, but I can not find any thread through the front panel property, front panel->all controls->......

  3. I am planing to write a tool, which can help to customize my bottons.

    may target is making the PUSH BOTTON, enclosed below,

    anybody give your thread ? I have enabled LabVIEW scripting, but It seems there are some functions still hidden. e.g. I see some example download here, some blue properties is out, but the pink color property I still can not find. "to more specific class" the "target class" still has not checked path. thanks.

  4. QUOTE (PJM_labview @ Oct 19 2007, 05:27 PM)

    Mark,

    Try this VI (LV8.5). This does work with and without the ini keys (I just tested it). It is pretty much the same that Ton post, except it does not use event registration.

    post-121-1192810879.png?width=400

    Notes:

    • The VI Activation provide the app instance, so no need to launch it from any place special.
    • To be able to see this event (to create it in the event structure) you have to enable the ini keys.
    • Since (I believe) the Navigation Window is using this event to find out which VI has the focus, it has to work on every machine, regardless of the ini keys.

    Download File:post-121-1192810815.vi

    PJM

    Hi, PJM, and how to enable the ini keys? add what? append to LabVIEW.ini file? help to tell, many thanks @!

  5. QUOTE (Cool-LV @ Nov 19 2008, 08:15 AM)

    Thanks all you guys, it helps, nice!

    Yup, that is nugget, very nice code,

    and I have a trap need you help also. I open author's vi, which is "Icon_Call icon editor.vi", I can't find the central "invoke node's function(user interaction:Edite Icon)" by I left click the mouse, normally, it has "checked path", shows corresponding function,why I can't find it? I am using LV8.5, did it remove by this LV version ? if so, why remove it? this is a nice function, I lost......

  6. QUOTE (Minh Pham @ Nov 19 2008, 06:08 AM)

    Alternatively you can figure out the number for the INI file by going to:

    C:\Program Files\National Instruments\LabVIEW 8.5\vi.lib\_script\XML Scripting

    Assuming that your LV is installed in this folder.

    In this folder you can open the Strict Type Def control named: Connector Pane Types.ctl

    In here you can select the pattern you want and it also shows you the magic number that you are going to

    use for your labview ini file as mentioned in the previous post: defaultConPane=[number]

    PS: Hope that you are not using the 4835 connector pane as your default :laugh: (28 terminals)

    Thanks all you guys, it helps, nice!

  7. QUOTE(rolfk @ Dec 14 2007, 06:52 AM)

    Don't do that! This source code is protected by copyright laws and NDAs. Either you got it as illegal copy from internet and then are not allowed to use it or look at it or under an NDA which you would just have preached by making it available for download.

    Rolf Kalbermatter

    I just type key word "FlexLM" at Google search, and get it. anyway, sorry to put the link here.

  8. QUOTE(rolfk @ Dec 12 2007, 08:57 AM)

    NI didn't do it. They just bought the Macrovision FlexLM source code license and use that one. I've had a look at that code at some time. It is not a piece of C code anyone would want to dig into and make modifications to. Very convoluted, complicated and all in all unmaintainable IMHO.

    Means you try to compile it and hope it works and once it does leave your fingers from it. It's also sad that around 1MB of the LabVIEW executable concists of this FlexLM code. LabVIEW itself does in 1MB assembly code a lot more and a lot more useful stuff.

    FlexLM supposedly takes some specific machine parameters such as the HD serial, CPU ID, MAC adress etc. etc. and using some hash algoritmes calculates such IDs.

    Rolf Kalbermatter

    thanks all, I've got more tips from Rolf,

    namely, it is very difficult to reach the goal ?!! are there Macrovision FlexLM ActiveX component to call ?

  9. QUOTE(Anders Björk @ Nov 20 2007, 04:17 PM)

    "Make a arrray of RGB values choose value from them" ???

    No no no, if I have thousands of color want to display, that is a crazy action. is any generation automatically? an arithmetic would be appreciated.

  10. QUOTE(Anders Björk @ Nov 20 2007, 04:17 PM)

    "Make a arrray of RGB values choose value from them" ???

    No no no, if I have thousands of color want to display, that is a crazy action. is any generation automatically? an arithmetic would be appreciated.

  11. QUOTE(rolfk @ Nov 20 2007, 09:15 AM)

    The post before your post explains that exactly. ipconfig can do that too. ipconfig /release [adapter name] will basically disable the network interface. ipconfig /renew [adapter name] will reconnect it.

    Of course there is certainly a way to do this accessing the Windows API, but the network enumeration API uses data structures that you most probably do not want to deal with in the Call Library Node, believe me.

    Rolf Kalbermatter

    Well, thanks all and Rolfk

  12. QUOTE(rolfk @ Nov 20 2007, 09:15 AM)

    The post before your post explains that exactly. ipconfig can do that too. ipconfig /release [adapter name] will basically disable the network interface. ipconfig /renew [adapter name] will reconnect it.

    Of course there is certainly a way to do this accessing the Windows API, but the network enumeration API uses data structures that you most probably do not want to deal with in the Call Library Node, believe me.

    Rolf Kalbermatter

    Well, thanks all and Rolfk

×
×
  • Create New...

Important Information

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