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.

Tags: NI Software

Similar Questions

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

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

  • How to send a file to the cloud?

    (1) how to send a file to the cloud?

    (2) at - it a difficulty to find and recover a file that has been sent to the cloud? If the use is similar to the use of an external hard drive, I don't mind.

    The following contains information on how to activate and use iCloud drive. Note that with iCloud as it exists currently with OS X El Capitan, for any file stored in iCloud drive a local copy is also stored on your Mac.

    iCloud Drive FAQ - Apple Support

  • How the sender can resolve this message may be a scam?

    How the sender can resolve this message may be a scam?

    When your question has been answered can mark you the thread as "Solved" Please?
    Thank you.

  • How doi send texts using the speech function without hitting the Send button?

    using the speech function in texting, how to send the text without actually pushing the Send button? When I say 'send' or 'send message' he just keeps typing

    "Hey, Siri, send a message to Bob. Siri will then ask you what you want text Bob. Once you stop dictating, Siri will ask then if you're ready to send the message. Say, "Yes." It's really very nice.

    If you are already in the message app and using speech-to-text, you must press the Send button.

  • How to send a video that I made with my iPad email?

    How to send a video that I fool with my iPad to email? When I try to get an answer that I connect to wifi, which I'm connected to..?

    iCloud, sharing photos - Apple Support < also videos

  • How to send a private Message?

    How to send a private message to another participant in a Discussion of Spple

    thread?

    There is no provision within the CSA to do.

  • How to send large video files from my iPad

    How to send large video files from my iPad

    The restriction for large files to mailing in general is defined by your email provider. Most of the suppliers imposed restrictions on the size of attachments. You can contact your e-mail for more information provider, but in general, consider a large video file too large to email.

  • How to send you an email to several people as a simple email?

    How to send you an email to several people as a simple email?  I want to send my RESUME to business costs.  How can I do this?  I don't want any email addresses to send to each company.  I want to make sure he isn't like a a no E-mail group an email.

    Thanks for reading.

    Stewart

    Put all the e-mail addresses in the To: field separated by commas.

  • How to send a nxt program labview in the mindstorm block

    Hello

    I would like to know how to send a writing of nxt program on labview in the mindstorm block for not using usb and bluetooth connection

    In order to start a program directly with the block

    Thanks for your your answer attentionand

    Hello

    National Instruments does not directly support the LEGO Mindstorms Nxt please refer to this KB see were you can ask for help.

  • How to send a fax to several unique recipients on an Officejet Pro 8600 e-all-in-one?

    What is the best way to send the same fax to several unique recipients without having to send the fax manually to each recipient?  I use an Office Jet Pro 8600.  My previous HP (M2727MFP) allowed Ad Hoc manual fax but the same process does not work on the 8600.

    Any suggestions?

    If you have the software installed on your computer, you should have the 8600 Fax Driver installed. That will allow you to send to multiple recipients without having to print a physical page. Everything you have to do is the printer using the program on the fax driver, and it will appear a window asking for the numbers you want to send the fax to. The document linked below will on other ways that you can fax without using the software. I think that the Fax issue will be what you are looking for. The document will explain more. Hope that helps.

    How to send a Fax:
    http://goo.GL/P7N2E

  • How to send / receive files via Wifi Direct... ?

    I found this bike e wifi Direct support. I tried to send files via wifi direct, but I couldn't.

    How to send / receive files with direct wifi without installing any 3rd party application... ?

    Uses of direct wifi... ?

    Sorry about that. Can be a regional thing, I'm not familiar with.

    Back to my question - what types of files you try to move?

  • How to send the picture of u with labview

    Hello

    How to send table unsigned 32-bit via UDP.

    How to convert the 32-bit unsigned byte array table.


Maybe you are looking for