-
Posts
908 -
Joined
-
Last visited
-
Days Won
53
Content Type
Profiles
Forums
Downloads
Gallery
Everything posted by Phillip Brooks
-
And a happy belated 234th birthday to the USMC. Semper Fi!
-
Problem with writing to multiple excel sheets
Phillip Brooks replied to fartbagxp's topic in LabVIEW General
You can use ADO to open, read and write to Excel spreadsheets. See this post. Place your raw data from LabVIEW on a separate sheet, then reference the raw data from another sheet to perform calculations or chart the data. -
Inherit boolean control and add functionality
Phillip Brooks replied to tjs157's topic in Object-Oriented Programming
Blinking is one of those things that doesn't work well with an XControl. The XControl facade is not running continuously, so the behavior is 'sometimes on' and 'sometimes off'. The other thing that catches my attention is 'inherits'. You can't just make an XControl from a Boolean. You have to redefine all the properties and methods of the base control in your XControl. Tri-state LED XControl Example - LAVA LabVIEW Idea Exchange: XControls-Inherit the properties/methods of a base control -
Your product looks nice. A co-worker and I were recently talking about Google PowerMeter, and I thought about ordering a T.E.D. 5000-G. With the correct current transformers and a case, your product might be able to capitalize on the apparent demand for this type of product. Have you looked at Google PowerMeter as a possible application for the tag4m?
-
Shouldn't the response have been: DING! DING! DING! We have a winner...
-
What kind of sandwich?
-
Probe Watch Window usability issue
Phillip Brooks replied to PJM_labview's topic in Development Environment (IDE)
Virtual Instrumentation? -
Museum of Science, Boston. My kids love this (not my kids in the video) http://www.youtube.com/watch?v=ZB59JkSVABo
-
Sorry, lets try it again... Increment IP Address 80.vi
-
Increment IP Address 80.vi (LV 8.0)
-
This will work. I use it today. You're not using Excel to read/write to the spreadsheet, you're using ADO. My lab computers only have OpenOffice Calc, no Excel installed. How To Use ADO with Excel Data from Visual Basic or VBA
-
Like this? Increment IP Address.vi (LV 8.6)
-
There is one other way to get data into an Excel file; using ADO. You can open an existing XLS file via ADO, and then use UPDATE calls to write the the table/record/field (worksheet/row/column). I can't share my ADO library, but you can use one of the libraries from LAVA or the NI forums, then create a UDL that points to an Excel file; use ADO Execute calls with a SQL UPDATE statements... UDL Connection String: Provider=Microsoft.Jet.OLEDB.4.0;Data Source=%s;Extended Properties="Excel 8.0;HDR=No";Persist Security Info=False
-
Excel treats CSV as a single table (2D). Each line is a record. You can insert page break characters in your CSV file, but Excel has now way of interpreting them. Your CSV will be imported into a single worksheet. I searched a bit, and the best I think you will be able to do is to find/use/write an Excel macro to read the CSV file and import the data line by line. The macro would be responsible for placing data on each sheet.
-
Noticed that Dell Online has this for $89.99 http://www.techbargains.com/news_displayItem.cfm/179514
-
Labview 2009 rollout
Phillip Brooks replied to lecroy's topic in Application Builder, Installers and code distribution
Do you use MathScript in your code? I think that LV2009 associates MathScript with RT. http://forums.ni.com...1394605#M431259 If it makes your EXE that much bigger, and is going to require a separate license in future ( aka ) it sounds like MathScript is going to lose popularity... -
Since some of the old emoticons are missing, let's use this thread to hold various old and new ones. I'll start... New: | | | | | | | | Old Thread... | | | | | | | | |
- 1 reply
-
- 2
-
Getting and setting the current directory?
Phillip Brooks replied to Daklu's topic in Calling External Code
Are you using the 'Write to XML File' function from the palette? If you look inside, it calls vi.lib\_oldvers\_oldvers.llb\Open_Create_Replace File.vi with nothing wired to start path. You might be able to modify or copy 'Write to XML File' and evaluate the path. If it points to an existing folder, pass the folder to the start path and pass a null path for the file. I think this should force the dialog to start where you want it to. Now if we could just get NI to update their own VIs; to bad they don't have interns and some sort of analyzer that they could use to look for old VIs or functions that need to be updated -
>> graphic in table headers
Phillip Brooks replied to Phillip Brooks's topic in Site Feedback & Support
Well, I used 'Clear Recent History' in Firefox and restarted and the >> images are gone. Must have been some cacheing problem. -
Strange graphics seen with FireFox 3.5.2 this morning... I don't see this on IE 6.0 I also noticed that images are shown in the "Today's Top Posters" section on FireFox, but only outline shadows are shown on IE.
-
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
-
Idea exchange Idea status
Phillip Brooks replied to Michael Aivaliotis's topic in LabVIEW Feature Suggestions
Congratulations Michael! It seems you and Christian have found the 'sweet spot' of functionality value and scope of effort to implement. These types of things can only make LabVIEW better.