analog-to-digital

Hello, please how to convert an analog output digital, I'm working on the cRIO 9012.


Tags: NI Software

Similar Questions

  • External monitor for X 61-analog or digital


    Hello and welcome to the forums!

    The output on the X 6 ban is analog, but most sold monitors come with analog or digital - input some with both, others with one or the other. Your purchase of the monitor should not be limited to the connector type for the simple reason that there are connectors available conversion easily and cheaply, if necessary, convert the analog signal to a digital connection. So, this is really you, offers you can get on an external monitor to make a purchase of such.

    Then, there is no worry about running two monitors on the X 61. Use Vista or XP, you will be able to flawless use monitor or both. You can make the selection in the display properties (of no operating system). No additional software required to do this.

    Hope that helps

  • analog and digital data synchronization

    Hi all

    I would like to help with what I seek to accomplish, if you don't mind much.

    I'm trying to synchronize the acquisition of analog and digital modes using a common trigger that launches both types of data collection at the same time. What I've done so far, is wasting his time trying different combinations to gather examples of LabVIEW 2011 on the synchronization of data - namely the 'Multi-multifunction-Synch AI lu Dig Chan.vi' and 'Multi-Device Synch-Analog Input-Finite Acq-Analog Start.vi.

    I tried to combine the two, because one contains digital and analog, the other contains the trigger for multiple tasks.

    I guess I should place the trigger (either digital or analog-eventually I will want to choose) then call the "Get Terminal name with device Prefix.vi. But from there I'm not sure wheter to connect the name of the terminal of the sample clock digital channel or a digital leading edge of the digital chain trigger.

    Also, the way it is wired now I get errors at the local terminal name, so I don't know exactly where this terminal must come from.

    I try my best, I could use a little help, I have attached my attempt with the examples that I speak to you.

    Thank you.

    Hi beefcake.

    The CtrInternalOutput internal output line is used as sample for your digital output sample clock source clock. If you change the settings for your CO Pulse Time is Dev1 and your digital output is Dev2, you will notice that the name of the product terminal would give Dev2/CtrInternalOutput. So what you get here, it's as well as the digital output device sees his sample clock, instead of the clock itself.

    If you just want to use a digital/analog input as your trigger, you should do something more as in the example above. Do you use multiple devices, or are all your lines on the same device? This example is more complicated because it is synchronization of signals on several devices.

    Looking at how this VI is wired, you can see that the digital signal triggers the analog signal. You want the analogue signal must be started first, so that when the digital signal triggers the analog task is already running and can trigger immediately. If the digital task started first, it can trigger until the similar task had started, and they do not exactly trigger at the same time.

    I hope that clarifies things. Kind regards

  • How to trigger and outputs analog and digital Outout tasks begins on a counter to start?

    Hello

    I'm trying to synchronize the start of a task outputs analog, a task of digital output and a task of counter. I want to start the counter to serve the master trigger and analog and digital tasks to synchronize his departure.

    I guess I need something like:

    analogOutputTask.Triggers.StartTrigger.ConfigureDigitalEdgeTrigger ("?", DigitalEdgeStartTriggerEdge.Rising);

    digitalOutputTask.Triggers.StartTrigger.ConfigureDigitalEdgeTrigger ("?", DigitalEdgeStartTriggerEdge.Rising);

    analogOutputTask.Start (); Slave 1

    digitalOutputTask.Start (); slave 2

    () counterTask.Start; n / / master

    Where? is a string specifying a command source for the beginning of the task of the meter. However, I can't find what this string. Any suggestions?

    Thank you!

    -Jon

    Just FYI, the solution to this problem as well as some other ones is encapsulated in a short example .NET, I created. It is on the Web site of EITHER:

    http://decibel.NI.com/content/docs/doc-15500

    This project shows how to synchronize all your analogue/digital outputs through tasks and forums in terms of synchronizing Calendar and start clock.

    -Jon

  • NEITHER USB-6343 analog and digital grounds

    In the manual for the NI USB-6343, it is said that the mass input/output, analog and digital terrestrial are related, but by a small sign. For my application, I am attaching all 3 these grounds to exit the box (I'm tie all areas with physical threads). It is perhaps a silly question, but it's OK to do, correct?

    This should be OK unless there are large currents flowing on ground conductors.  If you have important currents in the ground, you have other problems that must be resolved before you connect the DAQ hardware.

    Lynn

  • Do not connect ANALOG and digital grounds when the annotation to the front at the UB

    I'm finding randomly more often when I annotate with impatience to UB analogous and digital patterns do not connect.  In addition some power to the IC pin connections are unable to be connected in UB.

    Connect to the digital terrestrial analog ground is checked in my properties of Ms.

    Is there a reason for this?

    Thank you.

    Tien Pham offers this solution that worked:

    I saw the ground issue in the file you sent and you can fix it by replacing
    the digital ground with the one from V12.  On the Spreadsheet View, click
    on the "Components" tab, select all the Dgnd symbols, next click the
    replace icon on the Spreadsheet to replace all symbols at the same time.
    
  • Tips on ribbons Hi8mm analog to digital conversion

    Hello

    I'm looking for advice on the conversion of some Hi8mm analog video tapes to digital. They are not my tapes but I still prefer to get a good quality transfer. I can make a few changes on some of them pre and want to maintain the ability to modify them in the future.

    At the present time, I bought a converter USB of Roxio easyVHStoDVD which States it can capture in DV - AVI format, but does not actually appear able to do. Results so far to capture have been wayward at best, but I'm still working on it, but don't trust because the captured format isn't DV - AVI.

    I have read several people here, which suggests using an ADS Pyro converter analog-to-digital Firewire. Would it be a better world, less painful path go? And what other advice someone doing an A/D conversion?

    Thank you

    Paul

    Yes the DV - AVI captured in the ADVC110 will be 13 GB per hour exactly the same thing from a miniDV Tape.

    Once burned on a DVD video files will be converted to MPEG2 (VOB to DVD), these can indeed be imported into Premiere Elements to edit more far however there will be an impact on the quality. MPEG2 is a compressed format, available from PE7 8Mbit/s higher transmission speed, the size of the file is reduced to about 4 GB per hour. If you encode at the higher rate (a little more than one hour on a single DVD layer), you could do a cycle of edit/burn more without losing too much quality. Ideally, you do not use an editing program that supports rendering of chip, which will burn the portions without re-rendering avoiding the following quality loss. Unfortunately PE7 does not support chip-made... so that most of the other editors.

  • Synchronization of analog and digital output with the external sample clock

    Hello

    First of all sorry for my English, I will try to explain what I want to do.

    I want my PCIe-6321 to send two custom signals (modification sawtooths) on a mirror controller. I would also like to generate output with my card at the beginning of each tooth of saw. Everything must be synchronized with an external k-clock signal of 100 kHz. The idea is that whenever the PCI receives a trigger to external clock, it sends two analog output voltages and when he received 1024 clock ticks it will also send a pic of triggering TTL. What I do is first prepare the map and after that in a loop sending and modifing the output values of the two signals and at the same time send a digital signal Boolean in each arch, so when's done it 1024 iterations of the loop I send an event to the digital port. Attached you can see.

    The problem is that I don't know how to synchronize both. Can I use the sample clock just to the analog output? I can use sample for the two outputs clock, or do I need to use the output of the meter? If don't know how to use it here.

    If I do nothing else bad/wrong, I would be grateful for feedback.

    Thanks in advance,
    Pablo

    I don't know how but I find the solution. I'm generating more than a positive value (as I was triggered maybe very fast the oscilloscope has been absent there). If I put the sample clock of digital output to use the sampling/ao/Dev1 clock that it doesn't, but if I put to use the same source as the OD (terminal where my external clock is connected), but the trigger to start the DO to be Dev1/ao/StartTrigger this works. I don't really know why, but it does.

    Thank you for your patience and your help. I put here the final code.

  • Producer consumer with inputs and outputs analog and digital

    Hello world

    I'm working on a program of control system for some practical test work. Currently, I am working on the data acquisition of the Labview program component. My architecture is consumer-product loops with a what. My system will have analog inputs, outputs, analog inputs and digital outputs. It is not a criticism of time sytem, but I wish that all the acquisition of data to synchronize. I enclose my program because it is at the moment. I have difficulties to get all the data in the since that I have two types of data. In addition, I don't know if I have synced the four sequences of read/write correctly. I would be very happy if someone could take a look at my program and give me some advice. Thanks in advance.


  • conversion of pulse analogously in Digital pulse sequence

    Hello

    I work to detect the peaks in a particular time interval say 'x '. I acquired the analog signals (impulses), as shown in the image here AcquiredPulse of analog card with data acquisition. Before detect the peaks of the pulses of different amplitudes having almost the same period of time indicated in the picture above, I want to convert them in digital or of the same amplitude pulses pulses , so it won't be easy for the detection of peaks process. And after getting what I need to know the time interval between pulses.

    Can someone help me with the implementation of the present.

    By this Vi, you can convert the waveform

  • simulateneous of analog and digital triggering

    Hello

    I have an experience that is very similar to this announcement:

    http://forums.NI.com/T5/LabVIEW/how-do-I-reset-the-arm-trigger-with-DAQmx/m-p/2006639/highlight/FALs...

    As in the display, I need trigger out of logic AND low frequency (3 Hz) and a signal of high frequency (100 Hz).  However, my experience is different because my low-frequency signal is an analog of entry (AI0) and I need experience to trigger off each edge of the signal change high frequency, while the analog input is high.  To do this, I created a trigger to HAVE that starts a counter whose state high and low are similar to that of my analog input signal.  I then export the output event from the meter to a port (PFI8) and pass this signal and the other signal high frequency through a door AND as in the posting linked above.

    So far, everything works.  I've included a VI that is just this part.

    However, I then connect the output of this gate AND a PFI0 port and use it as a digital triggering to read an AI0, 1 channel.  When I perform this final step, my whole system stops working, but gives no error.  To troubleshoot, I measured the output of the meter to the port of PFI8 has stopped working and the port of PFI8 remains in the low state.  For some reason any when I add the channel HAVE additional (AI0 or AI1, whatever) with digital trigger (PFI0), everything grinds to stop.  I have also included the VI for this case.

    Any ideas?

    Thank you very much!

    Hi Jared,

    I use indeed a door AND external as described in the thread.   Further research actually led me to discover that "you can't have two analog input tasks at the same time" of this thread:

    http://forums.NI.com/T5/Multifunction-DAQ/multiple-analog-inputs-by-multiple-digital-triggers/TD-p/1...

    So I had to build a circuit to convert my analog signal into TTL signals (for the release).  I then AND'ed the two signals in the same was as described in the thread mentioned above.

    -Clinton

  • analog output digital start trigger the api c

    Hi, I'm trying to start analogue output based on a digital trigger (either PFIO or a PXI line) I can make this easy in LabVIEW.  However with the C API (through the Python wrappers), the problem is when I call DAQmxBaseWriteAnalogF64, writing will always be timeout that the acquisition was not triggered.   However, I can't call it after the trigger occurs, because obviously, it will be too late.

    I can't find any examples of C API where the analog output is triggered a digital triggering.  I can find for the analog input, but is fundamentally different that you can CONV read anytime after the trigger occurs.

    Python code as follows (functions are equivalent ot C API, even if you have no need of ot pass the task handle such that it maintained as part of the Task object)

    # create analog output task
    analog_output = Task()
    analog_output.CreateAOVoltageChan("Dev1/ao0","",-10.0,10.0, DAQmx_Val_Volts, None)
    analog_output.CfgSampClkTiming("",outputRate, DAQmx_Val_Rising, DAQmx_Val_FiniteSamps, numSamples)
    analog_output.CfgDigEdgeStartTrig("/Dev1/PFI0", DAQmx_Val_Rising)
    analog_output.StartTask()
    analog_output.WriteAnalogF64(numSampsPerChan=numSamples, autoStart=False,timeout=1.0, dataLayout=DAQmx_Val_GroupByChannel, writeArray=data, reserved=None, sampsPerChanWritten=byref(samplesWritten))print("Analog output: Wrote %d samples" % samplesWritten.value)# create digital trigger dig_out = Task()dig_out.CreateDOChan("Dev1/port0", "", DAQmx_Val_ChanForAllLines)
    
    # create digital trigger function
    highSamples = 1000
    numpts = 3 * highSamples
    doData = np.zeros((numpts,), dtype=np.uint32)
    doData[highSamples:2*highSamples] =  2**32 - 1
    
    # send digital trigger
    doSamplesWritten = c_int32()
    dig_out.WriteDigitalU32(numSampsPerChan=numpts, autoStart=True, timeout=1.0, dataLayout=DAQmx_Val_GroupByChannel, writeArray=doData, reserved=None, sampsPerChanWritten=byref(doSamplesWritten))
    print("Digital output: Wrote %d samples" % doSamplesWritten.value)
    

    Hi PatrickR,

    You can review examples of code NI-DAQmx (ANSI C) text based on the production of an output using a trigger to start digital analog. If you included/checked support textual dusing your NI DAQmx driver installation, you can navigate to Windows start > all programs > National Instruments > NI DAQ > Teaxt-Based Code support > ANSI C examples > analog output > generate voltage > Mult Volt updates-Int Clk - Dig start. If you have questions/doubts about the material.

  • I need help with analog to digital VI

    Hello

    I am trying to create a 13-bit virtual adc

    what I want to do is to use a simulated signal (e.g. sine, square, etc.).  the sample at a rate of 8 khz frequency and send each digital sample serial port.

    the thing is that I don't really know how to use the analog/digital VI, I know it converts an analog signal into a digital signal or a table, but I want to be able to use these digital data and not just watch it on a table

    Sorry for my bad English and thanks in advance

    Copy the code shows the conversion of a sine wave of digital data with a resolution of 8 bits, and then to convert digital data into a byte array.  Send one byte at a time by the serial port.

  • Two threshold analog to digital

    I was asked to develop a code which would take a signal an analog mode, convert it to a digital camera, then perform the frequency, duty cycle and test on that signal integrity.  Built in OR functions to perform these tasks were inadequate, because we need to be able to detect a single drop out of a cycle.  With a real-world signal I realize it may be noise and one with a single threshold of convert from an analogue to a digital camera may show transitions that do not exist and so I was planning on the development of certain types of debounce code.

    Someone said instead using two thresholds, one for the bottom and one for the top and don't take into account that the signal of the transition if it exceeds the top after going below the bass.

    My attempt at this method is attached.  This VI simulates a sine wave with a lot of noise, then made a single threshold for show how imperfect, it can be.  Then using signal that there is a threshold of two level which works much better, but has a slight change in the time domain, and start will contain unknown values because no transition has occurred with the first sample.

    Pointers or suggestions to improve my implementation is appreciated.  Thank you.

    EDIT: This uses an OpenG function in the Array palette.

    I've done some destruction to your code and converted for you in 2012.  Added the upcoming indeices.

  • Fortunately the cRIO merger two time real screws: analog and digital output

    Howdy,

    I need help with a cRIO code.  The purpose of the code is to acquire an analog input from the NI 9234 c series module and be able to send a "signal of pulse" digital camera (first low for some time, t1, then high for some time, t2) from a NI9401.  Separately, I wrote the code to perform both tasks.  However, when I add the code of RT digital output pulse pulses to analog input RT code, the DMA FIFO overflows because of the way that my digital pulse output code works.  Currently, there are two reasons which overflows of the FIFO:

    1. The digital output code is pending for a while loop (pending "Send Pulse" become a true), the loop I can't empty the buffer FIFO
    2. The FIFO is not enough, quickly emptied depending on how long the pulse (t1 and t2) times are.  The way I keep the pin high or low for a defined period of time is by issuing a sleep command, which blocks the loop I empty the FIFO.  (Is there a "best" way to sleep?)

    I have attached photos of my codes FPGA and RT.  Please give me a suggestion on how to marry my two loops of RT for the use of happy resources!  Thank you.

    I found a quick way to solve this problem.  I moved the timing of the Digital pulse on the FPGA.  So whenever I have a Boolean value, the FPGA generates a waveform with the settings I put (a pulse in my case).  This works because the FPGA loops run in parallel, I think.  That's why, when I run a pending order in the loop of FPGA digital output, it does not prevent the FPGA of analog input loop to run.  I have attached a picture of the code.

Maybe you are looking for

  • [German] Panels auf 2 different Bilschirmen

    ICH habe ein Programm also eine exe. Am mit 2 screens. Wenn ich das Programm starte green ein auf dem Panel 1. Bildschirm und das andere auf dem 2.Bildschirm Panel. -Wie kann ich das change? I would like both panels auf dem Bildschirm gleichen. -Wie

  • Cannot reset password

    Hello, since OUTLOOK has removed the ability to 'Share' of multiple e-mail accounts, I'm unable to access my mail because I don't remember the password. I have tried the reset several times but never got an email. Please help, I am losing business an

  • Windows XP SP3 - reader DVD - RW 'Incorrect function' on blank CD

    I get an 'Incorrect function' error on both of my readers of DVD - RW on Windows XP. I investigated the issue for a few days and came away empty-handed. 1. I tried to delete upper/lower filters in the registry. This helped to ensure that they are det

  • connection problem - I forgot the password

    I kept my daughters en computer three months and forgot the password to log-in. How can I access windows without the password. I tried the method [Administrator] without success

  • x 230-problem of recognition of ram

    Hello world First is what I ordered: x 230 Type: 23257R6 X 230-1x4Go - 500 GB HDD - i53320 and some other features. The 230 x came to me with no OS because I already had a 64-bit Win7 Pro licence. I've done it is install a 128 GB SSD in mSata Slot an