When 3212 digital output to active a relay

plz help me about digital output  of wsn 3212 .when temperature of thermocouple is abov then 25 degree i want to active a relay from digital output of node..plz tell me about this program...

sir suppose i want to measure temperature from thermocouple from wsn 3212node.nd compare it with 40.when temperature is above than 40 degree.it give an digital out put from wsn3212 to active an relay to run a fan..here is programming example is attached.assume here numeric value compare with incomming value from wsn 3212 thermocouple temperature.when temperature above than 40 then led on...
Attachments:
labview.png ‏192 KB
labview.png ‏192 KB

Similar Messages

  • USB-6009 Digital Output Current

    You need to have all those grounds connected together - USB-6009 Digital Ground, ULN2003 GND, and the power supply ground. In this case it will not matter how they are connected.  If they are not connected, then one of the devices could be damaged.
    Lynn

    Hi, I'm trying to increase the voltage of the digital outputs of USB-6009 device. I read a couple topics about using a relay but I could not manage it.
    I was thinking to use 5V supply on the card since it has 200mA current on it, but when I use it with open-collector output, it can not switch the relay. When I measure the current between
    5V and ground: 200mA,
    5V and output, I read a value around 30-40 mA.
    Why can't I use that 200mA with an output? This is the relay I'm using.
    If this is not possible, can I use an external 5V supply (with more current) and a digital output to switch the relay without damage the 6009?

  • Does digital output conflict with impedance analyzer

    I am running one program that produces three digital outputs on DO [0..2] and I am also trying to run the Impedance analyzer at the same time. I get this error message:
    Error -200429 occurred at DAQmx Write (Digital 1D Bool 1Chan 1Samp).vi:1
    Possible
    reason(s):
    Value passed to the Task/Channels In control is an
    empty string (or I/O control).
    The value must refer to a valid
    task or valid channels.
    I'm not sure what this means, but does it have anything to do with a conflict in hardware when running digital outputs and impedance analyzer?
    Any help would be great, I am relatively new at LabVIEW/ELVIS.
    Thanks in advance
    -Shane

    Shane,
    It sounds to be more a referencing issue than an issue between the DIO and impedance analyzer. Sounds like it may not be calling to the correct channel.
    Heres some troubleshooting steps:
    Can you communicate with the ELVIS board in Measurement and Automation Explorer (MAX)? 
    If so, can you use one of our example files to try to do some DIO? 
    If that works, try to comment out the impedance analyzer step to make sure it isn't causing the issue. You can comment things out by using the diagram disable structure, which is under programming->structures. 
    Regards,
    Kyle Mozdzyn
    Applications Engineering
    National Instruments
    Regards,
    Kyle M.
    Applications Engineering
    National Instruments

  • CFP-2220 using digital output for status to another cFP-2220

    I have two cfp-2220 that I want to connect with each other using the DIO's of 5V that they have.
    The problem that I have is that I don't know the impedance to connect the CFP2220-1 Digital Output 1 to a relay for switching the CFP2220-2 Digital Input 1.
    I am using a relay for interfacing the signal. This relay needs 34mA 5V to operate. I am not sure if the CFP2220 would have the needed power to turn the relay on and to close the contact that will operate the CFP2220-2 Digital Input 1. In the user manual of the CFP2220 does not mention anything about it.
    Thank you!
    Gilberto Garza
    Solved!
    Go to Solution.

    Hi ggarza:
    Here is the current specification for the digital outputs on the 2220: http://digital.ni.com/public.nsf/allkb/0147137D2442E4A9862572C100758895?OpenDocument. As you can see there, it only supports 3mA, so it would not be possible to use this relay. In addition to this, you should be careful using this outputs, as the manual specifies they are not isolated.
    Greetings,
    Juan Gil
    NI México

  • Count the time that the output is active

    I have made a program with a state machine, but I have one problem. I don't know how I can count the time that the output is active. I have tried several things, but the timer doesnt do what I want. The one time it counts up, also when the output is not active, or it starts counting again (start at 0) everytime its active.
    Furthermore I have made a delay before the output is active and a delay when a other output is active. The first time it runs it works, but the next time it also doenst work. I think the source of this problem is the same as the one from the counter but I dont know for sure.
    Can anybody help me with this? See the attachment for my VI. The counter is in case "pump up 10".
    Attachments:
    Probeersel state machine2.vi ‏92 KB

    I have made a quick draft copy .You can further implement additional logic.
    Attachments:
    Probeersel state machine2.vi ‏43 KB
    States.ctl ‏5 KB

  • How do I calculate 'uptime' of a digital output

    Hi everybody,
    I'm new to these forums and I am currently evaluating Labview for a series of lab tests where we measure energy balance in a chemical reaction. I've already 
    I have a USB 6008 wired to a relay drive (thanks to these forums) and a heating element and I want to measure the total time heating element is 'on' during 24 hours to calculate the energy the system is getting. The heating element switches on and off based on the signal of a thermocouple.  Is there an easy way to measure the seconds that the output port wire to the heating element is active? Device-independent would be preferable (like measuring the signal uptime of the input of the digital output of the USB6008)
    I tried a lot of options today, like while loops, sequences, case structures following several postings here but all of them failed miserably - while the problem sounds so easy. I could easily do it in the hardware by wiring the output of the relay drive to a bauser timer, but that would be giving up too soon
    Any help would be appreciated.
    Best regards,
    Dimitri

    Hi Dimitri,
    Welcome to the NI Forums! It's good to hear that you've already received some help here.
    Q: Is there an easy way to measure the seconds that the output port wire to the heating element is active? 
    A: Yes! The method we can use to perform this action depends on the sort of architecture that you're using at the moment, however we can take advantage of the section of your code which defines whether the line should be on or off. When it's on, using a While Loop we can  use a Timestamp to keep track of the current System clock; this Timestamp will update on every loop iteration. If we use a reference Timestamp which is created outside of the While Loop when we first begin to drive the line high, we can simply work out the difference between the current Timestamp and the reference Timestamp to get the total time.
    This kind of code will also be device independant because it relies only on the computer it is used on.
    I hope this helps!
    Alex Thomas, University of Manchester School of EEE LabVIEW Ambassador (CLAD)

  • Dtt3500 and Audigy Gamer, digital output only 2 channel unless its D

    Ok I recieved a response concerning my last comment but unfortunatly it did not answer my question at all. I have a DTT3500 and a sound blaster Audigy Gamer hooked up with the digital out to the /8 din adapter. I try the advanced 3d demo that came with the Audigy software and I only hear the front 2 channels, no center and no rears. The demo where you move the little icons and sound moves along with it. I have 5. activated in my windows control center along with audioHQ and digital out only is selected. my DTT3500 has 4./5. digital selected along with dolby digital/pcm audio and digital in. I am not getting the effect of multisurround at all. My center works and my rears work because playing music I can use all 5 speakers. When I use the analogue outputs I hear multisurround from the advanced 3d demo but my center doesnt work. The analogue setup sounds better but without a center channel its useless to me. Am I doing something wrong? I am using the adapter and digital DIN, what gives? The only reason I noticed I wasnt getting surround was while playing games nothing comes from behind you even on 5. games. The goldmine demo doesnt even work right, when the bird flys behind you it disappears but there is still sound from the rears. Analogue fixes this without a center but the manual and setup say to use the digital din. Do I just have a setting wrong? I would like to experiance the full capacity of multispeakers in my games.

    Dennis,
    With these speakers the connection that I would suggest would be to use the Digital out on the back of the sound card into the DIN Input on the DTT3500's. This will require a converter cable for /8'' Minidin to standard DIN which can be purchased from here:
    http://us.creative.com/products/prod...0&product=0375
    You will also need a standard DIN cable (one should have shipped with your DTT3500's).
    This should give you 5. with digital output only enabled on the Audigy.
    Jeremy

  • PCI-6023E & digital output

    Hello,
    I have a PCI-6023E and I want to generate a continous pulse train with a digital output line, and I need to know the maximum frequency for this pulse train that I can generate.
    Thanks a lot for your answer.
    Regards, Anacelia

    Hi Anacelia,
    You should not realy on this answer without verifying with NI first. So here goes.
    Page 347 of the catalog indicates the supported data transfer mode is "programed I/O". This indicates that each line state change must be initiated by an operation of the controlling software. Therefore, the upper frequency limit is determined by how often the code that sets or resets the line runs.
    So, the upper limit is determined by the software and the environment it is running in. If you are woring in Windows environment, and your machine is faster than about 400 Mhz then there are two factors to concider when answering your question. How fast does the code run, and how deterministic is it.
    If determinism is not an issue, you could resonably expect to get
    about one update every 10ms if the code is clean. This would give you 100 update per second or about 50Hz.
    If determinism is required, and you are not running in a Real Time environment, the above estimates should be backed off. Anything above 5-10Hz is going to be questionable.
    Like I said, verify what I have said with NI.
    I hope this helps,
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • AT-MIO-16D Digital Output wiring

    I need to drive a relay coil from one of the outputs of an AT-MIO-16D module.
    From the AT-MIO-16D User Manual (p. 2-35) it remains unclear for me
    how to do it. It seems that the Digital outputs are of "sinking" type, i.e.
    they
    connect to either ground or to a high resistance, however the electrical
    specifications
    considers both output "source" and "sink" currents.
    Assuming "sink" type, I think the wiring should be as follows:
    +5Vdc to relay coil (flyback diode in parallel)
    relay coil to DAQ module output point
    -5Vdc common to DAQ Dig Gnd point
    My questions are:
    1. Is my suggested wiring right?
    2. Do I need some resistor to limit the current through the DAQ board or
    is the coil resistance enough?
    3. How do I protect t
    he module against the reverse voltage generated in the
    coil once
    disconnected? With the flyback diode suggested I am protecting the power
    supply
    output but not the DAQ module.
    Please attach a suggested wiring diagram to your answer.
    Thanks in advance for your support.

    We use a MOSFET (2N7000) switch in our systems to isolate the DIO ports from the relay drive. The attached schematic shows the circuit.
    One problem we have with this is when the board powers up the DIO ports are configured as inputs, and the circuit sees enough voltage to turn on. The 47k resistors were recently reduced to this from 100k, which seemed to help.
    Attachments:
    DIO_Relay_Drive.bmp ‏1440 KB

  • MyDAQ, Increase Digital Output?

    Hi y'all,
    I'm currently working with a myDAQ trying to trigger three 3V relays through the digital outputs. My main problem is instead of giving me 5V when triggered, the digital outputs are only giving me ~2V since they can turn on an LED, but they don't switch my relays. Is there any way to increase the voltage coming from the digital outputs?
    I've tried using the analog outputs instead (since they can put out 10V), but can't seem to get those to work the same as the digital outputs. I essentially just want to press a button and the output to send a steady voltage >3V and then turn off once I press the button again. I got this to work with the digital outputs, but the analog outputs throw me buffer errors and other input errors I can't seem to fix.
    I'm a beginner to LabVIEW and myDAQ and would appreciate any help! Thanks!

    Hello SNorrell,
    According to the myDAQ's specifications, each DI/O line can source a maximum of 4mA, which won't be enough to drive your coils unless you use multiple outputs to drive each.  I don't recommend attempting that. 
    Depending on how many relays you need to use, however, it's likely that you can get a few to work without additional hardware by using the built-in 5V supply line to drive the lines and grounding them at the DO.  Invert the logic on your digital lines so that they go low to turn on the relays. You'll need to account for power-up conditions and ensure your hardware doesn't toggle on or off unexpectedly when powering on the DAQ or the PC. You'll also want to ensure you're not driving too much current to the digital pins, refer to the documentation for current and voltage limits.
    Regards,
    Tom L.

  • Unwanted 5VDC (uS) Pulses on DAQCARD-12​00 Digital Outputs

    I'm currently using a DAQCard-1200 PCMCIA multifunction DAQ card to automate some "push-button" features on a particular piece of equipment. I've connected 3 of 8 Digital Outputs available on PortA in parallel with the momentary pushbutton switches used for manual control. To stimulate one of the switches, I am pulling the digital line low for 100mS then returning it to a high (the other signals should remain high during this time). I scoped the signals and noticed very short (uS) +5VDC-Pk pulses occuring on the idle lines (also on the digital lines I'm not even using). I'm using a the "Write to Port" VI. These "blips" occur during the rising "and" falling edges of the active signal. Occasionally, these
    "blips" are long enough to trigger the other two inputs that I'd like to remain inactive. Besides using a filter to reduce the inverse-peak of the unwanted signals, is there a way to programatically control or remove these "blips" alltogether? Or are these even supposed to be there?

    These blips can occur when writing to a digital port, and not masking the bits you do not wish to change.
    If these blips are causing problems, take a look at the Write to Digital Port.VI. Double click on its icon to open its front panel. Go to its block diagram. You'll see where the port is configured on iteration 0, and then the Port Write is called, and there is an input to mask lines. This is what you'll need to do--put a value on this input to mask lines you want to remain the same. This should fix the blips you are seeing.
    Also, if you are not manipulating more than one digital line at a time, you could use the Write to Digital Line.VI, which would accomplish the same thing. But if you need to update more than one line at the exact same ti
    me, this method won't work for you.
    Mark

  • 1820M digital inputs don't work with cable box, receiver digital outputs?

    I just installed an 1820M on an XP-Pro machine (AMD 3800+ X2). Downloaded the optical and coax loopback tests and they work fine. But I can't get it to take digital input from either my Comcast HD-DVR or my Denon AVR-1907 receiver. I know the Comcast DVR digital outputs work - they worked with my receiver and with my old Logitech 5300s.
    I've tried everything I can think of:
    - take external sync from S/PDIF
    - set the optical to ADAT so it doesn't mess up the coax s/pdif input
    This seems like such an obvious application. Has anyone gotten it to work?
    Thanks

    This is my point - the currently active channel does not produce sound through its multiple outputs unless Logic is playing.
    So, for example, if I am auditioning different drum grooves from RMX through the multiple outputs (for the purpose of putting effects/processors on the outputs in Logic) this only works when Logic is playing.
    Or if, in BFD, I have the direct Snare coming out of one output into an aux, and then a direct Kick coming out and output into another aux, I cannot hear them unless Logic is playing - I can only hear the ambient mic's as these are mapped to Outputs 1-2 which are the initial track you set the multiple output AU up on.
    If none of this is something you tend to do, I guess it's hard to understand!
    Thanks,
    Alex.

  • Synchronous LED display with digital output

    hi,
    In the experiment I want to control a relay, so I use the MAX to generate a digital output task and then transfer it to example code in labview as below. How can I amend  this code so that when the module ouput 1 there is a synchronous LED display on the front board.
    Thanks~~~

    Use single sample digital writes inside your loop.  Use a shift register to hold the state (T or F) and invert each iteration.  Now you can just wire the state wire to a front panel led and be sure that it is sync'd to the digital output.

  • NIELVIS- digital output!

    Hi was trying to work on some relays on the elvis prototype board, i see that the digital output give about 4.3V but for some reason the relays cant be activated by these, Could anybody pls tell me if that is because the digital outputs dont have enough current to activate the relay, or suggest anything to rectify this! I am currently trying to use those 8 digital outputs as switches to activate the realys.
    Thank you
    Rohith

    Those specifications differ based on the internal DAQ board you are
    using in conjunction with the ELVIS unit.  The ELVIS uses either
    the 6036E or the 6251, there is no way to change the actual output
    voltage of the digital lines, they only output the specific state
    either high or low.  The NI-ELVIS User's Guide has more information about the specific specifications of the NI ELVIS.
    Good luck!
    Micaela N
    National Instruments

  • U330 no audio digital output (SPDIF)

    Hi !
    I own an U330 and I want to use the optical output for digital audio (SPDIF w/ mini toslink).
    But, no matter the setting I choose, It doesn't work I have no red light.
    When I choose the digital output in the Realtek software, nothing happens even if I plug a mini toslink jack and play music...
    In fact , when I plug it, the U330 detects that a jack has been insered, and in the realtek software, the icon of the analogic output becomes active.
    I've already installed Realtek last driver...
    Has someone experienced this problem ? Do you have the red light in the jack socket ?
    Thanks

    take a look at this thread, it may help.

Maybe you are looking for

  • Apple TV no longer connects to the internet

    New AppleTV no longer connects to wireless network after lightning storm knocked out power. Turned off security on TimeCapsule and reset AppleTV, but still self-assigns an IP (169.254.xxx.xxx) and appears to detect an ethernet connection even though

  • Cleared Items in MRBR

    Hi Experts, I found one document which was already paid through F110 is again coming into MRBR for payment. What are the possible reasons behind this???

  • Ready to throw my server through an apple store window

    So I have my server up and running and most of the services work just fine, ie DNS AFP ical ichat. Open Directory and user permissions has been driving me up a wall ! All my machines are locally bound, recognized and in a machine group. 1. None of my

  • Setting for whether to resize images or not in exportContext.propertyTable?

    I have a plugin that creates multiple renditions of various sizes.  For the sizes I require, the image sizes are set with the two properties LR_size_resizeType and LR_size_maxHeight. The issue I am facing is that the rendering process only reduces th

  • Layer (Hide / Unhide) Dashboard Objects

    I have a dashboard with three main categories. Instead of making the user scroll up and down to view each category object I want them stacked and layered on top of each other. I have command buttons at the top of the dashboard that allow the user to