digital analog in a queue

I want to create a queue for analog and digital data. The attached vi has two. How would you do different data type 2 feed to a queue? Should a digital waveform and an analog wave form to enter data in a queue. Any ideas? I use cDAQ-9172 and NI 9401 and NI 9205

I think you need a cluster with a waveform analog and digital, and write any element applies.

Tags: NI Software

Similar Questions

  • digital analog arm start several triggers

    I trying to find out if there is a way to arm a trigger of labview to an analog signal and then actually have the trigger start from a separate, digital or analog signal.  Both signals came on 2 different channels simultaneously.  Research on the forums, I found that the opposite situation is possible: arm with a digital signal, then start with an analog-to-digital trigger but I have not found a way to either arm or take essentially the AND logic of the triggers two separate channels (with being analog and the other being is) as being the "ultimate" relaxation  Any help/advice is greatly appreciated.

    Hi, Bill Clinton.

    I think you are looking for the Signal VI to export. It can be found on the pallet of NOR-DAQmx. I've also attached a document with additional information on this VI.

    http://Digital.ni.com/public.nsf/WebSearch/a099c37789aacee386256e35007338e6?OpenDocument.------

  • generation of digital, analog signals read snap SMU-6358

    I have two SMU-6358 card and I want to send control signals to my camera and read the analog signals from the device with them.

    For the digital control signals, I tried to set up a system where I specify the identifiers of the pins, bring them into arrays of strings - the respective waveforms would be collected in the tables too - and I transfer them to a VI of inputs/outputs multiples that puts digital waveforms for the cards output pins.

    I developed this code here, but it doesn't seem to work. I can't understand how I can convert the string and form table wave to meet the requirements of the input/output VI or which another VI I could use to do the job. Or is there a smarter way to do it?

    Thank you

    Kriváň

    Dear Kriváň

    Please find attached the VI in LV 8.6 format. Also, I HIGHLY recommend to rearrange the front panel and which makes it neater, your code is very hard to read and not structured at all. I hope this helps!

  • Digital, analog output file trigger

    Hello

    I'm trying to produce an analog output to text file. I have attached the text file with entries and file vi. When I connect oscilloscope, there is no waveform.  I'm using labview for two days. What is wrong with my code?

    Everything is OK now, I had a problem with the clock on board.

  • analog audio cable to digital

    I want to get a small walkman cassette audio 3.5 mm cable into the computer by the USB bus. Am I understanding that the required cable must be 'converted' because one end is analog and digital on the other? I intend to cassettes music download the Garageband application. If Yes, where can I buy such a cable converter, I hope that stereo, perhaps with nickel or gold contacts?

    You need an analog-to-digital converter for this: for example https://www.amazon.com/HiFiMeDIY-Digital-Analog-Converter-PCM2706/dp/B00CWVDPC0/. Alternatively you can get a simple tape with a USB connector like this player: http://www.tape-2-mac.co.uk/.

  • 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

  • Switch between outputs, digital and analog input

    Forgive me, I'm sure that there is a simple answer to my problem, but being relatively new to LabView, I do not know how to proceed.

    With the help of producer/consumer achitecture I am trying to accomplish the following:

    Producer

    1. Relay nearby
    2. Read the voltage

    Consumer

    1. Compare the voltage to the expected value and append the true/false value in a table.

    It will be run 8 times then wait for input from the user through the dialog box run then 8 times.

    My question/problem is how I set up so that the digital analog in and out are timed correctly and get a sample of AI after each relay is closed?

    Material used is the cDAQ, (2) NI9481 & NI9221 (1)

    Attached, is the vi that I came with this day and a diagram to illustrate the intended application.

    Any help is greatly appreciated.


  • 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.

  • USB 6008 analog i/o has stopped working

    Hello

    I have been using a USB-6008 for a few weeks now and it has worked well. I've been using the outputs digital, analog inputs and outputs this morning and they worked very well. I worked on something else for an hour or two and then resumed using the 6008, find the analog pins have stopped working. The show output analog on 1mV any value I send to them and the analog inputs always read - 10.3, despite limits MAX being set to 0 and + 5 (and me only using 0 - 5V on them). I tried all the inputs and outputs, in all ways (CSR, diff) with the same results. The digital outputs all work very well. Yes, he is grounded properly. Yes, the wires have continuity. My multimeter don't lie about me, either.

    I took the MAX test panel to solve the problems. The unit passes its tests of self-control, and my Labview program does not return errors by contacting the 6008. I don't connected the 6008 which could exceed the voltage or the current limits of entrances and exits. In fact, all I did was unplug it when I stopped using it as soon as possible and then reconnected it when I went back to work. The material to which it is connected has been turned off during this time.

    Any ideas? Thank you.

    Problem is solved. If anyone finds this is interested, the problem was at the level of the material, that the 6008 has been connected. I'm covering, among other things, to a PIC Microcontroller. I just changed the oscillator on the PEAK, and inadvertently changed parameters parameters of the ADC as well. This caused the pin used as my reference voltage (connected to + 2, 5V output of 6008) to transform itself into a digital camera of output, a value of 0. This short-circuit the + 2, 5V output of the 6008, causing it to close.

    Lesson learned: check your material carefully, even if it does not make the difference in a first time!

  • Build digital signals

    Hey guys,.

    I need to duplicate a digital analog waveform.   Can someone show me a quick way to change my current VI for gen the same signal than digital?

    Thank you

    Zach

    -What are you trying to do?

    -Ethan

  • Cables and adapters

    I know that DVI port on my monitor (W2207h) and the VGA port are analog.

    Now, with that said. If I use a VGA - DVI adapter or vice/verse how that

    convert VGA signal digital digital signal to VGA?  Lets not worry her.

    DVI can also carry as digital analog signals, despite its name. The converter is simply a physical adapter. The monitor and video card pick this up and treats the signal accordingly.

  • Card TV Tuner that works in the United Kingdom and Switzerland

    Looking to buy a laptop computer running windows MCE. However, I need the TV Tuner card to be able to receive analog Switzerland and UK analogue or Digital TV signals. Integrated standard digital/analog hybrid TV tuner DVD-T sounds like it fits the Bill, but need to check if it works OK in Switzerland because they use the PAL B/G instead of PAL format I format used in the United Kingdom. Can anyone help?

    Hello Andy

    The fact is that the TV tuner is associated countries and if you buy laptop with integrated (for example Qosmio) TV tuner, you'll probably be able to use it only in the country where the laptop is purchased. Perhaps the external TV tuners from different manufacturers are more flexible and can be used in different countries.

    In my opinion you should speak with your local dealer. They have the best presentation of the product and you can get more accurate information. I also know that you can install WMCE on each item you purchase. I recommend for example P100. Large unit with fantastic 17.0 "TruBrite (1440 x 900) discovers Wide 16:10 color TFT display. I'm not 100% sure but I think that the Satellite P100-367 comes with WMCE.

  • Monitor connected via HDMI to VGA connector does not

    My Pavilion p6598uk has an ATI Radeon HD5450 with a DVI and HDMI output. I have a monitor connected to the DVI output via a VGA Converter thing, it works very well. I am trying to connect a second display on the HDMI output using HDMI cable to VGA. This does not at all. It is an OLD monitor (10 years) but works ok if I plug it into the DVI/VGA Converter.

    Monitor just says no: «No sighnal video» I tried 2 different cables and my drivers are up to date.

    Is it possible to connect an old (not HD) monitor to the HDMI output? If so, what am I doing wrong? Would this work if I bought a new HD TV to use as a monitor?

    Windows 7 64 bit

    All solutions gratefully received.

    You cannot convert HDMI to VGA without some serious gear digital analog conversion. You cannot use a device simple passthough like you can do with a DVI-I/VGA cable adapter. You will need to use an HDMI cable and a monitor that has a HDMI or DVI - I/D connector.

  • How to connect my Satellite E105-S1402 to an external projector?

    Hello world

    I have a Satellite E105-S1402 equipped of a HDMI port. Unfortunately, the projector we use in my office is not HD ready so there (DB9) regular VGA input connector. How can I connect it to this type of spotlight? Do I have to use a digital analog converter? If Yes, which? Y at - there a cable adapter?

    Pls Help!

    Hello

    The E105 Sam didn't for me ;) so far

    Well well my friend, usually it of possible to convert the digital video signal in signal analog (but not analog to digital?)

    To be honest, I never tried to connect a HD device not to an HDMI port, but maybe the converter as it would serve:
    HDFury II Edition HDMI to VGA Converter

    Simple Google

  • Satellite A660/P07: Tuner TV - some channels not found

    Hello

    I need help please tv tuner. -"No channels were found.

    Buy Toshiba A660/P07 laptop with TV tuner on the weekend.
    Running Windows 7 64 bit OS sound Toshiba installation set-up fees.
    Connected online and installed all Windows updates.

    However cannot get any TV signal on the laptop.

    When you use Win7 Media Center - after after installation
    [http://www.mytoshiba.com.au/support/item/226]
    The result is "* some channels not found *.»

    1 - is anyone know how to get the functioning of the tuner? am I missing something basic?
    2. what someone has an A660/P07 and I can confirm that the tv tuner works in Windows 7 Media Center?

    Thanks in advance,
    Oleg.

    _Here's what I've tried: _

    1 tested antenna/cable. The antenna works very well with a normal digital Panasonic TV and an old Analog Tv.

    2 followed FAQ How to install tuner in the press room
    http://www.MyToshiba.com.au/support/item/226
    -Region: Austrlia
    -J' tried to digital, analog signal.
    -Tried to add manually analog and digital channels

    3. I tried the turn off/on tv tuner driver.
    4. tried to uninstall/reinstall the tv tuner driver.
    5 tuner driver Tv is the last updatev2.3.3.31 that no newer version exists of Toshiba or Microsoft.
    6 installed latest BIOS update v1.60
    7. tried with other MediaPortal TV tuner software. result: no signal of any channel
    8 tried all above on the two versions of 32-bit and 64-bit Win7, still no tv signal.
    9. I'm back for Win7 64 bit fresh install with no tv signal

    Its possible that your antenna is not compatible digital. Are you able to try another antenna?

    If its does not work with a good known antenna that can capture digital channels, the antenna socket itself may have a problem.
    You will need to send it to an ASP for repair.

Maybe you are looking for

  • So I have an iPhone and it does not. He stops and just turned their backs, with words. What should I do?

    Hello My name is Kim *. I had the iPhone, even for the last three years. It has been fine, but lately has been very insensitive. Today 19/04/16 it off then back on by its self, but it was just words on the screen. I don't know what to do and I need a

  • Error in disk drive to upgrade to Windows 7 by Arvato

    Hey all, I'm unable to try to order a Windows 7 upgrade disk.  I get through the eligibility page very well, it's just when I try to enter my billing/shipping address, the site throws an error to me (there was a mistake with the validation of your ad

  • Satellite P875-SNB - WiFi drops

    Hello Laptop was purchased a few years ago and I saw a strange question through this year. Whenever Youtube videos play a Wi - Fi removes all the minutes and then automatically reconnects after 1 to 2 minutes. It took me a while to understand that it

  • How to run a while loop for 0.5 seconds?

    Hello I am doing a project and I'm stuck with the programming. Some time ago in a loop inside a box structure. When the real state of a structure box is enabled, the loop inside, should run for 0.5 seconds. How do this? Thanks in advance.

  • I can't see all of the photos on my computer.

    It was that I could see mini images of each image. but now to display each image that I have to open each photo separately, how can I solve this problem?