Jump to content

Mikrobi

Members
  • Posts

    124
  • Joined

  • Last visited

Posts posted by Mikrobi

  1. We use LabVIEW for two directions:

    First is let's say native: automated laboratory magnetic thin films research (photoconductivity and magnetic domain image processing).

    Second is little exotic: conferences system services with voting and audio recording handling.

    regards

    Mikrobi

  2. Hmmm, ok, I open my .exe file and then it run. But now my radio button is selected by default. I would be better if you must run the .exe manually. Or is it possible to deselect the default value and no radio button is activated?

    1389[/snapback]

    What said Michael Aivaliotis is true, but also for Radio Buttons you could use Property Node and set last properties: AllowNoSelection = TRUE

    regards

    Mikrobi

  3. I opened the code in LV7.1 and re-saved it in 7.0 for the rest of you.

    I am attaching it.

    As far as the code itself. I would recommend that you create 1 serial IO VI and reuse that. It will make your code easier to manage and read. Also, try to keep your diagram to a limited space like 1024x768 screen resolution. My desktop is 1680x1050 and I still couldn't fit everything on there. When I get a chance, I will try to submit a revision to your code but in the meantime, maybe others can make some suggestions.

    As related to your original question. I think if you create a few sub-vi's as I suggest, you will see that it will solve your problem.

    1397[/snapback]

    :lightbulb: First what come upon Sara: suggest to use Tab Controls from Containers Palette.

    You will be able to hide repeated parts like Connection 1, 2 and others.

    And everything will be within one click ;)

    regards

    Mikrobi

  4. Also, when communicating to another executable then you need to specify "localhost" as your servername. VI Server uses the TCP/IP protocol. TCP/IP communications between two executables require that each end of the TCP/IP link has a different TCP/IP port number. When the two VIs are running under LabVIEW, they are within LabVIEW (in other words, not communicating between executables or separate programs).

    Also, one more thing. If you want to test your code before you create an executable, you can launch multiple instances of LabVIEW. I haven't tried this but it's shown in this post in the FAQ:

    Can I run multiple instances of LabVIEW?

    1400[/snapback]

    Thank you a lot, works excellent!! :thumbup:

    best regards

    Mikrobi

  5. Just a suggestion for future posts (for all members). If your code requires related multiple VI's, please include them all inside an *.llb file or a *.zip file. This will help others launch and run your example quicker.  :thumbup:

    1360[/snapback]

    Right :headbang:

    regards

    Mikrobi

  6. Which "property node" should I choose? There are many different nodes. (This will be my first use of this nodes.)  :book:

    1349[/snapback]

    of course property "Visible"

    Create Property Node for each control or indicator you want to hide and if you set it FALSE control will be hidden

    regards

    Mikrobi

  7. :lightbulb:

    I've found quite simple method:

    Download ActiveX ocx file from

    http://download.com.com/3001-2401-890762.html

    Be sure that you LabVIEW don't work yet.

    Next register ActiveX component it in the system:

    from windows>Run:

    REGSVR32.EXE [your drive letter]:\[OCX_Dir]\STI.ocx

    Now run LabVIEW and at Front Panel select

    >>Container>>ActiveX Container >> right mouse button and Inser ActiveX Object...

    at option Create Control will be active listbox contains 'Validate Servers' >> STI Control

    and at diagram you could use Invoke and Property Nodes to set your options based at help file 'sti-help.html' in STI zip.

    I hope it would help

    best regards

    Mikrobi

×
×
  • Create New...

Important Information

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