How do I use a LabView example (?

Hi, I need to control a Tektronix AFG3022 function generator with LabView to do basic instructions such as change Frequency, Amplitude, and offset. I downloaded a driver for the funtion generator, and it came with an example that seems to fit my requirements perfectly. I just dont know how to use it.

You are free to use or abuse it as you want. Is the problem that it is not working. Do it have a broken arrow? Or is it something else
Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)

Similar Messages

  • How can I use the LabVIEW Symbol Editor as a Sub-VI?

    How can I use the LabVIEW Symbol Editor as a Sub-VI?

    mc-hase wrote:
    > Thank you for your ansver.
    > That means that you see no possibiltiy to use the built in window? (I
    > think the built in window is programmed with LabVIEW as well...)
    The icon editor at least up to version 7.0 of LabVIEW is not written as
    VI but directly implemented inside LabVIEW, which is written in C/C++.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • How do I use a Labview Enum as a Variable Parameter for Teststant

    I have a Labview VI that performs a relay setup based on a Port selection that is an Enumerated  Type Def. The Control comes in as a drop dwon box in test stand. The question is how can I use that same dropdown as a variable to pass into a subsequence. I am not sure how to get it to show up as a custom  Type in test stand. I am using Labview 8.2 and Test Stand 4.0
    Thanks,

    As of TestStand 2010 there is not a way to natively create enums in TS.  A quick google or bing search using "TestStand Enum" should reveal all those who have tried before you.  I believe that in the Ideas Exchange there is already a note to have TS do this and I'm positive the TS developers are aware...
    In answer to your question you will have to save it as a numeric and pass it down to the sequence.  Or I kinda like this idea:
    http://forums.ni.com/t5/NI-TestStand/Using-Enumerated-data-type-in-NI-Teststand/td-p/773312
    Regards,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • 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?

  • How can I use a labview VI as a CVI instrument driver

    I have a VI for the Keithley 485 that would like to convert into a form usable by CVI. I don't have labview so I cannot generate a DLL based on the VI.

    daquiry:
    I've downloaded the 485 driver from both the NI Instrument Driver Network and the Keithley site, any they are both written natively in G (LabVIEW). The driver is rather simple, and is just making 488.2 / VISA calls. Keithley's site also doesn't offer drivers for the 485 in any language other than LabVIEW. This surprises me. I would suggest contacting Keithley and verifying that no C driver exists for the 485. If that's the case, then you may have to write a driver yourself. The 485 Quick Reference guide should have a description of all the available GPIB commands, along with sample code. Since you probably won't need the full range of functionality of the GPIB interface, writing a driver for what you do need shouldn't be t
    oo bad.
    I've written a short instrument driver which contains only a simple read() function. In implementing this, I've endeavored to translate the G code into C, but unfortunately, I don't have an instrument, so I haven't been able to test it.
    Hope this helps..
    -- Chris
    Attachments:
    cviKe485.zip ‏5 KB

  • How do you use the bluetooth VIs with a Microsoft Bluetooth Driver?

    How do you use the LabVIEW Bluetooth VIs with the Microsoft Bluetooth driver?  I have been trying with no such luck.
       I want to use 2 computers to talk to each other using the bluetooth VIs.  Eventually, I think we would like a PDA/phone to talk to a custom built electronics board with Bluetooth.  But for now, I would just like 2 computers to talk and then eventually talk to our own device. 
    One is a desktop w/ the Belkin F8T012 USB adapter.  It installs fine with the Belkin driver (but I know I need to use the Microsoft Driver in order to use the LabVIEW VIs, but I have tried to get Windows to install its own but it says it is a BCM92045DG-Flash.  It says it cannot install it because it cannot find the necessary hardware.  I thought this USB adapter was on the approved Bluetooth devices list?  What else should I try?  Another Bluetooth USB adapter? 
    The other computer is a Dell Latitude 820.  It has a built in Bluetooth module which I believe is the Dell 350 Bluetooth Module.  On this machine I have been able to setup a COM port with a bluetooth device (blood glucose meter).  It came with a serial port interface which we modifed to go through a bluetooth interface.  It comes up as COM40. We have been able to communicate to it using their program originally designed to talk through a serial port.  But we would like to use the Bluetooth VIs in LabVIEW.  I can't even use the Discover VI.  Perhaps it is not using the Microsoft Driver as well.  Do I just uninstall the driver and then try to have Windows install its own driver?  Do you have any other recommendations?
    Thanks,
       Javi

    Hi Javi,
    This sounds like an issue with Windows and your specific Bluetooth devices.  As you mentioned, the LV Bluetooth VI's do require that the devices use the Windows drivers.  Take a look at this link for specific requirements for using Bluetooth with LabVIEW.  Also, you can take a look at our Developer Zone tutorial on designing Bluetooth applications a found here.  Regarding your device drivers, sometimes it is as easy as uninstalling the driver and then letting Windows discover the device and fine its own driver.  You could check out the Microsoft Knowledgebase for more information.  Thanks and have a great day!    
    Stephen S.
    National Instruments
    1 Test is worth 1000 expert opinions

  • How do we use if statement in labview?moreover can i use if statement inside for loop?

    how do we use if statement in labview?moreover can i use if statement inside for loop?

    The if statement in LabVIEW is the Case structure. You can find that on the Structures palette right next to the For Loop. If you're still on the same subject about terminating a for loop early, then what you do is enclose your functions inside the loop with a case statment and make one of the case's empty except for one or more constants that you might have to wire. Hopefully, the attached picture will explain what I mean. Also, as I mentioned in one of your other posts, I think this technique is not as good as using a while loop. The array in the attached example is the same size no matter what and you may have to handle stripping extra or invalid elements.
    Attachments:
    For_Loop_with_Case.jpg ‏21 KB

  • How do I use "LabVIEW dll import wizard" to import NETAPI32.dll

    I am trying to use the LabVIEW dll import wizard for the first time. I am not very familiar in C-coding so this might be a good help instead of configuring CallLibraryFunction nodes myself.
    I want to import NETAPI.dll. I am interested in several functions in that dll, but my main priority is the funtion NetUserGetInfo(). On MSDN I have found that the header file for the mentioned function should be: lmaccess.h (include lm.h).
    My problem is this:
    The shared library contains 317 function(s). But no function is found and recognized in the header file. The following function(s) cannot be wrapped. If you want to import these functions, please review the warning messages next to the functions below. You will need to fix the problems before you can continue with the wizard.
    The function cannot be imported into LabVIEW. This might be caused by one of the following problems:
    The function is not declared in the header file but is exported in the library.
    Check the header file to make sure it contains declarations of the function.
    Undefined symbols can prevent the wizard from recognizing functions and parameters. To correct this problem, check the header file to determine if you must add predefined symbols. Click the Back button to return to the previous page of the wizard to add a predefined symbol (for example, "NIAPI_stdcall = __stdcall" or "NIAPIDefined = 1").
    MIDL_PASS;_STDCALL_SUPPORTED;__cplusplus;
    Any suggestions how I can solve my issue?   

    astrid wrote:
    I am trying to use the LabVIEW dll import wizard for the first time. I am not very familiar in C-coding so this might be a good help instead of configuring CallLibraryFunction nodes myself.
    I want to import NETAPI.dll. I am interested in several functions in that dll, but my main priority is the funtion NetUserGetInfo(). On MSDN I have found that the header file for the mentioned function should be: lmaccess.h (include lm.h).
    My problem is this:
    The shared library contains 317 function(s). But no function is found and recognized in the header file. The following function(s) cannot be wrapped. If you want to import these functions, please review the warning messages next to the functions below. You will need to fix the problems before you can continue with the wizard.
    The function cannot be imported into LabVIEW. This might be caused by one of the following problems:
    The function is not declared in the header file but is exported in the library.
    Check the header file to make sure it contains declarations of the function.
    Undefined symbols can prevent the wizard from recognizing functions and parameters. To correct this problem, check the header file to determine if you must add predefined symbols. Click the Back button to return to the previous page of the wizard to add a predefined symbol (for example, "NIAPI_stdcall = __stdcall" or "NIAPIDefined = 1").
    MIDL_PASS;_STDCALL_SUPPORTED;__cplusplus;
    Any suggestions how I can solve my issue?   
    Sorry I forgot the attachment, but here it is.
    Attachments:
    NETAPI32.doc ‏103 KB

  • How can I print a LabView report using the printer font (not a windows font)?

    My printer is connected via a com interface. For speed reason I have to use the font of the printer. I use the report generation VIs to generate my report. With the VI "Set Report Font.vi" its possible to choose a font but I think only windows fonts are accepted.
    Printing from "WordPad" using printer fonts is no problem, just select font "15 CPI" for example. But how does it work with LabView?

    Have you already tried this in LabVIEW? What results did you receive when you tried it?
    J.R. Allen

  • How can i use labview.tl​b to control Labview from an external applicatio​n?

    Hi,
    I've been told by a labview engineer that i could use the file
    labview.tlb located in the labview install folder to control labview
    from an external application (in my case, a C# app). I'm using Labview
    6.1 under Windows 2000. This article confirms that:
    "ActiveX and LabVIEW"
    http://zone.ni.com/devzone/conceptd.nsf/webmain/54​01BE584FBAEECE862567C2006D36C7?opendocument
    But i've not been able to find out how to use this file to achieve
    what i want. I just want to be able to open/close labview, open/close
    a vi, start/stop a vi, hide/show a vi from a C# application. The above
    web page talks about activex but i really don't see the realtion
    between activex and that labview.tlb file.
    Is there so
    mebody around who knows how to use that file? Why does NI
    tell us that it's possible to do what i want to do but doesn't explain
    how (or hides this info very well)?
    Thanks

    Hi,
    > Hi I am fighting a similar problem and so far I found this: Calling
    > LabVIEW from C++ Using ActiveX
    >
    > http://sine.ni.com/apps/we/niepd_web_display.DISPL​AY_EPD4?>p_guid=B45EACE3E21356A4E034080020E74861&p​_node=DZ52051&p_submitted=N&p_rank=&p>_answer=&p_s​ource=External
    Thanks for the link, i actually already found this link before. I've
    found yesterday how to use Labview.tlb, just add it to the references
    of the project, it was probably too easy for me at that time:-) But
    now, i'm still stuck as there is no doc about using the interfaces and
    classes of this activex to control labview.
    The example given on your link is made is C++ and for some reasons,
    the wrapper generated for Labview.tlb when i added it to my c# project
    doesn't seem to expose the same
    interfaces and classes as the one used
    in the C++ example. I therefore can't use the C++ example in C#.
    I've tried to do something like:
    LabVIEW.ApplicationClass a = new LabVIEW.ApplicationClass();
    Just this line causes labview to launch but then immediately throws an
    exception: "Query interface for interface LabVIEW._IApplication
    failed".
    Does somebody knows how to use that control in C#/VB.NET ?

  • When using the LabVIEW Simulation Module, how can I start a frequency sweep with the Simulation Chirp signal generation VI at an arbitrary time after the simulation initial time?

    I'm using the Simulation Loop on LV RT when interacting with some hardware (i.e. all I/O is happening in the Sim loop). I'm going to conduct a frequency sweep test on the hardware and want to use the Simulation Chirp function. However, there is no way (that I can see) to trigger the Chirp to start at some event (i.e. I click a boolean on the front panel and enter a case statement). The Chirp is tied to the global time of the Simulation loop and so are it's input parameters. Is there a way to make it relative to some time at which an event happens?

    Craig,
    Your solution will 'cut' the beginning of the signal and only show the signal afterwards.
    To control when the chirp should start, the best option is to use the Chirp Pattern.vi ( in the Signal Generation palette) and use a Lookup table to control when to feed the time. The shipping example (in LabVIEW 2013) shows how to code using a lookup table.
    C:\Program Files (x86)\National Instruments\LabVIEW 2013\examples\Control and Simulation\Simulation\Signal Generation\SimEx Chirp.vi
    Then, to start from a toggled boolean, look at the example:
    C:\Program Files (x86)\National Instruments\LabVIEW 2013\examples\Control and Simulation\Simulation\Signal Generation\SimEx Step.vi
    and Here is the example in 2013 (in attachment):
    Barp - Control and Simulation Group - LabVIEW R&D - National Instruments
    Attachments:
    SimEx Chirp with Delay.vi ‏241 KB

  • I would like to detect all the keyboard key is okay, but not every key can be detected by using LabVIEW example, keyboard keycode

    I would like to detect all the keyboard key is okay, but not every key can be detected by LabVIEW example ( we can use 『basic input demo.vi』to detect normal key』.
    I want to detect some 『hot key』 for example some keys exist in the upper part like 『search key』、『e-mail key』、『volumn control key』...etc. They are very often to be watched in some new keyboards, but we still don't know how to detect if their functions are okay.
    Can we detect signals of these 『hot key』 in LabVIEW? We can apply these hot key's functions in XP, so we should detect their signal, I think, but I can't do it.
    I serach some information about this question, and somebody said we can detect hot key's signal by grabing 『keybode』 these hot key feedback. But I don't know how to do these. I can't use VC. So anyone can give me a LabVIEW VI to grab keycode? Or any other solution we can detect all the key on the keyboard, including hot keys?
    Thanks!
    Regards,

    Maybe that is the limitation of Acquire Input Data.vi.The vi can't identify the Unformal key.
    You can try to use Event structure and set to listen "key down" event.
    There are two terminals VKey, ScanCode will sent out the information when you press key.
    There are two pictures in attached file, 2.jpg will show you the detail.
    Good luck.
    Attachments:
    SpecialKey.zip ‏17 KB

  • How can I use the CAN MODULE in LABVIEW 6i?

    How can I use the CAN MODULE in LABVIEW 6i?
    HELP ME! PLEASE

    Not sure what your real question here is, but I'll take a stab at it.
    The NI-CAN drivers (module) only work with the NI CAN cards. If you have a different vendors card, you'll have to contact them to see if they have LabVIEW drivers.
    If you do have a NI CAN card, then you just need to install the NI-CAN drivers and you're ready to go. Have a look at the examples for help in getting going.
    If you're having a specific problem, please give us some more details and we may be able to help out a bit more.
    Ed
    Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
    Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.

  • How can I control a LabView VI using a C++ script/program?

    Hi,
    I am a developer of a satellite communications system that is being used in
    a satellite project I am working on at the University of Colorado - Boulder.
    The project is called 3CS. We have built a simple LabView program that uses
    some of the server routines to transfer data via TCP/IP protocol. The basic
    VI initializes the radio hardware at the site the satellite is currently
    over and then opens a data stream. The data is then downloaded back to our
    servers via secure VPN. My question is this: How can I control a VI using
    a language like C++ to execute certain parts of the VI. I basically have a
    VI that listens for radio packets. My program then strips off the satellite
    radio ID and protocol information
    . I need to get this information into the
    VI remotely through a C++ script. Any help would be greatly appreciated.
    Sincerely,
    Ryan R. Fligg
    Colorado Space Grant College
    Electrical and Computer Engineering
    University of Colorado - Boulder

    Hello fellow Boulderite,
    The easiest way would probably be to use the application builder to create a DLL from the VI. The other option is to use the LabVIEW ActiveX interface. There are some examples of using C++ to control LabVIEW in the example library of the NI Developer Zone.

  • Labview example for data capture using 5102 scope card

    How can I program a Labview Vi to control, and capture a waveform using the 5102 scope card. I need to be able to set it up to continually capture a waveform (Channel 1 and Channel 2) when triggered on a rising edge of channel 1 and then store the data on disk automatically, then wait for the next trigger.
    Any help or tips as to how I could do it would be helpful.
    Thanks
    Allan

    Allan,
    Please find the attached zip file that has some useful LabVIEW examples with scope 5102
    Zvezdana S.
    National Instruments
    Attachments:
    scope.zip ‏181 KB

Maybe you are looking for

  • Exception in switch condition

    When I compile the following fragment of BPEL: <switch name="switch-6">      <case condition="bpws:getVariableData('precio') < bpws:getVariableData('OfertaAlsa','','/tns:OfertaViaje/tns:precio')"> it raises the following exception: [bpelc] [Error de

  • New PPDS implementation new system

    Hi Gurus,                What are pre-requisites for the new APO system? What are the things need to be done from consultant side? I am planning parallel processing and how to deal with it? Please let me know what are things i need to consider for th

  • How to display both total and subtotal with condition on

    Hi Experts, We had a special requirements from our "Powerful" user for a top sales ranking report: say user runs for top 10 customers, query/view (It has to be built as query/views because they are going be exported to Portal) need to show 1. sub tot

  • Ipod shuffle 4G

    My daughter just got recieved one of these as a prize in school. She has downloaded music from her laptop to it, now, it will play the music with no problem when it's connected to the computer but with the headphones plugged in it say's please sync m

  • Where to insert memory card on hp envy all in one

    Where do I insert a memory card on hp envy in order to print a photo?