-
Posts
213 -
Joined
-
Last visited
-
Days Won
5
Content Type
Profiles
Forums
Downloads
Gallery
Everything posted by Stobber
-
gmart, is there any documentation explaining each of the tags returned by "BuildSpec:GetTagNames"? Figuring each of these out on my own will be a real PITA.
-
Son, I can't teach you all of programming. You need to step back and read some tutorials (and probably entire books). Here's a start: http://sql.learncodethehardway.org/
-
SQLite is a serverless DBMS. You just work with a file directly. It's ridiculously easy. "LabVIEW itself", by which I assume your supervisor means the native APIs, doesn't have a good solution for this. "LabVIEW itself" will in fact make this harder. Your supervisor needs to let you use an appropriate tool for the job.
-
Let's not pollute the labor pool and the community by helping people shoot themselves in the foot.
-
Correct. Zahrah, I recommend using http://lavag.org/files/file/212-sqlite-labview/ instead.
-
I normally use subroutine FGVs to pass data into and out of a PID control loop, but I want to tie in a "Stop" command from an event-based messaging framework I use. What I needed to hear from someone at NI is that using events introduces jitter, so thanks for that. I'll test the loop on hardware, and if the jitter affects the determinism, I'll write a translator that turns events into RT FIFO elements or uses them to control an FGV that enumerates expected messages. GoGators inferred my use case correctly. A PID controller doesn't need to be fast; it needs to be consistent. Maintaining determinism in the PID algorithm is more important than responsing to messages quickly.
-
What do you mean by adding delay in the execution? I want to tie a PID controller into an event-based messaging framework so it can be configured by and report to other components.
-
Any good reasons to avoid it? I intend to set the Event Structure's timeout to 0.
-
Getting the Window Handle for a FP with No Title Bar
Stobber replied to mje's topic in User Interface
DND isn't working with these snippets. Can anybody provide a VI (LV 2012 here) that calls the nodes? -
How do you make your application window frontmost?
Stobber replied to Michael Aivaliotis's topic in User Interface
Thanks, mje! -
How do you make your application window frontmost?
Stobber replied to Michael Aivaliotis's topic in User Interface
FYI to anyone else who digs up this thread: Bean's VIs don't work if you have "Show revision number in titlebar" enabled in your LV Options and you execute the code in the dev environment. This is because it uses "FP.Title" as the window title. -
<spits coffee onto monitor>
-
ned, I've studied the math formally. While useful for understanding, it's largely worthless without a model of the plant, and what I'm looking for is advice on how to tune without models. ShaunR's link is good at putting all the parameters into this context once you're familiar with the math and the lingo. Yes, it focuses on temperature control...it'd be nice to find something analagous for servomotor control.
-
Even after thre semesters of controls study in my BSEE program and multiple projects with manually tuned PID systems, I still feel like it's something of a black art. I've met oldschool engineers at my clients' offices with a preternatural talent for tuning PIDs, but when I asked them what their approach was, they couldn't really describe it. Just "intuition". What's your favorite book, tutorial, or other resource on tuning PIDs by hand? I've read all the Wikipedia articles and free online tutorials presented by college undrgrads or companies with a product to sell. I'm looking for the real deal here, the authentic guide to tuning mastery!
-
Gotta run a Syslog server and provide a viewer. There are free/FOSS options out there, and we plan to fall back on Syslog if needed, but ETW and Event Viewer are built into Windows, which means we don't have to ship them ourselves.
-
Honestly, working with something totally custom is really unattractive in comparison to using standard tools that have been out in the public space for years (or decades, in the case of Syslog and log4j).
-
Reviving this topic. Anybody have a native interface, or something that exposes a network API for RT targets? I have a multilingual app and need to log events from all sources to a common file in Windows, so NI's tools aren't an option. (Stupid walled garden!)
-
Cannot move or delete folder while LabVIEW is open
Stobber replied to Shaun Hayward's topic in Database and File IO
Uh...can anybody tell me how to set up a CLFN to do this? I've done very little work with calling DLLs from LV, and I can't figure out what type to map the BOOL return value to. Edit: Never mind, I found <labview>examplesdlldata passingCall Native Code.llb -
Thanks, Rolf. LV doesn't support Win8 RT apps because of the sandboxing, and desktop apps still have full access to the winapi, so I suspect pipes work fine in Win8 LV applications.
-
James, I already sent him an email after another NI employee emailed me in response to this post. If he shares with me, I'll share with y'all. Edit: In response to your question, I have no idea about the performance of Named Pipes relative to UDP or some other packetized protocol, but I suspect they do some heavy optimization. I'm interested in the Anonymous Pipe, which doesn't go through the network adapter. It's insanely fast (in both latency and throughput).
-
Rolf, do you still have that library around? Have you updated it at all? Is it still available to the public? I need to use an anonymous pipe in a very high-throughput Windows application that will span multiple EXEs.
-
He should get a raffle ticket.
-
lol I thought you were in Australia!
-
Put a Decoration on a Controls Palette
Stobber replied to Stobber's topic in Development Environment (IDE)
Makes sense when you say it that way, but there's nothing in the product that has led anyone (here) to believe it's possible. Looks like a golden opportunity for expanding documentation or making it more obvious that any VI's front panel can be added to a controls palette.