Jump to content

Antoine Chalons

Members
  • Posts

    955
  • Joined

  • Last visited

  • Days Won

    34

Posts posted by Antoine Chalons

  1. Hi,

     

    I don't know of any "direct solution" for that, I think you have 2 options :

    - keep checking if that string control has the focus (using a property node on that string)

    - keep checking the panel's property called "Text Focus", it will return the label (name) of the control that will receive the keyboard strokes

     

    but both these options need to be placed in a parallel loop that will run at a certain rate.

     

    hope this helps

  2. Call NI to obtain a SRQ from NI so that is issue is followed and can give birth to a CAR.
    Or go to ni.com/ask and connect with you NI profile, it's pretty similar to calling, you only "lose" 1 or 2 days depending on how busy the AEs are, the advantage of that is that you can follow all the SRQs linked to your NI profile by logging on on ni.com/ask, I find it quick and easy.

  3. Hi Antoine,

     

    Yair is right that code is used for the panning/zooming using the scroll wheel. I always thought that code was OS generic.

    Can you place the whole while loop + init/close VI inside a conditional structure, to see if it is fixed then?

    If so we can easily create a platform limited code for Mac/Linux.

    Apparently this code is only available on Win/Linux.

     

    Ton

    Ton,

    I also had to remove an event case from the VI called "Annot_Deamon__CCT.vi" because it was using the Mouse VIs. Then it works fine :)

  4. The Code Capture Tool GUI__CCT.vi has a broken arrow, the LLB <vilib>:Utility:inputDevices.llb isn't found, I think this llb is Windows only.

     

    post-7452-0-17072600-1368041500_thumb.pn

     

    I'm running LV 2013 beta, I have no other LV version to try at the moment on my mac.

     

     

    Is it just a matter of setting a flag in the package to mark OS X as a supported platform?

     

     

     

    yes, I think that by default a package supports all plateforms but you can set restrictions.

    Here's what it looks like :

     

    post-7452-0-64291400-1368041473_thumb.pn

  5. First bit of feedback after 1 hour. I'll start using the package builder soon.

     

     

    While VIPM is installing packages, the mouse pointer is busy only when above the top button bar and the status bar but not when above the main part (multicolumn listbox), only above the abort button should it not be busy, no?
     
    VIPM lets me install the JKI_lib_rcf_... plugins but won’t install the RCF, of course the RCF isn’t mac compatible, does that mean VIPM lets the user install a package that has a non-installable package in its dependencies?
    I was going to say that RCF plugins should always be set as “Windows only” but in fact no! A RCF Plugin can be not “Windows only”, the limitation is in the RCF itself, if this RCF limitations goes away, without any change a RCF Plugin would work. So what to do then?
     
    In general I think most people don’t bother event thinking about the mac plateform when they build their packages, so I think by default a package should be “current OS” only and if the user *thinks* his package is compatible with other OSes it should be a manual task that needs to be done for each package.
     
    In the package information window the mouse wheel doesn’t control the vertical scrollbar, it works in the main VIPM window.
    In the main VIPM window the “two fingers” vertical slide on the trackpad (laptop) controls the vertical scroll but it doesn’t control the horizontal scroll.
     
  6. I thought about posting this on the idea exchange, but I could only think of one use case and it's quite small so I don't think many people would be interested.

    I also don't think the "variant to data" primitive should be modified to match what I did, as you pointed casting to a specific type and matching by name are really not the same thing. Getting an error on type mismatch is I also what I expect from the primitive.

     

    The way I put it "I was wandering if it would be a good idea to have the "variant to data" behave the same way" was not exactly what I wanted to say, in fact it's another primitive that would be nice, I don't know what to call it... maybe "label based cluster variant to cluster match" but that doesn't sound right...

    The point in posting this was more to see if there was any other use cases that I hadn't thought about. The code posted is useful for my use case and really that what matters.

     

    Thanks for your comments!

  7. One thing that I really like about the OpenG "Read Section Cluster.vi" is that if some values are missing form the INI file it doesn't matter, the default value for the corresponding elements will just have the default value.

     

    I was wandering if it would be a good idea to have the "variant to data" behave the same way, instead of returning an error 91, shouldn't it try and see what does match between the data available in the variant and the data type passed to the "Variant to Data" primitive?

     

    I find it not easy to explain what I mean so here's an example :

     

    post-7452-0-39246500-1366732179_thumb.pn

     

    And here's the code.

     

    my variant to data.zip

     

    I know there are some limitations, not all data type are supported (refnums, arrays, waveforms, etc...) and unique names are required.

     

    If someone wants to know when this can be useful, the answer is this : when you develop custom steps for VBAI and you want to add some parameters without losing all the ones that were already there.

    Maybe there are other use cases for this?

     

    Any feedback will be much appriciated.

  8. I'm not sure about NI's opinion about this, my feeling is that they don't want their RT OS installed on desktop computers, I imagine it would be a lot of effort for them to support the various hardware configurations outhere.

    That said, if you can manage to install RT OS + LabVIEW on a desktop computer and get it to work I don't think NI will run after you but they probably won't support you if you run into bugs.

     

    There might be another path you can go : virtualization but I know nothing about it.

     

    To answer your last question, I don't think performance would be an issue.

  9. We've had similar problems with vertical text for YScales on graphs. As far as I can remember we found no work-around for YScale legends but for texts we increased the size of the front panel in order to have a 1:1 zoom factor for printing, that was horrible on screen (huge) but it came out nice when printing.

     

    Hope this helps

     

    PS : I'll poke around internally because I think we have a CAR for that.

  10. Indeed, the zlib library or more generally the zip addition to it do not use mbcs functions. And that has a good reason, as the maintainers of that library want to make the library compilable on as many systems as possible including embedded targets. Those often don't have mbcs support at all.

     

    I understand the cross-platform concerns.

    However I'll be having a look at it, since the main part of the naming generation is actually done on the LabVIEW diagram, and that may be in fact more relevant here than anything inside zlib. There might be a relatively small fix to the LabVIEW diagram itself or the thin zlib wrapper that could allow for MBCS names in the zip archive.

    Sounds like a good news.

    No urge though now that I have a work-around.

  11. Hi all,

     

    I'm using OpenG ZLIB Compress Directory.vi to turn a folder (and its subfolder) into a ZIP file.

    When some subfolders have characters like é in their name, into the zip file those chars become something else (Ù), is there anything we can do to prevent this?

     

    I guess the reason for this "issue" - or limitation - is that zlib library uses ANSI strings and does not support multibyte or unicode strings, fine. My question is is there a way around that?

     

    LabVIEW zip VIs probably use zlib too because they give the same result :(

×
×
  • Create New...

Important Information

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