Jump to content

Antoine Chalons

Members
  • Posts

    955
  • Joined

  • Last visited

  • Days Won

    34

Posts posted by Antoine Chalons

  1. Thanks for the reply Antoine. Well I cant open your file since Im using only version 7.1.

    Anyway I know how Tab Control works but Im really looking for the above method.

    If I press button '1' it will take me to page '1';to another VI file.If I press button '2' it will take me to page '2' etc.

    Any suggestion?

    Thanks again. smile.gif

    Ok, so you'll have to use VI server, here is q quick n easy idea : have a main VI in which you select a list of other VIs and when you clic "start", the VIs selected in the list are launched one after the other until the list is empty ; and to launch the next VI, you wait untill the current has finished executing.

    Is this what you need?

    post-7452-126521652104_thumb.png

    post-7452-12652166159_thumb.png

    Hope this helps

  2. Thanks for the response.

    To answer your questions. Yes it is the main vi within an llb that I'm trying to read. The code is being launched from an rtexe located on the 9012 crio. This same code is used in an exe and has never had a problem. The llb is located in the same directory as the rtexe. The path is passed into Open VI Reference as you show above and this is where the error 1124 shows up. Is there something different that needs to be done for the rt build? I couldn't find the VILinkerErr property you have shown.

    How do you build your plugin llb?

    Since your plugin is called on a RT target, you need to make sure each VI used in the plugins will be found at run time so you should try to include user.lib, vi.lib, etc when you build your plugin llb.

    To be find the "VI Linker Error" you need to install and activate the LabVIEW API : see here.

    Hooe this helps

  3. I am currently having this problem on the 9012 crio and am running Vista. Does anyone know if this issue has been resolved or how to fix/work around it?

    Hi,

    You are digging out a fairly old post (17 fev 2006)... Can you tell a bit more about what you are doing.

    Apparently you're trying to launch a VI dinamically, and this VI for some reason is not runnable.

    Is this VI part of an llb?

    Do you try to launch it from an EXE you developped in LabVIEW or from some code that hasn't been compiled?

    A thing that can help you figure out the issue is doing this :

    post-7452-126512559311_thumb.png

    Hope this helps

    • Like 1
  4. On a related note. I usually want to make my table's column or row headers bold and centered. Is there an easy way to select all the column headers and then change their text format to bold? You can do that with the cells inside the table but not with the headers. What I usually do is create a property node and index through each cell and change the font properties.

    Thanks

    Sorry again.. this also what I do (index through all visible line/colums) to set cell font.

    On a side note, you can make this process much faster by setting to 'true' the "Defer Panel Upade" on the front panel that contains the control.

    post-7452-126512485649_thumb.png

    hope this helps

  5. I am using a property node to format the row and column headers in my tabe and I can't get the CellJustify property to work properly. The help documentation says the input should be an unsigned word Enum and the allowable values are Left, Center and Right. If I set an enum constant to Left then it works fine, if I change the same constant to Center or Right then I get a broken wire with the error "enumeration conflict". Could anyone please tell me why?

    Hi,

    Delete the enum you created, place your mouse cursor over the "Justification" property node, right click and select "create > constant", then chose the type of justification you want.

    Also I have coersion dots on my two ActiveCell inputs to the property node and I don't know why. I have followed the data types set in the help. I notice that the example program provided (linked from the help for the ActiveCell property) also has coersion dots on this input, is this how it should be?

    Same as before, in fact the cluster containing row index and column index is a typedef so if you link a cluster that you create, even if the type is fine you will see the coercion dot. If you create a constant from the property node then that will constant from the typedef and therefore you won't have the red dot.

    Hope this helps

  6. I did volunteer - at the ancient time of LAVA 1.0 - and was accepted as a moderator, and I did spend time everyday to move posts to appropriate sections, I was also making the effort of sending a PM to inform the poster and to - kindly - ask him to try to select the appropriate section himself in the future.

    I don't know exactly how, when and why, but my right to do that went away. I imagine the move to LAVA 2.0 is a big part of the reason.

    I still volunteer to be a LAVA mod' :yes:

    EDIT : and I can prove it :rolleyes:

  7. Antoine, I actually tried your code, but I did not figure out how to capture the new message from your package.

    In Skype4COM, there is a 'Message' interface which can return the message info, such as the sender info, message status, etc. But the problem is it returns all the messages sent by any specific sender. I have to manually go through each message and mark it 'read' so I can tell if any new message is received.

    A little complicated. Don't know if that's the correct way to do it. Can you help?

    I have to admit I never found out how to do that... I guess I should have read the documentation that goes with the Skype4COM but I only needed to send SMS so I didn't go much further than that.

    Sorry I can't help you on that.

  8. Say my customer has a Vision Builder AI licence (full featured), he's using it himself to control whatever he fancies and he asks me to develop a LabVIEW application to run on the same computer.

    The computer has VBAI installed and activated (so LabVIEW RTE is the computer) but not the LabVIEW development environment.

    So I can build an LabVIEW exe and ship it, that works.

    Now questions...

    Q1 : is there any function from the Vision palette that will not work if used in my exe?

    my first assumption : VBAI is there so Vision Acquisition Software RTE (VAS) and Vision Development Module RTE (VDM) are there as well, so answer should be no.

    actual answer : Some will work, some will not. And if you want everything to work you need to install (and activate) VDM RTE.

    Q2 : am I allowed - as far as NI licences are concerned - to use the few functions from the Vision palette that don't require to add the VDM RTE in the exe I will ship?

    the easy way : who cares, use what works and don't tell anyone. :ph34r:

    my first assumption : no clue, licence matters are definitely not my cup of tea.

    my second assumption : ask different people at NI you'll get different unofficial answers (that means nothing written). This is just an assumption, I haven't tried.

    Anyone has a clue?

    Edit :

    Vision Development Module costs $3599

    Vision Development Module RTE costs $419

  9. We're having a similar problem with a plug-in we made for Vision Builder AI, Vision Builder is a LabVIEW exe made by NI and in LabVIEW 8.5 there is a framework to develop user plug-in.

    The issue I have is a bit different because the plug-in works fine with the exe only if LabVIEW dev system is installed on the computer, if it's not the plug-in won't work and VBAI will not give any error message. We have someone at NI investigating that issue, I'll let you know if when we get a solution.

  10. Hi all.

    I'm putting together a UI that uses a tree control which should always display only two columns. I'm suing Panes to control the layout of the UI if the window size is changed. IF I set the tree control to scale with pane, the outer size of the control scales, but I end up with loads of empty columns. If I then reset the number of columns back to 2 using a property node, the width of the entire tree control shrinks back to the original size leaving me lots of empty space.

    Does anyone know a way to make the colums of the tree control automagically resize - i.e. they should grow if I only have 2 columns displayed and i stretch the control width-ways...

    Any help would be greatly appreciated!

    Cheers

    Paul

    (This is in LV 8.6 btw)

    Hi,

    Here is a quick example :

    post-7452-126051464068_thumb.png

    You need to select each column and set there width.

    Hope this helps

  11. Hi,

    I'm working on a project which needs to interface with a exe file which does functional testing on PCBs. I do not have the source code. I know that any exe can be controlled via command window, however i want to know if there are any other ways...

    The idea is to automate the process. Currently to run through the whole process the operator needs to click on a "continue" button several times.

    Instead of doing this, I want to simulate keystrokes of tab+tab+space on Labview.

    Can i redirect the keystrokes to effect the software running and not Labview?

    Thanks!

    LSH

    You can set the mouse position and generate a click event programmatically.

    There is an example somewhere on NI's Website.

    maybe this one

  12. If I understand correctly, I don't think you need a VI for the writing, as you can just use the OpenG VI directly.

    Well.. yes, I could just drop the OpenG VI but my goal is to encapsulate everything into the polymorphic VI. What I like to have is a polymorphic VI that has all the VIs to read/write all my section clusters. (I often have a config file with about 10 sections, each of which corresponds to a typedef cluster) So the "write" VI has to be created has well, but you are right, it shouldn't be very complicated.

    For the read VI, if I'm understanding correctly, you basically just want a wrapper around the OpenG VI which will also use the Variant to Data primitive to output the cluster. Is this correct?

    Yes again.

    It doesn't sound too hard, because as you said some of the harder parts have already been handled.

    Absolutely, I'd be very surprised if it hadn't been done yet.

    All the pieces are ready, the puzzle can be built.

×
×
  • Create New...

Important Information

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