Jump to content

Phillip Brooks

Members
  • Posts

    899
  • Joined

  • Last visited

  • Days Won

    50

Everything posted by Phillip Brooks

  1. QUOTE(crelf @ Mar 5 2008, 10:20 AM) and guns don't kill people, but people do... "Hey punk, put down the mouse, step away from the test station, and no one gets hurt..."
  2. QUOTE(crelf @ Mar 5 2008, 09:49 AM) I don't get it... what does building design have to do with writing software? Phillip Brooks Software Simian Level III Dynamics Research Corp.
  3. QUOTE(crelf @ Mar 3 2008, 04:33 PM) That's why I used to prefer the Outline mode, you could follow the topic graphically instead of scrolling up and down B/T/W I still get the Outline mode on my office PC using Internet Exploder 7. Outline mode is a bit dodgy, but I revert back to it when I have this sort of problem. As a side note, NI isn't the only vendor with runtime size issues. I just set up a new PC and installed Adobe Acrobat 8.1.2. 30.8 MB for a "reader"?! Why don't we hear more complaints about that?
  4. QUOTE(alfa @ Feb 28 2008, 01:27 AM) Have you ever been subjected to an http://en.wikipedia.org/wiki/E-meter' target="_blank">E-meter test?
  5. Well, it looks like you're using the VI from here. Suggestions: Set the timeout (default 10,000 ms) to something longer. If it works sometimes and not others, the call may just be timing out waiting for a slow server. The vi provided (and the one from the link above) do not have any connector pane inputs or outputs. How do you pass in the user name and password?
  6. Try replacing the "Number to Decimal String" function with the "Format Into String" function. Use a format string of "#%05.2f".
  7. Yin-dee-ton-rab, psiam! If you can you show us any code, it might be easier to help. Upload a picture or a sample of the VI you are using. Questions: QUOTE(psiam @ Feb 25 2008, 12:06 AM) I already used the DataSocket and it work but some times it isn't work becuase it need to re-access (web page need user and pwd) but we already put user and pwd before. We following this format.. http://[user]:[pwd]@192.168.13.236:20080/[wep_page_name] Do you have any suggession ?
  8. QUOTE(gmart @ Feb 19 2008, 04:44 PM) Maybe typedefs should include an internal structure to store a Block Diagram display state? It could be NULL by default (like a caption on a Front Panel Object). When the typedef data stucture is modified AND the BD display state is defined (not NULL) then the editor would show the new version and allow the programmer to change the BD constant appearance only once and have it updated everywhere it is used. The BD Constant should hav its own Strict option. The Control Editor could use a splitter bar to show and allow editing of the BD constant when enabled. (B/T/W Why does LabVIEW allow you to create a splitter bar in a control? ) http://lavag.org/old_files/monthly_02_2008/post-949-1203537990.png' target="_blank">
  9. The problem may not be in your LabVIEW code; it may be related to the remote device not freeing ephemeral ports in a timely fashion. The error code might tell you more. Try using a fixed timeout (5 seconds) and check the error returned from the TCP open. See these threads from the NI forums... http://forums.ni.com/ni/board/message?boar...ssage.id=240177 http://forums.ni.com/ni/board/message?boar...=215544#M215544
  10. QUOTE(Jonas @ Feb 12 2008, 02:05 PM) How about a Firefox plugin that exploits the Google translator? Just read (and installed) this today. http://googlesystem.blogspot.com/2008/02/t...age-inline.html Example: QUOTE(Jonas @ Feb 12 2008, 02:05 PM) Lava is meertalig (met dank aan google :-) Hoe zit het met een Firefox plugin dat de exploits Google vertaler? Just lezen (en geïnstalleerd) dit vandaag. http://googlesystem.blogspot.com/2008/02/t...age-inline.html
  11. QUOTE(crelf @ Feb 12 2008, 02:16 PM) Adobe GoLive is a bit out of date (or dead now?!) but I wrote a simple javascript once that used Google Translate. I included the script on every page through a template. It added a translate bar consisting of a bunch of flags; it made my employer at the time VERY happy. Example at http://www.ietlabs.com/ (at bottom of page)
  12. Are you using the continuous run button? If so, the counter is reset to zero each time you press the stop button. I've attached a modified version of your vi (LabVIEW 8.0). I made the following changes; Download File:post-949-1150195544.vi :thumbup: Great job! You might want to explore the comparison palette a bit more. Press <CTRL-H> to turn on the context help and you will see some basic info on the different operators.
  13. The simple solution is to never make misteaks or allow errers! (only in LabVIEW 8 of coarse)
  14. Shooey? I had to look it up. After reading the forum above, I won't ever say "shrimp on the barbie" again. Should we should start referring to homework hustlers as Mug Galahs?
  15. I don't think it's an omission from a menu; if you search the 7.1 help for error ring, you will see a topic "Error Ring Constant". You can click in the topic and place the error ring on the block diagram. The Error Ring Constant does not appear in the search under 8.0 help :thumbdown: Missing from the palette AND the help. Hmmmmm..... Update. Googled, and found reference in the 8.0 release notes, page 13: Now if I just knew the error that I wanted.... :headbang:
  16. Thought I would make people aware that NI is asking for input regarding node configuration. Make your suggestions in the the LabVIEW Developers Feature Brainstorming forum topic HERE. I'm not a big fan of the Express Nodes. :thumbdown:
  17. First of all, welcome! I'm on LV 8.0.1 with XP and SP2, and your examples are fine. I especially like the Special Folders VI. :thumbup: Keep it coming! This is the first place I come to when I'm trying to solve a coding problem. I monitor the forums by subscribing to the RSS feeds using Firefox with Sage. With the loss of some of the Info-LabVIEW archive sites, I hope more Info-LabVIEW folks come to LAVA for things like this. When you need a break from wireworking, The Lounge is a fun place to unwind.
  18. TestStand experiences/observations Now I understand Mike's question better. I thought the goal was to run scripts from within LabVIEW, not to use scripts to execute LabVIEW I've had the priviledge to work with some guys who taught me much of what I know about LabVIEW. The last project we worked together on involved a lot of "families" of products with similar test requirements. Their decision was to deploy TestStand (then 1.0). The family of products was well suited to this type of test development. My part of the project was to write a LabVIEW ADO wrapper (before the DBC toolkit was available) and to create some TestStand sequences to look up instrument info in a database. The VIs would update TestStand globals that were referenced in other sequences. I haven't used TestStand since then, but on a recent visit with these same people, I saw their newest TestStand implementation (using 3.5). I was impressed with the capabilities of TestStand, and what these guys had done with it, but at the same time was suprised at how much of the coding was actually done in TestStand. OK, who cares? These are my observations: The learning curve for TestStand is STEEP. Just ask someone who has used TestStand about modifying the "Process Model" :thumbdown: If you want to do some general scripting, TestStand is NOT for you. Up until recently, the sequences could not even be protected. Anyone with TestStand could make a change to the sequence. I think 3.5 now includes some form of password protection. What might be nice? A version of TestStand that would only sequence LabVIEW functions, and that would be part of the Professional edition of LabVIEW. The run-time for this version should be free. :beer: Maybe this could spur TestStand sales for NI? LV programmers could use this and learn it's potential and then justify the cost of buying the full package. What are the options? As Joe pointed out, perhaps NI will enlighten us some day. Otherwise, we'll have to make due with third party tools, ActiveX and .NET interfaces.
  19. Speak up now! New Feature Brainstorming Topic HERE I especially like the 3-D look comment...
  20. OK. I'm 12.5 stones, or more precisely, 12 stone 7. http://www.google.com/search?q=175+pounds+...G=Google+Search
  21. You didn't mention which platform you were running on, I'll assume Windows.... Your scripting needs reminded me of a BLOG post by Brian Tyler. He gave an example of using the LabVIEW .NET interface with something called IronPython. This technique might be more open than using the CINs you describe, and would conceivably be more scalable/stable considering the larger user base that .NET type tools target. If nothing else, it might be an interesting read
  22. Should I submit a new revision and password protect the diagram? I'm not a contributor to the NI Exchange forum, but I did a quick search to find the first post. I found stuff back to 1999. Maybe it was imported from some other list or something? Anyway, I'll show my grandkids someday and they will say "WOW!", then tell me to stop talking about when people programmed in 2D. "Dang whippersnappers! I had to align my own wires and used an actual CRT monitor! None of this holographic nonsense!"
  23. I agree with Michael. The string functions can be your friend. There are various reasons to round; the most typical is presentation. In presentation, your requirements may change over time. I worked for a fellow that constantly wanted to change reports, often just to answer preferences of a single customer. Why did he do it? because he was the boss and he could. I had steady work, but it was mind numbing sometimes. Anyway, you can combine the INI functions and string formatting functions to: Read formatting strings from key-value pairs Use these strings to format your results Someone says, "Hey, LabVIEW guru, we need to change the data in your program to report SI units. Also, the quoted uncertainty isn't possible based on the number of digits presented, change it to 6 digits." You edit the INI file and change "%.4f" to "%_6p"; browse the LAVA Lounge for an hour , goto lunch, then return with a sigh and say, "It's done... :thumbup: " (If you compile your applications, this technique would not require rebuilding and reinstalling either!)
  24. Ding! Ding! Ding! :beer: Might just as well be...Download File:post-949-1148641916.vi
×
×
  • Create New...

Important Information

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