Jump to content

Ton Plomp

Members
  • Posts

    1,991
  • Joined

  • Last visited

  • Days Won

    38

Everything posted by Ton Plomp

  1. I added the info to the LabVIEW Wiki page on XControls
  2. Merge with #labview and #mercurial using #tortoisehg read it on the LabVIEW Wiki http://t.co/AdDN2hOV

  3. I was able to create such a VI with the following settings: Here's the code I used for making it 10 pixels high: And heres the FP overlaying the code: And I would just ignore the error 1... (see attachment). (The reason your resize is ignored, is because the resizing outside the while loop generates an error, preventing the resize/move inside the event loop to happen.) Ton green line.vi
  4. As soon as I read the initial post I was thinking about TotalCommander that has several quite popular patches (TC PowerPack is my favorite), that includes a lot of customization that allows you to integrate the most idiotic features (virtual HDs, torrent downloaders, diff tools, EXIF readers etc.). Porting this idea to LabVIEW I can think of codesets (OpenG, MGI) additional IDE enhancements (G#, JKI Right Click Framework, or a toolbar framework). Additionally NI has added things that could have been in a community patch (the Project environment for instance). What would we want in such a toolset? Ton
  5. Using a full service (like Bucket, Kiln, Google Code, Microsoft codeplex or Sourceforge) has quite some advantages, it allows you to grant access to other people, use an issue tracker and setup a front page for your project. Ton
  6. Make sure you have the correct settings in your configuration files (global:mercurial.ini or local:.hg\hgrc): [merge-tools] LVMerge.args = $base $other $local $output LVMerge.executable = C:\Program Files\National Instruments\Shared\LabVIEW Merge\LVMerge.exe LVMerge.gui = True LVMerge.binary = True [merge-patterns] **.vi = LVMerge **.ctl = LVMerge **.lvclass = LVMerge **.xctl = LVMerge **.lvlib = LVMerge (for some reason I missed the dash in merge-tools) Perform the following steps: Right click on one of the branches, select 'merge with local' Hit 'Next' in the Prepare to Merge dialog In the next dialog a note is shown '1 files were modified in both branches and must be resolved', click on the underlined resolved The Resolve conflicts dialog pops up. In the bottom theres a dropdown menu named 'Detected/merge diff tools', select LVMerge. Highlight the conflicting file in the Unresolved items list Use the Tool Resolve button This will launch LVMerge, which will launch the LabVIEW resolve utilities. I'll post a HowTo on the LabVIEW Wiki Merge with TortoiseHG page. Ton
  7. I detected that Mercurial has a commandserver/pipe interface, after some debugging I got a stable 38 msec per call for the most basic call, (coming from 150 msec) so that speed improvement is pretty good. Here's the code I ended with: Do you know what the overhead per dll call is? Ton
  8. RT @bitbucket: You've heard of forking your code, now Atlassian Bitbucket introduces spooning, new pair programming. #spooning #bitbucket

  9. Back from Copenhagen joined and discussed #labview

  10. RT @matthias_us: .@labview + @LogMeIn + iPad = 24/7 lab data generation

  11. If I'm not mistaken it's quite normal for companies in the US to claim all products of a employee. [citation needed]. Some discussion here. I've never dealt with this since my employer isn't interested in the code I generally write as Open Source. There are some statements in our CAO (collective working agreement) but so vague that both the parties can make a valid claim. Ton
  12. Anybody going to Copenhagen #LabVIEW user meeting this friday? PLS RT

  13. One thing it might be is that if an error occurs you stop reading the next items. So if your item isn't a mail item (rather an appointment) you will stop reading the other items. Ton
  14. LabView: Pass value between while loops http://t.co/38RlPsNq

  15. Get terminal name is definitely wrong, just because it's correct in one case, it's not valid in all cases. (Chris mentioned typecast). Get data name is correct to me. The code is specifically used for variants, so if you want to use is, you should package the data as a variant, in that moment the name is preserved (however you can change it using OpenG code). Ton
  16. My blog is at: http://tononlabview.blogspot.com/ The RSS is at: http://tononlabview.blogspot.com/feeds/posts/default I don't write regurlarly, however things and bits I encounter will be posted there. I plan to write tutorials as well on that blog. Ton
  17. New blog post: http://t.co/iEQ6o6nF - LabVIEW, web services and optional inputs

    1. jcarmody

      jcarmody

      Folks without your blog in their RSS feed reader need this update. I, however, follow your blog. Thanks :)

  18. RT @hipstermermaid: Buy local and ethical, corporations are evi- NEW iPAD!

  19. I'm not sure, however using a cast can lead to unforseen results (for instance instant memory issues) Nope, the 'False' is only for the top level element (cluster), and not for any objec tinside the cluster. Ton
  20. I would like to see OpenG version of the default 1,2 and 3 button dialogs offered by LabVIEW with an optional timeout. The purpose of such dialog is that it informs the user and allows him to take some action. If the user does not respond in time a default action would be taken. The timeout should default to '-1' meaning a timeout would never occure, the time-out would be configured in seconds, and the default button would show 'button-name[xxx]' with xxx in seconds until that action will be taken. Any thoughts? I'll try to come up with some protypes tomorrow. (perhaps an express VI) Ton
  21. It's kinda sad to see that this LabVIEW bug isn't resolved after 4 years (and 8 updates),. Ton
×
×
  • Create New...

Important Information

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