Retriggere​d analog output from DIO

I'm having problems with the following setup:
I have a 6031E which I would like to output a certain analog pattern when receiving a trigger from a 6533. As a starting point, on the 6031E I'm running "retriggarable_AO_easy_6.vi" It works fine with a signal generator square wave into TRIG1.
On the 6533, I'm running "Cont Pattern Output.vi". It works fine.
However, when I connect the output from the 6533 into the TRIG1 of 6031E, the analog output is very eratic. Even when the output from the 6533 is identical to that from the signal generator, I'm missing a lot of analog outputs.
Thanks!

Hi,
This is really an odd behavior. You can try the following: trigger the AO operation on the 6031E from a function generator, and then output some digital values on the 6533 while the AO is running. If you see the same erratic behavior, then this is something that needs to be investigated further. If not, then it could be some connection issues -- maybe sourcing more current that the card can tolerate. Also, it would be very helpful if you can try the settings on another computer.
Regards,
RamziH

Similar Messages

  • How to toggle LED at analog output from my VI Using NI USB 6009

    Greetings,
    I bought this NI USB 6009 Multifunction I/O and found various uses for it. In my VI, I am acquiring some signals using the DAQ assistant. After doing a couple manipulation I would like to toggle a LED at one of the two Analog outputs available. I tried configure it in Max and was able to toggle it there, but now I would like to have the VI do it once a certain value is attained. Can anyone  tell me how this is done as I think I might be doing something incorrect.
    Thanks
    Edward

    Greetings,
    Attached you will find just a simple code to turn on the LED if the indicator on the VI's front panel illuminates. In my original code it is something similar. I have also check the wiring and I don't think that's the problem since I was able to toggle it through Max. I am using LV 2009. When  the output channel was configured in Max, the output voltage was set to range from 0-5V. I am not sure if the DAQ  Assistant  analog output is being triggered properly.
    OK, Lets say that I wanted to turn on the LED if a number was greater than the one stored in memory. How would I pass that to the NI USB 6009 to turn on a External LED. Please assume that the output is wired properly.  
    Thanks
    Edward
    Attachments:
    LED Application.vi ‏43 KB

  • Decent analog output from my Qosmio F20-154

    I am using my Qosmio as a Microsoft Media Center with my TV connected via VGA output. This provides me with a pretty good picture.
    However, my TV does not support most zoom modes for VGA; neither does it for DVI or HDMI.
    So I tried to output the picture via S-Video - this produces a horribe and unacceptable picture.
    Unfortunately, Qosmio does not have TV-out so I cannot try that.
    So, does anyone know of a piece of hardware that can be used to make Qosmio produce decent analog output, such as TV-Out (antenna) or Composite?
    Thanks in advance,
    Brian

    As far as I know youve got only two possibilities to send the video signal.
    Qosmio F20 supports video viga port and s-video port.
    So either you will use the Video VGA (15 pin) port or the TV-Out super-video (S-Video) mini 4pol port to connect the TV to the notebook...
    I have connected my notebook to the TV also using the s-video port and the pic quality is OK.
    Please check you s-video cable and if possible test another one furthermore I would recommend checking some s-video option and settings on the TV

  • How do I get an analog output signal from my PCI-MIO-16E-4 card?

    I need an analog output from 0-10 V to control the mass range on a mass spectrometer. Do I use the DAC0out channel to do this? The manual only talks about analog out (ao) channels. Is this the same as DAC0out and DAC1out? How do I set up the DAQ assistant for this process? I do not need a waveform, only a constant signal.

    Yes indeeded. The DAC0out and DAC1out are the analog output channels (ao0 and ao1).
    Simply follow the examples that ship with LabVIEW. You can also easily create code with DAQ assistant.

  • Count 4th consecutive pulses from the analog output of the encoder

    Hi
    Iam getting analog output from the encoder and i want to count the 4th peak of the analog signal. Kindly suggest the best method Once 4th pulse is detected counter will increments.
    Pl refer the encoder output .
    Thanks
    Attachments:
    encoder sig.JPG ‏26 KB

    Whatever you've counted using your logic, divide it by 4 and convert it to an integer (towards negative infinity)..!!
    This should work.
    I am not allergic to Kudos, in fact I love Kudos.
     Make your LabVIEW experience more CONVENIENT.

  • No digital video output from XVR-300 in Ultra-45

    I am switching from solaris 10/x86 to sparc. I have a new Ultra-45 with XVR-300 graphics adapter. It's running Solaris 10u4. The system was ordered as a standard configuration from the catalog.
    The XVR-300 graphics adapter currently produces no digital output. My Sun A1240P0 24" monitor reports no signal on the DVI input. That is, there is no digital output at power on (boot ROM), during Solaris boot (terminal), nor after Solaris finishes booting (X).
    The graphics adaptor uses a connector with two video outputs, and comes with a splitter cable with two DVI output connectors. I get no video output on either. The DVI cable I am using is the one that works when connected to the graphics adaptor on the old system.
    I added a VGA adapter plug to connector 1 of the splitter cable, and was able to get an analog signal to drive the display via the VGA input connector.
    The manuals for the Ultra-45 and for the XVR-300 make no mention of analog vs digital output. They both just say to connect the adapter to the monitor.
    Since I can get analog output from the SVR-300, the card is basically working. The DVI cable and the monitor's DVI input work with another system. The only variables are the digital output from the XVR-300 and the splitter cable. (The splitter cable's analog signals work.)
    How can I activate digital output and make it the default?

    try this page........
    http://docs.sun.com/source/819-6651-13/chap2.install.html#50589705_pgfId-1001195
    To Set the Sun XVR-300 Graphics Accelerator as the Default Monitor Console Display
    1. At the ok prompt, type:
    ok show-displays
    The following shows how to set the console device:
    a) /pci@1f,700000/SUNW,XVR-300@0
    b) /pci@1e,600000/pci@0/pci@8/SUNW,XVR-300@0
    q) NO SELECTION
    Enter Selection, q to quit:
    2. Select the graphics accelerator you want to be the default console display.
    In this example, you would select b for the Sun XVR-300 graphics accelerator.
    Enter Selection, q to quit: b
    /pci@1e,600000/pci@0/pci@8/SUNW,XVR-300@0 has been selected.
    Type ^Y ( Control-Y ) to insert it in the command line.
    e.g. ok nvalias mydev ^Y
         for creating devalias mydev for
    /pci@1e,600000/SUNW,XVR-300@5
    3. Create an alias name for the Sun XVR-300 graphics accelerator device.
    This example shows mydev as the alias device name.
    ok nvalias mydev
    Press Control-Y, then Return.
    4. Set the device you selected to be the console device.
    ok setenv output-device mydev
    5. Store the alias name that you have created.
    ok setenv use-nvramrc? true
    6. Reset the output-device environment:
    ok reset-all
    7. Connect your monitor cable to the Sun XVR-300 graphics accelerator on your system back panel.
    Man Pages
    The Sun XVR-300 graphics accelerator man pages describe how you can query and set frame buffer attributes such as screen resolutions and visual configurations.
    Use the fbconfig(1M) man page for configuring all Sun graphics accelerators.
    SUNWnfb_config(1M) contains Sun XVR-300 device-specific configuration information. To get a list of all graphics devices on your system, type:
    host% fbconfig -list
    This example shows a list of graphics devices displayed:
    Device-Filename Specific Config Program
    /dev/fbs/nfb0 SUNWnfb_config
    procedure icon To Display Man Pages
    single-step bulletUse the fbconfig -help option to display the attributes and parameters information of the man page.
    host% fbconfig -dev nfb0 -help
    single-step bulletTo access the fbconfig man page, type:
    host% man fbconfig
    single-step bulletTo access the Sun XVR-300 graphics accelerator man page, type:
    host% man SUNWnfb_config
    haroldkarl

  • High Noise on Analog Output PCI 6289

    Hi guys
    I am using  a PCI 6289 M series device for A/D characterization , I am using the device both for the analog output generation and also for data acquistion of the digital lines , The dynamic tests for the A/D were showing a very poor SNR ratio of the ADC, it is a  12 bit adc so technically in the ideal case i should atleast see  90 db but the resulting figure was way lower around 40 db .
    I connected the A0 from the PCI 6289 brought out to a scb-68 block to a RHODE and SCHWARZ spectrum analyzer , the above spectrum analyzer is a decent one with good analysis capability and I was surprised to see a SNR of 50 db , the data sheet says that PCI 628X devices have  a internal 16 bit DAC so technically the SNR should be atleast 90 db even if 6 db were removed for the harsh environment of the computer .
    please advise , have anybody else faced this problem , the data sheet does not give a figure for the SNR ratio of the card , since i need to test a 12 bit adc , thought that 6289 would be up to the task since it has a 16 bit DAC.I am using the Noise shielding cables and also SCB-68 block , the block is far removed from other power supplies .
    any ideas why the noise is occuring , one of my colleagues says maybe the harsh environment inside the pc enclosure causes it , is it necessary to use a separate PCI box for the card and then connect the card to the computer , is this standard procedure ?????.
    and also does the PCI -6289 have a filtering option for the analog output , all i could find was the filtering for input.

    Hi Tom
    Thanks a lot for responding to the thread , did not expect a response in the holiday season . The SNR for the 12 bit one was a typo , was referring to the 16 bit onboard dac in the M series card , which technically should ensure a clean input signal having atleast 90 db .
    The info you have given helps a lot , i suspect the conditions inside the pc might be causing it , also i am driving the analog output from the card at almost its limits of 2.5 MS/s , the sample rate specification for the card on the data sheet says 2.8 MS/s , also i notice the settling time requirement for the outputs is 3 us which i suspect will put the onboard DAC under quite a load.
    If the conditions inside the PC cannot be rectified , where can i find a external PCI box which can be connected to the computer or does such a box exist only for the PXI cards ? will that necessarily rectify the problem and also since filtering is not possible on the card itself , I remember reading the scb -68 connector block has  single RC output filter option , i would have to use discrete R,C components to make it but notice on the right hand corner some pcb holes are provided , would this help.
    Would appreciate your Response
    Thank you
    Chip learner

  • How to create a mono output from a mono aux send?

    Trying to create a mono output from a mono aux send but option available is only a stereo output. Any way to force a mono output?

    Yes - I'm aware of the mono vs stereo. Let me outline more precisely what I'm attempting to do. (By the way, I know this can be done as I do it easily in MOTU's Digital Performer.) The desire is to create a mono send inside Logic that I can then send out through my MOTU interface into a Lex 300 reverb unit. I then take the analog outputs from the Lex 300 and bring them back into Logic. I want the send to be mono as I am mostly sending from mono recorded instruments and voices. So chain would look like this:
    Track 1
    Send Bus 8
    _Bus 8 Mono output_
    MOTU 2408 Input
    Patch Bay cable
    Lex 300 Mono input ///
    (now coming out)
    Lex 300 Stereo Out
    patch bay
    MOTU Stereo Inputs 15/16
    Logic Stereo Input 15/16
    Mix.
    The problem with the chain is that I cannot select a _mono output_ - it only allows for a stereo output. I can pan it one way or the other but it still does not seem to function correctly and toggling the mono/stereo button does not change the fact that this is still a stereo output. I hope this does not make it more complicated - it seems like there should be a simple solution. Any ideas? Thanks.

  • Aud2 ZS platnm I get I/O from front panel, but no output from REAR OF CA

    I had a Audigy2 in my Dell, worked fine. I needed MORE I/O ports. I got a Audigy2 ZS platinum for the front panel (extra I/O) front panel works fine, sound card sounds fine, all is well - except I get no output from the back of the card. (certainly this isn't a "front OR rear" sort of thing?)
    About ready to return it.

    I DO get digital output from the front and back (front panel on front of Dell) and back of card. I don't get ANALOG output from card. I thought I recall a selecti've click box in the software that said "digital only" where is that. (I HATE creatives software - SO MANY LITTLE UTIL PROGRAMS THAT DO LITTLE OR NOTHING EACH) you have to HUNT through them all to find the option you need.

  • No digital output from 6 year old Sound Blaster C

    Hey Everyone, I'm new to this board and have a question. I recently purchased a custom-built computer with an ASRock PCI Express motherboard with
    onboard speaker and mic inputs. I have Boston Acoustic BA735 digtal speakers. I can only get
    analog from the onboard sound. I removed and installed my 6 year old Sound Blaster Li've
    Value card (Model # M48309403265) from my old Gateway PC into my new one, and installed
    the Li'veDrvUni-Pack update for Windows XP. I can't get any digital or analog output from the
    card. I tried my mic on the onboard input, but kept getting pulses at regular intervals on
    my WAVforms or sonographs. I plugged the mic into my old Sound Blaster card and the pulses
    disappeared, so I know the mic is working. With all the info I've provided, is there a patch
    or update or anything for my old Sound Blaster Li've card to get digital output?
    I tried the Sound Blaster Li've 24 Bit card, but returned it because the same input for the
    speakers is the same for the mic. Also, there's no gameport on it.

    Yo, BadBoy! Phew! Man, you helped me out a bunch. I had to do some tinkerin' between the drivers from Gateway and the Li'veDrvUni-Pack. I had to install it without the windows drivers from Li'veDrv... and start clean. I'm now getting digital output and my mic is working on my old card. I can't get the Creative Surround Mixer from my old card's software, or from Li'veDrv.. but I can use Windows' Volume Control. If you want to see why sound is so important to me ya' can check out my site at http://www.ramseybotelho.com. Thanks again, Dude.

  • How do I configure 128 channels of DIO and 128 channels of Analog output with the availabili​ty of 3 pci slots

    I have only 3 slots of PCI or 4 slots of ISA bus, I want to configure with the minimum possible modules to attain 128 channels of DIO and 128 channels of analog output. This is inturn fed to the PCM (Pulse code Modulator). The cards will be placed in industrial PC.

    Associate Engineer-Marketing,
    Using just those 3 PCI slots you're not going to be able to get the 128 analog output channels. You will probably want to go either the MXI-3 (PCI bus extender) to a PXI chassis or E Series DAQ card to a SCXI chassis for such a high channel count system. Which analog output cards and which digital I/O cards you will want depends on your application. You will have to decide whether you will need static or dynamic analog output as well as whether you need clocked digital I/O or not. I highly recommend contacting our internal sales department at 1-800-433-3488. They are great at helping specify systems.
    Ames
    Applications Engineering
    National Instruments

  • How to get signal from analog input and send it to analog output (real-time​)

    Hi everyone,
    I am doing simple task in Visual C++ and I am using PCI-6221(37 pin).
    Basically, I want to send same signal from 'analog input' to 'analog output'
    at the same time (almost), to make it real-time application.
    Can someone please provide me sample program. 
    I would appreciate if you could provide me with the good tutorial which explains
    step by step everything about programing NI-DAQmx for C/C++.
    Best Regards,
    Khassan
    Solved!
    Go to Solution.

    This is my code in C++, you can optimize it if it looks too messy. This code reads signal from analog input and outputs it through analog output. 
    To make this code work additional  include directories and library directories must be added from NI.
    I hope it helps someone.
    #include <stdio.h>
    #include <conio.h>
    #include "NIDAQmx.h"
    #include <math.h>
    #define DAQmxErrChk(functionCall) { if( DAQmxFailed(error=(functionCall)) ) { goto Error; } }
    int main(int argc, char *argv[])
    int32 error=0;
    TaskHandle taskHandleRead=0,taskHandleWrite=0;
    int32 read=0;
    float64 dataRead[1000];
    char errBuffRead[2048]={'\0'};
    char errBuffWrite[2048]={'\0'};
    bool32 done=0;
    int32 written;
    DAQmxErrChk (DAQmxCreateTask("",&taskHandleRead));
    DAQmxErrChk (DAQmxCreateAIVoltageChan(taskHandleRead,"Dev1/ai0​","",DAQmx_Val_Cfg_Default,-10.0,10.0,DAQmx_Val_Vo​lts,NULL));
    DAQmxErrChk (DAQmxCfgSampClkTiming(taskHandleRead,"",100.0,DAQ​mx_Val_Rising,DAQmx_Val_ContSamps,0));
    DAQmxErrChk (DAQmxCreateTask("",&taskHandleWrite));
    DAQmxErrChk (DAQmxCreateAOVoltageChan(taskHandleWrite,"Dev1/ao​0","",-10.0,10.0,DAQmx_Val_Volts,NULL));
    DAQmxErrChk (DAQmxCfgSampClkTiming(taskHandleWrite,"ai/SampleC​lock",100.0,DAQmx_Val_Rising,DAQmx_Val_ContSamps,1​000));
    DAQmxErrChk (DAQmxStartTask(taskHandleRead));
    DAQmxErrChk (DAQmxStartTask(taskHandleWrite));
    while( !done && !_kbhit() )
    DAQmxErrChk (DAQmxReadAnalogF64(taskHandleRead,1,10,DAQmx_Val_​GroupByScanNumber,dataRead,1000,&read,NULL));
    DAQmxErrChk (DAQmxWriteAnalogF64(taskHandleWrite,read,0,10.0,D​AQmx_Val_GroupByChannel,dataRead,&written,NULL));
    _getch();
    Error:
    if( DAQmxFailed(error) )
    DAQmxGetExtendedErrorInfo(errBuffRead,2048);
    DAQmxGetExtendedErrorInfo(errBuffWrite,2048);
    if( taskHandleRead!=0 )
    DAQmxStopTask(taskHandleRead);
    DAQmxClearTask(taskHandleRead);
    if( taskHandleWrite!=0 )
    DAQmxStopTask(taskHandleWrite);
    DAQmxClearTask(taskHandleWrite);
    if( DAQmxFailed(error) ){
    printf("DAQmx Error: %s\n",errBuffRead);
    printf("DAQmx Error: %s\n",errBuffWrite);
    printf("End of program, press Enter key to quit\n");
    getchar();
    return 0;

  • How to synchronize analog input and output from two different USB daq boards

    Hi all,
    I have two very differnt USB boards the NI USB 6008, which I am using to acquire the data (Analog Input) and a NI USB 9263, it is an Analog Output only board that I am using to deliver a signal (in this case a square pulse). The reason why I am not using the 6008 Analog Ouputs is because I need to deliver negative voltages and need the full +/-10V range.
    Looking at similar posts I am pretty sure that I can't use an external trigger or a shared clock, I also tried to use the synchronization of timed structures but no cigar.
    I am including a quick vi that I whipped out showing how the signal jitters due to the lack of synchronization. The AO from the 9263 connects to the AI in the 6008 in this example.
    Solved!
    Go to Solution.
    Attachments:
    Test Pulse.vi ‏117 KB

    I talked to a specialist in the phone and tols me that it is not possible.

  • Analogy output a 5000 Hz sine wave from DAQ 6015

    Dear Friends,
    I am back again. Today I try to use the DAQ 6015 to generate an analogy output sine wave of 5000 Hz, it shows me underflow warning. I think it is because of the limit of the on board buffer size. However, I would like to ask for some advice from your experienced expert if there is any way I can make it.
    Many Thank
    dan 

    Hi Dan
    Just a few questions before I can help you. Are you using LabVIEW, if so which version. Are you using NI-DAQmx driver, again if so which version. When you receive the underflow warning do you also encounter an error code and description of the warning? Would it be possible to post the message and code in your next post.
    You can setup buffer size and sampling rate via LabVIEW. Using the DAQmx API makes this very easy using the DAQmx Timing.vi
    Kindest Regards
    Yatin | NIUK & Ireland

  • Single shot analog output: How to pulse this. Probably easy, I'm at a loss.

    Hello.
    I have a piece of machinery that my system is connected to.  Every time it reaches a proximity sensor (It's a reciprocating unit), I need to do a single pulse of 5v out of my analog output.  It has to be fast, it has to stop until the sensor is reached again, and it can't stay 'on' for long.
    I've attached my VI.  I'm using a voltage input via DAQ assistant, routed through some logic to produce a 'true' boolean every time that sensor is reached, and that boolean is connected to a case structure with voltage out tasks created in DAQmx.
    My problem is that the machine won't reverse while the case is still true and there's still the 5v being called by the true case on the case structure.  It has to pulse, then stop, then be allowed to come back when the proximity sensor is reached again.  As it is now, the machine reaches the prox and then the whole system stops, as the 'true' condition on the case structure, and subsequent voltage output, remain high.
    I've attached the VI and heirarchy as well.
    I've tried a few different things here, as well as just using a DAQ assistant with N samples, but that would just retrigger when the loop repeats anyway.
    I'd love to sit and bang my head against this til I get it, but I'm under a time constraint.  Help!
    Still confused after 8 years.
    Solved!
    Go to Solution.
    Attachments:
    using create channel.vi ‏94 KB
    logicsub.vi ‏32 KB

    Ralph, without knowing the exact DAQ card that you are using, it is difficult to give you the best solution. If you want to continue with the solution that you currently have, try adding a shift register to the outer while loop to track the previous value of the boolean. In this way, we can keep multiple values that are above the threshold from causing multiple pulses. Next add a time delay after the DAQmx Write, then add another DAQmx Write to set the output back to your low value. Remove all code from your "false" case. See attached VIs. Please let us know what model of DAQ card you have as we may be able to do something clever like a retriggerable pulse train if your card can support it.
    Charles Chickering
    Charles Chickering
    Architecture is art with rules.
    ...and the rules are more like guidelines
    Attachments:
    using create channel.vi ‏98 KB
    logicsub.vi ‏29 KB

Maybe you are looking for