Multi-channel Sequential Controlling Pulse Generator Design

Hello, all,
I need to design a Labview problem as a Multi-channel Sequential Controlling Pulse Generator and output through DAQ card. The required digital pulses are showns in the attachment.  Time scale values are shown on the top as an example. CLK's duty cycle is 0.5. x1 and x2's value need to be programable. 
Could anyone give example codes? Or, give me any idea to program these pulses?
Attachments:
clock.png ‏22 KB

Duplicate
http://forums.ni.com/t5/Multifunction-DAQ/Multi-channel-Sequential-Controlling-Pulse-Generator-Desig...

Similar Messages

  • Mult-channel PID control using PID Toolkit

    I am controlling the light level in six locations (zones) using light sensors, dimmable ballasts (which respond to a 2 to 10 VDC signal) and the PID toolkit.  In my VI, I loop through 6 times (once for each zone) to control the light levels.  I use the simple PID.vi to determine the next setpoint for the dimmable ballast on the lights.  My problem is as follows, I think:
    The PID algorithm uses past response and the current difference between the measured variable and the setpoint to calculate the next setpoint.  If my understanding is correct, then I am confusing the PID algorithm by calling it with 6 different data sets.  It is almost as if I need 6 separate PID functions, one for each zone. 
    Perhaps I am wrong about the operation of the PID algorithm.  Can someone straighten me out?
    Attached is a snapshot of the VI.  The FOR loop goes from 1 to 6, that is, once for each sensor zone.
    Message Edited by rgentry on 04-29-2007 09:11 PM
    Attachments:
    temp.jpg ‏92 KB

    rgentry,
    The PID has two modes of operation: Single Channel and Muti-channel. The way you developed your algorithm, you are using single channel algorithm with multiple setpoint and variables. This will not work properly since LV will not keep the internal states correct for each channel.
    To fix this, it is pretty simple. Remove the For Loop and provide the whole 1D array to the PID.vi. This will enable the "multi-channel" mode and every time you call your VI, it will keep the internal states for each channel, as if you had 6 different PIDs in parallel. Notice that the interpolation also will work the same way, you just need to remove the build array primitive.
    Hope this helps!
    Barp - Control and Simulation Group - LabVIEW R&D - National Instruments

  • Pulse Generator

    We are posting a question in regard to creating a pulse generator that would:
    * have Boolean logic output
    * yield Boolean “high” logical level for ~ 0.2 ms at the repetition rate ~ 10 Hz
    * keep Boolean “low” logical level after generating the Boolean “high” 0.2 ms pulse
    * As an option, it would be great to adjust the pulse duration in a range 0.2-1000 ms, and adjust the rep. rate in a range 100 – 1 Hz.     
    We would then like to use the outputted logical waveform to modulate (turn on/off) a particular pin on an external board connected to PC via USB interface.
    We were thinking of using the Basic Function Generator vi, but it might be an overkill.  Also, its output is specified in volts.  Is there a simple way to convert this voltage into Boolean “high” and “low” levels?  Any better ideas or suggestions to try?
    If anyone could provide some guidance on this issue, it would be greatly appreciated.
    We are using Labview 2010 SP1.
    Thank you.
    Using Labview 7.0 and 2010 SP1 with Windows XP and 7.

    Hi Jack,
    Thank you for your reply.  I was looking over the topic you directed me to and will continue to do so.  I had install DAQ as it wasn't previously installed.  I had a few questions regarding that.
    I setup my own vi similar to your capture in the other topic, as far as I can tell.  I was trying to create a virtual channel to use, however I am unable to do so.  This would be for the "counter" control.  It appears this needs a physical channel.  Is there something I'm missing when trying to do that (creating a virtual channel)?  I may have read the info about DAQ wrong, but I thought I could create a virtual channel and use that, but I am unable to do so right now.  I don't even see a tab for it under MAX when trying to create it (as I see in the tutorial I am reading and is mentioned in help). 
    If you could provide any insight into that or what I may be doing wrong, I'd appreciate it.
    Thanks.
    Using Labview 7.0 and 2010 SP1 with Windows XP and 7.

  • How can I use all tracks from multi-channel source audio with Multicam clips?

    I cannot figure this out. Working in Premiere I'm prepping for a 2 camera show, with typically 4 to 6 track dual-system audio recorded by the sound guy. I can sync, and make multicam clips any number of ways–whether sync by timecode, sync by audio, or eyeballing–but whenever I edit using the MC clip, Premiere mixes down all the audio channels into a stereo single track, and I cannot pick and choose which audio track from the original to use. With 2-5 people mic'd on lavs, I need to be able to choose which audio is either cut in or heard at any given shot.
    Is there any way to have control in multicam clips over which track of audio gets edited into the timeline, or even: that all tracks of audio get cut in? It's very important for the editors to be able to see waveform (which also disappears for some reason in the mixdown) and pick and choose which audio is heard?
    I'm sure this might be a simple fix, but I cannot get my head around it for workflow purposes for my assistant editors. We need to use multicam, but this audio thing is driving all of us crazy. None of us can figure out how to have a multicam clip and use it with control over what audio is cut in.

    True, but what I need to be able to do is have my multicam sequence in the source monitor, and cut into my working sequence with either just the audio I need from the sound guy's multi-channel WAV, OR cut in all the sound and from then I can just enable or disable what I need or don't need. But also be able to match back to the Multicam source from my working sequence.
    I don't want to have to open the synced sequence, and razor blade the things I need and have to copy and paste into my working sequence in order to have the full spectrum of my multi-channel mono lav WAV files...with their waveforms visible.
    Essentially, I want my Multicam clips to load in the source monitor, and the ability to cut them into the working sequence without it mixing down the audio into a single track with no visible waveform–which is what it is doing currently. Can I choose to edit in either ALL of the tracks of the WAV file along with the camera shot I want, or control which audio gets cut in?

  • Important question: I have got a PXI-4472 and I am able to do single-channel acquisition. How does multi-channel acquisition work?

    Look at the VI: it is quite eleborate, but the crucial point is Data Acquisition and Trigger&Gate (and, consequentely, Write to File operation).
    I can add plot on the Waveform Graph DATA, this is rather easy, simply adding the channel numbers in the channel control (es. writing 0,3,7 will collect data from the three channels).
    First question: is this operation of adding plots correct?
    Second question: does the sampling rate dwindle when I consider multi-channel acquisition? I mean: 1 channel-->100KHz ; 2 channels-->50 KHz
    More over, and MORE IMPORTANT: is it possible to set different trigger conditions for different channel
    s? How can I control this operation?
    Third: can you have a look at the VI as all (the appearence, the functionality, the logical sequence...). I am looking forward to get your advice. In particular:
    Look at the frontal panel: what do you suggest to make it "smaller"? More tab controls?
    Look at the Block Diagram: do I have to connect ERROR IN and ERROR OUT to every suVI or function that makes this connection possible (as Trigger&Gate and Write File)?
    Attachments:
    Start&StopTrig_SpectralMeas_style+image.vi ‏700 KB

    First: yes, the operation is correct.
    Second: yes again. When you consider a multi-channel acquisition, your sampling rate must be shared among the channels.
    Third: when you specify a list of channels you want to acquire from, the channel considered for analog triggering is the first you put in the list.
    Connect the error clusters whenever you can,in particular when you are dealing with I/O operations.
    Bye!

  • Multi-values selection control configuration

    The multi-values selection control give the user the option to select values from 'right to left'.
    Is there a way to reverse it to 'left to right', like users are regular from other GUI applications?
    Even in OBIEE other cases, like delivers subscribers, the selection is from 'left to right'.

    Hi nir,
    The behaviour is default in BI you cant change it.....As the default one would be right to left.Its not possible to change.
    UPDATED POST
    I dont know how we do with JS script....in BI 11g also the format is the same.Generally the tool is designed that way
    hope helps you.
    Cheers,
    KK
    Edited by: Kranthi.K on Apr 7, 2011 3:04 AM

  • An application for multi-channel measurements

    Does NI have a software solution for multi-channel measurements? I mean systems for measurements, tests and monitoring which contain numerous DAQ devices with thousands of sensors.
    I suppose the software for such system should have the following features:
    Instrument control
    Sensor management (type, s/n, accuracy, calibration data, next calibration date, measurement limits, etc.)
    Data acquisition
    Storing data in databases
    Data visualisation and analysis
    Report generation
    Tools for creating custom user interfaces / data visualisations for monitoring
    As far as I know the DIAdem is great for data analysis, visualisation and report generation but it's not suitable for other tasks. With LabVIEW you can do anything but it's not an "out-of-the-box" solution.
    Just to clarify what I'm talking about, here's an application that seems to fit the description. It's the HBM catman. Maybe someone worked with it? Do you know any analogues for it?

    Just to add to Hooovahh's comments.
    NI has flat out stated that they do not want to make turn-key solutions.  That would take away from them being able to make tools for people to create the solutions.  That is why they have alliance partners.  These partners take the tools made by NI and make really cool stuff.  My latest project was a software package that helped a technician build a jet engine correctly so that the turbine blades do not come out and destroy the engine (just slightly important).  I have also done some test systems for space craft avionics.
    So if you are really serious about this, I highly recommend finding an Alliance Partner to help you out.  If you want, give me a PM and I can work on getting you and a few people on my side to discuss your requirements and proceed from there.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • How to building a multi-channels analog output task in visual c++ 6.0 (without Measurement Studio)?

    Hello!
     I have a PCI 6251 card, and using DAQmx C function to generate a wavwform. (single channel ).
    But, how to creating a multi-channels analog output task, and had a different frequence in each channels?
    Thanks.

    This is getting to be a common question!
    The answer is, you can't.
    If the rates have common factors, you can use a higher overall rate. The slower waveform will simply have extra points in it to make up for the higher update rate.
    John Weeks
    WaveMetrics, Inc.
    Phone (503) 620-3001
    Fax (503) 620-6754
    www.wavemetrics.com

  • Control Numbers generated in B2B

    The control numbers in B2B are picked from the view "B2B_INSTANCEMESSAGE" which is based on the table B2B_EXT_BUSINESS_MESSAGE.
    I want to know if there is any sequence for the generation of these numbers in the table. I need to reset the control numbers generated by B2B.
    Thanks
    Ravdeep

    Hi Ravdeep,
    B2B_INSTANCEMESSAGE gives you information reg a message thats already processed. you cant touch upon it for any design time information.
    In 11g, Pl have a look at the B2B_CONTROL_NUMBER table. This is the table which is referenced at real time to identify the control numbers of the edi document, wrt the TP & Direction.
    What is the precise requirement?
    Sambhav.

  • NI RF Phase-Coherent Multi-Channel

    Hello! I would just like to ask why I'm getting the results shown in the attached file in using the NI RF Phase-Coherent Multi-Channel.
    For all frequencies, I'm using the same demo program (included in NI RF Phase-Coherent Mulit-Channel) for the generation and acquisiton.
    Generation: NI-RFSG Phase-Coherent Multi-Channel Generation Example
    Acquisition: NI-RFSA Phase-Coherent Multi-Channel Acquisition Example
    The desired results are those under the 1GHz frequency. However, I'm working on 915MHz. Needless to say, I can't see any pattern in the behavior of the plots when increasing/decreasing the frequency. That's why I really can't understand the results I'm getting.
    Please help me.
    Thank you very much for your time!
    Attachments:
    results.pdf ‏24 KB

    Hello!
    Attached are pictures of the hardware set-up. It is identical to the typical 2-channel phase-coherent RF signal generation and acquisition set-up.
    This thread is same as http://forums.ni.com/t5/RF-Measurement-Devices/RF-Synchronization-Suite/m-p/1893713#M1995.
    The software I’m using is suggested by Andy on post no.2 in the link above. I’m trying to generate a CW with 915MHz carrier frequency. However, I get incorrect plots when I use 915MHz. Setting the frequency to 1GHz results to correct plots. This is without changing any setting in the front panel.
    The main problem when I use 915MHz is that one channel moves faster compared to the other channel. For example, in the IQ plot, there would be 2 points representing the 2 channels. These points travel in circular path. If the slower channel travels 1 complete circle, the faster channel is able to travel more than 1 circle. Moreover, the phase delta is not constant since one channel moves faster than the other.
    More on this in the link above.
    Thank you very much for your time! I really appreciate it.
    Attachments:
    DSC03062.JPG ‏2182 KB
    DSC03063.JPG ‏1991 KB
    DSC03064.JPG ‏1934 KB

  • Multi-channel imaging using NI frame grabber

    We have a IMAQ 1408 being controlled by LabVIEW 8.0.
    We wanna setup multi-channel imaging. All the channels work individually. However, when I was trying to show two channels simultaneously, only one channel works, and I got the following error message:
    Error -1074397150 occurred at IMAQ Grab Setup.vi
    Possible reason(s):
    NI-IMAQ: A timeout error occurred while waiting for the specified event. If waiting for an image, verify that all video data is acquired within the timeout period. If waiting for a signal, verify that the signal assertion occurs within the timeout period.
    I sometimes also get another error message asking me to assign different buffer to both channels. I understand that IMAQ 1408 has only one analog to digital converter (ADC) to digitize the incoming video. It can acquire from up to four different cameras, but only from one camera at a time. 
    I don't mind making the frame rate half. So I'm thinking of showing one channel at a time and make the two channels work alternantly. But I need to know how to confige the channels to make this happen.
    Solved!
    Go to Solution.

    Hi Andrew,
    Thanks for the reply! I've read the page. But it doesn't tell me how to assign the buffer.
    Please see attached for my code.
    Here is another error I got from channel 2:
    Error -1074397158 occurred at IMAQ Grab Acquire.vi:10
    Possible reason(s):
    NI-IMAQ: No buffers configured for session.
    Thanks!
    Attachments:
    grab_dual channel 2.vi ‏63 KB
    grab_dual channel 2.jpg ‏41 KB

  • Multi Channel Delivery

    Hi All Experts,
    We are trying to evaluvate Oracle Documaker 12.0 and were sucessfull in most of the part.
    One question remains unsolved.
    Does Oracle Documaker (12.0) support multi channel delivery? One of the customers require output to be in the format of PDF, Print, Email ( until this it seems ok), SMS, Voice ( which we are not sure of).
    Can any one give some guidance of getting the output format set to SMS or Voice?
    Also, how to acheive Multi Channel output based on a value in the input extract file? ( Using multiple FSIUSER.INI??)
    Thanks
    Arumugam

    Hi Arumugam,
    I am assuming you are actually inquiring about Oracle Documaker Enterprise v12.0.1.
    If so, there is a Reference Implementation Master Resource Library (RI-MRL) that comes out of the installer and is referenced in the Documaker Enterprise Installation Guide, with examples for the different Distribution types and settings including example XML inputs that trigger batches for SMS and others.
    Input controlled output distribution is done via the batching configuration in the Administrator and data mapped to the database tables in the schema. Recipients are selected based on the batch configuration, via the Selection Criteria Rule, which allows you to use any metadata from the input that is mapped to be distributed to one or more batches. The Batch configuration defines the output and distribution options, see "Including Recipients in a Batch" section of the Administrators Guide documentation.
    If you review the Documaker Enterprise Administration Guide for SMS references you will find a section entitled Setting the Distribution Options. There is out-of-the-box SMS support through SMTP-SMS bridge (see UseEmailForSMS in the Administrator Guide) where you provide the email address in the input stream for the SMS message delivery. If you want full fledged SMS and Voice message support directly via phone numbers through the various wireless carriers I recommend you review offerings such as Oracle User Messaging Serivice (UMS) (e.g. http://docs.oracle.com/cd/E14571_01/integration.1111/e10224/ns_intro.htm) . Documaker Enterprise has a built in integration with UMS services (see UseSMSService in the Administrator Guide) but also has integration points to allow for other integration so if there is a messaging service that your customer(s) prefer or own the Output Publisher component offers extensibility to map user classes to mime types (user defined or standard) to push out data to the desired endpoint.
    Regards.

  • Multi-Channel Sound in Director?

    I'm interested in creating a 3D immersive environment in
    Director. I'm looking for a way to select which speaker a sound is
    played on. I know that I can set the pan for a sound over two
    speakers, but would like to do that for two pairs of speakers,
    independently.
    Does anyone know a way to output audio to the front and rear
    channels and control what sound goes where?
    Thanks for your help!

    Lingo natively has 8 sound "channels" but they all get mixed
    to the same sound device. You probably need an xtra than can access
    a multi-speaker setup on the sound card. Also, did you look at
    OpenAL and the OpenAL xtra? It's built for 3D sound.

  • Multi channel audio not exporting from fcpx xml as mono to logic always comes in a mixed surround

    I have a long edit cut with 24 bit multi channel wav files (i.e 6 microphones on separate tracks but in a single wav file.)
    This is very a very common production practice.
    when i import into fcpx it defaults to seeing the files as surround. I change this to mono so i can mix and spit the audio between each mic.
    The last step in the edit is to hand the mix off to the sound designer in logic.
    however no matter how i export the xml file for logic. it always comes in as a surround file again instead of mixed mono files.
    it shows up in logic as 6 tracks but all but generally only the top track has a mono mix of all 6 and the rest are blank.
    it shows that all 6 are seen as 5.1 surround indicated by the icon.
    interestingly if i just import the file directly into logic it comes in as 6 mono files. (the icon for mono showing and all are separate microphones)
    Any ideas on how to get fcpx not to export the audio xml as surround? (it seems that it is locked to that on import no matter how i modify after)

    Ok so i order to help anyone who is interested.
    The only ironic solution to this problem i found was to use a plugin called xto7 to convert the xml to the old fcp7 format.
    i then imported this into premiere pro.
    this was then able to export an OMF that when imported into logic 10 that was using the correct 6ch mono setting as separate tracks.
    Insane but it works until Apple fixes the incorrect meta data import in FCPX that sets the xml export to the default import that is always surround.
    this is the only way i was able to send stems with all the edit points and fades for the sound editor.
    If you don't have premiere lying around you maybe able to do it with fcp7 too we just didn't have it in this studio.
    Fingers crossed Apple fixes the fcpx xml export.

  • Setting Default Audio Channels on a multi-channel interface

    Does anyone know how to set the default output channels for QT to anything other than the first 2 channels on a multi-channel interface (in my case a MOTU 828mkII)? I use the digital outputs on my interface, and this works fine wih every other app apart from QT (I select the motu in Audiomidi Setup, and then use the device driver to set the appropriate default output channels). I can do it in QT on a movie by movie basis using the Movie Properties pane, but this is irritating, and I want to set digital outputs as the default so QT sound files in a browser play back through the correct channels of the interface.
    Thanks if you can help,
    Rob
    Dual 2.5 G5    

    The mic is mono. It only records on one channel. Rather than double the sound you can center it. Edit into the timeline only the track of audio with the mic. Select the audio in the timeline and press Control-period to center pan the sound.

Maybe you are looking for