How programmate a waveform arbitrary in LabView for an AFG3102C?

I am trying to send a LASER pulse which is controlled by the CH1 of my signal generator. This is typically a 1us pulse, followed by a variable period (of 300ns to 10us) and then another pulse LASER to 1us.

I don't see how I could program in LabView without using another program (i.e. Visual Basic).

I'm using LabView 10.

LabVIEW is capable uber; including in the instrument control.

There is an instrument driver for the AFG3102 provided on the Web site of NOR. Download you and use the library of Virtual Instruments (VIs) comes with the LabVIEW environment. There are tutorials on how to do it. You can see the libraries supports GPIB/USB/Ethernet, so you must use one of these protocols to connect to your device, and then configure it within your own LabVIEW VI; You can reference the file 'Plug and Play' on the page driver instruments first to see how the device is controlled in LabVIEW for a sample application.

Tags: NI Software

Similar Questions

  • How the resets are generated in LabVIEW for FlexRIO

    All,

    My background is VHDL and Verilog for FPGA and ASIC implementations.  I guess LabVIEW has a point, an only synchronous reset to all of its logic.  I create a design that is going to be sections of VHDL IP, through IP integration node is instantiated. When writing to the top of my spec, I need to describe how a reset is spread to all the flops in the design that will be peer-reviewed of accuracy of the results. I need to understand exactly how LabVIEW handles resets to other areas of the clock.

    A simple case is the following: I have a 50 MHz external source synchronous data interface and will be a limited treatment of data in this area of 50 MHz using an IP integration node. This IP is designed to have the flops to reset synchronous on the 50 MHz clock.

    Separately, I have my most of my treatment and storage to the host (via DMA FIFO) in a field of 100 MHz clock, derived from the clock of 40 MHz I base I must transfer data from 50 MHz to 100 MHz using a FIFO.  This treatment at 100 MHz contains a floating-point operations that are reset to zero synchronously to the field of 100 MHz.

    In this scenario, you see I have two areas of clock with synchronous resets.  I need to understand how LabVIEW FPGA create reset signals which are entries to my integration IP nodes, in order to understand if I need to incorporate any reset synchronization within my VHDL circuits.

    Thanks for any help and if you need further details or context, please let me know and I find out additional details.

    -Jim

    Hey Jim,.

    So, option 2 then... in this case, you are looking at a signal of asynchronous reset and must realize in your VHDL similar to the following to ensure that your resets are say synchronously.

  • Programmatically determine the version of LabVIEW for a VI/control

    Hi all

    Given the path to control of VI / I want to get the version in which it is the last record. Is it possible to do? I do this to identify all of its dependencies - programmatically by adding to a project and getting his list of dependencies by using nodes of property & methods. Thank you for your help & time.

    Thank you

    George S

    You can use the method to get the VI Version of the Application class to get the registered version of a VI file on the disk, without loading the VI in the memory.

  • How to run Matlab code in labview for Binay coded on a file.

    Dear Sir/Madam,

    I saw a binary coded and Matlab code too, but I'm not able to open this file, so I want to open and run this file under the Matlab code. This image is what I want to do and also attached here file and matlab entry code.

    Hello

    Your script reads the data from the .dat file and gives a 3D Board. Unfortunately, MathScript currently can not handle 3D Board.

    In addition, you can use the following code to read the data in LabVIEW.

  • How to use my 2012 LabVIEW for run the LeCroy Waverunner 610Zi?

    Hi all

    I'm a fresh starter on this topic. I have the 2012 version of LabVIEW and a scope of 610Zi LeCroy WaveRunner. How can I use LabVIEW for control the scope?

    Hello sqrtT,

    I think you and I just had a phone conversation about this, and you're all set!

    I would like to know if I'm wrong and I'll give you instructions for you.

    See you soon,.

    Leonard Brown

    Technical sales engineer

    Teledyne LeCroy

  • How to use labview for controlling the HP Network Analyzer

    Hello

    I have a HP network analyzer 8720D connect with my laptop by a USB-Gbspecifications FOR cable. I want to use LABVIEW for control to parser do measurement and data collection. What should I start? Where can I get the labview program to control the parser?

    Thank you.

    Help > find instrument Drivers. Then go to the Instrument Driver Network and read all the links on the use of pilots.

  • Need help on how to make dll with VC ++ 2008 for Labview function liblary

    I use VC ++ 2008Express and you want to make the DLL.

    Since I'm using VC ++ 2008, do I have to install the 'MS redistributable"on PC what dose does not have VC ++?

    Is there any free ANSI C compiler do DLL for Labview for use with the function call in libraly?

    Yes, you will probably need the Redistributable Package. Remember to distribute the "Final" of the DLL and not the "debug".

    Regarding the free ANSI C compilers, I'd do a Google search. GNU C/C++ is a very popular.

  • LabVIEW for control unlimited, a camera and a light meter (Minolta T - 10A)

    Hello world

    I'm totally new in the use of data acquisition software, but I found out, I use LabView for continuous measures (intervals of 15 min for 1 month or maybe more), the thing is that I need to get pictures simoultanously (Canon camera EOS) and illumination (in lux) device: Minolta T-10 a vision series T-10MA. My question is what software LabVIEW do I need to buy (or my institution actually) in order to get this. I look at the options of LabVIEW software and cannot understand what is needed. Subsequently, I guess that I need controllers for each of the devices (minolta and canon). Can you please tell me if this is possible and how to do it. I would really appreciate it.

    Steph.

    The following items are required: LabVIEW full, all drivers of devices (including DAQmx and pilots of the Vision) and the Acquisition of Vision software package.

    The Minolta luxometer has a connector for a PC and some communication software (which I did not inspect) which, I suppose, would allow you to take readings.  There is a comment about current if the USB cable is connected - I don't check if there is a power connector on the luxometer (since you will need to leave it plugged in for a month, the same problem with the camera).  As far as the camera is concerned, I don't know if it is controlled from a PC - my experience has been with (the size of 640 x 480 pixels) video cameras, which are probably controlled by LabVIEW.

    As for simultaneous readings, it is something that LabVIEW did pretty well.  I advise you to consult a professional if it's anything other than a school project, maybe even hire someone to work a few week of.

    Bob Schor

  • How to change the time timestamp labview at the UTC time

    Hello

    I have table of database in UTC time field.i select and insert data in the database table based on labview timestamp controll.

    example:

    Table:

    S:no U.name PWD Epoch (UTC 1970)

    1 1450422341 123 kumar

    mock 2 786 1450421623

    the era of labview is difference from UTC time. so ADD this second 2082844800 at the time of labview that it will work for selection quary but time insert is not a job.

    Here's how to convert a timestamp of LabVIEW to a timestamp of Excel (OLE).

    Red the explainiation down and I'm sure you can figure out how to change it to get the party time you need.

  • Cannot control the color sensor in LabView for Mindstorms

    Hello!  New here.

    I'm currently boning on LabView via 'LabView for Lego Mindstorms' for a possible job in the near future, and I encountered a problem from the beginning.

    I am programming my brick Lego of LabView to simply activate the color sensor which is quite easy: I'm building a while loop and inside I have a block of color sensor attached to a block of text that displays the light intensity of the probe in the text on the brick.  I compile and run the detector turns on and I can read the intensity constantly updated on the brick.  This part works fine.  I would now like to control the light sensor (that doubles as a light source with color LEDs) on the front of the LV Panel.  The book I'm using (LabView for Lego Minstorms) says I should block sensor on the entry "generate light' do right click and choose"Create--> Control"in the menu that appears.  A Boolean command button should appear connected to the sensor block in the block Panel and a push button should appear in the front panel.  This is not what is happening.  Here, the two things are different.

    (1) I have no port "generate light" click on right-click.  This is probably using a version more day of Mindstorms that uses of the book.  It's a matter of book/Mindstorms, which probably cannot be resolved here but I hope that the next issue of problems will make it irrelevant.

    (2) I right click and create the control, but rather than create a Boolean command button as the book predicts, it creates an icon "BrickReference.lvclass".  He connects very well with the light sensor and a corresponding block is created in the front panel, but it is a paper weight that I can tell.  I can't do anything with it.  There are no buttons to push, no slider, button, button radio etc and I can't seem to change into something that somehow work.  I have delete and don't create a no kidding Boolean button from the library, but it does not connect to the photoelectric cell and so I can not compile.  So now, I'm a little stuck.

    I searched "Reference of the brick" online in the context of LabView class and have found little or nothing that talks about its definition or how I can use it to control the light via the front panel sensor.  Help with the software section is not much help, and yet I'm sure there must be a way to control a simple Lego light sensor of the façade for debugging purposes and others.

    If you know what I'm doing wrong or if you know a finish around this issue that will allow me to control a Mindstorms brick from the front in this way, please let me know.

    Thank you!

    Try to post in the forum of Lego.

    http://forums.NI.com/T5/LabVIEW-for-LEGO-MINDSTORMS-and/BD-p/460

  • How to completely uninstall a computer labview and avoid to occupy the license

    Hello

    Usually a labview can be installed on three computers. Now I already installed all and will install in another computer. So I need to uninstall one of the three and want to know how can I completely uninstall the labview. Thanks a lot for your help.

    Use License Manager TO deactivate the license.  Will release the database entry of NO, so that you are OK to activate the license even on a new machine (can't really uninstall LabVIEW - the absence of activated license will prevent the use).  As I remember reading the license agreement, you can do up to 4 times per year.

    If you do not have access to the old machine (that is, because it fell from the roof or something like that) call OR service and they can manually remove activation.

  • How can I create an event listener for the change of variable shared or similar?

    Hello

    I have a 'big' 6 devices communicating measurement system via the TCP protocol. The system is designed to use REST (the representative State transfer) with JSON (JavaScript object notation).

    Now, I need to add labview program to this environment. I've implemented a solution to 'work' with the help of this forum. Thank you for this! Now, I need to do better (currently no timestamps, large delays, etc.).

    I currently have a web service deployed using http-get as input. My web service .vi is just passing the web entrance to shared variables that are then questioned in real measurement program. Reason is that when I put the measurement program directly to the web service, it does not (something about rights and dependencies). Measurement program includes one third of the owners (Instron) drivers. Also I would not direct access via the network to our mechanical testing device potentially dangerous.

    Now, I want to change the message from the web services .vi commensurate .vi. Currently I have a loop of 10ms to query for changes in the shared variable. Is there a better way to do this? I thought create a listener to the shared variable change events.

    In addition, if you have any ideas (preferably, working code example) how to make the interface between labview and TCP-JSON I would really appreciate it.

    BR,

    Juha

    Currently in LabVIEW, the only way to create an event listener or event NSV is to use the DSC toolkit.  Most of the time the DSC is a very expensive tool that simply encapsulates the functionality that is built into the motor of the PSP and OAS and which is accessible to anyone who can program in LabWindows/CVI.

    http://zone.NI.com/reference/en-XX/help/370051P-01/CVI/libref/cvicnvcreatesubscriber/

    If you want to collaborate, I would like to create a small library of LV that would create a base SV events using a vi LV reminder or possibly passing return user LV event which is how works the DSC toolkit.  I asked OR several times to explain how do this and they're very tight discreet about it.  I guess that they do not want to give users LV less reason to buy the DSC.

  • How to define a macro in labview

    Can you please tell me.

    How to create macros in the labview.

    As mentioned below

    #define sqrt (x) (x * x)

    LabVIEW has no macros, but this is a programming language that can do almost anything.  Please after a few g Trainin LabVIEWor the Skills Guide for beginners.

    Edit: I also found this individual to the pace of training.

  • is it possible to tell me how I can make program in labview that take black and with image pixels and give the coordinates of black or white pixels again to me.

    Hello everyone

    is it possible to tell me how I can make program in labview that take black and with image pixels and give the coordinates of black or white pixels again to me.

    It depends on the image and the module LabVIEW available to you. LabVIEW can open bitmap and png files and convert them into tables: if it's really a monochromatic (depth of 1 bit) you get a table 2D boolean, T for white, F for black. Just look at the index of the item to its details (don't forget that LabVIEW does not use the order of rows and columns, so you must transpose and reflect the table). If you have a 24 bit bitmap, the table will contain the color in hexadecimal synthesis (000000 for black, FFFFFF is white and so on); Yet once, you simply check if the element of the array correspond to your requirements and get its index.

    With the vision that you module con open other pictures and perform advanced on them without convert them into tables. Anyway, you can just type the extension of your image using LabVIEW and see what you get.

    Here is a code snippet to open a monochromatic image

  • drivers LabVIEW for agilent e4432b, cannot find the way to control multitone?

    drivers LabVIEW for agilent e4432b, cannot find the way to control multitone? How to deal

    Hello Brownheart,

    Drivers for the instruments aren't supposed to cover all applications use of instruments, only for the most common uses. No matter if multitone is a common use for this instrument, a brief review of the functions available in the driver does not have this feature.

    What you have to do is to create your own config VI using the information of the use of the programming unit. Is not ideal, but at least the driver NOR provided gives you a starting point for adding this feature.

Maybe you are looking for