Generation of functions NI PXI-6704

Hi forum people,.

I have a question about the generation of functions, to be precise, without the adequate hardware PWM. I'm under NI SMU-8135 embedded controller in a chassis NI SMU-1078. It is equipped of PXI3 OR-8532 (DeviceNET), NI PXI-6515 industrial digital I / 0, NI PXI-6225 (M: multifunction DAQ series) and NI PXI-6704 (analog output). My question is: can I generate PWM of any of these materials?

Thank you!

Start with help > find examples or search the site of pwm.

Fix your code if you want to help with it.

Tags: NI Software

Similar Questions

  • Can I use differential ground with PXI-6704?

    The answer is no.

    I spent most of the day on the phone with engineers of NOR. The PXI-6704 manual provides conflicting information. Indeed, the PXI-6704 that she "can connect to a load that has a floating ground" operator, but it should also be mentioned that the load will no longer a floating ground, because the planes on the ground of the device are connected to the signal ground of the computer, which is connected to the Earth System. I don't know why the verbiage on floating to the ground is included because there is no way to isolate the load with this device.

    Our team regained the PXI devices OR. We have worked with the Application engineer spoke to R & D of clarification in the manual.

  • How can I change the configuration for the output channels analog on a PXI-6704?

    I can't seem to understand how to access the configuration of the channels to the outputs analog (channel 33 and 35) for PXI-6704.

    This piece of test equipment is out of tolerance and must be calibrated.

    I have followed the procedure of calibration, but am getting hung up on step 8, where it is said to repeat steps 4-7 when changing the _cal_ao_current_offset. I can't figure out how to open this channel because it is not listed as a physical channel for step 5.

    I'm using Labview 7.1

    Thank you

    Hello! What you need to do is to add 'Internal channels' to your list of channels, so you can choose the _cal_ao_current_offset or _cal_ao_voltage_offset.  This is done through the drop-down list channel right click and select "I/o name of screening...". ».  There will be a check box that says 'Internal channels' and will provide you with all available internal channels to enter your vi Create Channel.  I have attached some photos illustrating how to do. See you soon!

  • PXI-6704, parallel to the measurement of the resistance


    I'm in show two separate circuit analysis procedures. First of all I would like to provide two pins with current and measure the response of circuit elsewhere, and second, I want to test the total resistance not fueled between those two pins. If I have a current PXI-6704 output wired to the pair of pins and the value 0 output amp, it will interfere with the measure of resistance to these pins (as a parallel resistance) or if it excludes all signals and appear as an open circuit?

    I can use the PXI switch to connect and disconnect the DMM to measure, but test specifications require no supply current through the switch.

    I don't have the equipment to hand, I know it would be the fastest test. We design the test set-up circuit in parallel with the PXI test chassis.

    Thank you


    Hey Mello,

    Thus, the output impedance of your card is 1GOhm, so unless what you measure is huge, so it should appear as an open circuit. I hope this helps!

    Manual 6704

  • generation of functions to create channels of AO

    I'm trying out a sinusoidal signal through a USB-6211 using this task Create Channel. I can't find a single example of using this function once the task has been created. All the 17 examples provided by OR use the adjustment of the tension of the AO create and must use an external function generator. Examples exist on how to use this thing? List of specifications of USB - 6211 BTW ' AO waveform modes:

    "Non-periodic waveform.

    "Periodic regeneration mode waveform of FIFO aboard"

    'Regeneration of periodic signals of buffer host, including the dynamic update'

    I don't know what the previous alternatives that seem to indicate that it is capable of producing waveforms, unlike other queries that came during my search for previous question.

    Hi walter donovan,.

    Only two devices support .vi DAQmx Create Channel (AO-FuncGen): NI ELVIS II and NI ELVIS II +, which have a function dedicated to the hardware level generator. You cannot use the channel type of the generation of AO functions with any other device. Sorry for the confusion.


  • LV12 how to set the current function of the PXI-4070 DMM?

    Hi all

    I have a problem on LV12 config function current PXI-4070 DMM software.

    My vi... DMM OR initial > reset DMM OR > NI-DMM configure Measurement (current function) > DMM reading OR >

    When I test with my vi, the calibration error (source) 'current compliance voltage exceeded '.

    but when I test with DMM 3.0 front panel, the calibrator can current produced and PXI-4070 can read.

    Please help me solve this problem.



    Dear Sir

    I can solve this problem continues by

    and the power source.

    Thank you for your information.

  • Example DDK for PXI-6225

    Hello, I am trying to get the DDK AI working for a PXI-6225 card examples and still receive an output value of 10.599597. I HAVE 0 (68 pins) short-circuited for AI 8 (34 pin) that should lead to a value of 0.0 VDC. I also tried to connect a battery of 9V to terminals and stilll get the 10.599597 value. I know that the Council works because I see all the correct values in the measurement and Automation Explorer. I have already programmed a PXI-6511 and PXI - 6513 PXI - 6704 Council using the DDK examples so I'm quite familiar with the DDK sample Setup, but I can not get this example to work, no matter what I do. Help, please!

    Hi computer guy.

    What example DDK are you using?  Make sure you remove the call to adcReset() because it is only applicable to 625 x materials.  Additionally, make sure that convert it output polarity (selected by aiPersonalize()) and the gain setting and match of research (see ai.h and scale.h) scale factor values you are going for.

    I've also posted a few specific tips 6225 in this thread.

    I hope this helps.

  • Declaration of invalid function generating a range of service


    I am trying to create an instrument in 2013 CVI driver.  My successfully the DLL builds, I then open my header with my export file and select options-> generates a function tree.  All my statements of functions return with "invalid function for statement.  I can't focus your web searches to shrink in generation of functions and the error Panel.  So I submit to you my problem.

    Below is my header file...

    #include "Simulator.h".
    #include "visa.h".
    #include "vpptype.h".

    #if! defined SIM_INCL
    #define SIM_INCL

    #define DEFAULT_BUFF_SIZE 512

    #define SIM_CONFIG_ERR-1001
    #define SIM_CONFIG_TIMO-1002
    #define SIM_CONFIG_BAUD-1003
    #define SIM_CONFIG_DATA_BITS-1004
    #define SIM_CONFIG_PARITY-1005
    #define SIM_CONFIG_STOPBITS-1006
    #define SIM_CONFIG_TERM_CHAR-1007
    #define SIM_CONFIG_INIT-1008




    typedef enum _flowcontrol
    NO = 0.

    typedef enum _parity
    NOPARITY = 0,
    } PARITY;

    typedef struct _comport_settings
    int baud_rate;
    int DataBits.
    PARITY parity;
    StopBits double;
    int portNum;
    FLOWCONTROL flowcontrol;
    char * ComName;


    -> ConfigUtils
    int __stdcall ConfigSimulator (ViSession DefaultRM, COMPORT_SETTINGS SimPort);
    extern int __stdcall SimulatorSetInit (void);
    extern int __stdcall CloseSimCom (void);

    -> SetterGetterFunc
    extern int __stdcall SimulatorSetVBatt (int State);
    extern int __stdcall SimulatorSetIgn (int State);
    extern int __stdcall SimulatorSetAcc (int State);
    extern int __stdcall SimulatorSetPrndl (int NewPosition);  / * P = 0, R = 1, N = 2, D = 3, L = 4 * /.
    extern int __stdcall TapUpDwn (int NewState);   / * 0 = no no tap Tap Up Dwn * /.
    extern int __stdcall derivator (void);
    extern int __stdcall ReadVBATT_Status (void);
    extern int __stdcall CallReadSimulator (void);

    Hello don,.

    If you ViSession typedef in your head, it works. I think that the included headers are not checked.

    You can set it as

    typedef ViObject            ViSession;

    the same as in visatype.h

    If you set different you should get an error to the compilation, it should be safe to redefine.

    After you do this, remove extern specifier to other functions and generation fp must succeed.


  • PXI-6527 digital i/o ports does not

    I couldn't get my two PXI-6527 work.

    In MAX, my devices are recognized, they pass the self test, and I can set high or low output on a specific port and a line on the PXI-6527 using the test Panel. When I take a measure to that line, say-5,7 to + 5.7 (port 5, line 7), I do not read any voltage. I tried the same thing by using one of the digital outputs LabView examples, without a bit of luck. I tried several different ports and lines on maps two PXI-6527.

    When I measure the PIN "GND" to the "+ 5V" pine, I read 5V on my multimeter.

    I have several other DAQ with e/s digital equipment on them (PXI-6025E, PXI-6704, PXI-6221), and I managed to create on the digital I/o output voltages.

    Y at - it something that I do bring my digital output signals to PXI-6527 maps.

    Hey Jake,

    The output of a device 6527 channels are static relays with a LED and two MOSFETS connected together to form a two-way switch. The output channels will not output a TTL 5 V signal without providing an external source. Using the V + 5 of unit 6527 line allows you to use it as a TTL level with power not isolated output device. See sections 3-10, 3-11 6527 user manual as a reference for the above information.

    Thanks for choosing National instruments.

    Kind regards


    Technical sales engineer

    National Instruments

  • Generation of voltage ramp


    I'm totally new to LabView using Labview 8.6.

    I have a PXI-6704 and on three channels, I should generate a ramp between 0V and 840 mV less than 1 ms, then the signal must remain constantly at the 840 mV. This signal will begin some on-chip oscillators.

    I checked the other kind of similar examples as well, but as it's my first experience in LabView I really understand many of them.

    Please can someone help I have to use to get the EXPECTED signal? Or if someone has a vi to do this...

    Thank you


    Help > examples > entry & exit hardware > DAQmx.

  • script function IDOC to count the string


    Does anyone know if there is any build-up in idoc script function to count the number of string.

    For example:
    A, B, C, D, E

    I want to count how many comma is using script idoc. If there is no generation in function, what would be the best way to achieve this.

    Thank you very much.

    There is no built-in function, but I would simply do this:

    <$rsMakeFromString("MyStringRS", "a,="" b,="" c,="" d,="" e")$="">
    <$numCommas =="" mystringrs.#numrows="" -="" 1$="">

    Good luck and please award points as you wish.

  • NI9215 Failure Modes

    It seems that the failures were the result of a connected PXI-6704, not the module cRIO himself.

    The error is returned for the 4th time in about 2 years, but this time is not clear.  We went to swap the PXI-6704 (entry at the cRIO module) Board with a known good and saw some pretty spectacular level damage.  It is clear that a small area of the PXI Council was on fire at one point, and other areas of damage likely heat/current.

    The damage seems to be centered around a blown diode, but we are not sure of the exact cause.  It doesn't seem to be damage to the chassis PXI itself or the adjacent cards.  We have to assume that the Council comes to the soul.   It is amazing that the only indication there was a problem of this magnitude during the operations was one out very rarely bad power supply of the card.

    I'll post again if this error of DC offset ever comes once the card has been replaced.

  • error-200077 when you deploy the SysDef file

    I added PXI-6704 as a data acquisition device in my system definition file. When I try to deploy it, I get:

    "error-200077 the requested value is not supported for this property value.

    The module has 16 channels voltage (+/-10 v) and 16 current channels (0 - 20ma) so I set in the dialog box "create DAQ hardware" as type MIO with 32 channels AO.

    If I delete the device from the system definition, it will deploy without error.

    VeriStand 2011, computer host is running Windows 7, controller RT PXIe-8133.

    Has anyone seen this error?

    Hi PMAC,.

    This error will occur if you do not select the option 'Disable clocked by one-time support for the analog output material' during setup of data acquisition under the definition of your system. I've attached a screenshot of that. The reason you need to activate this box is that the 6704 only supports the clocked by the Analog i/o software, as explained in the manual.

    You will also need to go into the output channels 16-31 and manually change each channel of current Type and the high level of 0.02 and the low level of 0.00. Once configured properly, everything should work fine.


    Dan N

    Technical sales engineer

    National Instruments

  • Streaming with SMU-6544

    I'm at the stage of planning for a system using cards SMU-6544.  I have not yet material.  I want to constantly stream my generation and acquisition and compare real-time software.  I want to be able to run the minutes, hours, or days, and be able to count it fails and the failure rate.  I'm looking example "Acquisition continues - memory stream".  In this example, the SamplesPerRecordIsFinite property is set to FALSE, SetRelativeTo is set to "current position".  In a loop, "FetchBacklog" property is queried until there is enough data and a waveform drillthrough action is performed.  My questions are: can I run this streaming acquisition forever, or it stops when the memory card is full?  I suspect he can go forever since most logic analyzers have 'circular memory', but I don't want to assume.  Also, I will acquire data to clock frequency of 20 MHz, 16-bit, both on the data rate of 40 MB/s.  I guess that this approach will work at this data rate because it is much slower than the ability to stream the 6544.  It will be a problem?


    The pointer memory will roll once it reaches the end of the memory.  Once the FetchBackLog hits a specified value, it must pass all the values out of the room and move the pointer to the "oldest" sample and refresh with new information in the order book.  This will allow your feed to continue indefinitely.  The memory embedded amount will determine the maximum size of the buffer, you can get.

    At the pace you want to run and the channels, that won't be a problem either.  Background basket SMU communication will allow the Commission to reach the rate of acquisition of 660 MB/s and 400 MB/s for this Council HSDIO generation.  Even with PXI (theoretical flow 130MO/s) you would have no problems with the 40 MB/s out of the tray.

  • Difference between dynamic and static converters

    Hi, I am looking to understand the difference between a static and a dynamic DAC. I will work on a project that has a very high number of analog outputs 30 IO. I need a Board of 16-bit resolution. I intend to update outputs at a low frequency in the order of 1 Hz (on user deand). I have suggested to use the NI PXI-6704 card with 32 outputs. In order to future-proof our equipment, we plan to buy a few boards that are capable of fast output update rate (a few hundred Hz). I want to know what I'm lost and win with static and dynamic converters. What advice (which are quite fast) would work better for this high number of IO? I'm looking at the 6733, but I am not quite convinced that it is the best alternative.


    If you get all PXI/SMU modules, you'll either buy a controller MXI to connect to the desktop computer or to spend more money and get a controller embedded to the SMU chassis. If you want to run applications in real time in the future, you can spend more money upfront and get the controller shipped instead of the connection of MXI. MXI connection allows flexibility of system more than the on-board controller because it allows you to run additional devices that may not be available in PXI format. The two methods are the same in terms of future evidence, they just offer different possibilities (flexibility or real-time).


