Jump to content

Bobillier

Members
  • Posts

    222
  • Joined

  • Last visited

  • Days Won

    5

Posts posted by Bobillier

  1. Thanks for your comments. I have test the hidden solution and the open project FP at the end, but i found a strange things . When i do that, the front panel don't open, but if i don't save the new project , i lost the labview start windows. Labview appear only in taskbar.

    So i decide to remove the hidden FP action and place it in unactive structure. With this, all become ok.:blink:

    I don't have front panel open and don't lost labview start windows if i don't save the new project.

    I send you the new version of this tool for validation.

    Regards

    Project_creation_tool-1.0-2.ogp

    • Like 1
  2. Finaly , i have just a bit modify your vi to creat a list of folders in a new project. I have creat Obj package , who install this tool in wisard folder.

    I have just i small problem, i have try to "close front panel" of this tool at start. And in this case, the project is creat , but not the folders. When i let the front panel open and close it at the end, all run ok.

    I send you my package , tell me if it's ok ,and perhapse why i can't close FP at start.

    Regards

    Eric

    Project_creation_tool-1.0-1.ogp

    • Like 2
  3. Hi Eric

    What do you have in mind?

    You can manipulate the project through the Project Class (VI server) using property nodes.

    Here is a snippet to add a folder to a project.

    post-10325-126027856337_thumb.png

    I have attached an example (I did on a course a while back).

    Might get you started!

    Create Project.zip

    [LabVIEW 2009]

    Hi JG

    It's exactly what i want . I just want automaticaly have new project with my standardized folder structure.Is your exempl is free (or bsd licence) because perhapse i want use it in RCF plug in.

    Thanks again

    Eric

  4. Thanks Ton have test it and your exempl is ok. It's incredible the complexity to obtein the pane from control.Just a control property for Pane will be enought, or change

    the owner by the pane and not the Panel reference.

    The question is now to know if there is same things for terminal on diagram (terminal position on screen).

  5. Hi

    is there a way to know the control position in reference to zero of the sreen (left top conner) and not front panel? I have try to calculate it from property without succes .

    I'm a beet lost with all coordinate propertys (limite, masterbound,....) A small explaination (or a small drawing)of those differents propertys will be appreciate.

  6. Great! I'm glad it worked...

    If I get motivated this weekend I might try to make a RCF plugin based on this so you could right click an enum on the block diagram and update it from the *.rtm file directly.

    Great Idea. But if I can suggest one remark, maybe will It be better to include the possibilty to create Case in case structure from Rtm data than enum. And to be more precise,

    It would be better if this idea would be included in the excellent RCF Caseselect Plug-in. But it's just suggestions.

    Thanks again for your help and good luck for RCF.

    Eric

  7. Hmm... The separator line throws off the parser in 8.6 as well. I don't remember ever using a separator line.

    Oops... After messing around the "APP_SEPARATOR" tag was being cut off to "APP_SEPARA". It looks like the Read From Text File primative had the 'Convert EOL' option enabled which changed the string length from 0Dh (13) to 0Ah (10).

    Try it again.

    Thanks that' s ok Now. Just a last things, I have removed your test about Level because in my case this test forget first line menu tag.

    Regards

    Eric

  8. Thank

    But that's not work in LV2009. The parser lock on get id state.:frusty:

    I investigate more and see that the problem is arround "special application code". When i put a "separator line" in my menu that's bug, but when i remove them

    it's OK.

  9. There is no silver bullet answer for your question. It really will depend on what application you will be opening the document in as to what you will need to include in the actual text of the document.

    In fact i want open it with Excel

    Your request is a little confusing. Do you want to create a new document (workbook) or a different sheet in a workbook? You can do all of that with ActiveX. And that is a lot easier if you have the Report Generation Toolkit. I've done it in raw ActiveX, but it's work. It's easier just saving different documents as text files. For each new "page" just create a new file name.

    The computer where i want to put my application don't have Excel and i can't use ActiveX . I just want generate a text file with few breaks page ( in mysterious code) who can be interpret by excel like break page.

    Regards

  10. Hi

    I want creat a data text file and insert a break page between each data blocks. Like that when i open it (convert ) in excel, my data will be on different page. I have try "\f" , but without succes.

    Any suggestions.

    Eric

  11. Hi

    The ref input may have few using.

    1) Connect to the common (gnd in general) you obtein the signal + the offset

    2) Connect to a resistor , can compensed the DC CMR error.

    3) Connect to a voltage source (few mv) you can compensed the output offset.

    4) Connect to the out put of LP Filter you can creat LP instrument amplifier without add input capacitor on AD620 input.

    5) Can be used to creat precise current source.

    Analog Device give you few exempls in their instrument amplifier datasheets.

  12. The timeout event is intrinsically not having priority. Every time one other event occur, the time out value is reload with the maximum value (for exempl 1000 in your case)and not fire.

    It's for this reason it's call TimeOut and not Timer (I think). It's easy simple to lock it definitively when one event occur by loading -1 inplace of 1000. Look my exempl to see how.

    post-5178-125110233417_thumb.jpg

  13. index.php?app=downloads&module=display&section=screenshot&id=70

    Name: Move Label

    Submitter: LAVA 1.0 Content

    Submitted: 04 Jul 2009

    Category: VI Scripting

    LabVIEW Version: 7.0

    Version: 1.1.2

    License Type: BSD (Most common)

    Potentially make this available on the VI Package Network?: Yes

    Copyright © 2007, Eric BOBILLIER

    All rights reserved.

    Put your real name here for the copyright to apply.

    Author:

    Eric BOBILLIER

    --see readme file for contact information

    Description:

    This Vi is a tool to move label of few selected controls in TopLeft,TopCenter,TopRight,Left,Right,DownLeft,DownCenter and DownRight position. It run too with terminal

    ,invoke node, propriety node ,Global and control references.

    Why:

    I develop this tool for limit few click and for fun.

    Installation:

    Copy Move Label.Vi and _Move Labelfolder in your labviewxx\project folder and restart labview.

    Test:

    Run Ok in 7.0

    Know issue:

    run only in Windows.

    Improvement:

    Actualy the diagram constante are not concern with label mouvement but i can upgrade if someone wanted.

    Like i have only Labview 7.0 ,they is certainly new object that can be concern but can't be implanted now.

    But if you look code, i think it's not very difficult.

    Video demonstration at: http://screencast.com/t/1V3YuwsCE2V

    Acknowledgement:

    Ton Plomp and Yair Neeman for the CCT__Get User App Reference__CCT Vi of the code capture Tool

    And for the anonym who have write the DoKbdevent.vi

    Change Log:

    1.0.0: Initial release of the code.

    1.0.1 Minor correction about front panel apparence.

    1.1.1 Add New position (TopCenter,TopRight,DownCenter,DownRight)

    Now run with Global too.

    Modify the Vi to be call by another Vi (Need Name and position parameter)

    Now the Default position is Left.

    1.1.2 Correction of major bug in selection of label position

    Click here to download this file

  14. index.php?app=downloads&module=display&section=screenshot&id=18

    File Name: Controls to Variant

    File Submitter: LAVA 1.0 Content

    File Submitted: 02 Jul 2009

    File Category: LabVIEW IDE

    LabVIEW Version: 7.0

    File Version: 1.0.0

    License Type: Creative Commons Attribution 3.0

    Potentially make this file available on the VI Package Network?: Undecided

    Copyright © 2007, ERIC BOBILLIER

    All rights reserved.

    ERIC BOBILLIER.

    Author:

    ERIC BOBILLIER

    --see readme file for contact information

    Description:

    This Vi creat a initialise variant controls from selected controls.

    You creat a array of variant if there is more one controls selected.

    You have the choice between array of variant or array of cluster (Name and Variant Data).

    If you paste it in front panel it's control, and if in diagram it's constant.

    If you select "Not array If lonely" a single control is convert in variant

    (array with one value inother case).

    This tools run with Vis and Globals

    If you Hold Alt Key down during running , the selected controls are convert

    in Variant array (or cluster array) directely in source Vi.

    This option run with Vi only.

    How use this tool:

    First :select control (s) in a Vi

    Second : Select kind of variant control you want creat.

    Third : Run this Vi (with or without alt Key down)

    Fourth: Paste control in you destination Vi.(if Alt Key unused)

    Test on Labview 7.0 and XP

    Change Log:

    1.0.0: Initial release of the code.

    Click here to download this file

  15. index.php?app=downloads&module=display&section=screenshot&id=17

    File Name: RTM to Enum

    File Submitter: LAVA 1.0 Content

    File Submitted: 02 Jul 2009

    File Updated: 02 Jul 2009

    File Category: LabVIEW IDE

    LabVIEW Version: 7.0

    File Version: 1.0.0

    License Type: Creative Commons Attribution 3.0

    Potentially make this file available on the VI Package Network?: Undecided

    RTM to Enum V1.0.0

    Copyright © 2007, ERIC BOBILLIER

    All rights reserved.

    ERIC BOBILLIER.

    Author:

    ERIC BOBILLIER

    --see readme file for contact information

    Description:

    This Vi creat an enum control(orindicator or constant)from a Real Time Menu (.rtm files) data files.

    You can also choose from Tag or Name Data ,and select the destination of creation between clipboard or

    enum.Vi (place on desktop).

    I have add a second tool, call Enum to tree who show RTM data in tree control .

    Test on Labview 7.0 and XP (for other OS you must modify the Desktop Path .Vi)

    Uses the following OpenG packages:

    oglib_file-2.7-1

    To get these OpenG packages use VIPM (http://jkisoft.com/vipm/)

    Change Log:

    1.0.0: Initial release of the code.

    Click here to download this file

×
×
  • Create New...

Important Information

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