SIOW It's an obscure terminal programs, which comes with a CCS compiler for PICs.
Nick Alexeev
Posts
-
What Do You Use For Serial Communications? -
Poetry Written in Code Contest0x2B || !0x2B Saw it in the book somewhere. No, it wasn't Shakespeare, it was an embedded firmware book.
-
if you're thinking about donating to Japan earthquake and tsunami relieffrom the second link:
Unlike Louisiana (re Hurricane Katrina), Japan is a developed country with a good response system and an effective government.
swjam wrote:
What the hell? =)
Sad but true. They didn't handle BP rig explosion gracefully either.
-
if you're thinking about donating to Japan earthquake and tsunami reliefFolks, If you're thinking about donating to earthquake and tsunami relief in Japan, read these 2 posts: http://goodintents.org/disaster/why-waiting-to-give-to-japan-is-a-good-idea[^] http://humanosphere.kplu.org/2011/03/guest-post-the-ugly-game-of-relief-for-japan[^] They are insightful. I didn't write either of them. - Nick
modified on Monday, April 4, 2011 2:46 PM
-
Advanced ComboBox in WinFormsColleagues, Is there a standard (and free) control which is like a ComboBox, only better? ;) Some of the potential features could be: * being able to control the font for each of the items individually * icons, checkboxes next to the items If such thing exists, could you post a reference? If not, then I’ll stop the wishful thinking and carry on with the standard ComboBox. Cheers, - Nick
-
An issue with the file name SerialPortSettings.xmlColleagues, In XAML I’m trying to declare
XmlDataProvider
objects to bind controls to XML files.<XmlDataProvider x:Key="SerialPortOptions" Source="Settings/SerialPortOptions.xml" XPath="//Options" /> <!—- This one works. No complaints. -->
<XmlDataProvider x:Key="SerialPortSetting" Source="Settings/SerialPortSettings.xml" XPath="//SerialPorts" /> <!—- But this one gives an error. -->The second instance generates an error:
The file Settings/SerialPortSettings.xml is not part of the project or its 'Build Action' property is not set to 'Resource'.
The SerialPortSettings.xml file is added to the project and the Build Action is set to ‘Resource’. If I rename the file to SerialPortSettings_es_.xml, the error disappears. What’s special or unusual about the original file name SerialPortSettings.xml? Any thoughts, insight, references are appreciated! Cheers, - Nick
-
DataGrid displays lengths of strings instead of the actual stringsHow can I make a "bindable string"? Is there a framework object with a bindable string property which is commonly used for this purpose? May be, one option is to make a wrapper object with a bindable string property (call it, say, BindableString). Is there a simple/quick solution to "populate DataGrid with primitive values" problem? Tried with manually defined columns (AutoGenerateColumns=False). Didn't work either. Looking for a good DataGrid tutorial... Cheers, - Nick
modified on Monday, October 19, 2009 2:26 AM
-
DataGrid displays lengths of strings instead of the actual stringsColleagues, Familiarizing myself with DataGrid (and with C# in general). My DataGrid is declared like this:
<my:DataGrid AutoGenerateColumns="True" Margin="74,32,68,103" Name="dataGrid1" xmlns:my="http://schemas.microsoft.com/wpf/2008/toolkit" />
I’m setting the ItemSource property equal to a list of strings.
public Window1()
{
InitializeComponent();List<string> lstGridData = new List<string>(); for (int i = 0; i < 8; ++i) lstGridData.Add("str"); dataGrid1.ItemsSource = lstGridData;
}
I’m expecting that grid would display one column and each line would show “str”. Instead, the grid displays one column titled “Length” and each line displays “3”. What am I missing? Cheers, - Nick
-
WPF DataGrid without databaseColleagues, I would like to populate WPF DataGrid with data that my program generates on the fly and without a database or a file. Could you suggest me how to do it? Tips, hints, references, insight are all appreciated! Cheers, - Nick
-
NI Measurement Studio questionDave what are some of the poor design decisions in your opinion? May be you could give me a heads-up. I'd really appreciate that. - Nick
-
NI Measurement Studio questionDave Kreskowiak wrote:
[NI Measurement Studio is] Not the best libraries in the world.
IMHO, they are pretty good. May be they have improved since the last time you worked with them. I've just started using it. I've been looking for a chart control for plotting large amounts of data in real time (8 traces, 3000 points on the screen per trace, 10 new points a second on each trace). Among the chart controls that I've tried, CWGraph from MStudio had the best performance. - Nick
-
NI Measurement Studio questionColleagues, Does anyone know how to scroll the
CWGraph
control? Here's the behavior I want to achieve: 1. The graph's X axis spans from 0 to 3000. In the beginning, it's charting a baseline (using ChartY method). 2. Let's say, it charted to 2500, when the user initiates a certain activity of interest. 3. Graph scrolls left leaving only the last 500 points of the baseline (this is the part I don't know how to do). The rest can be discarded. 4. Plotting continues from 500 onward. Here's the same behavior on a storyboard: http://www.prolifictec.com/filehost/CWGraph_shifting_rev01.PNG[^] Could anybody give me some suggestions? Thanks, - Nick P.S. I'm using VB6 and Measurement Studio 8.1.11. -
2D chart for VB6I've been using RMChart for a while now. They are great for static data, but they have problems with fast real-time data (especially when compared to NI Measurement Studio). Here's my thread on the RMChart forum about the real-time issues. It has some benchmark data: http://www.rmchart.com/webpages/forum/forum_posts.asp?TID=400&PN=1[^] I'm switching to NI Measurement Studio for plotting real-time date. - Nick
-
Algorithm performance comparison questionI’m posting this question after a conversation with one of my friends. There are two algorithms that accomplish the same goal – search through XML file. These algorithms are developed by two different academic research groups. A friend of mine works in one of them, and she wants to compare the performance of the algorithms. The problem is that they are implemented in different languages: C++ and Java. Source codes for both are available. The question is – is there an experimental method for comparing the performance of these algorithms without having both of them implemented in the same language? What assumptions are safe to make? Thanks, - Nick
-
Shape and line controls for VB6, only a little more interactive?Colleagues, Are there controls for VB6 that have the visual properties of a shape and line controls, and also have better mouse support, so that they can be made more interactive? I’m writing an application that displays a process diagram. I’d like to add things like ToolTips and to make some elements on the diagram clickable. I know that I can put a label on a shape and it would provide the mouse support that I need. It would work for square-ish shapes, but it doesn’t work well for circles. - Nick
-
2D chart for VB6I chose the RMChart control. It's quite powerful, it has good sample projects for VB6, and it's free. http://www.rmchart.com[^] -Nick
-
2D chart for VB6Dave Kreskowiak wrote:
The MSChart control isn't a good candidate for this problem. ... In fact, there's nothing you can do about the flickering using the MSChart control.
Yes, I can agree that MSChart is not a good tool for this job. I've searched the web for suggestion on how to make good real-time plots with MSChart and tried every suggestion I could find, but the results weren't good enough.
Dave Kreskowiak wrote:
You'd be better off using a third party component to draw a scrolling line graph, or making your own control ...
Unfortunately, I don't have the time to make my own control, although that could be a fun endeavor. Which 3rd party chart controls would you recommend?
-
2D chart for VB6No, I haven't tried to use
DoEvents
. How would that stop the flickering? I suspect that MSChart flickers, because it doesn't do the double buffering. -
2D chart for VB6Colleagues, Could you recommend a 2D chart control for my application that can work with VB6? I need to plot an EEG signal on the screen in real time. The update rate of the chart will be on the order of 200ms to 1000ms, and I want to display 1000 points. Ideally, the whole chart would scroll to the left as new values are added on the right. I’ve tried the MSChart, it would work ok, but I don’t know how to get rid of flickering. Flickering is a real problem, because somebody will be looking at the chart for hours. Thanks and have a happy new year! - Nick
-
Create a new nested branch efficiently with DOMColleagues, I’m brand new to XML. I’m using VB6 and DOM to write an XML log file. (I have to use VB6, because I’m retrofitting a legacy application.) Each log entry has 3 layers of nesting and about 20 nodes. I want to avoid pain of creating every new entry node-by-node. I’m looking for a way to create a new blank log entry efficiently (in terms of required amount of code). I have some ideas, but how do the big kids do it? -Nick P.S. I know Java and C++, so if you have examples in other languages, please post them; I can translate them to VB6. -- modified at 15:52 Wednesday 21st November, 2007