PXI-6602 generate signals in squaring A, B with DAQmx in CVI

Hello

I want to know if it is possible to generate a quadrature encoder signals...

I want to generate the Signal A, then B Signal with a 90 ° of the delay on the other and be able to set the number of pulses that I want to generate.

I tried to generate signals with DAQmxCreateCOPulseChanFreq, but I can't start Singal B with the delay of 90 °.

Have any experience on this?

Thank you for your help,

Hello gramirezv Hello,.

Here is a KB which may help you to generate two trains of pulses with the same frequency but with a phase shift:

How can I generate two pulse Trains phases shifted from each other on my E series card?

http://digital.NI.com/public.nsf/allkb/26CCE4F74DACFD1886256DCF006B011A?OpenDocument

Have a lovely evening,

Best regards

CaEnOs

Tags: NI Hardware

Similar Questions

  • generation of impulses PXI-6602

    I am new user and I got pxi 6602 iwant to generate a 5 3.5ms amplitude 2.5 kHz and 2.5 offset I probably need to use 2 meters can someone tell me which wires I need to connect on CBS 68 device and how ican write this program?
    Thank you for helping me

    It can generate a ttl which means a pulse of 0 to 5 volts. If that fits your definition, then it will work.

  • The precision of a PXI-6602 improve with a PXI-6608 2 driving 10 MHz slot PXI backplane?

    Improve the accuracy of a PXI-6602 module in slot 3 of my PXI chassis if I use the clock of a PXI-6608 OCXO in slot 2 to drive the background clock of 10 MHz of my PXI chassis basket?  If so, how is it improved?  660 x operating instructions shows the bottom basket of 10 MHz clock led the Phase Lock Loop of the 6602, but I don't know how that affects the overall accuracy.

    This will help you.  I think you need to set the reference of your meter to use the PXI 10 MHz clock and the clock of the 6608 of export to the PXI 10 MHz clock.  I managed to get orders of magnitude better measurement of the frequency by doing this (on a signal of very narrow limits).

  • Costume measurement OR for Mobile/Fixed WiMAX 1.0, is there any optiion to activate PUSC or AMC for the generated signal?

    Hello.

    I use a VST OR to generate the WiMAX signal. I installed NO measure costume for Mobile/Fixed WiMAX 1.0 on the calculation. But I can't find any option on the front panel of the combination of the generation to enable AMC or PUSC for generated signal. This feature exist at all?

    Thank you.

    Hello sam2013ni,

    That's all I see for AMC and PUSC. Look in "box Type".

    Best regards

  • error when you try to use MAKE as "open collector" on PXI-6602

    When I try to set one of my PXI-6602 as "open collector" I get the 200452 error ("" measures: specified property is not supported by the device or is not applicable to the task. ' "). It is completely mysterious to me because the PXI-6602 should have this feature and my code (see attachment) is virtually identical to one of the many examples in this topic. I forget something really stupid? (LV 8.5, PXI-8145RT) Cheers, uli

    Hi uli82 *,.

    The error message is correct. The PXI-6602 can't stand not to DO. Property of OutputDriveType. If you want to set up DIO of the PXI-6602 lines to a high impedance state, use the DO. Tristate property or create a digital input channel.

    Configuration of a DIO type open collector line drive would cause to write a 0 to drive the 0 V line and cause to wrote a 1 to three States of the line. If this is the desired behavior, you will have to imitate it using c. Tristate property.

    Brad

  • Generate signals using a file

    Hello

    I want to generate signals with my USB-6211 from a prepared file in advance, so I have a file full of sampling points and you want to generate a signal with this file. The file can achieve big enough. So I need to find a way to partially fill the generator with samples...?

    Anyone?

    Best regards

    Thijs

    Hello Thijs,

    What file do you use? Excel? TDMS? txt? or others?

    I guess you wrote your samples in a normal txt file.

    To do this, you can read in your worksheet (if its only data without columns, which are not serious) you can use the worksheet File.vi reading

    This VI reads all the data that you specify (how many lines, shift etc.) after that, you can simply set your table with the normal array functions and give these data

    to your task AO.

    Let me know if this was helpful, or if you would like more information.

    Kind regards

    Markus

  • counters with DAQmx software on a 6602 trigger OR

    Hello

    I want to software trigger several counters for output of digital signals with different initial delays. I'm using an NI PXI-6602.

    In my first attached vi, I show you how to send a singal digital camera on a counter.

    In the second vi I set up two meters and added a daqmx trigger vi. But I'm not sure of what trigger source to use and how create the software trigger. Plase help.

    Thank you!

    A few possibilities:

    1. If you know what counter will have the lowest initial delay ahead, you can just do the other trigger of counters out of the in-house production of this counter (together the appropriate initial delays compared to the output of the first counter).  Or if you have an unused counter, you can use it for this purpose.

    2. you can trigger all counters in a single material on a PFI line signal.  You can use a task outputs digital timing software to strobe the high line once you have all your armed counters.

    I didn't look at your screws also because the computer I'm running LV 2011 for the moment.

    Best regards

  • Best way to generate signals of activation (square wave) with my 9401 on my 9022?

    Hi, I tried seriously over the past two days to find the best way to do it. I am trying to generate a very precise square wave, controlling the duty cycle and frequency, with the OID on the 9401 in testbed cRIO 9022.

    I have a VI that is theoretically able to do this, but whenever I try to go above 5 Hz or more, duty cycle and frequency becomes inaccurate (I have watch on an oscilloscope), various a lot too for my needs. I have a feeling that this is caused by my addiction on the calendar software controlled, with errors at the time (of the ms order) accumulate as they get processed and the signal is sent. I have attached a piece of code that illustrates the basic idea of what my VI have in them.

    I have avoided the square wave generators integrated because I could never work to satisfaction, but I can work with them so that will solve my problems. Selection structures and cases prevent the user to exaggerate their inputs. Unwaited so the loop was just to test.

    I'm running the 9022 as target in real time, but also tried to run in the FPGA and I was able to produce much more accurate signals using FPGA VI square wave, displaying a Boolean variable, but I couldn't see the best way to get double precision variables to work with everything (and I want more precision than variables FXP enabled clock 40 MHz).

    I feel there is just a mistake in my approach here. I've seen other discussions where people throw around using meters to edge of the test bench to produce a square wave, and I see the example screws as Gen dig pulse - continuous Train, I'm not sure if initially these screws DAQmx for my situation (eg. How to identify my counters, because they are clearly not Dev1/ctr0 by default in these examples)

    Thank you

    Dealing with the representation of Point fixed and all is a reality for LabVIEW FPGA<= 2011="" programmers.=""  you="" might="" build="" a="" small="" sub="" vi,="" such="" as="" the="" one="" attached,="" to="" encapsulate="" the="" frequency="" calculation,="" thereby="" abstracting="" the="" conversion="" formula="" and="" fixed="" point="" data="" type.=""  you="" can="" adjust="" the="" properties="" of="" the="" floating="" point="" input="" control="" to="" accept="" only="" valid="">

    This implies the series VI void on the host of the RT, and not on the FPGA target.  So, you also need nodes in the Palette of the FPGA Interface to send PWM fixed Point RT frequency to the FPGA.  The complete solution of frequency may resemble the following.  It is common for FPGA programmers to build a collection of thesesub screw, that make up the API for hardware.

    Note that 40 MHz is hard-coded.  For increased flexibility, consider making the FPGA clock rate an entry to the Subvi with a default value of 40 MHz.

    -Steve

  • PXI-5421 generating an arbitrary signals on the fly

    I have a card PXI-5421. I need to generate an arbitrary waveform with different frequencies. I need to have a trigger to switch between Forms of waves of different frequencies. I use the script to do this. I'm not able to update the frequency of the next wave on the fly without stopping the program. In other words, can I download signals in real time? The code is attached.

    Hey Kakrott,

    You should be able to achieve this with your PXI-5421. The example of 'switch between the waveforms FGEN"in the examples of LabVIEW makes something similar to what you're trying to do. As explained in the documentation: "this example shows how to switch between two different wave forms while generating, using updated data every time." This example uses a trigger to change what waveform is generated.

  • Why it is so hard to generate the Master square signal?

    Hi, I just can't do this work.

    I want just a square of 1 Hz through Dac1 output

    and receive it by cable to ach0.

    Can't make it work...

    Of course, this does not. You do not have to understnd dataflow. The top loop will not start until the low finishes and when the bottom ends, it immediately stops the upper loop. Remove the dependency of data between the two loops (i.e. don't wire from one to the other).

  • PXI-4461 generate voltage update

    Hello

    When you try to run the sample Daqmx VI "Gen - Update.vi of tension" with an NI PXI-4461, I get the following error:

    200758 error:

    "Type of sample Timing is set to on demand that is not supported for analog output on this unit"

    What does that mean?

    Is there another way to generate a constant DC signal with the 4461?

    Also - for next time that consider us to buy a new card - where can I get information on DAQmx properties (like this one) are supported for each camera?

    Thank you

    Ran

    Hi Ran,

    The 4461 NOR supports HAVE no single-point / AO of because it is based on delta-sigma converters a/n/CED, which require a clock free run at a constant speed.

    There are two ways to output a signal DC with an NI 4461 (or NI 4431):

    1. Continuously to generate a waveform to DC (containing several repeated values).
    2. Set channels DAQmx > AO. IdleOutputBehavior to "Maintain the existing value" can generate several updates.

    The help of LabVIEW has a page of "properties of the NI PXI-4461 supported", but it does list all the supported values for each property for each device. NOR-DAQmx help has a page entitled "Considerations for DSA timing devices" that talks on this subject:

    "

    Considerations of timetable for DSA devices

    Supported sampling frequencies

    Unlike some other devices DAQmx, DSA devices have a maximum and a minimum sampling frequency. Check your device specifications determine the range of sampling frequency.

    Other considerations of DSA calendar

    DSA devices do not support the type of synchronization on demand. All acquisitions of DSA and generations require hardware timing of a stable clock.

    DSA devices do not support external synchronization sources of arbitrary external signals such as tachometers and encoders. PFI lines on the DSA hardware can accept external clocks. You can program a DSA device to use an external clock only when it is a slave in several synchronized system device. Refer to synchronization of the DSA for more details.

    "

    Brad

  • How to generate signals using NI - HSDIO.

    Hello

    I need to create two signals different pulse square. I don't know how to set their frequencies, number of cycles and FRP using NOR-HSDIO.

    Thank you!!

    You must create a set of data to send to the HSDIO.  It only builds what you send to it.  Suppose you want to produce a square on one channel wave.  Implement the HSDIO for right channel, trigger, timing, etc.  Look at the function HSDIO write nominated Waveform.  It says name of waveform, but you can use the polymorphic selector (the area under the function) to select other types of data outside of the waveform, i.e. a table 1 d of numeric (U32, U16, etc.).  You must create an arry of data that would be akin to a square wave.  Or you could use the input waveform and create a square wave.

    The simplest is the waveform because Labview waveform generator functions available.  See the image below.  If you want to use table 1 d, construct you a table or alternation of 1 and 0 to produce a square wave. The image below is only a partial code.  Need to add the rest of the installation HSDIO functions.

  • 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

  • Unable to trigger pxi-5105 exported signal pxi-4461

    Hello

    I use a chassis PXI-1033 with a PXI-4461 (daq) in slot 2 and 4-PXI-5105 in slots 3-6.  I want to use the 4461 to export a reference trigger signal to of the 5105, but when I try to run my program I get the following error:

    Error-89126 occurred at DAQmx Read (Analog DBL 1Chan 1Samp) .vi:1

    Possible reasons:

    Trigger line asked could not be booked because it is already in use.

    Property: RefTrig.OutputTerm
    Property: RefTrig.Pulse.Polarity
    Target unit: PXI1Slot2

    Task name: _unnamedTask<89>

    The Subvi I use to export the signal is built off an example I found.  At the moment it is only under the scope of my code mode (I'll take care of the datalog part later).  I'm not sure what I'm doing wrong, any help is greatly appreciated.

    Thank you

    John

    Hi John,.

    T Clk select a PXI_Trig lines used to deliver pulses of synchronization between devices.  Since that you configure T - Clk before configuring the signal to destination, the driver doesn't know that you plan to use PXI_Trig0 to export the reference trigger.  I guess that's to select PXI_Trig0 as the line to book the pulse of synchronization.

    I recommend that you try to export the signal to one of the other lines PXI_Trig - this should I hope to correct the problem but keep inform us if it is not.  Thanks for posting and have a great weekend!

    -John

  • Unable to connect to the generator signal with LabView

    Hello

    I use a Tektronix AFG 3021 B signal generator. I installed the National Instruments driver (tkafg3k) for this device. My computer is connected to the signal in the block diagram generator, I place a block called "Example - Getting Started vi". I run the vi (there is no need of connections, so the vi has just the one block).

    The vi then gives me this error:

    Error 1073807343 has occurred to be initialized with Options.vi of tkafg3k
     

    Possible reasons:

    Driver status: (Hex 0xBFFF0011) primary error: error (Hex 0xBFFF0011) - information on the inadequate location or a resource that is not present in the system

    I know that the signal generator properly communicating with the computer because when I run "VISA Resource Manager", I can ask for the name of the device and it returns the correct name.

    -I'm using Labview 8.6.

    -I have NI-VISA installed 4.2

    -The driver that I use is available here: http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=005994E37F5B2318E0440003BA7CCD...

    -J' use the driver that is for version 7.1

    -J' uses this compliance record: http://joule.ni.com/nidu/cds/view/p/id/1095/lang/en

    What is the cause of this error and how can I solve this problem?

    Thank you.

    -Zach

    Do you really need to use the IVI driver, or you can use the LabVIEW driver? If you have need of IVI, configure you the Max with a logical name, etc.

    PS You have posted to the wrong Board. It is for the signal generators of NOR. You should have posted to the Instrument of narcotics control.

Maybe you are looking for

  • Skype no longer works when I make a call or answer a call

    Every time I have call someone or answer a call of someone else my Skype doesn't work anymore. I use the latest version of Skype (from July 2014). I tried to reinstall Skype several times and I tried it on another account, but it still does not work.

  • Is it possible to see if a Subvi has something connected to a Terminal?

    If I have a sub vi within a main program and the terminal is not necessary. Is there a way to know if something is connected to the Terminal?

  • Windows 7 can run games for vista or xp

    I'm a gamer have a count with vista, but a lot of my games for xp do not work and do not work properly. So I was wondering if I should get windows 7 or just simply stick with vista for now, because I want something that can run all my games.

  • Safari keeps closing in 5 minutes after startup

    Safari keeps closing less than 5 min of launch You have problems with programs Error messages Recent changes to your computer What you have already tried to solve the problem

  • Access points dropping from top to bottom

    I have anywhere from 5 to 20 points of access drop goes up and down all day on a total of about 200. I try currently to cross and understand why we our access points are conducting many issues and how I might be able to solve. One of the newspapers I