Jump to content

Bobillier

Members
  • Posts

    214
  • Joined

  • Last visited

  • Days Won

    5

Posts posted by Bobillier

  1. Hi Roderic

    I don't think you can have unique event for all activity on your FP. But if  it's the same action that you want launch if there is one action on few controls, you can use "add" (Ajouter in French"). And obtein few sources for one event.

    Like in my example where i have add booleen3 and boolen2 as source for the same event.

     

    post-5178-0-64156800-1383143415_thumb.jp

    Bonjour de Bretagne

    Eric Bobillier

  2. Ton

    You are right, it's ADDQ (i don't have GOOP installed) who systematicaly modify the connector pane.

    To solve this:

    Go to Tools\G#IDE\Options and Define connector Pane.

    ADDQ seem have common configuration between all Labview versions installed, because i have made modification on LV2011 and that automaticaly solve this in LV2009 without any action of me.

    Thanks to all for your help.

    Regards

    Eric

    • Like 1
  3. Crelf: Are you saying the LabVIEW.ini file reverts after you make changes and save it?

    Eric: Yes it's true.

    Ned: Just to confirm, you're not trying to edit the LabVIEW.ini file while LabVIEW is running, right?

    Eric: No i stop Labview and modify labview ini and restart Labview.no effect if i creat new vi. Stop labview and look labview ini and then see conepane go back to old value.

    Just another details: i have samethings on LV2009 SP1 and LV2011 under Windowx XP sp3..

  4. Hi

    Perhapse i'm stupid :frusty: , but i don't find how define default conepane for CTRL-N short cut. Previously i have one "4815" conepane each time, and now it's "4834" . I have try to modify "defaultConPane" parameter in labview.ini but without effect, and when close Labview "defaultConPane" parameter go back to "4834" :wacko: .

    Any suggestion?

    Regards

    Eric

  5. One care may be take with low cost USB NI product. There isn't galvanic isolation through USB connection. Sometime it can be problem, because when the relay switch, current spike can activate USB protection on PC.

    In this case, restart your software is not enough, and you need to restart PC. I have experimented this. You can find low cost USB 2 galvanic isolator on web, or create one with http://www.analog.co...s/product.html.

    Eric

  6. Hi

    Today i have write a trick to solve one old limitation of Labview. As you know , you can't create local for latched boolean. And sometimes

    it will be useful if we have one.(for example to propagate latch action between few parallels loops). My solution use event with dynamic registration. (see Trig on latch boolean action).

    TestTRIG.vi

    Trig on latch boolean action .vi

    But it's not all. With this trick, If you modify Latch boolean ref input by another kind of ref type and/or modify the kind of registration, you can easily propagate any kind of action.

    However, i have one question about this trick.

    At start, i have write one first solution where event registration is do only at first run and aren't unregistered.

    post-5178-0-64162100-1318581593_thumb.pn

    And after i have modify this trick, and create registration if not exist and unregister it when latch arrived.

    In this case, you have new registration for every latch.

    post-5178-0-66301000-1318581907_thumb.pn

    My question is to know which solution is best, and if it's bad to not unregister dynamic event.

    Eric

    • Like 1
  7. Hi all

    Today i have find two bug (i think) with typedef controls.

    Ring

    1) I create ring typedef with one value. I place it in my diagram and that create one constant (here all is normal)

    2) I modify typeDef and add one another value in first position, and place it to diagram.

    Althoughthe they are synchronize, the new value don't appear in first constant and more bad, they can return same numeric value for differents values.

    ComboBox

    1) I create combobox typedef with two values. I place it in my diagram and that create one constant (here all is normal)

    2) I modify typeDef and add one another value in first position, and place it to diagram.

    Althoughthe they are synchronize, the new value don't appear in first constant .

    I know you can use find (Ctrl-F) and replace with source typedef to obtein correct values .But in case of combobox, this action all cste are size compress (another bug?).

    Eric

    ComboboxDeftype.ctl

    Constant DefType Bug.vi

    Deftype Ring.ctl

  8. Hi

    I need to create program on Mac to communicate to serial device. This device use extended ascii code (0-255). I know that the first 128 characters are same between Ascii Mac and Windows. But different for next 128 characters.

    Do know how convert them to be compatible between Ascii Mac and Windows?

    (Mac OSX and Labview 2009SP1)

    Regards

    Eric

  9. Hi

    I find a strang thing when i have upgrade one old Vi (s)version (7.0) to 9.0. When i open Vi(s) in LV2009 all seem OK (no break arrow) but when i run it, the vi don't do correct result.:frusty: After few investigations, i have find the bug. It's arround "write to text file" Vi . When i look on help, i see that Vi is unsupport in LV2009.But don't generate error :ph34r:

    My question is: is there a way to automaticaly detect unsupport Vi , when i upgrade project.

    Eric

×
×
  • Create New...

Important Information

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