Jump to content

Bobillier

Members
  • Posts

    209
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by Bobillier

  1. Very interesting !!! Any Chance to have it in 2011 version ? Regards Eric
  2. 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. Bonjour de Bretagne Eric Bobillier
  3. Hi I don't think you can do that with array. Because arrays managed them element as unique. If you modify properties of one element , you modify all. The only way i see to do that is to creat three state element (one position for actived, one for desactived , and one for grayed) and manage each elemnt as you want. Eric
  4. 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
  5. Thanks but for me your trick is not good. If i remove the defaultConPane key and start and stop Labview, the defaultConPane key go back with defaultConPane="4834" in labview.ini file.
  6. 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..
  7. Hi Perhapse i'm stupid , 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" . Any suggestion? Regards Eric
  8. 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
  9. Perhaps you can use this http://lavag.org/topic/14538-unbundle-cluster-array/page__hl__xnode__fromsearch__1 to separate cluster element and test equality. Eric
  10. Hi I have one trick to solve you problem. the solution is to type cast your string constant reference to string type. In this case, you can accede to all properties of string constant text. Regards Eric
  11. 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. 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. My question is to know which solution is best, and if it's bad to not unregister dynamic event. Eric
  12. 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
  13. True, but there is one interesting upgrade (in VIPM package) since Elijah Kerry blog (2 Fev 2011).
  14. I have found one really interesting link about error management. http://zone.ni.com/d...a/epd/p/id/6253 Eric
  15. You can find solution here http://lavag.org/top...__fromsearch__1 Look SelectionColorExample.vi at the end. Eric Oups too speed reply. in fact this example modify cluster and not array...
  16. 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
  17. Hi Gavin I want propose you one small vi for your library. This Vi return the ConPane index on one control (connect to ConPane) if find. Perhapse you can add it to your library. Regards Eric Find Control Index in ConPane.vi
  18. Hi Ton Happy to see that you allways want feathers about State Editor. I have a problem with your request. If you generate one combo box , you can't modify it another time ussing State editor. Or i need to detect-it and and convert it to string constant. In which case are you ussing this kind of Combo (debug,...) Are you sure it's very usefull. Eric
  19. 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. 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 My question is: is there a way to automaticaly detect unsupport Vi , when i upgrade project. Eric
  20. Good idea to modify the background cluster color. Thanks
  21. Hi Is there a way to modify the native array selection color ? I have try with property node and look in Labview.ini file if there is parameter , but without succes.
  22. Yes it's near netsh commands, but difficult to parse because langage and perhapse os sensitive.
  23. Hi Is there simple way to get tcp/ip parameters (IP,Mask, DNS,WINS) ? I have try with netsh cmd, but it's a bit confuse for me. Eric
  24. Hi Ton Happy New year It's not a bug. When i look your video, you made UNDO and not delete action. For delete , you must select state and press del buttons (or use del in the right click menu). Cheers Eric
×
×
  • Create New...

Important Information

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