Jump to content

Yianni29

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by Yianni29

  1. John Lokanis, which is your idea? Can you provide us with a direct link?

    My idea is for True .NET Support

    http://forums.ni.com/t5/LabVIEW-Idea-Exchange/True-NET-Support/idi-p/977884#A2106

    I basically think that NI should spend some more time and effort making LabVIEW inter operate with other programming languages and technologies better because I hope to use LabVIEW to co-develop applications already written in other languages!

  2. The code in the image seems to be OK, but I can't test it, since I don't have 8.2 and my version does not support .Net container. If you want a certified answer, you should talk to Brian Tyler, who's the head of the LV .Net integration team.

    You can do that by posting to the NI forums or (if he doesn't anser that) by finding his email address in his blog. It would also be useful if you post the answer here afterwards.

    Cool, I will look him up.

    Basically, I think that one of the required functions to show a databinded control is missing from the LV implementation. Speaking with him sounds like a great idea! (DataBinding works when I wrap up the control into my own custom control... still working on it though)

  3. John,

    are you totally fresh on LabVIEW? Maybe you are not fully adapted to the dataflow (or other paradigm shifts)?

    Could you post your LV code?

    Ton

    I got CLAD, and I have already verified that the DataSet does get properly passed by creating my own custom .NET user controls and doing the same thing. I guess I should specify that some .NET experience is required to understand what I am talking about. But either way, I will end up teaching some stuff about .NET to the rest of you guys, and you guys will teach me something about LabVIEW!

    post-6932-1164718617.jpg?width=400

    Download File:post-6932-1164719124.vi

  4. Hi, I am a recent Microsoft-land programmer who has swallowed the blue pill and converted to LabVIEW and I was trying to get databinding working in the LabVIEW environment as if I was in .NET.

    I am attempting the following from LabVIEW (and .NET 2.0):

    (1) Create a System.Data.DataSet object, create one DataTable and populate it with two rows of data.

    (2) After I create this dataset, I use the regular .NET functions (via LabVIEW) to verify that the data is accessible and properly written to such DataSet.

    (3) I then databind this dataset to a DataGridVIEW control that I have placed inside of a .NET container on my Front Panel.

    Unfortunately, for some reason the databinding fails. I have written my own custom controls and have already verified that passing a DataSet to a .NET control works, so before I dig into all of the Microsoft Whitepapers and reinvent the wheel several times, can anybody tell me if they have had any success using .NET controls and databinding in LabVIEW? My goal is to use .NET controls (as advertised by NI) in my LabVIEW programs so that I can harness the power of these .NET controls instead of having to use the controls that already come pre-package with LabVIEW.

    I will post my results as I continue my investigation into this.

    Thanks,

    John

×
×
  • Create New...

Important Information

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