Can we design analog to digital signal conversion block diagram (ADC) in labview

hi every one,i've doubt i.e can we convert function generator output (i.e analog signals) to digital signal in labview......can anyone help me how to create ADC circuit that means ADC Block Diagram in LABVIEW.....please give me solutions for my problem

Hi guru,
from signal generation VIs you get arrays containing float values (aka DBL). Those floats are just digital values made of 0s and 1s…
Any value in your computer is digital!
To provide a solution you need to rephrase your question! What exactly do you expect as result of your operation?
Edit: kkkkkkk ur ckt ???
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome

Similar Messages

  • Can airport express output a digital signal to feed a separate audio DAC?

    Can airport express output a digital signal to feed a separate audio DAC?

    Yes. To access the digital output from the AirPort Express Base Station's (AX) audio port, you will need to connect a mini-TOSlink digital optical cable.

  • Send out analog and digital signal simultaneously ?

    Is there any way to send out an analog signal and a digital signal at
    the same time? Time is critical in my application. Milisecond delay is
    not allowed. I am using a PCI-MIO-16E-4 board and DAQ 6.0.
    Any information from you will be deeply appreciated.
    Sent via Deja.com http://www.deja.com/
    Share what you know. Learn what you don't.

    You went a little too far. the while loop I was talking about was the one around the digital write. You've now taken the digital write completely out of the loop and closing it. You can't do anything with the digital when the analog in is running. You've also closed the analog write while the analog in is running. The attached is more like what I was talking about.
    Even with the diagram cleaned up, it sounds like you still have a problem. I don't know the details of your hardware setup but I would start by looking at the analog signal you are generating and verifying that it is correct to your hardware. It would help if you had a scope to troubleshoot. If the signal is correct to the hardware, then trace it through to the connection to the DAQ's analog input. If it's correct there and you still don't see the signal, then you may have wired up the DAQ incorrectly. You haven't specified the connection type (differential, RSE, etc) and I believe it will default to differential.
    Attachments:
    Single Channelv 2_mod.vi ‏535 KB

  • Urgent Help! How can i execute in the same block diagram two separate labview codes each one with diferent execution timings?

    Dear All.
    I have 2 application progrlams in the same block diagram. the intention is to use  the 2 programs at different excuting time for different application, and each have stop and start button ofcourse i will have master stop. But when i run the program, it only works one program at time , that is the 1st block which i make it active only , when i tried to make active the second block it will not work, only works when i stoped the1st one. So, this it to request ur hlep how can i solve my problem. here i have attached some of  my program.
    Regards!
    Solved!
    Go to Solution.
    Attachments:
    2_block application.vi ‏14 KB

    Usually you set up a task that has all the channels from all the modules configured. When a loop starts it reserves that task and the cDAQ can't be used by other loops unless you start and stop tasks.
    You can have one loop acquire all the data and if you want certain channels to go to other loops you can use the producer/consumer design pattern. If you wanted a third loop you would add another queue and the third loop would dequeue that data. See attached.
    Eric
    Attachments:
    prod-cons.vi ‏69 KB

  • How can I open a vi and show the block diagram?

    Hi,
    I am opening an vi using "Open VI Reference" and "Invoke Methodpen FP", but I want to open the vi and show the block diagram, but I haven´t found any method (Invoke Method) to do that and any property.
    Any idea?
    Thanks!
    Gracinda

    OK, I can come up with a reason.  I have written a program that will search the entire VI Hierarchy of a program and update all of the descriptions for all VIs with the top level program part #, the name of the top level program that the VI is used in, the company copyright info, the ITAR notice, company address, the name of the engineer performing the update, along with the date and time.  This will also place as a background image on all the VIs, a watermark of the company name, legality stuff and the copyright. It works very slick in that if there are thousands of sub-vis, such as what I'm working on now, it goes through all of them, makes sure the data is there as per company policy without having to open every one of them look at them and update or not whichever the case may be. The one portion that is tough is that the program will detect if there is a description written about what funtion the VI performs and if there is not a description, then it pops up a dialog requesting the user to write a description. The problem is that without looking at the block diagram for the VI, it can be nearly impossible to write a description for the functionality of the VI. So is there a way to programmatically open a VI, show its block diagram (this would only be in the case of a missing description) and then upon completion of the updates, close the block diagram? (I already open and close the VI programmatically in order to read the VI DESC and update as needed, but that is in the background and of course you can't see the block diagram).
    Thanks,
    Dan

  • Analog to digital video conversion

    I have some old VHS tapes I'd like to digitize so I can dump them. Is there a way to connect my VCR to my laptop and load them into iMovie? What do I need to be able to do this?
    Or is there a better way?

    Elgato makes some good products for this. See attached:
    http://www.elgato.com/elgato/na/mainmenu/products/Video-Capture/product1.en.html
    Regards,
    Captfred

  • How can i execute in the same block diagram two separate labview codes each one with diferent execution timings?

    Hello guys. I have been trying to solve this by a long time now...but i cant solve it....
    I have my main code in labview beying executed in one timed loop of 1second.....but now i need to pulse a lazer very fast than one second...
    my ideia was like executing the lazer pulse code in paralel with the main code but with a mutch faster timed loop....but when i put the second timed loop outside of the main one....it hapens that the aplication keeps runing only the faster loop and the main loop doesnt run....
    I really dont know how to solve this....
    many thanks
    JOSE

    JOSE,
    your code is really difficult to read. Please do some cleanup work, your diagram should be only little larger than an average computer screen. What I have glanced so far is that your code has a lot of beginner mistakes (overuse of local variables).
    For multi-loop applications, you shoul have a look at the tutorials concerning Producer-Consumer design pattern. The quick and dirty approach is to use locals (a bit contradictonary to suggest using locals here after I stated an overuse of them). The drawback will be, that you lose the latch mechanism of the button and must code it on your own (and make a big set of mistakes, using locals always attracts race conditions). Most important is that you write to your button only once, after all loops have finished spinning.
    Felix
    www.aescusoft.de
    My latest community nugget on producer/consumer design
    My current blog: A journey through uml

  • Can i convert a wav file to a digital signal without using DAQ?

    i tried the coversion of a sine wave to digital signal, ofcourse it doesnt work on converting wav file to a digital signal. i am also new in labview. i tried to explore it but there are many functions that i can't use.
    so my these are my questions.
    1) is a .wav file is an analog signal?
    2) can i convert it without using any DAQ device?
    tnx guys! i'll post the programs that uses quantization of a simple sine wave. i tried it to .wav file but it didnt work.
    Attachments:
    act04-02.vi ‏41 KB

    .WAV is a digital "signal". It uses Pulse Code Modulation to encode analog signal. You don't need a DAQ device to "convert" it to analog. Any computer with a sound card, and media player can "convert" a .wav file to the analog audio signal it represents
    Wan L
    Applications Engineer
    National Instruments
    http://www.ni.com/support

  • Simultaneous analog and digital waveform read with PXIe-6361 and BNC2120 ?

    Hi there,
    I am trying to collect both analog and digital signals from a PXIe-6361 linked to a BNC2120, using the attached VI. I am running Labview 2011 64bit. This is the first time I am working with digital input. On the 2120 board, I have the digital input BNC cable connected to User Input 1 and wire between the screw terminal of UserInput 1 and the P0.1 (Digtial I/O) screw terminal.
    I have two questions related to this:
    1) When I try to run the VI in its current state, I get the following error:
    Error -89137 occurred at DAQmx Start Task.vi:3
    Possible reason(s): Specified route cannot be satisfied, because it requires resources that are currently in use by another route.
    Property: RefClk.Src
    Source Device: PXI1Slot2
    Source Terminal: PXIe_Clk100
    Required Resources in Use by
    Task Name: _unnamedTask<6>
    Source Device: PXI1Slot2
    Source Terminal: None
    Destination Device: PXI1Slot2
    Destination Terminal: RefClockInternal
    Can anyone point me in the right direction for troubleshooting this?
    2) I would like to combine my regular waveforms and the digital waveform into one array which would then be written to file. I can't figure out how to combine the two different waveform types...can anyone give me a hint on this?
    Thanks for your help,
    Claire.
    Attachments:
    Export Waveforms To Spreadsheet File (1D)_wo extra line.vi ‏33 KB
    Multi-Device Synch-Analog Input-Finite Acq-Analog Start_Claire_wDigitalin.vi ‏105 KB

    Hi ClaireJ,
    Sounds like a reference clock conflict. This KnowledgeBase (KB) talks about this error when using simultaneous sampling. Also, might want to check the device routes in Measurement and Automation Explorer (MAX) as discussed here. Finally, if you are routing your PFI line over a RTSI connection, this error can occur. This KB discusses it.
    As to your second question, this post should help.
    Bill E. | Applications Engineer | National Instruments

  • Generating digital signals (T/F) continuosly at certain frequency

    Please help me in generating digital signals continuously (TRUE/FALSE alternatingly) in LABVIEW 7.1. I want them to be crreated at frequency which can be controlled by myself. Kindly help its urgent. Contact me at [email protected] Thanks Rahul

    Have you looked at the shipping examples for DAQmx? What kind of DAQ card do you have?
    p.s. since all questions are answered here, posting your email does no good except put you on a list of spammers.

  • Analog to Digital conversion of hi8 tapes

    I have many hi8 video tapes that I have been trying to digitize so that I can import them into my imac. I have connected my analog hi8 camera to a Sony DSC-PC350 mini dv camcorder that has an analog to digital converter (pass through). In the VTR mode I can view my movies on the Sony camcorder. However, when I connect the Sony to the iMac with a firewire, I get a 'no tape' message on my iMovie screen. At the same time the video screen on the Sony camcorder goes blank. Can someone help me with this problem? Or is it possible that you cannot import a conversion on iMovie '09?

    Hi again ftts (having a little trouble pronouncing that)
    I went to the Sony web site and simply downloaded the operator's manual for that camcorder...
    http://esupport.sony.com/US/perl/model-documents.pl?mdl=DCRPC350
    I also compared it to the manual of my TVR-330 which is a Digital8 camcorder and does have the pass through functionality. I did that to find the wording they use when talking about pass through (Sony never calls it "pass through"). All indications of the manual for your camcorder indicate you can input an analog signal and record it to digital tape. But nothing indicates you can use the camcorder as an A2D pass through device like you can with my Digital8 model.
    So you will have to go through the two step process of first recording onto the MiniDV with tape. Then secondly importing it to the Mac. If you want to use that one.
    For the DCR-TRV22 ...
    http://esupport.sony.com/US/perl/model-documents.pl?mdl=DCRTRV22
    it looks like that one WILL do the pass through function (see page 173 of the manual). So if you want to skip the tape part then use the TRV22 camcorder instead.
    Cheers,
    Patrick

  • How to convert digital signal to analog

    Hi..
    I am using NI 9375 (DIO module) to read the output from flow sensor.
    The output of the flow sensor is in the digital signal.(Boolean=True/False).
    How can I convert the digital signal to the analog to get the reading of the flow sensor?
    I had tried before to convert the digital signal to the frequency so that I can make the conversion from frequency to the flowsensor reading,
    but it doesn't work.( I am referring to http://www.ni.com/white-paper/14549/en/ ).

    nhan91213 wrote:
    Hi..
    I am using NI 9375 (DIO module) to read the output from flow sensor.
    The output of the flow sensor is in the digital signal.(Boolean=True/False).
    How can I convert the digital signal to the analog to get the reading of the flow sensor?
    I had tried before to convert the digital signal to the frequency so that I can make the conversion from frequency to the flowsensor reading,
    but it doesn't work.( I am referring to http://www.ni.com/white-paper/14549/en/ ).
    FYI - If your flowmeter pulsing frequency is higher than 500Hz then you won't get reliable reading using your algorithm, and it will be very unreliable above 1kHz because fastest that loop runs is 1mS (1kHz).  In that case you could tie the timed loop  to a higher rate (hardware) clock source to go faster than 1mSec loop time.  If no hardware then I think you can use high resolution timer (in LV2014, not sure if it was also available in previous version) and a regular while loop with algorithm modification for a faster timing.
    New Controls & Indicators made using vector graphics & animations? Click below for Pebbles UI

  • Advice Wanted: Analog to Digital Conversion

    I have a load of Hi8 tapes requiring analog to digital conversion.
    My initial thought was to buy a Canopus ADVC-110 for conversion and transfer into Final Cut Express. However, once converted, I would never use the device again (because I would buy a digital camcorder for future use).
    Alternatively, I could buy a top-of-the-range Sony Digital8 camcorder for a similar price to the Canopus ADVC-100. This has the ability to play-back and convert Hi8 tapes for transfer to Final Cut Express. The problem is that Digital8 is a dated format.
    Third, should I instead buy a MiniDV camcorder, and use my existing Hi8 camcorder connected to the MiniDV and transfer from Hi8 to MiniDV?
    Does anyone have experience of these alternative solutions, and what is the better solution in terms of ensuring quality of video transfer?
    Also, from what I've read elsewhere, is Firewire still a preferable transfer method over USB?

    I have both methods covered.
    I have found that using the ADVC-100 gives better results, especially as I time base correct the Hi-8 first with a standalone TBC from GTH electronics.
    The Hi-8 in a Digital-8 camera works OK, but clips the peak whites a little, losing some detail in any over modulated footage. I can tweak the vision signals, with the GTH TBC first, to avoid this.
    I now use the ADVC as a digital converter for recording television programmes, and I can use if necessary (though not strictly legally) for nabbing clips from DVD or VHS for some home movie fun as my GTH removes the macrovision pulse.
    On the camcorder front I would always opt for Digital-8, here's why.
    Mini DV had significantly reduced head life compared to Digital-8, and has always suffered from compatibility issues between machines, thus footage shot on one camcorder will not necessarily play on another.
    In my job I have encountered many problems because of this. Also, Mini DV tapes should only ever be used for one recording. They are very fragile and prone to slight stretch and many drop outs. They are not to be considered for archive purposes or data backup.
    Digital-8 on the other hand copes well with old Hi-8 tapes I had long ago consigned to the no good pile. The transports are very stable, being based on proven video-8 technology, and the heads seem to last for ever!
    I have abused my Digital-8 camcorder (a DCR-TR7000E) for 6 years, its been on my motorcycle tank many times, and despite being shaken about like a monkey on a spin cycle, give consistently perfect results. I cant remember losing any footage through drop outs. I also use for data back up (using DV backup) of very valuable files, tape still having the longest shelf life of currently available large storage media.
    The digital 8 camcorders are rather larger than Mini DV, but if you are serious about video then a tiny camcorder will not be required.
    If you are entering the semi-pro arena, and require a high quality front end camera on the camcorder you will be stuck with mini DV. However I get near broadcast quality footage from my D-8, with nothing more than a circular polariser stuck on the front.
    Note also that some mini DV camcorders do not have an analogue recording capability, even if they have DV in enabled.
    Firewire is better than USB2.
    Sorry about the length of this post, but I am passionate about video formats (its my job) and am annoyed when inferior formats win out.
    Powerbook 17", 1.67   Mac OS X (10.4.3)  
    Powerbook 17", 1.67   Mac OS X (10.4.3)  

  • MyDAQ - Generating a digital signal and displaying it on an analog waveform graph

    Hi,
    I am using the NI MyDAQ to generate a digital waveform with an adjustable frequnecy. This is being implemented into a program I have already written which generates a TTL "like" pulse out of the sound card. I am displaying the output on an analog waveform graph, and I'd like to be able to display the digital waveform generated by the myDAQ on the same graph. (Not at the same time, either one or the other, toggled by a button). I've been messing with arrays and conversions but I cant seem to really get anywhere with it all.
    This is the vi I have made to generate the adjustable frequency digital signal with MyDAQ. Any suggestions on the proper way to do this if the following is wrong would be great too as I just got the MyDAQ a few days ago. I would think there must be a better way but this is the best I could come up with so far.
    Solved!
    Go to Solution.

    Hi Jonny,
    The general logic you are using to create a digital pulse train is fine. This VI you've written should work and will create the pulse train based on software timing (which is fine because you don't have hardware-timed DIO on the myDAQ anyway). However, it is usually good practice to start the DAQmx task just before your while loop and then clear the task after the while loop when you press stop.
    For reference, there are some pretty good LV examples that I recommend looking at for this application too. If you are just trying to create a digital pulse train, the example Gen Dig Pulse Train-Continuous.vi is a good example that uses a counter to create a digital pulse train of your desired frequency. This is generally the prefered method to create a pulse train if you have the hardware available to do so (the myDAQ does have a counter). Alternatively, there are some DIO examples that continuously write to a digital line/port.
    If you're not familiar, you can find the examples by going to Help >> Find Examples... in LV. Then, navigate to Hardware Input and Output >> DAQmx >> Generating Digital Pulses or Digital Generation.
    Also, here is some additional information about the myDAQ and its counters:
    myDAQ Counters 
    myDAQ Manual 
    Hopefully this helps.
    Chris G
    Applications Engineer
    National Instruments

  • How to input/output a digital signal and acquire an analog signal at the same time?

    Dasylab, version: 8.0.04
    Acquirement Card: PCI1002L
    When I use DasyLab to acquire the analog signals is no problem without digital inputs and outputs,
    and when I use DasyLab to input or output a digital signal is no problem also, but when I do that at the
     same time, DasyLab tell me the rate is too high and stop.
    so, I searched the manual book1 (user guide) for that, it showed me :
    To internally equalize measurement time and system time in the analog input, digital input and counter
    hardware modules, use the following settings:
       Synchronization: PC Clock
       Sampling rate: <= 5Hz
       Block size: =1
    the problem is, if I set the Sampling rate to 5Hz, the speed of the acquirement datas is not enough for my
    application.
    so, how to improve it? who can give me a example programm for me. thanks!
    by the way, I come from China, my English isn't good, I'm sorry.
    Allen, China.

    Hi,
    Have things changed over the years?
    I need to syncronise a digital output (Modul NI9474) and an analoge input (AI-Modul NI9203) module. I need to measure time intervals from a flank in signal A to a flank in signal B. I would like accuracies of the order of 1 ms. Currently, the signals are not synchronised, with errors of the order of 2 times the block length (block size x sample rate), sometimes much higher. The best I got so far was a block size of around 20 with a sample rate of 1 kHz.
    If I use the master and slave settings on the RTSL settings, my program doesn't run properly.
    If I use digital signals for input and output, I can syncronise them with RTSL settings and everything is good, but I can't always do that.
    Also, if I do anything in the GUI (such as scrollowing something or going to another window), my output gets screwed up properly.
    1. What can be done to synchronise AI with DO?
    2. Is there something that can be done to avoid messing up the output when something happens in the user interface? (I know that I am messing up the outputs as they make some valves switch and that is loud).
    Thanks in advance!

