Microseconds delay to control digital outputs in WSN-3202

Hi,
I’m using the LabVIEW WSN Module to control the digital outputs of the WSN-3202 node. Is there a way to add a microseconds delay in my flat sequence structure? Because I’m using a pulse driven optical sensor which requires delays intervals in microseconds.
Thanks,
Ahmed

Hi Ahmed,
The availability of a microsecond resolution for timing depends on the onboard clocks or setup that the system allows. These nodes are often used to control/acquire in a non-continuous way to save battery. Therefore, they are required to wake/sleep in cycles that take a couple of minutes generally. What are you exactly trying to do with the node?

Similar Messages

  • Using outputs in WSN-3202

    Good morning,
    I have a doubt. You are aware that the sensor WSN-3202 has 4 analog inputs and4 digital outputs, a doubt arises in respect of this sensor outputs.
    For example, for connecting a LED (6V) to one of the outputs of the sensor, I have to do?
    Best regards,
    Hugo Santos
    Hugo Santos
    Student at ISEC - Master Mechanical Equipment and Systems

    Good morning,
    for programming in LabView plates WSN, I need to have LabVIEW WirelessSensor Network Module Pioneer?
    For example, I need to have input and output, can do the way is down?
    regards,
    Hugo
    Hugo Santos
    Student at ISEC - Master Mechanical Equipment and Systems
    Attachments:
    input_output.jpg ‏15 KB

  • Feedback using analog input to control digital output

    Hi all,
    I've got a program that I intended to open and close two valves (and thus actuate two pneumatic cylinders) based on the readings from load cells mounted to each cylinder. The idea was that it would send a digital out to open the valve and extend a cylinder, then close the valve when the load reaches a pre-determined value (with frequency dictated by increasing or decreasing the inlet air pressure and thus the fill time of the cylinder). It would then do so for the other cylinder in a loop. The issue I have is that the response time of the loop actuating the valves was too slow-for a desired force of 1800 N I had to set the limit to 1100 Newtons. It was nice and consistent in this regard but then I started having instances where the valve would stay open long enough to apply a force of 3600+ N. The biggest need in this program is to maintain a consistent load and ensure that the max. load is not being exceeded. I've used local variables and a queue to pass the load values to the valve actuation loop but it did not seem to make a difference. I don't know if part of my problem is the mishmash of data types I'm using in passing the load cell values or if a notifier would be a better bet.
    Attached is my code (LV 8.2). Thanks in advance if anyone can offer some guidance.
    Attachments:
    Controlled_valves.vi ‏192 KB

    Here's a version in LV 8.0 and an image of the block diagram, for those running older versions of LabView.
    I'd greatly appreciate any help anyone might provide as I'm getting killed here. Thanks!
    Attachments:
    Controlled_valves.vi ‏207 KB
    Block diagram.JPG ‏177 KB

  • Wsn 3202 digtal output

    respected
    i want to get digital output from wsn 3202 to blink a led.but this program does not work for it which i attached below..plz help me to get digital out put... 
    Attachments:
    Untitled.png ‏12 KB

    Hi,
    Are you setting the output to be sourcing or sinking? Are you setting the corresponding circuit outside?
    Regards,
    AGJ

  • Button timer digital output

    Hi folks,
    Want to control digital output USB6215 with button. The active time presetable from control, like 5.2 seconds
    Hopefully simple solution
    -Stefan

    srydstrom wrote:
    Hi folks,
    Want to control digital output USB6215 with button. The active time presetable from control, like 5.2 seconds
    Hopefully simple solution
    -Stefan
    it is a simple solution..have you looked at the NI shipped examples? Goto Help>Find Examples...>Hardware Input and Output>Daqmx>, if your button is external hardware...you need "Analog Input or Digital Input" to acquire the signal..if not, then software controlled...this all needs to be sent to >Digital Output.
    note: the Requirements box will indicate what NI devices you can run with these examples...

  • 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

  • How to combine Digital Output, a delay and Analog Input in a fast loop

    I need to develop a process loop that runs at least at 250 Hz that performs a Digital output, than a delay of 50 microseconds and than an analog input of all the channels. All will be done using ATI MIO 64E3 card. Of course, the acquired data will be processed, displayed and saved. The loop will be running for several minutes until user stops it.

    The fastest and most precise timing will occur if you use hardware timing. You can apply hardware timing to analog input on the E Series boards, but not the digital lines. Let's focus on the analog input first. Continuous waveform scanning uses a scan clock, which can be the board's internal one or an external one which you apply. If you want to scan all the channels 50 microseconds after a digital rising edge, then you need an external signal to signify that scan clock.
    The E Series boards also have 2 counter/timers onboard that you can use for this purpose. You can set up a retriggerable pulse generation operation, where the counter receives a trigger and then on the user specifications, produces a pulse. You can have that route to the analog input scan clock.
    The trigger signal for the counter is that digital pulse. As I mentioned earlier, there is no hardware timing for the digital lines on an E Series board. We do have other digital boards (653x family) that have hardware timed operations if precision is important. If you are satisfied with software's resolution (in the milliseconds), then you can call the E Series board digital function in a loop with a software timer. That digital line can route to the counter to act as the trigger.
    So, on the programming side, you can have three separate and independent operations in parallel. One is for the digital function to output on that line every so often. Another is for the counter set at the retriggerable pulse generation. The last is for the analog input. I will describe this in terms of LabVIEW, but it can be done in a similar fashion with the NI-DAQ function calls or Measurement Studio.
    The digital examples are in the LabVIEW >> Examples >> Daq >> Digital >> E-Series directory. The Generate Retriggerable Pulse example is in the LabVIEW >> Examples >> Daq >> Counters >> DAQ-STC directory. The E Series boards use the DAQ-STC timing chip.
    Go to the LabVIEW >> Examples >> Daq >> anlogin >> strmdisk.llb directory and start with the Cont Acq to Spreadsheet File. This shows how to continuously acquire data and stream it to disk while displaying the data on a chart. Streaming to disk is the efficient way to save data while you are acquiring, as it eliminates the overhead of always opening and closing the file through the iterations of the loop. This saves to a file that can be opened by other applications (Excel, Word, etc.), but it is not as fast as writing to a binary file, which must be opened and read back through LabVIEW. However, for your ~250 Hz rate, it should be fine. Then, go to the LabVIEW >> Examples >> Daq >> anlogin >> anlogin.llb and look at the Acquire N Scans -ExtScanClk example. This shows how to apply the scan clock. Here, the AI Start that you saw in the previous example is replaced by 4 VIs (3 AI Clock Config's and the AI Control). Make those changes to the first example and then add a constant 0 to the AI Control parameter for total scans to acquire. That specifies the continuous operation. The File >> VI Properties >> Documentation menu item of the example describes the physical connections.
    If you aren't using LabVIEW, use the NI-DAQ User Manual and the NI-DAQ Help file installed on your machine. You can look at your AT E Series User Manual at the http://www.ni.com/manuals pages for more information on the hardware. Also, if you want to route those signals internally on the board, you can find some entries in the KnowledgeBase at the http://www.ni.com/support pages.
    Regards,
    Geneva L.
    Applications Engineering
    National Instruments
    http://www.ni.com/ask

  • How to give delay in switch on digital output lines

    Hello All,
    I am working on PCI-6514 Digital IO card, I am writing a sequence to my application using DAQmax for  Digital input and output lines
    I want to switch on one output line0 and after a delay 5sec switch on line1 output and after a delay of 3sec switch on line2 output and sense input line 0 and line 1 .
    How can we know the status of output ie output is on or off.
    Since i am using the IO card for first time suggest me in this.

    Hi
    I am going to assume that you are using LabVIEW 7.1 for this application.  If you are trying to acquire data from an external device after outputting data to that device, the DAQmx tristate property node will give you this functionality.
    You will then need a DAQmx write.vi to output your digital data followed by a DAQmx channel property node. Select Digital Output>>Tristate on the property node and wire a true constant into it. After the property node, you can use a DAQmx read.vi to read the data coming into the digital lines. By using the tristate property node, you can avoid stopping the digital output task and starting an entirely new task.  I am attaching an example program that will demonstrate this.
    Regards,
    Hal L.
    Attachments:
    digital input and output.vi ‏39 KB

  • Using mathscript to generate multiple digital outputs for switch control

    Hello 
    I am new to this NI LV and a have kind of a basic question. I would like to use Mathscript to generate an array of bolean numbers which will be used to control the Digital I/O lines. I am using NI 6251 USB device and the Mathscript code runs well. But I have a problem using this array to control the Digital output. So I created a simple test programme where I set the DAQ assitant to generate 4 digital outputs(P0.0 ~ P0.3) and it gives error that  ".. number of channels in the data does not match the number of channels in the task..." (see attachment) . How can I solve this problem thank you.
    Attachments:
    K-9.jpg ‏36 KB

    looks like you did not initialize all 4 of the elements in the bool array....

  • How to generate multiple digital outputs (square waves delayed) at 50 kHz?

    I would like to generate 3 digital outputs like the picture attached at 50 kHz. Using the "digital pattern generator (marching values).vi", I can generate 3 digital square wave but without the delay time. How can I do that?
    I'm using the card PCI 6034E.
    Thank you
    Attachments:
    digital outputs delayed.png ‏8 KB

    Hi,
    the digital pattern generator (marching values) only shifts the binary value of the first signal and sample to the next signal/sample.
    Have you tried generating your waveforms via build waveform and use t0 terminal to change the lead delay?
    In general, this DAQmx example could be helpful which you can modify to your needs.
    DAQmx Write Digital Channel- External Clock: https://decibel.ni.com/content/docs/DOC-11142
    Regards,
    Thomas

  • PID Control - analog input, digital outputs

    Hello everyone,
    I am trying to use the PID toolkit to convert my existing feedback control system to one using PID or just PI whatever works best. Problem is that the tutorials out there discuss in detail about obtaining Analog inputs and using the PID output to control an analog output. Are there any tutorials that show how I can control my process variable which is an analog input by using the PID output to generate digital outputs?
    Basically, what I am doing is controlling the incline of my device with two digital outputs that control two solenoid valves. The angle is calculated from a calibration curve that plots distance sensor voltage with Angle. Any help would be immensely apprecitated. I want to try this out on my own before I post some vi's. Thanks!
    V
    I may not be perfect, but I'm all I got!

    That is exactly what I am doing currently. I have error bands specified around the target to make sure that it doesn't oscillate. But, under load conditions such as pulsed load conditions, the device goes out of bounds and the values trigger to correct for it. But, what I need is seemless or atleast seemless correction. Currently what I see is sudden adjustments to the incline. Please find attached what I am currently using. I am trying to get a more finer solution if at all possible.
    Note: Within 5% of the target = NO action
              Between 5% and 15% = Pulsed ACtion ( DO On for Pulse width time)
              Greater than 15% = continuous action until it reaches Pulse band
    I may not be perfect, but I'm all I got!
    Attachments:
    TDML_subElevationControl.vi ‏41 KB
    TDML_subPulsedValveFuntion.vi ‏16 KB

  • MG3100 scanner- can I control digital rights on the output pdf to enable comments?

    MG3100 scanner- can I control digital rights on the output pdf to enable comments?
    Solved!
    Go to Solution.

    Hi fassettj,
    Enabling comments on PDFs created with your PIXMA MG3100 is not supported using the software bundled with your printer.  For these features, it is recommended that more full featured PDF creation software is used, such as Adobe Acrobat.  For more information, please use the following link:
    http://www.adobe.com/products/acrobatstandard.html
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • Controlling fpga digital output node from realtime boolean

    I have a system where I want to turn on / off a digital output running on the FPGA.    
    Once I set the boolean on my realtime side (which turns on the FPGA output), I see the output turn on the CRIO, but it flickers on and off.   (not latching?).   I just want the FPGA to stay on as long as the output is turned on, on the realtime side.  I cant change the mechanical action of the switch due to limitations on FPGA / RT according to labview ( I get an error at compile)
    Any suggestions on how to correct this?
    Solved!
    Go to Solution.

    I have simplified my program to something very basic to replicate the problem. 
    The digital output D0 switches on and off everytime the realtime loop cycles through. 
    If I run just the FPGA seperate and turn on the digital output control D0 it stays on solid. (until I turn it off again)
    What am I doing wrong?
    Attachments:
    FPGA_RT_TEST.zip ‏144 KB

  • How do I control a digital output on NI9144 FPGA with fpga code running on NI9082.

    Due to a recent change in our hardware configuration I need to locate my various I/O modules in various locations around the facility. I am attempting to use an etherCAT setup consisting of an NI9082 and multiple NI9144 (for now only one NI9144). I need both devices to run code in the respective FPGA and make the results available to the other devices and for user interface software. My question is is it possible for the two FPGA code segments to communicate directly with each other without going through the RT or computer interfaces. I need to fire a digital output bit on the NI9144 based on logic running on the NI9082.
    Are there any good code examples around that someone can point me to?
    Thanks for the help.

    Hi, you can include trigger conditions (digital, or analog) on your FPGA VI and connect directly the I/O from module to module (analog with analog & digital with digital), however, if the chassis are meant to be at different locations the cable used to connect the ports is equals the length in between each device and that could degrade the signal if we are taking about a couple meters or kilometers. The most reasonable way to send/receive data from great distances is through ethernet using a regular communication protocol (such as TCP/IP, network streams, network shared variables...etc).
    Alejandro | Academic Program Engineer | National Instruments

  • Is this setup capable of Labview controlled analog or digital output to 5V?

    DAQCard AI-16XE-50 to a CB-68LP using Labview 6.1 and NI-DAQ 7. Win2k pro

    chazimusmaximus,
    For your specific DAQCard AI-16XE-50, the only output you can perform is digital output since there are no analog output lines on this board. Digital ouptut with NI-DAQ 7.0 will work with LabVIEW 6.1, but you can only use the Traditional DAQ VIs. Windows 2000 and the CB-68LP are both fine in this combination.
    For example programs, simply launch LabVIEW 6.1 and go to Help >> Find Examples. Then follow the path Hardware Input and Output >> DAQ >> Digital Input and Output >> E-series to choose the example that works best for you.
    Have a great day.

Maybe you are looking for

  • How to set SQL Server Login MUST_CHANGE, CHECK_POLICY, CHECK_EXPIRATION all to OFF with T-SQL

    How to set SQL Server Login MUST_CHANGE, CHECK_POLICY, CHECK_EXPIRATION all to OFF with T-SQL.  SSMS will not allow me to change policies to OFF. Error: 15128 - The CHECK_POLICY and CHECK_EXPIRATION options cannot be turned OFF when MUST_CHANGE is on

  • Trouble connecting Macbook Air and iTunes with Apple TV

    When I tried to connect my iTunes to my Apple TV,this message showed 'An error occurred while connecting to the AirPlay device "Apple TV". An unknown error occurred (-15000)'. I just changed my iTunes ID. I am using Macbook Air 13" mid 2011 OS X Lion

  • Dbms_lob-replace

    I have a clob database field and I want to replace every occurence of a char with another one(for ex. all 'a's to 'b's). There is not a repalce function in dbms_lob package and I want to know if there is a practical way of doing this. Thanks a lot.

  • SLD and Management console

    Hello, It seems that both System landscape directory and SAP management console have some overlapping features. The services can be started or stopped in both. Is it true? Does anyone know the difference between these 2 and where does Solution manage

  • My New Mac is will not read my sd card

    I just got a Mac for the first time (mac book pro)I took the sd card out of my camera and incerted it into the card reader and nothing happens. How do I use the card reader in I photo?