Jump to content

Antoine Chalons

Members
  • Posts

    955
  • Joined

  • Last visited

  • Days Won

    34

Posts posted by Antoine Chalons

  1. QUOTE (neBulus @ May 12 2009, 04:12 PM)

    I would suspect you are going to have to hound NI for an answer to that Q. Between LV 7.1 and * they added the ability to zoom a picture (I think, don't quote me) so that change may be playing a part in what youare seeing.

    Ben

    Thanks for that Ben, I'll ask support from NI.

  2. Hi all,

    I'm upgrading some code from LV 7.1 to LV 8.6 and have an issue with texts into a Picture Control.

    In LV 7.1, this code

    post-7452-1242134180.png?width=400

    will give this if I print to à pdf file and zoom on the pdf

    post-7452-1242134196.jpg?width=400

    In LV 8.6, the same code will give this...

    post-7452-1242134214.jpg?width=400

    If I zoom even more on the pdf generated with LV 7.1 it appears that the text is vectorial and always appears very nice, but it seems not to work in LV 8.6.

    Anyone knows how I can fix that?

    I checked my LV option for printing in 7.1 and 8.6, they are similar.

  3. QUOTE (rolfk @ May 8 2009, 02:44 PM)

    I just had a short look at it. Seems it stores the information in hidden files in the system directory and there seems to be some encryption used. Since the functionality is VI based there is some possibility by a LabVIEW freak to actually replace the two or three main VIs provided by this tool and put inside the executable. Name Mangling at build time of your executable would be one possibility to complicate this to the point where it is unfeasible to work for anyone but the most determined hacker.

    Is it a good idea? Well I'm not a fan of software activation at all.

    Does it work? Most likely for almost all average users of your software.

    Is it worth it? The cost of the tool is certainly not a problem. The cost for maintenance however will be not negligible. You will have to build it in your app, make sure to maintain the correct keys and provide a prompt and fast service to your customers to provide them with the keys to unlock your software. Don't underestimate this last one.

    Rolf Kalbermatter

    Thank Rolf for these comments. I'm really not a fan of software activation either, in the past we've had some big problems* with this so we want to go very carefully ; right now we're just evaluating possibilities (this was asked by our customer).

    Thanks again for raising up the possible issues.

    * its a good story and I think it deserves to be told :

    A while back, a customer had about 10 systems with activated vision licences, those system were running in a factory 7 days a week. For some -bad- reasons the computers all had 2 network boards and were set to auto-upgrade windows.

    So when a Windows upgrade came up, the computers got the upgrade, somehow the upgrade switched the 2 network boards and so without any notice the vision licence automatically went to evaluation mode. 30 days after that, on a saturday, all the systems couldn't work anymore..

    It took us (well.. my colleague.. I was lucky enough to not be involved in this project) quite a bit of time to find out the what the problem was!

    That's just an example of how made you can drive your customers with software activation.

  4. Hi all,

    LVVILIB LICKEY 2G is a One-Time-Activation with Grace period (in days) given for your LabVIEW program deployment. So says the website.

    It looks quite interesting.. At my company we often make VB AI plugins for our customers and we've been looking for a way to ensure it works on no more than one computer.

    As it's only 20 USD I might get it to try it out anyway but if anyone's got it and can give some feedback it'd be nice.

    Cheers

  5. QUOTE (drake27 @ Apr 29 2009, 03:28 PM)

    Hello

    I have to get the name of the author of a VI but I don't know how to do this using Labview.

    If someone can help me

    In the sub-palette "Advanced Fils Functions" (Programming >> File I/O >> Advanced Fils Functions) you have a primitive called "Get Type and Creator".

    Hope this helps

  6. QUOTE (professor_rumsdiegeige @ Apr 29 2009, 09:04 AM)

    Hello fellows,

    I'd like to have an event fired as soon as the user clicks into a string control to start editing it... the idea is that everytime the user starts to edit this control, the windows virtual on-screen keyboard shall be launched, because the user has problems with typing on the small keyboard....

    Is this event available? I tried "Mouse Enter" and "Mouse Leave", but this doesn't really fit.

    Any ideas?

    Sabine Lorentz

    I think the "mouse up" event will do the job.

    hope this helps

  7. QUOTE (xShadowDanx @ Apr 28 2009, 08:35 AM)

    Yep.. i tried Charlon's method and theres still a bit delay b4 it stop. I don't know which area I should change but now im trying the other solutions. Thanks guys, really appreciated the replies.

    Paul explained why with the solution I proposed there would still be a little delay, this is just the time you code -inside the loop- takes to execute.

    Can you post your code, or at least a screenshot of it so that we can provide more appropriate advice ?

  8. I've uninstalled and re-installed TSVN 1.6.1 and it seems to be better.

    Once a while, when my windows explorer starts being slow I run a batch file containing this :

    @echo offtaskkill /f /im TSVNCache.exestart TSVNCache.exe

    and it's fine again.

    [EDIT]

    I'm just thinking now... maybe it's not really a good idea to do that.. anyone knows if it could affect the operation of TVSN and screw things around?

  9. Hi xShadowDanx,

    I think you're right, your while loop is doing an extra cycle. When a while loop executes, the first thing LabVIEW does is check the stop condition (if it can) and then executes the rest of the code inside the loop. So if you cycle has already started when you clic the stop button, it is normal that it will run one more time ; you can avoid that behaviour by forcing LabVIEW to read the stop button AFTER the rest of the code inside the loop has been executed.

    The 2 loops below demonstrate this. I guess your VI is like the top loop and if modify it to look like the bottom loop you'll have what you want.

    post-7452-1240819236.png?width=400

    Hope this helps

  10. Hi all,

    I've just upgraded from TortoiseSVN 1.6.0 to 1.6.1, then restarted my computer and now my windows explorer will take between 5 and 10 seconds just to open a folder...

    If then I open the task manager and kill the process "TSVNCache.exe" windows explorer goes back to normal speed.

    I started using TortoiseSVN only a month ago so I don't have alot of experience with it and I'm a bit scared now.. Anyone has the same behaviour ?

  11. QUOTE (Darren @ Apr 3 2009, 05:13 AM)

    So it works based off palette object names, not palette names, but it's the closest I can do.

    Does this means I have to make a look up table with :

    input = sub palette shortcut I want (e.g cfg for "configuration file functions" palette)

    output = the name of an object in that palette

    pretty darn close... thanks for that Darren! :)

×
×
  • Create New...

Important Information

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