Maybe you are looking for

  • Wifi syncing not working since upgrading to iOS 6

    Has anyone had an issue with and found a solution to wifi syncing after upgrading to iOS 6?  I have not been able to get either my iPhone 4 or 3d gen iPad to sync since upgrading last week.  I have the latest version of iTunes. I've tried disabling w

  • Multiple order currency for same vendor

    I have a vendor who supplies me on local currency and also import in foreign currency. Since the bank details are same for this vendor, our accounts is not allowing us to create two different vendor codes. Is it possible to maintain info.record, cont

  • Field for RF Creditor reference (ISO20022, ISO 11649, SEPA)

    Hello, what is the field in SAP ERP 604 for FI (or SD) document that is meant for new invoice reference (The RF Creditor Reference, the ISO 11649 Structured Creditor Reference to Remittance Information)? I know the reference is 25 digits long, so it

  • Migrating Jetform layout to Adobe form layout

    hi, Now am involved  sap 4.7 to ecc6 upgrading project. what are steps to migrate jet forms to adobe forms without affect layout? Thank you.. Regards, B.C.Ganesh

  • Adobe cs2 bug, then can't reinstall

    Please help me i'm pulling my hair out. My whole suite decided one day that when you load up whatever application all the tables, click down menus etc are blank. From the tool bar to the file, image menus along the top. I uninstalled the lot and went