The Waveforms Generation Custom-Device add-on allows users to generate 12 synchronized Waveforms. This functionality is commonly useful for testing while setting-up NI-VeriStand based configurations and when Waveforms produced (by Hardware) are not necessarily available, yet.
Instance the custom-Device "Waveforms Generation" Custom-Device in System-Explorer. On Custom-Device, you can change the "Sampling-Period" of the Waveforms, it's called "dt". You can also change the number of Samples per Waveform. Control for that is called "Number of Samples per Waveform". All Waveforms generated share the same settings above.
Each Waveform has 5 Parameters (NI-VeriStand Channels). They can be changed while running.
1. Signal Type.
0: Sine Wave
1: Triangle Wave
2: Square Wave
3: Sawtooth Wave
2. Signal Frequency
3. Signal Amplitude
4. Signal Phase
5. Signal Offset.
Each Waveform has a dedicated section. Inside, you can find the Waveform itself plus the 05 parameters.
The Custom-Device has 2 Status Channels located in a dedicated section called "Status Channels":
Build the code.
All attempts have been made to provide an add-on comptible with the NI VeriStand shipping examples. The nature of some add-ons requires additional software or hardware to function.
The Custom-Device can be executed on Windows or a RT-Target running PharLap.
This device was created for use with NI VerStand 2013. To use this custom device you must have the following software installed:
This add-on requires the following hardware.
https://github.com/NIVeriStandAdd-Ons/Waveforms-Generation-Custom-Device
This add-on is provided as open-source software. If it does not meet your exact specification, you are encouraged to modify the source code to meet your needs. It is not officially supported by National Instruments.
If you encounter a problem with this add-on, or if you have suggestions for a future revision, please post to the forum for this add-on https://decibel.ni.com/content/thread/27721. You must use this feedback forum for support. Do not call National Instruments for support for this add-on.
National Instruments does not support this code or guarantee its quality in any way. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).
Dear Friends,
I want to generate a arbitrary waveform using AO from NI PXI 6361 as below
arbitrary waveform
Can I generate the above waveform using NI PXI 6361 AO ?
Also I have to acquire the generated waveform voltage on AI of NI PXI 6341 , can I acquire the waveform on NI PXI 6341.
@chintamani17 - It looks like the scope of this custom device is not tailored to designing arbitrary waveforms like the one you mentioned, but there is a creative solution I can see.
You could acomplish the generation of that waveform with a superposition of 2 square waves at different frequencies. For example, a 0-3V square wave at XX% duty cycle and a 0-2V square wave at YY% duty cycle.
The addition of waves like this could create the pattern you're looking for.
Dear Friends,
I am new to LabVIEW and just installed it, I want to create a tailored waveform voltage and send it to the function generator; the model of the function generator is a Tektronix AFG3052C function generator.
I am attempting to replicate a similar tailored waveform voltage attached using the attached equation, at a fundamental frequency of 13.56MHz. Please how can I generate this tailored waveform voltage using LabVIEW? Thank you.