-
Posts
899 -
Joined
-
Last visited
-
Days Won
50
Content Type
Profiles
Forums
Downloads
Gallery
Posts posted by Phillip Brooks
-
-
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...
-
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.
-
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
-
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.
-
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...
-
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.viThis 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.viNo special coding or libraries required. You can use the VIs NI gives you (they are not on the palette though )
- 1
-
I recall that the Agilent GPIB interfaces need an extra piece of code / dll to be used from LabVIEW; I think it's referred to as a 'tulip' driver. I Googled and found some app notes on the Agilent site:
http://www.home.agil...029&pageMode=AN
Look at the document titled "Tips in Using Agilent GPIB Solutions in National Instrument’s LabVIEW Environment"
- 1
-
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?
-
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!
-
RFC 1149 ( A Standard for the Transmission of IP Datagrams on Avian Carriers) had the idea 20 years ago, I just thought it was time we had a new way to pass data in LabVIEW...
- 1
-
I discovered the addition of this new area at the bottom of this HDF5 Idea Exchange entry.
From the new Idea Exchange page:
Theallows 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.Do you have an idea for a LabVIEW Add-on?- 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!
-
If your idea has not been submitted clickto submit your idea. Be sure to submit a separate post for each idea.
- Watch as the community gives your idea kudos and adds their input.
- If an Add-on developer begins to implement an idea, we will update the status of the idea.
- Give kudos to other ideas that you would like to see made into a LabVIEW Add-on.
- 2
-
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...
-
From Dan Steingart's blog:
Giving It AwaySomehow I’ve managed to a sneak a talk in at thebetween, inventor of theand, hacker extraordinaire. Beyond that there are other rockstars of open source like, lead software dude for the,offame, the dudes fromand, and, well, just about everyone else other than me is a rockstar.Ostensibly I’m going to talk about why I think theis 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).
-
You can use the Unescape XML function:
http://zone.ni.com/reference/en-XX/help/371361D-01/glang/unescape_xml_string/
-
If you need to store your data in a hierarchical format, you could look into HDF5.
I believe there are LabVIEW libraries for this, and they should be compatible with Windows and Linux.
A suggestion for HDF5 has already been placed on the Idea Exchange:
-
Hi all,
I want to rotate an image array such as 1024 by 768 with degree of rotation,
using simple vi not using vision toolkit vi,
here i have made some stuff but not get proper
so please reply.
See this example on the NI forums.
-
I haven't played with regular expressions in a while, but maybe there is a way to do this with Match Regular Expression.
-
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!
Cat. Ack. Now I know what you look like!
-
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!
-
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).
-
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...
- 1
-
If Dr. Dirty was the speaker at NI Week, I'd certainly find a way to get there!
( Not SFW! )
http://www.johnvalbynation.com/home.html
Aye aye yai yai,
Your state machine template is janky!
-
-
Yer, that discussion thread is dead now anyways (it was only for NI Week).
Gaaah!
Where has the discussion gone? I feel like Alice down the rabbit's hole; or maybe "there is no spoon..."
The 500 Club
in Site Feedback & Support
Posted
I had 502, now I have 498. I'm still a member of the 500 Club. One more post and my conscience will be clear... This post shows 503, now I need to check my profile...
EDIT
499 in my profile. where did the other posts come from (or go?)