Jump to content

Phillip Brooks

Members
  • Posts

    899
  • Joined

  • Last visited

  • Days Won

    50

Posts posted by Phillip Brooks

  1. Why not store the files on a common server?

    \\servername\AppName\StationName1\Datafile1.dat

    \\servername\AppName\StationName1\Datafile2.dat

    \\servername\AppName\StationName2\Datafile1.dat

    \\servername\AppName\StationName2\Datafile2.dat

    The files can be backed up by IT, and access is defined by network, not local account names and shares. Local networking shares with read/write access is one of the most common methods that viruses (virii?) spread... :nono:

  2. I think most databases are going to offer the same core functionality. The most important thing is to identify your data relationships and minimizing duplicate data.

    When we designed our database long ago, we started by using "Database Design for Mere Mortals" by Michael Hernandez. I see that there is a new edition, I don't know what has changed. I still browse through the old edition once in a while when I question what I'm doing.

    If you get your database design right and use the Database Connectivity Toolkit, it shouldn't matter which DB you end up using.

  3. I try to delete all html tags from sequence (like <.....>). But LabView don`t find all of tags in me sequence.

    My sequence: <tr id = "ololo">Hello World <br> !!!</tr>

    Regexp: <(.*?)>

    My vi (LV 2009) is in attachements.

    Regerds.

    Funny, I just recently posted a vi (on the dark side) that I wrote awhile back to remove HTML tags from TestStand HTML reports. Maybe it will help you.

    There are some other regex nuggets in the thread...

    http://forums.ni.com/t5/BreakPoint/Regular-Expressions-Board/m-p/1269088#M14343

  4. Hello everyone,

    Please take a look at the enclosed image. How could I get the file path value in case "True"?

    (Case "True" description: there is no path input to "Read from Text file", a dialog box will pop up for selecting file. I want to get the path value and pass it back to the file path control on front panel. )

    Thanks in advance

    You might consider using the function "Check if File or Folder Exists" instead. The path may not be empty, but that doesn't mean the file exists.

    Use the file or folder exists? output to control your case statement and use the dup path for the read file function.

  5. I commented on an idea located here.

    What I added to the idea was that Probes should have a Probe Manager window that allows the user to record a timestamp for selected probes. The advantage would be that you could measure time across VIs as well as within, without creating sequence structures.

    If you like the idea, vote it up, point me to a duplicate or help define the idea better. I just like the concept and want to see the probes improved a bit...

  6. If you have a valid connection reference, use the DB Toolkit vi located at:

    vi.lib\addons\database\Auxilliary.llb\DB Tools Select All Data.vi

    This vi returns a 2D array of string that you can write to the ItemNames property of a MCL or the Values of a table control.

    If you have a recordset reference, you can use the sub-vi inside the one above called

    vi.lib\addons\database\Auxilliary.llb\DB Tools Fetch Table Data.vi

    No special coding or libraries required. You can use the VIs NI gives you (they are not on the palette though ;))

    • Like 1
  7. Howdy all - I just picked up the tail end of a project that needs to add a microphone. There's an existing NI USB-4431 (102.4 kS/s, ±10 V) in the stand that has a spare channel, and we'd like to acquire a couple of things:

    • The UUT (think handheld device) emits 2 tones when under test (1.2kHz and 2.4kHz): I need to acquire and calc the frequency (let's say with an accuracy of +/- 50Hz)
    • The UUT also has a vibrate alert: I need to determine if it's on or off, nothing more.

    Anyone got a favorite microphone that would fit the requirements? I'd rather not reinvent the wheel if at all possible.

    Completely unrelated, but would this microphone do?

  8. Two years and now i'm here again with the same problem.

    Unfortunately the author of the wrapper is missing.

    Does anybody think to be able to develop a wrapper for sqlite3 for Linx systems?

    Unfortunately i'm only a LabVIEW programmer and i don't know C code so i can not make it by myself, but i think that this could be an important step to improve the labview for Linux usability.

    What do you think about it?

    There is a new LabVIEW SQLite library just recently made available in the uncertified section of the LAVA Code Repository. The requirements listed are Windows and LabVIEW 9.0, but I believe the author of the library included the possibility to use with other platforms such as RT. Try asking your question in that thread ... If you have the time or inclination, you may be able to help add Linux support!

  9. I discovered the addition of this new area at the bottom of this HDF5 Idea Exchange entry.

    From the new Idea Exchange page:

    The
    allows you to submit ideas for new LabVIEW Add-ons. These Add-ons can range from a set of VIs and functions to development tools for particular application areas and industries.

    It is also a place for LabVIEW Add-on developers to find new and valuable product ideas. The ideas on submitted on this page have the potential to become LabVIEW Add-ons.

    icon_idea.gif

    Do you have an idea for a LabVIEW Add-on?

    1. Browse by label or search in the LabVIEW Add-ons Idea Exchange to see if your idea has previously been submitted. If your idea exists be sure to vote for the idea by giving it kudos to indicate your approval!
    2. If your idea has not been submitted click
      idea.gif
      to submit your idea. Be sure to submit a separate post for each idea.
    3. Watch as the community gives your idea kudos and adds their input.
    4. If an Add-on developer begins to implement an idea, we will update the status of the idea.
    5. Give kudos to other ideas that you would like to see made into a LabVIEW Add-on.

    • Like 2
  10. Are you averse to any polling, or just polling in your top level (UI?).

    Maybe define a 'monitor' task that is run at start and receives an event ref and notifier.

    Pass your task VI instances via the notifier (or queue or functional global or carrier pigeon) to the 'monitor'. The monitor would periodically evaluate the array of task VI refs by checking the Execution.State property of each ref; generate an event for each vi that is not 'Run top level'.

    I smell an Idea Exchange suggestion in this problem...:shifty:

  11. From Dan Steingart's blog:

    Giving It Away

    Somehow I’ve managed to a sneak a talk in at the
    between
    , inventor of the
    and
    , hacker extraordinaire. Beyond that there are other rockstars of open source like
    , lead software dude for the
    ,
    of
    fame, the dudes from
    and
    , and, well, just about everyone else other than me is a rockstar.

    Ostensibly I’m going to talk about why I think the
    is important, but I’m also going to rail a bit about the decline, IMHO, of the grad student hacker outside of EE/CS, and how open source hardware can reverse this trend. So
    , suffer through my talk (it’s 10 minutes, go to the can or something), and then be enlightened for the rest of the day by some truly generous, thoughtful people.

    I think this helps put the image in perspective (at least for me).

  12. Ack! Not sure how I missed this post, sorry.

    There weren't that many of us girls, so you'd think we would have run into each other at some point. :(

    At my current rate of NIWeek attendance, I should be back in 2025. See you then! :P

    Cat. Ack. Now I know what you look like!

    BillTheCat.jpg

  13. Create the symbol in MS word then copy and paste it over to the string constant.

    I just tried this with a table and a Boolean. You can paste it in to the text of the Boolean, but not the column header of the table.

    Suresh wanted to load the Boolean text from an INI file, so I don't think he can use this technique either.

    Cut & paste from Word is good for static button text though! :thumbup1:

  14. Thanks for the link Phillip.

    Sorry to hijack the thread, but I have a similar but slightly more complicated problem.

    Does any one know how to set a greek character as part of the column header in a table? for example I want the table header to read Angle (theta) where the theta is actually the greek character. I have accomplished this in a cheating way by putting down a transparent label with the symbol font, but it would be great to know how (if it is possible) to do this.

    After reading your post and re-reading g_sures post, I think you have the same problem. You can selectively set the font for individual characters in a string control, but the Boolean control text and the cell text of a table do not support this.

    In each case, you could create a string control and then retrieve the position of the cell/Boolean text and then move your string control containing the hybrid text to the center of that element (cell/button).

  15. I need to use ohm (Ω) symbol in my VI. It should read from the ini and change the boolean Text. Is it possible to do it in a simple way?

    Thanks in advance,

    Suresh

    If you are reading this from an INI file, then the symbol should be an upper case 'W'. If your default font in Notepad set to Symbol, it will APPEAR as the character Omega.

    If your INI file contains other units (Watts for example) then you may not be able to differentiate between Ohms and Watts. It might be better to spell out the units rather than using the abbreviation. You could then use the Match Pattern or Match Regular Expression nodes to look for Ohms or Watts.

    If you want info on displaying and formatting of Greek symbols in LabVIEW (specifically Omega) see this post on the NI forums...

    • Like 1
×
×
  • Create New...

Important Information

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