LabView Control (.ctl) to VB Structure

I created a control in LabView.  My LabView
code writes data of that type to a binary file.  I want to read this
data into a VB Structure.
Can I do this programmatically,
or do I need to manually create a corresponding structure?

One end or the other will have to do some translation of the data. Are you saving clusters? If the data type is a simple type such as an integer or a double or an array of this type you should be able to read it directly. If it is a cluster than you will have to do some translation. Which side you do that on is up to you. Also, the write to binary VIs can place some header information (namely the array or string size) so you either have to not write this data or account for it in your VB program if you will perform the translation on that end.
Mark Yedinak
"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot

Similar Messages

  • Need help reg labview control *.ctl

    What are the uses of creating labview controls i.e. *.ctl and how to do  this?
    thanks in advance.

    The simple answer as ssk pointed out is that it will save you lots of time using a custom control because when you need to modify it, you only need to change the master. 
    To create one, simpy select under the Files menu, New, and browse to the bottom to select Custom Control.  See attached image.
    FILES>NEW>Custom Control
    Message Edited by JoeLabView on 10-03-2007 08:01 AM
    Attachments:
    customCtrl.PNG ‏40 KB

  • Can you share FP Controls between different Event Structures

    I'm creating a program that will either read real-time data from an VNA on the GPIB bus, or read a saved s2p (Agilent) file and analyze it. The FP consists of 5 graphs, and various controls which handle events like printing, changing filters, or exiting. on the BD I have a case structure controlled by an operator selection pop-up. I tried using the same FP controls in the event structures I have setup in each case, as only one event structure would ever be executing at any given time, but the program doesn't seem to like it ast run-time. I've worked around the issue by creating "duplicate" controls and using the property setting to make them visible/disabled, etc., but the is seriously congesting my BD.
    Anyone know a way to share controls with seperate event structures?

    It sounds like the root problem is the overall structure of your program. I highly recommend that you check out the Queued Message Handler project template in LabVIEW 2012, that will show you how to utilize a single event structure and pass events to a consumer loop. If you program is too large to consider an architecture change at this stage of the game, then there is a workaround for your problem.
    What is most likely happening is that you have the event structures all set to lock the front panel until the event completes. However the case structure that you have wrapped around these event structures is causing all but one of these event structures to be unreachable thus preventing you from handling the event. Again, as I stated above, the "RIGHT WAY" to fix this is to select a better program structure but the "kluge work-around" fix is this: Dynamically register for the value change event on all of the controls you are trying to trap events for. Dynamic events can be deregistered and re-registered at run time. This will allow only the event structure in the active owning case structure to be registered for the events, thus no other event structures will get in your way.
    Disclaimer: This advice is given based on very minimal information and a great deal of speculation and may not be correct. Please include your code if you need further assistance.
    Charles Chickering
    Architecture is art with rules.
    ...and the rules are more like guidelines

  • Check if VI is a control (.ctl)

    Given an array of VI references, is there a method to determine which VIs are actually controls (.ctl files)?  (Other than getting the path and checking that the file extension is .ctl.  I was hoping for a more direct way.  )
    Thanks,
    Joel
    Solved!
    Go to Solution.

    If you already have a VI reference, you can read the "VI Type" property and see if it is equal to "Control VI".
    -D
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • Labview control error

    i am not able to open a labview control that i found,
    It says it is not a resource file,
    can anyone comment on this.
    Regards,
    Shrenik
    Attachments:
    buttons.ctl ‏193 KB

    Hi Shrekt,
    all I can say is: your file is definitely no LabVIEW resource file! (Just look at LV ctl files with a text editor and compare the first 10 bytes...)
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • How do I use a LabView control element as ActiveX Control in another application?

    I am was trying to include some simple ActiveX Controls(sliders, buttons) in my VBScript. It worked with other ActiveX Components from the web, however I wasn't able to include the LabView ActiveX Controls because I was missing the necessary IDs. Moreover I was able to test the LabView control by inserting it into the VC++- Test Container. But I still can't find the necessary IDs...

    I don't believe that any of the LabVIEW controls (except for 3D Graphs) are ActiveX controls so I'm not sure what control you were able to insert into the VC++ container. What's the exact name of the control? NI does have ActiveX controls that are part of Measurment Studio so maybe it's one of those that you're using?

  • I want to use labview controls in VB ? how do i do it

    i want to use labview controls in VB ? how do i do it?

    The easiest way to do this is to create a LabVIEW DLL and call it from vb. So write a vi in labview with the front panel you want and then compile it into a dll. The only problem with this is that when vb calls the dll nothing else can happen in vb. Hope this helps.
    BJD1613
    Lead Test Tools Development Engineer
    Philips Respironics
    Certified LV Architect / Instructor

  • How to use Expression Edit in the LabVIEW control (teststand category)?

    Hi All,
    I am developing the teststand specify module using LabVIEW. I found that is Expression Edit control in the Labview Controls pallete. does anyone have any example?
    I have enabled the expression browser button but I dont know how to link it to the teststand. Pls advise.
    Thanks
    - toko -

    Hey Toko,
    You basically need to refer the button to the sequence context.  For a great description of this and an example, please refer to this previous discussion forum:
    http://forums.ni.com/ni/board/message?board.id=330&message.id=10609&requireLogin=False
    Thanks,
    Andy McRorie
    NI R&D

  • LabView Control System Engineer Job Opening - Seattle

    LabView Control System Engineer Job Opening - Seattle
    Seattle Safety is looking for a qualified individual to fill an
    opening for Software Controls Engineer.  Seattle Safety designs,
    manufactures, and installs advanced crash test sled systems that are
    used in automotive and aeronautical industries.  The duties of the
    Controls Engineer include:
    Maintain existing control software code base, written in LabVIEW (including the Real-Time Module).
    Improve existing software based on requirements and requests from customers and colleagues.
    Troubleshoot and repair any functional software bugs that may arise.
    Continuously investigate opportunities for system improvement through new or alternative hardware or software approaches.
    Support installations of crash test equipment at on-site locations worldwide.
    Provide technical support for team members locally and abroad
    in subject matters concerning performance, installation, and
    maintenance of software and data acquisition hardware.
    Maintain professional relationships with suppliers and vendors in order to keep up with industry developments.
    Furthermore, the ideal candidate would possess the following skills:
    Beginner-to-intermediate knowledge of LabVIEW.
    Passing understanding of binary logic.
    Familiarity with at least one low-level programming language (Assembly, C, COBOL, etc)
    Ability to analyze empirical data against theoretical predictions to enhance and improve mathematical model of system.
    Familiarity with data acquisition concepts and hardware.
    Ability to troubleshoot electrical and electronic systems at the module and equipment level.
    Discipline and organization with respect to software
    maintenance and version management.  Experience with source
    configuration management tools a plus (CVS, ClearCase, Perforce, etc.)
    Experience with sophisticated high-speed feedback control systems
    General skills in areas such as frequency domain analysis,
    systems analysis, digital filtering, and both linear and non-linear
    signal processing.
    BSCS, BSEE, or BSCmpE are preferred but not required depending on experience.
    Ability to work both alone and with colleagues to solve problems and to weigh the merits of differing approaches.
    Pay is commensurate with skills and qualifications of the applicant.
    Contact:
    Seattle Safety
    John Covey
    (253)395-4321
    822 3rd Ave S
    Kent, WA  98032
    [email protected]

    Dear Sir / Madam,
    I am an experienced engineering professional skilled in Post Silicon Validation by Automating using LabVIEW, Power Measurements, Jitter Measurement & Analysis, Audio Characterizations, Silicon Validation Test Cases, Multi-Channel Data acquisition and Triggering using NI DAQ Cards, Control Systems, Serial Communications using VISA and Serial I/O Interface, Code Native Interfaces, Call Library functions to interface with third party and custom dlls, ATMEL and PIC Micro Controller programming, Temperature Controllers like Honeywell, ESPEC-641, TestEquity 115, Hand held terminal programming to drive servo motors, C/C++/VB Programming for developing embedded applications.
    Good experience on Windows API, protocol implementations, ARM11 & ARM7TDMI on-chip programming using Register Map and Pinout Specs using C/C++ Metrowerks Code Warrior and MULTI-ICE for ARM Debugger.
    Looking for L1/H1 Job
    Thank you for your time and consideration.
    Please find an attachment of my resume in MS-Word format.
    Sincerely yours,
    K.Sowjanya. B.Tech
    Message Edited by Support on 04-04-2008 08:39 AM

  • Senior LabVIEW Controls Engineer--GOLDEN, CO

    JOB DESCRIPTION
    Vehicle Projects Inc is seeking a full-time, senior controls engineer for the development and demonstration of high-power hydrogen-fuelcell rail vehicles. For background on our rail-vehicle program, please google the keywords: (“fuel cell locomotive” “vehicle projects”). Responsibilities of the position include:
    Overall fuelcell powerplant control system design, including integration with the vehicle control system
    Computer modeling and simulation of hybrid powerplant operation
    Design and development of complex LabVIEW control system applications
    Preparation of electrical drawings, specifications, and test plans
    Participation in laboratory and field testing of subsystems and vehicles
    Data analyses
    Part-sourcing and ordering of hardware
    Support of hardware-build activities
    Occasional technical support to other staff members’ projects, including research
    Travel to build-facilities, test sites, and demonstration sites (based on the past 12 months as a sample, this position requires 17 % of work-days on travel)
    QUALIFICATIONS
    The successful candidate must demonstrate the following qualifications:
    Self-motivation and ability to learn quickly
    Self-confidence to thrive in the high-risk, high-reward R&D environment
    8-10 years of experience with LabVIEW, including 4 years each with Realtime and FPGA Modules
    Experience with the National Instruments cRIO platform
    Experience with CAN communications
    Familiarity with Ethernet networking
    Ability to work closely with skilled trades people and understand the practical side of system design
    Excellent communication skills, including the ability to interface with multiple international design teams
    Excellent hands-on and troubleshooting skills
    MS degree in Electrical Engineering, Computer Science, or Controls Engineering is preferred
    Interest in scientific disciplines and having a scientific mindset are a plus
    While the ability to learn fuelcell and hydrogen technology is essential, in-depth knowledge of fuel cells and hydrogen is not a prerequisite for the appointment.
    COMPANY
    Vehicle Projects Inc (since 1998), based in Denver/Golden, Colorado, serves the transportation industry by developing and demonstrating prototype hydrogen-fuelcell vehicles that address worldwide societal problems such as energy efficiency, energy security, and global climate change. Once a fuelcell prototype vehicle is built and tested, we provide it to industry for demonstration under working conditions.
    The company has two independent associated nonprofit research organizations: Fuelcell Propulsion Institute (since 1996) and Supersonic Institute. The Fuelcell Propulsion Institute laid the foundations for the current development of railway locomotives. Supersonic Institute conducts research and educates the public on supersonic vehicles fueled by hydrogen.
    Industrial clients and co-funders of our projects have included Placer Dome Mining Company, Newmont Mining Corporation, Caterpillar, Mitsui & Co (Japan), and BNSF Railway Co. Government funders have included the US Department of Energy, US Department of Defense, National Institute of Occupational Safety and Health (NIOSH), Government of Canada, and Government of Japan.
    Our state-of-the-art facility, constructed in 2007, is part of the burgeoning west-Denver (Golden) corridor of renewable-energy companies, including the nearby National Renewable Energy Laboratory (NREL). Metro Denver (www.metrodenver.org), with a population of three million, is a well-managed city located at the base of the Rocky Mountains. With an average annual temperature of 50 F, low humidity, and 300 days of sun, its moderate climate is one of many attractive features of the city. Its citizens are in the top national percentiles for fitness, health, and formal education.
    We believe our company’s most important asset is its people. New employees are selected with care, and successful employees are nurtured and encouraged to remain with the company through empowerment, highly competitive compensation, a generous benefits package, job-related training, profit-sharing, and a pleasant work environment.
    COMPENSATION
    A person of the caliber we are seeking will receive an above-average salary, employment contract, and a generous benefits package, including profit sharing.
    APPLICATION
    Apply by 4 April 2011 by sending an email-attached MS-Word letter of application, resume, salary history, and the names and contact information of three references. A portfolio in support of the application is desirable. The letter of application, addressed personally to the president of the company and using proper style for a business letter, should specifically address your qualifications and experience to undertake the stated responsibilities. Only applicants who write such a letter will be considered. The selection process includes more than one interview, a LabVIEW proficiency test, and a writing-skills evaluation. Please send application materials to [email protected].

    I am a control systems engineer with 16 years of experience designing and building large systems using LabVIEW in Albuquerque NM  and working currently for TEAM Technologies Inc. almost 15 years.
    I hold a Master Degree in Space Power Systems graduated from Moscow Aerospace University.
    I invented and implemented a message-driven and scripting controlled LabVIEW architecture which I presented couple times at NIWeeks, published in LTR, and local NI and ALVIN seminars. This architecture I was successfully used to develop projects for SNL (National Lab), WSTF (NASA), EMCORE, and etc. firms and organizations.
    My expertise areas are: 1) Mechanical Engineering; 2) High Temperature Energy Converters; 3) Thermodynamics 4) Digital and Analog Electronics; 5) Programming: LabVIEW,  C, embedded microprocessors (ARM, Cortex); Distributed hard real-time control with PXI and Compact RIO instrumentation.
    I have published 45 scientific papers and have six patents.
    I am NOT a certified NI LabVIEW programmer, because I believe that scientists and engineers has to have Degree Diploma only.
    LabVIEW is just a programming tool nothing more.
    Regards,
    Youri Djachiachvili
    Aerospace Engineer.
    email: [email protected]

  • High-Level LabView Control System Engineer Job Opening - Seattle

    High-Level LabView Control System Engineer Job Opening - Seattle
    Seattle Safety is looking for a qualified individual to fill an opening for Senior Software Controls Engineer.  Seattle Safety designs, manufactures, and installs advanced crash test sled systems that are used in automotive and aeronautical industries.  The duties of the Controls Engineer include:
    Maintain existing control software code base, written in LabVIEW (including the Real-Time Module).
    Improve existing software based on requirements and requests from customers and colleagues.
    Troubleshoot and repair any functional software bugs that may arise.
    Continuously investigate opportunities for system improvement through new or alternative hardware or software approaches.
    Support installations of crash test equipment at on-site locations worldwide.
    Provide technical support for team members locally and abroad in subject matters concerning performance, installation, and maintenance of software and data acquisition hardware.
    Maintain professional relationships with suppliers and vendors in order to keep up with industry developments.
    Furthermore, the ideal candidate would possess the following skills:
    Intermediate-to-advanced knowledge of LabVIEW.
    Ability to analyze empirical data against theoretical predictions to enhance and improve mathematical model of system.
    Familiarity with data acquisition concepts and hardware.
    Ability to troubleshoot electrical and electronic systems at the module and equipment level.
    Discipline and organization with respect to software maintenance and version management.  Experience with source configuration management tools a plus (CVS, ClearCase, Perforce, etc.)
    Experience with sophisticated high-speed feedback control systems
    General skills in areas such as frequency domain analysis, systems analysis, digital filtering, and both linear and non-linear signal processing.
    BSEE, BSME or BS Physics may be a good fit, but not limited to these areas.
    Ability to work both alone and with colleagues to solve problems and to weigh the merits of differing approaches.
    Pay is commensurate with skills and qualifications of the applicant.
    Contact:
    Seattle Safety
    Tom Wittmann
    (253)395-4321
    1222 6th Av N
    Kent, WA  98032
    [email protected]
    Attachments:
    ServoSled Brochure.pdf ‏1215 KB

    Dear Sir / Madam,
    I am an experienced engineering professional skilled in Post Silicon Validation by Automating using LabVIEW, Power Measurements, Jitter Measurement & Analysis, Audio Characterizations, Silicon Validation Test Cases, Multi-Channel Data acquisition and Triggering using NI DAQ Cards, Control Systems, Serial Communications using VISA and Serial I/O Interface, Code Native Interfaces, Call Library functions to interface with third party and custom dlls, ATMEL and PIC Micro Controller programming, Temperature Controllers like Honeywell, ESPEC-641, TestEquity 115, Hand held terminal programming to drive servo motors, C/C++/VB Programming for developing embedded applications.
    Good experience on Windows API, protocol implementations, ARM11 & ARM7TDMI on-chip programming using Register Map and Pinout Specs using C/C++ Metrowerks Code Warrior and MULTI-ICE for ARM Debugger.
    Looking for L1/H1 Job
    Thank you for your time and consideration.
    Please find an attachment of my resume in MS-Word format.
    Sincerely yours,
    K.Sowjanya. B.Tech
    Message Edited by Support on 04-04-2008 08:39 AM

  • Changing language of LabView controls?

    I just need confirmation. If LabView controls, like a graph, have a context menu then this context menu will be first in the language of the LabView IDE it was used with. If I build an application, then the builder includes the LabView RTE. This will also be the same language version as the IDE.
    Now , if I wanted to change the context menu language let's say to french, would it be sufficient for the user just to install a french version of the RTE? Is this correct?
    Solved!
    Go to Solution.

    You could you Import/Export strings from the menu bar to import other language text to the control on the FP.
    A programatic code for this is possible.
    -FraggerFox!
    Certified LabVIEW Architect, Certified TestStand Developer
    "What you think today is what you live tomorrow"

  • Labview control caption passed as parameter name

    Hi,
    Why is the Caption of a Labview control, when the control is assigned as a terminal on the VI connector, passed to Teststand as the parameter name ?
    I would have expected the Label of the control to be the parameter name passed to Teststand.
    In the past I've used the control's Caption to locally modify the front panel text, and the Label is used to represent the data's\variables name.
    regards,
    Gary.

    Hi Gary,
    My name is Kevin and I am an Application Engineer at NIUK.
    The original idea was to show the caption (if not empty) of a control instead of the label in case the user decides to localized the control by modifying the caption which we can dynamically change. The LV adapter stores both the caption and the label. The caption is only shown if it is not empty.
    Changing the behavior to always show labels will not affect compatibility since we already store them. Most of the time, the label and the caption are the same and if they are not the same I don't see a problem with just showing the caption. I have never seen a VI that shows both the caption and the label at the same time and if the caption is different that is what it is shown instead of the label.
    kind Regards
    Kevin R
    Applications Engineer
    National Instruments UK&Ireland

  • How i can use labview control or indicator in VB or C++

    Hi,
    I would like to use labview control or indicator in thierd party application like VB or C++ or .net. Please help me, how i can use this?
    Thanks

    You can't. A LabVIEW control is a LabVIEW internal object that has no direct link to any OS object entity on any platform it runs on. As such other applications would have no means to access that control object or interact with it in any meaningful way.
    Instead you should probably look into ComponentWorks from National Instruments. That is a collection of ActiveX (and .Net?) controls similar to the ones you find in LabVIEW, and those can be embedded into Visual Basic or any other development environment that allows embedding ActiveX controls.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • LabVIEW control which shows value in percentage

    Hello
    I am want to know about LabVIEW control which shows the values in percentege. Actuly I am using wait(ms) function and as a input i m using control but the problem is that i want values in percentage..
    Thank You

    Thank u once again for your reply
    I m explaing my problem brifly. I am attached a screenshot of my blockdiagram.
    In the diagram i used str_1 for turned on LED let say for 10 msec and in str_2 i am mesuring voltage at 5 msec. so when LED is on for 10msec then exectly at 5 msec i mesure voltage.
    Now the problem is i want to change in str_2 for constant 5 msec to control(in percentage) in wait function.
    If i give lets say 10 msec input to wait function in str_1 & in str_2  i give 70% then input of wait function is 7 msec
    if i give 20 msec input to wait function in str_1 & in str_2 60% then input of wait function has to be 12 msec..  
    I try to explain my problem though i know its diffcult to understand for someone else.. Hoping for your reply
    thank you
    Attachments:
    screenshot.jpg ‏672 KB

Maybe you are looking for

  • FRM-92101 when creating excel file through webutil

    I am getting forms error FRM-92101 error when loading a large amount of records into an excel file using webutil FRM-92101 A Network Error has occurred The forms client has attempted to reconnect to the server 1 time(s) without success I can successf

  • Customizing "Account Merge"

    I want to customize "Account Merge" function in SAP CRM 7.0. In transaction BUSWU01, I have nodes CRM010, CRM020 & CRM085 (listed in best practices). What nodes and classes I need to specify in order to be able to merge basic Business Partner data, B

  • Networking os 10.4.6 and windows

    I am having a heck of time networking win 98 to tiger. I know my log on screen name and password must match my tiger short nameand have window file sharing on. When I go and search the network on the pc, the mac computer name comes up different. What

  • How do I create a TXT record?

    I'm trying to figure out how to create a TXT record on OS X Server 4's DNS server.  Specifically for the Caching service's multiple public IP address requirements.  I'm, of course, using OS X Server's DNS implementation, but see no definitive method

  • Authorization by Funds Center - Report Painter Review

    I am providing authorization for report painter review. There is the requirement to limit Funds Center for each user to review. I input Authorization Group in the Funds Center Master Data (FMSA). The Authorization Group coding is same as Funds Center