How to send a pulse only to analog output

I send a function rect through to the ao, thorugh the transmitter transducer, then a receiving transducer through AI. Although I'm kind of a signal, I can see that there is something wrong. What I think is happening, is that the pulse is transmitted continuously while I want it to be sent once. of the received signal, waiting for the signal to reach 0.2/1500 s as the medium is 0.2 m in diameter and the speed of the sound probagation through it is around 1500 m/s. So, with these considerations, I have the following questions:

1. How can I configure the wizard daq output to send only 1 rect function

2. read permanently or for a period of time

I have attached the output and input along with a photo of my VI signals

Thank you

Hi Macane,

For a unique configuration of generation/acquisition, you would set your DAQ Assistant to finish instead of continuous and calculate how many samples is your only impulse you send.  For the acquisition, you can configure a finite acquisition of trigger reference analog where it will begin to capture after your signal is received, or if you do not want a triggered acquisition, you can set the number of samples to acquire.  For example, finished task sampled at 1 kHz to 2000 samples would correspond to a second acquisition 2.

You can configure all the wizards within the express VI data acquisition by double-clicking the VI.  I hope all goes well!

Tags: NI Hardware

Similar Questions

  • How can I pause and resume the analog output using DAQmx?

    I use a DAQ hardware to produce an analog waveform.  I would like simply to break the output of the wave and then resume where it left off.  I use DAQmx and LabVIEW 2011.

    I've seen examples that use a digital or analog break trigger, but I would take a break in the software only.  How can I do this?

    -Joe

    Hi Joe!

    I spent some time thinking about it and I realized that you can technically use a fundamental mission of the analog output, as you previously wrote that runs continuously. However, the generated output samples are controlled by the sample clock pulses, and can be manipulated to fit our needs "suspension."

    To do this, we will need another counter task that generates a pulse train (see our examples of shipping under material input and output > DAQmx > generating digital pulses > generate dig Pulse Train - Continuous.vi) that stops and starts the user to choose. This can be in another quite VI or controlled by software. We will use this as the task of our output sample clock.

    Then, the task of the AO, wire a constant to the sample clock source and select ' DevX/CtrXInternalOutput"based on the counter that you specified in the task of counter. You will need to choose "I/o name of filtration" and check the box that says "include advanced terminals' and right-click of the constant. See picture attached as a reference. In this way, the task of the AO is constantly running, but it generates only actually all data when the meter running task.

    Let me know if you have any questions!

    Have a great day!

  • How to change the gain of an analog output

    I want to have a resolution of at least 500 v microphone. I thought that you could do this in two ways: one, to determine the maximum and minimum values, and two, to change the gain of the channel. I use a PCI MIO 16th 4, also known as the name of PCI 6040E and a CBS 68.

    The NO 6040E manual family I read than analog output bit resolution is 12 bits. Usually a range of 0 - 10V or - 5V - + 5V, which gives about 2.44mV resolution. I thought that by changing the minimum and maximum output values I could therefore change the range and therefore to change the resolution. I want at least a 500microV (0.0005V) resolution. By changing the range 0 - 1V, I should get around 244.14 microV resolution.

    The thing is that when I run my simple program, it displays the voltage I want, but it only increments around every 5 iterations of said 500microV, which is around the default resolution of 2.44mV, which indicates that the resolution has not changed (I use an osciloscope to measure physical strength).

    My other option to change the gain should how to proceed, if possible. But I don't know where and how change that, and he does not appear in the DAQmx channel properties. Any ideas on how to do this, or perhaps another solution to my problem?

    P.S. That's a linear ramp drive a piezo and take pictures while doing so, just in case you were wondering why I wanted to solve this problem.

    Thank you for any help in advance!

    You have not read the card correctly. The analog output is a range of 0-10 or + /-10.

  • How to send a pulse to a relay

    Hello

    I'm using LabVIEW 8.6 to control a solenoid via a C series relay module. I want to activate the relay for a period of time and then turn it off. This function is controlled by a feedback loop. I have attached a simple vi showing my code. The problem with this code is that it pauses for the entire program (there are additional code running inside the while loop thr) to 300ms while the relay is activated. This is undesirable.

    Is there a better way to turn on the relay for a period of time and then turn it off? Any help would be greatly appreciated.

    Thank you

    John

    Try these two.  How long do you need to 'Off' part of your pulse to be?  In the first, simplest, the shutdown state is cycle one loop.  In the second, you can set the market of the time.  I'm sure none of them is exactly what you need, but I hope that they are a good starting point.  Screws are saved in LabVIEW 8.6.

  • the time of acquisition of data - how to calculate the rate of analog output

    I want to calculate an acceptable rate of analog output, one that is taken in charge by material (PCIe6353), without the rate being changed by the VI DAQmx Timing (sample clock). The final objective is to have a rate of analog output that is an integer multiple of the analog input for precise frequency, since the sinusoid AO's amplifiers, which have a ringtone when AO updates occur.

    According to 27R8Q3YF of the knowledge base: how the actual scanning speed is determined when I specify the rate of scanning to My d..., the rate is revised as needed by calculating the rate of clock / asked for advice, divide the result rounded downwards and upwards in the clock of the Board and use the one that is closest to the requested speed.

    If 'Embedded clock' is selected, which is the result "Council clock.  DAQmx sample clock timebase Timing node - SampClk.Timebase.Rate says 100 ms/s. However, for a rate resulting from the update of 2.38095MS / s, the divisor of the time base timing node - "SampClk.TimebaseDiv" gives a value of 42. 42 x 2.38095 M = 99, 999, 990, where it should be 100 ms/s.

    How to calculate an acceptable rate of analog output is supported by the hardware? I have other plates, in addition, a general method would be appreciated.

    I haven't worked all the details yet but noticed a few things that may be relevant.

    Req AI rate isn't a whole ditch 1E8. It is used to determine the rate of the AO.

    There is no check to ensure that the rate of the AO is an integer division.

    It seems that you have the right idea, but the implementation is not yet there.

    Lynn

  • How sounds get a pulse in a specified

    Hello.

    We do a LabVIEW program to connect with pipelines via DDE and have established communications.

    We cannot find a solution to the problem is the following:

    We want to start the pump (TRUE) and stop (FALSE) in LabVIEW. Pipes can only receive a time message, otherwise we get errors. How can you send a '1' - only once when we press a button I have LabVIEW and send "0" once when we press the button again.

    We thought of a solution where we calculate sounds and this fact alone sends the message once - but we can't find a way to program it.

    Does anyone have an idea on how to fix this? We need a pulse in a single sample when you press power. The rest of the time, we should not send anything.

    Thanks for your help!

    The structure of the event runs only once by clicking on the button.  Put your transmission in this case. It will be NOT very send a start or stop only when the user toggels a button.  I guess you put your shipment in a loop, then within a structure of business therefore sent on each itteration.

    He will send only once and not again until the button on the front is togled again.  an even more elegant method is to put your io a second loop and queue of orders from the structure of the event.

  • How to control the two analog outputs at a time

    I'm new to LabVIEW and have some problems in DAQmx with control outputs analog multiple.

    I want to set up a platform using BNC-2110 and PCIe6363 to control two rotating mirrors. The problem that I can only give an output (AO0 or AO1) at a time and I really have no idea how revise my LabVIEW diagram to control two outputs at the same time I met. I tried to change the outputs and it keeps a mirror turning instead of the old. Could someone help me with my problem and I would really appreciate. This is my blocked diagram and front.

    Hi zrmaker,

    As mentioned by RavensFan, you should not create 2 analog outputs different tasks if you use AO0 AO1. To your façade > physical control or the channels > select the drop-down list of the control channel physical (s) > Browse > hold down the CTRL + select the AO0 and AO1 > Select OK. Once this is done, you will see that your control or the physical channels has the following input values: "Dev1 / ao0:1" which means that you will access to AO0 AO1.

    In regards to writing DAQmx, simply select Analog > multiple channels > samples multiple > 1 waveform (you should get the following: 1 d Analog Waveform NChan NSamp). Once done, you can just use table build to combine 2 different waveforms and plug in this table to DAQmx writing output. The first index will be the output for AO0 value and the other will be for AO1.

    You can check this link on how to read or write from several channels: http://digital.ni.com/public.nsf/allkb/0C1ADEF06A54AB2D862575040066FD51

    Additional reference:
    http://www.NI.com/white-paper/2835/en/

    Hope that helps.

    Warm greetings,

    Lennard.C

  • How to send a single code of hexa from 1 byte with sending VISA for every 500 ms?

    Hello

    I would like to send only a 1-byte hex code in LabVIEW to an external device using RS - 232 (300 bps, 8 data bits, no parity bit, no flow control) every 500 ms.

    The TX pin on the computer should stay at the logical level 1 once he finished transmitting the 1 byte of data and wait before transmitting again 500 ms.

    I'm building a test below code:

    The output of "Channel 1" will connect in the sending VISA write buffer. (Please note that the code above does not include the 500 ms delay I mentioned. Just ignore for a moment.)

    This code will work like what I described above? I tried on my project, but I was getting weird things on the device.

    Convert the code hex correctly?

    And how to send it VISA pass in the string? Does include the other 'useless' strings with the hex code that I want to send?

    Any help will be appreciated.

    Thank you.

    Hi eddiechai...

    you will get a string of length 2, so you have 2 bytes. You must use the U8 and the cast function type. (see attached photo). You have to disable the stop character to get what you want.

    Mike

  • How to send a large Windows Media file - the file is 93.5 MB size. Tried to use winzip but zipped file size bed still 93.5 MB which is too large to send via my gmail account.

    How to send a large Windows Media file - the file is 93.5 MB size.  Tried to use winzip but him zipped file size bed still 93.5 MB which is too large to send via my hotmail account.

    The max on most email providers is 10 MB. The only way that you could share this file would find a download site that allows to host this file. You can do a search for hosting sites and find one that goes on your needs. Once you download the file to the single copy of the site the link and give the person who you want to initially by email.

  • DROID: Stupid Question perhaps? How to send text messages?

    This may sound stupid, but for the life of me, I can't understand how to send a test message... any ideas?

    go to the text message you want to transfer.  tap and hold.  a menu will appear and select forward.

    If the message in a thread, press the text message you want to forward.  It should only send this message in the thread.

  • How to send all the tabs as attachments DC

    How do send you all tabs open as attachments in an email.

    Adobe and Adobe Reader DC

    Hi PUT IMS,.

    If you are referring to send all tabs open in an Adobe application to only send one e-mail, then there is no option.

    However, you can create an email and then attach several PDF to that.

    Kind regards

    Meenakshi

  • How to send an illustrator file to ipad pro adobe draw?

    Hi, I want to continue in the application Adobe Illustrator drawing to draw, but I don't know how to send it to the iPad, can someone help me please?

    CC libraries are used to share assets between desktop applications and mobile applications, BUT you can only go to draw on the iPad to Illustrator on a computer. It is not possible to send a file from Adobe Illustrator to draw.

  • How to send SMS from a web application to for free?

    In my view, what API JavaMail will help send emails and SMS Messages via the SMTP server. I want to know how it actually works and how to configure the SMTP server? How to send SMS from java program? Is there any material available on the web? Please give some input.
    Thanks in advance.

    user12873853 wrote:
    In my view, what API JavaMail will help send emails and SMS Messages via the SMTP server.

    Looks like more false hope that belief for me. The only way that works is if you have a SMS gateway which allows communication via SMTP. No doubt some exist (search for 'JavaMail sms' through google seems to indicate), but if you have to ask you don't have.

    And who exactly where you are stuck: to send SMS messages, you need an SMS gateway. It will be the first thing that you have store because, so far, there is no reason to think in code, protocols or implementations. It can be as simple as plugging a mobile phone, but then you can send messages in mass of course. Most likely, you will need to shop for a partner who has a SMS service you can use blasting.

  • How to send an audio message, but not with imessage?

    How to send an audio message, but not with imessage?

    Find another app/service that will allow you to do. Or record a voice memo using the voice recorder application and attach to an SMS.

  • How to send to apple iphone for repair of the screen

    Hi, I bought an iphone over 6s (64 GB) two weeks ago, the screen has been hacked by accident.

    I looked up on the apple site the cost of repair in the citation is $ 249

    However, when will organize a repair via the apple website he's trying to make me pay more than $500 Ouch!

    I think it's because they want to send me authorized service center apple not themselves, someone has a solution to this question and a suggestion how I can get this repaired for $249.  IE, how to send to apple authorized reseller.

    I'm in Darwin in Australia

    With our thanks

    Suresh

    Hello

    Contact Apple support (mail service may be available) or make a Genius Bar reservation to repair screen.

Maybe you are looking for

  • Fan number after updating to Mac OS Sierra

    Hello people, as many of you all know, Apple released macOS Sierra. The updating of this new operating system, I have been met through rather annoying problem for me. It seems that my fan is not eager to be quiet as it has been in the previous operat

  • Sent mail in my Inbox

    The last two days, I had sent emails (some, not all) that appears in my Inbox when I replied to the emails that I received. And the original emails to which I replied no longer appear in the Inbox. Now, before jump you on me, I would "Arrange by Conv

  • 3rd gen iPad does not load only red battery

    My iPad suddenly not charge or sync. I only get the empty red symbol and or the Apple logo when I unplug and re - connect the charger cable. It will not turn on. I use the same USB cable comes with the iPad and have also tried my iPhone cable with my

  • Satellite program-112 P775: HDMI connection to the TV does not work

    Hello For some reason that the HDMI connection between my Toshiba Satellite P775 program-112 to LG TV no longer although he did for some time. I tried another laptop without problem. I posted the same question some time ago and told to press the Fn a

  • error 3014

    need help... I can't restore or update my ipad because it keeps showing an error 3014, so, now I can't even use my ipad... What can I do? Thank you Nickname: raggasol