Maybe you are looking for

  • power supply subbly

    Hello I have a HP 6000 Pro SFF PDC small form factor with a unit power of 320 watts subbly. Available IIs a 550 Watt subbly unit or more? Or what can I do to change this PC for a good computer player? Thanks a lot for your answers Simone

  • Missing video rental

    I rented a movie on my iPad last night and went to watch this morning (as the download took about two hours...), but it has disappeared from the download page.  I can't find anywhere else... Where will the rented movies in iTunes?  Thank you!

  • How do you enable QuickWeb on Dm1z-3200?

    There is no option in the Bios to enable QuickWeb, then how do activate you it? There are QuickWeb 3.0 installation hard disk files, so it is supposed to work on the device, but without the option in the Bios, how does it work? Alain PS: I know that

  • Help installig OS for Samsung 840EVO

    Just got a HP Envy 700 PC series Desktop (model 700-215xt) with a 1 TB hard drive.  You want to install Samsung 840EVO SSD (250 GB).  Can I use the recovery discs to install the OS on the SSD?  BAED on other items, the system recovery reinstall does

  • Some Aironet Q beginners

    Hello I have tried to fix a few problems with the installation of stadium aironet and hoped someone could help me with a few Q 1. is there a way to access points, so they are optimized for the intensity of the signal instead of distance - just workin