How to control two channels of simultaneous functions AFG 3200 B generator?

The AFD 3200 B function generator has two channels. I want to use both channels generations some vague simultaneous sin. I downloaded the labview driver: Tektronix AFG 3000 Series.

I did three things:

(1) try to connect to two channels in VI.

However, all the screws of example do not support the connection of the name of two channels simultaneously.

(2) run only two signals generating VI with another name for channel at the same time.

However, a single channel runs after the other.

Do you have any suggestions?

Thank you!

Wu Yue

Hey Wu,.

You need two sine waves to be completely synchronized (aka having the same exact phase)?

If they must be synchronized, then the AFG should on the two output channels at the same time, but you will probably need to configure serial in your program.

If they do not need to be synchronized, then is there a reason why you would not be able to simply divided between the output signal two BNC? If this isn't an option, then you will probably need to make some kind of trigger to get both channels to start at the same time.

Lars L

Tags: NI Hardware

Similar Questions

  • How to control each channel of the signals emitted by the generator of digital waveforms?

    Generator has digital waveforms of 8 channels. I need to generate two different signals for HSDIO. How to change and control two different ways? In addition, how to translate pinout of the PXI-6541 to channels? I need pin 1,3,29 and 31 control signal individually.

    Thank you!!

    You need to combine your personal data in a table.  The digital waveforms is simply a numeric representation of the binary table.  It always boils down to bit 0 of each element of the array will channel 0 (or the first string that you specify in creating dynamic channels).  The next bit goes to the next channel.  My last post is very clear.  To display the table in binary, right-click on a table element, then select the display Format, then select binary.  You can also right click on the element, select Visible, then select Radix Show to display the small b before the number.  One last thing, in the display Format window, uncheck the box next to the minimum field width to use.  Then set the digital just below zone 8.  Then select Pad with zeros to the left in the box below.

    You should not use waveforms up to what learn you more about how the HSDIO operates on the input data.  It is not difficult to combine waveforms, but it is not as clear as it is using an array of U8, U16 or U32.

    Trying to explain further.  The first number to be written to the HSDIO will have this effect: Bit 0 (LSB) of the number is written to the first HSDIO string you specify.  Bit 7 is on channel 8, you specify.  If you specify no 8 channels, the bits download ignored.  If wiring in a certain number will produce only a single bit on each channel.  In other words, the number has already combines the bits of all channels that you specify.  Combine you do nothing yourself.  Return to my photo on my last post.  By wiring in a table, you cause a binary model must be generated.

    I hope that is more clear.

  • How to createt two channels in AFG3102

    I am trying to create two channels on AFG3102 but we manage only create one channel at a time.

    can you explain how?

    Hey kamils,.

    I tried your VI with material real (I have a Tek AFG 3252) and it does not resemble the generation was already enabled for the first string. So, when I ran your code it has been implemented both slots but it turned only on channel 2. I added a function to configure output on the end of the VI for channel 1. I tested the code changed with my 3252 and exits the scope and it seems to work fine. The two waveforms are identical you currently give the same data at the same time, but this can easily be changed to fit your application. Take a look at the attached VI and let me know if you have any other questions.

    Lars L

  • How to return two values of a function?

    Hi all
    I have a function which returns a varchar2 value. This value is used in the SQL of a ref cursor

    Now I want this function returns two values. I tried to use varray, but could not accomplish the task.

    Can you tell me how can I find the two values from a function? and how this function can be called in a SQL query?

    Thank you very much

    The query should look like:

    SELECT v.col.name AS name
         , v.col.flag AS flag
    FROM   ( SELECT kk_test_kk(t.somecolumn,t.someothercolumn,42) AS col
             FROM   sometable t ) v;
    

    Note that you need to prefix with the name of view inline ('v' in the example) and the expression of the function ('col' in the example).

  • How to select two channels and send to a series to write using the loop of the case

    I had a series write who have different orders to different situations. The same reading series should read both. How can I do it. Means that if I have a 500\r\nZ of the chain. I have a case, it should be - Zand 500\r\n other case + 500\r\n Z. But for boyh these cases must be read with a write serail. How can I do ITI. Help, please

    You can't guarantee that these two conditions would not be affected at the same time.  You will need to send a separate command for each condition.

    In addition, using EQUALS on floating points is dangerous.  You could never get the condition because a little really low could be turned off.

  • Control two E3631A outputs at the same time with the values of voltage defined in excel

    Hello

    It's my first time using LabView and I want to control remote E3631A power using the instrument driver. I downloaded the driver from this site http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=0475216F9FCA5335E0440003BA7CCD...

    Basically, there are two different files excel for the two output channels (+ 6V and + 25V). I'm trying to use the two output channels to review the voltage defined in excel files every second. I am able to extract data from excel, but my problem now is that I'm not sure on how to control both channels simultaneously. Could someone please help me solve this problem?

    Thank you.

    Just use the VI of output configure in drivers to set each supply individually.

  • Generating signals simultaneously on two channels (SMU-5451)

    Hello!

    I'm trying to generate 2 different signals on the two output port of my SMU-5451.

    Signals transmitted from data read from the file of PDM.

    I'm able to generate 1 1 channel signal. But I can't ' figure out how to complete the data for my 2 channels memory and let generator simultaneously press these data or their respective!

    Can any help? Maybe an example?

    Thank you!

    Hello Mr. Gambini,.

    You can find all the information to do this here:

    http://zone.NI.com/reference/en-XX/help/370524P-01/siggenhelp/5451_ni_5450_multichannel_allocation/

    Particularly:

    "To write waveform data to two channels at once, you must first striping of the data. "Once the data are interleaved, call the VI niFgen write Waveform (poly) or one of the wave functions write niFgen with the channel parameter set to"0.1"

    Kind regards

  • measure with the two channels of the virtual bench simultaneously in labview, error 375903

    Hi, I am trying two measurements simultaneously using two channels of analog input of the virtual bench. I chose the channel MSO 1 and 2 for the measures but I get error 375903 returned evewry time say the requested resource is reserved. I'm not under any other software which should use the virtual bench. The error occurs when I'm initializing the session, even before a measurement was made. Can someone tell me how to call each channel so that I don't get this conflict of resource reservation?

    I have included the VI and a screenshot of the error.

    Thank you!

    NGKai wrote:

    Hi, I am trying two measurements simultaneously using two channels of analog input of the virtual bench. I chose the channel MSO 1 and 2 for the measures but I get error 375903 returned evewry time say the requested resource is reserved. I'm not under any other software which should use the virtual bench. The error occurs when I'm initializing the session, even before a measurement was made. Can someone tell me how to call each channel so that I don't get this conflict of resource reservation?

    ASM takes only supported a session unique instrument and your VI uses two. To use both channels, delete the second session MSO and specify channels in the MSO configure Analog Channel.vi

    Here's an example that uses two channels brought:

    VirtualBench: Bode Analyzer with the FGEN and MSO

    http://www.NI.com/example/52076/en/

  • How to control the two analog outputs at a time

    I'm new to LabVIEW and have some problems in DAQmx with control outputs analog multiple.

    I want to set up a platform using BNC-2110 and PCIe6363 to control two rotating mirrors. The problem that I can only give an output (AO0 or AO1) at a time and I really have no idea how revise my LabVIEW diagram to control two outputs at the same time I met. I tried to change the outputs and it keeps a mirror turning instead of the old. Could someone help me with my problem and I would really appreciate. This is my blocked diagram and front.

    Hi zrmaker,

    As mentioned by RavensFan, you should not create 2 analog outputs different tasks if you use AO0 AO1. To your façade > physical control or the channels > select the drop-down list of the control channel physical (s) > Browse > hold down the CTRL + select the AO0 and AO1 > Select OK. Once this is done, you will see that your control or the physical channels has the following input values: "Dev1 / ao0:1" which means that you will access to AO0 AO1.

    In regards to writing DAQmx, simply select Analog > multiple channels > samples multiple > 1 waveform (you should get the following: 1 d Analog Waveform NChan NSamp). Once done, you can just use table build to combine 2 different waveforms and plug in this table to DAQmx writing output. The first index will be the output for AO0 value and the other will be for AO1.

    You can check this link on how to read or write from several channels: http://digital.ni.com/public.nsf/allkb/0C1ADEF06A54AB2D862575040066FD51

    Additional reference:
    http://www.NI.com/white-paper/2835/en/

    Hope that helps.

    Warm greetings,

    Lennard.C

  • How to find the time between two channels of entry in the data acquisition card or pci 6036

    Hello

    I read a lot-related posts on the simultaneous measurement of two input voltage of similar channels in map data acquisition. I know that the best material is "simultaneous measurments of the Series DAQ cards" but I only pci data acquisition card 6036 and I try to understand what is the time between the reading of the two channels . This period is always constant? (must it rely on a voltage (amplitude, frequency, waveform..). I send the sine wave (s) to the two channels and read the values of V, if they read the same value, the difference should always be zero but I get-0,002 to 0.002 Volt difference (I must find a way to convert it in time). A screenshot of my VI is attached. I wonder how I can accurately measure the time delay between the channel.

    I am open to any suggestion, my final goal to read exactly two channels at the same time ((ou connaître le délai exact donc je peux correspondre les données correspondantes étant donné le temps de retard))

    Hi spinup,

    better you should post your question in the forum of LabVIEW, LabWindows/CVI is used

    Good luck.

  • can anyone tell how to compare two documents with two controlled with the same mouse pointers

    can anyone tell how to compare two documents with two controlled with the same mouse pointers?

    Windows and OS X can only display a mouse pointer - it is created by the operating system, not the application.

  • How to combine two annexes to function as one in a single file

    I don't know how to combine two calendars in a single file. I want to eliminate the process of selection of the two annexes and pulling them upward at the same time. They need to exist as a single file. I do this using the export and import function? Copy paste perhaps? Your help will be very appreciated.

    Thank you

    You can export a calendar in a SET, then import it back and add, in the second schedule. In order to develop more... you have two appendices A and B. Export to a file SET. Open B, then import the x from A to B. Under Options project to import in the import, import action Wizard, choose Add in the existing project.

    I hope this helps!

  • How can USB-6210 I synchronize two channels of ctr

    Hello

    I use LV 8.5.1 and NI USB-6210. A small application I want to generate two different impulses with synchronization but simple starting point. When I configure a task with two channels the second channel configured always starts a ms later. But, if I configure both channels in terms of frequency, they start synchronously.

    My idea is bad in general? The DAQmx part is fixed.

    Thanks in advance

    Hi there, too.

    the release of the finite pulse trains, to two meters for each task. Therefore, your application will be the first impulse using two output counters and then to exit the second impulse using the two counters.

    Like the USB-6210 don't not have outputs DIO correlated, you'll generate two infinite pulse trains (which can be started at the same time throug a trigger of arms) that you explicitly stop before the start of the second pulse (using the DAQmx abort task from a parallel loop), or upgrade your hardware at least a USB-622 x card series and a digital output model... Alternatively, you can use the PCI-6602 counter card and use a counter to Gate two others doing an infinite impulse train uses a relaxing break...

    Synchronization of two meter in NOR-DAQmx tasks
    http://digital.NI.com/public.nsf/allkb/BB7AE2D12BB04CBE862574FA005D3826?OpenDocument

    Using a counter to generate a redeclenchables Train digital pulses with a PCI-6602 and DAQmx
    http://digital.NI.com/public.nsf/allkb/4A9AF19480E50C6D862571B70058142A?OpenDocument

    Several counters on the same card with a single trigger pulse
    http://digital.NI.com/public.nsf/WebSearch/CE99A0B2A9048A2A86256C630062F550?OpenDocument

    Best regards
    Sebastian

  • How can I create a menu drop-down list dynamics that controls two separate drop-down lists?

    Hello

    I could use help decipher how to control 2 separate drop-down lists ('b' and 'c') through the value selected in the main drop-down menu (that is, 'a').

    My script worked perfectly to control another menu drop down, however I can't seem to properly control the third zone.

    In my example below, what I'm trying to do is control 'Method - external' and 'Department - external', through my gout primary to the bottom of the list. The external 'method -' drop-down list works fine, it is the third 'Department - external' that I fight with.

    For example, if 'Theft' is chosen in the first drop-down menu, I want 'Method - external' to display the series points and "Department - external" to display a different set of items. If 'Cyber Crime' is selected in the main menu down, then the external 'method' - set items will change and the external "Department -" will indicate N/A.

    With the following script - no matter what happens if I choose 'Flight' or 'Cyber Crime' in the first menu drop down, 'Cyber Crime' n/d game elements are displayed in the external "Department -" drop-down.

    I apologize if this is hard to follow - it is certainly difficult to explain. I hope that my question came through.

    Here's my current script

    Switch (event.value) {}

    case 'flight ':

    this.getField("Method-External").setItems (["","grab and run", "shopping cart/basket Walk Out", "Possession", "Consumption", "Other"]);

    break;

    this.getField("Department-External").setItems (["","Agro", "Automobile", "Bakery", "Building materials", "Chemical", "Cleaning supplies", "Candy", "Dairy products", "Deli/Bistro", "ELECTRIC", "Electronics", "Farm equipment", "Fashion", "Feed", "Fertilizer"]);

    break;

    cases of "fraud":

    this.getField("Method-External").setItems (["", "credit card", "debit card", "Check", "Coupon", "Counterfeit", "Merchandise Return", "Price Switching", "Self Check-out", "Provider", "Other"]);

    this.getField("Department-External").setItems (["", "s/o"]);

    break;

    case 'flight ':

    this.getField("Method-External").setItems (["", 'threat of concealed weapon', 'Threat from weapon', "Verbal threats", "Acts of aggression", "Other"]);

    break;

    case 'exit and enter:

    this.getField("Method-External").setItems (["","Smash and Grab - vehicles", "Smash and Grab - pedestrian", "forced entry", "Unauthorized Keyed", "Other"]);

    break;

    case 'mischief ':

    this.getField("Method-External").setItems (["","graffiti", "Damage", "product a manipulation", "Other"]);

    break;

    case "Cyber Crime":

    this.getField("Method-External").setItems (["","Malware (Virus)", "Phishing", "Others" "]);

    break;

    this.getField("Department-External").setItems (["", "s/o"]);

    break;

    }

    Thank you

    You have a few break statements that should not be there. Try this:

    Switch (event.value) {}

    case 'flight ':

    this.getField("Method-External").setItems (["","grab and run", "shopping cart/basket Walk Out", "Possession", "Consumption", "Other"]);

    this.getField("Department-External").setItems (["","Agro", "Automobile", "Bakery", "Building materials", "Chemical", "Cleaning supplies", "Candy", "Dairy products", "Deli/Bistro", "ELECTRIC", "Electronics", "Farm equipment", "Fashion", "Feed", "Fertilizer"]);

    break;

    cases of "fraud":

    this.getField("Method-External").setItems (["", "credit card", "debit card", "Check", "Coupon", "Counterfeit", "Merchandise Return", "Price Switching", "Self Check-out", "Provider", "Other"]);

    this.getField("Department-External").setItems (["", "s/o"]);

    break;

    case 'flight ':

    this.getField("Method-External").setItems (["", 'threat of concealed weapon', 'Threat from weapon', "Verbal threats", "Acts of aggression", "Other"]);

    break;

    case 'exit and enter:

    this.getField("Method-External").setItems (["","Smash and Grab - vehicles", "Smash and Grab - pedestrian", "forced entry", "Unauthorized Keyed", "Other"]);

    break;

    case 'mischief ':

    this.getField("Method-External").setItems (["","graffiti", "Damage", "product a manipulation", "Other"]);

    break;

    case "Cyber Crime":

    this.getField("Method-External").setItems (["","Malware (Virus)", "Phishing", "Others" "]);

    this.getField("Department-External").setItems (["", "s/o"]);

    break;

    }

  • How to complete the two channels of a stereo track in a mono track?

    I have recorded on the L channel a stereo recording with the interviewer and the interviewee has recorded on the channel of a. I applied the two fill 'right' and 'left fill' to the runway, then cut and switch between the two, when appropriate. However, when they are all two talk, I'd like that the two channels to be active, but not as a stereo track (because otherwise the sound is actually mono) and turning on the two "fill right" and "fill left" at the same time seems to feed each channel at 50% instead of 100%, at least that's what I guess since there is a significant drop in level.

    Any suggestions? I'm on CS6.

    OK, here is the solution I've worked.

    I created a new track to mono submix at the bottom of all my songs. In the Audio Mixer Panel, I remapped my stereo audio track to go to the mono submix track before going to the master. This forces all the audio out as that mono the end, which is exactly what I was looking for.

    For what it's worth, one track stereo padding right or double left audio and is stronger then the railway normal stereo, even if she plays two audio channels, they don't add to the intensity of the double mono. I just applied a + 4dB gain stereo sections to compensate for this.

Maybe you are looking for

  • Toshiba Tecra S2 - supports dual-channel?

    Hello I check that the chipset supports dual channel functionality, but does really do? I have a 512 MB DDR33, if I buy another equal go dual channel? Take careJoão Mendes

  • SR1000 controller multimedia Audio and video controller (VGA Compatible)

    Hello I have a Compaq SR1000 and look for drivers for: Video controller (VGA Compatible) Multimedia Audio ControllerSM Bus controller I visited the site of Compaq and HP for the drivers but they all list the following computers: Compaq Presario SR100

  • HP pro x 2: external hard drive

    I use an external hard drive on this computer. Every time when I wanted to use this external hard drive that I had to enter the PIN to gain access to this topic. Today windows made a few updates to date and after updates, I can't use this external ha

  • No translation Group found

    Hello, I am implementing a VPN site-to site between our Pix515 (running 6.3) and device eFinity from a third party (under Linux). I followed the VPN Wizard in PDM, but when they try to ping on one of our servers, they get error ' no group translation

  • How stop/end download/update attempts to Acrobat DC

    Currently have and prefer Adobe Acrobat Pro XI and don't want that he "updated" / "replaced" by Acrobat DC.