Jump to content

Stobber

Members
  • Posts

    213
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by Stobber

  1. 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.
  2. John, any update? What you posted 2 years ago is still pretty cool.
  3. 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/
  4. 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.
  5. Let's not pollute the labor pool and the community by helping people shoot themselves in the foot.
  6. Correct. Zahrah, I recommend using http://lavag.org/files/file/212-sqlite-labview/ instead.
  7. 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.
  8. 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.
  9. Any good reasons to avoid it? I intend to set the Event Structure's timeout to 0.
  10. DND isn't working with these snippets. Can anybody provide a VI (LV 2012 here) that calls the nodes?
  11. 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.
  12. 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.
  13. 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!
  14. 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.
  15. 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).
  16. 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!)
  17. 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
  18. 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.
  19. 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).
  20. 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.
  21. He should get a raffle ticket.
  22. lol I thought you were in Australia!
  23. 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.
×
×
  • Create New...

Important Information

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