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

Similar Messages

  • How can i turn a photoshop file into a website with knowing code? can i upload Muse or DreamWeaver?

    How can i turn a photoshop file into a website with knowing code? can i upload Muse or DreamWeaver?
    I created a few images (pages for a site) on photoshop and want to turn them into HTML code for a website- Can i Just upload the file into one of these programs and make a file with the correct code imediatly?
    I was reading about using EDGE Reform but i did not understand if i can create the code with it, in the end it says it still needs to be sent to website developer after?

    You need to look at Dreamweaver as a code editor. You need to learn to create good, clean HTML code with style sheets to make websites with Dreamweaver.
    There are tutorials that will take you from a layered .PSD file to HTML. Here's a good one:
    http://net.tutsplus.com/tutorials/site-builds/from-psd-to-html-building-a-set-of-website-d esigns-step-by-step/
    Adobe's Muse is a semi-WYSIWYG website layout creator for small websites (1-5 pages). But there is no way you can go from a .PDS file to Muse, you have to start the site in Muse.
    I have seen a few Muse sites and they're OK, but there is some code that Muse creates that is kind of odd. If you want a good, clean website that will work for you or your business, Dreamweaver is the best choice. Alternatively, you could hire a pro.
    -Mark

  • How do I keep a digital output from SCC DO01 from fluctuating states?

    Background: Hooking an ohm-meter across a digital output from a SCC DO01 isolated optical switch shows that the resistance fluctuates and at times goes open circuit. It appears directly related to the LabView code where I'm writing to this digital line within a WHILE loop. The loop has a variety of other operations going on. These other operations, I believe, are causing this problem due to timing or something.
    How can I improve the reliability of this digital output? There must be some method of establishing priority within a WHILE loop.
    Really appreciate the help.
    Hunter

    Howdy, Justin
    Thanks for your reply.
    I've actually been connecting the meter across Vss and Vout. Actuating the digital output, I can see the state of the switch. Attached is the VI which involves this DO01, specifically, it's associated with the VFD RUN/STOP.
    Since I sent this question out, I've actually gotten some help from Andy Watchorn of NI. This switch holds state much better.
    All the best,
    Hunter
    Attachments:
    VFD_ControlVIs.zip ‏120 KB

  • How to disable SP-DIF (digital) output on Audigy

    Hi, I am using Audigy 2 soundcard connected to Altec Lansing ADA885 speakers. These speakers have built-in Dolby Digital Decoder, and of course SPDIF input for this. Additionally, they have inputs for analog front and rear speakers signal. They can be switched to different operation modes : Dolby Digital decoding, Dolby ProLogic decoding, stereo, and quad modes. I have connected them to my Audigy 2 using analog connections, and also digital output. The problem is, that they process both kind of inputs (analog and digital) all the time in most modes simultaneously. For example, when I set them to "quad" mode (for gaming) they process analog signal that Audigy deli'vers them, but also they attempt to decode the signal from digital input. This produces some kind of phase distortions (basses dissappear and the sound becomes slightly muffled). Possible solutions could be : - disable digital decoding in speakers when using analog output from Audigy - this can't be done, these speakers' decoder is not configurable, - disconnect digital cable when using analog output from Audigy - obvious solution, however not very comfortable - disable "ON-DEMAND" spdif output on Audigy card and enable it when necessary. This would be most satisfying option for me. But.... is it possible at all ? Just something similar to the "Digital output only" setting in soundcard panel, but in my case i'd like to have an option of "Analog outputs only". Thanks in advance for any help Greetings, Martin

    Hi Terry,
    According to your description, my understanding is that you don’t want the yollow bar notification to display when you open Access documents.
    This issue seems to be about the client application. Please compare the followings with the things that you did:
     1.Open the documents
     2.Click File->Options->Trust Center->Trust Center Settings
     3.Click Protected View, unselect ‘Enable Protected View for originating from the Internet’
     4.Click Message Bar, select ‘Never show information about blocked content’
     5.Click Macro Settings, select ‘Disable all macros without notification’
    In addition, as this issue is about Office, I commend you create a new thread in Office forum, more experts will assist you with this issue.
    Office forum:
    http://social.technet.microsoft.com/Forums/en-US/home?category=officeitpro
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Can i control a digital photocamera trough the USB with Labview

    i want to control my digital photocamera with labview, so that i can take a picture on a labview command.

    NeoVista (www.nvsi.com.au) has an excellent toolkit for controlling Kodak digital cameras - maybe they could help?
    Copyright © 2004-2015 Christopher G. Relf. Some Rights Reserved. This posting is licensed under a Creative Commons Attribution 2.5 License.

  • Tick Count Express VI outputs '0' on FPGA target running with Simulated I/O

    When I set my target to "Execute VI on Development Computer with Simulated I/O", the Tick Count VIs all output '0 every time they execute. How can I get them to output a progressive count (in the "ticks" instance) or a proper timestamp (in the "ms" instance)?
    Solved!
    Go to Solution.

    I used LabVIEW 2013 SP1 and I was unable to reproduce this issue on my end. The screenshot below shows my result.
    As shown on the Front Panel, the output from the Tick Count Express VI was not 0 on every iteration of the loop.
    To make sure we are comparing the same code, can you reproduce this issue with the Tick Count shipping example?  You can find this shipping example in the Toolkits and Modules>>FPGA>>CompactRIO>>Fundamentals>>Clocks and Timing>>Tick Count section in the LabVIEW Example Finder.  
    Regards,
    Tunde S.
    Applications Engineer
    National Instruments

  • How does iTunes volume control affect digital output?

    I'm using iTunes on a Mini with an external USB DAC. The volume control and equalizer inside iTunes affects the volume so it must be processing the digital data in some fashion.
    It doesn't appear you can disable the volume control so how do I know what, if any volume setting outputs a digital stream that has not been processed by iTunes?
    intel mini   Mac OS X (10.4.7)   external Scott Nixon usb dac

    I have a scott nixon and I have the same quesstion. Does the volume control slider on itune work in digital domain? if so, does it work by increasing/reducing the bit rate?

  • How to control a digital output signal using the DAQ assistant?

    I am using a USB 6251 DAQ board and would like to control a switch. I am gathering airflow, pressure, and acoustic data on the same board (analog input) and would like the switch to trigger when the airflow value is within a pre-determined range. Finally, I would like to reverse the polarity of the switch (to off) about a second after the initial digital signal, all of which is during continuous data acquisition.
    I am able to actuate the switch only when pressing the "run" button in the DAQ assistant window. I am proficient with data acquisition but have never tried programming an output... Please help!
    Thanks!
    -a troubled researcher
    P.S. I am running LabVIEW 8.5 as well.

    blsmith4,
    You probably won't get the control of the digital port on your card by only using the DAQ Assistant. One of the following examples should provide you the functionality that you would like out of the box:
    Digital - SW - Timed Output (Simple)
    Digital - Continuous Output (More Complex)
    Continuous Write Digital Port - External Clock - Non Regeneration (Most Complex)
    Let me know if these work better for you.
    Best,
    Jason M.
    Applications Engineer
    National Instruments

  • HOW TO USE HOST COMPUTER VI TO CONTROL COMPACTRIO DIGITAL OUTPUTS

    Hi,
    I am designing a closed loop control system using Labview FPGA  and  CompactRio real time target.  I am using FPGA for the control system coding. I want to use the host computer to monitor some signal levels and send out a signal using NI9401 module to control external amplifier. The host computer does not have memory capacity to hold labview software. Can I use executable on this host computer so I can have this front panel to monitor the control system? Could you tell me how to monitor signal levels going in and coming out from FPGA (is there sample vi I can look to get an idea? I am using Ethernet cable to connect compactrio to host computer ) Thanks!

    Hi suni,
    if you work with LabVIEW 8.6, then you can use the scan engine to get the values from your fpga to the real time target. If you do so, then you only need to work with shared variables. To see all your values on your host pc, you can create an executable which can read and write values over tcp/ip. There are a lot of examples about it, use the example finder please. To use the scan engine is only one way, you can write all the communication by yourself. For the communication between real time and host, i would use tcp/ip instead of shared variables.
    Mike

  • How to I connect Sourcing digital output from My Interface Board to NI USB 6501 channel configured as Digital input

    When I connect an input to DI channel of USB 6501 card  from my board which has sourcing Output t, iIn the Off state it is not pulled down properly. The volatge on the port in is 2.1V -2.5V based on the pull down resistor on my board. I suspect that  it acts as a voltage divider.
    The state on the card is still show as "HIGH "state, even my sourcing output driver has a pull down  resister.  when I use this interface board for PCI mseries devices it works fine. Do the pull down resister on my sourcing output is not worth. Is this because of pull up resister 4.7k inside USB card 6501.
    USB 6501 specifications shows the Digital input accepts both source and sink modes. By default the card is in sourcing digital input mode. How do we can convert this in Sinkind digital input mode.
    Could anyone Please give your suggestions to overcome this issue .
    Thanks you.

    You really should not have both a pull up and pull down on the same line.  Really weird things can happen.  If you insist on having a pull down on your board, then I highly recommend putting a digital buffer chip between the DAQ and your board.
    Some boards with DIO have a pull up, while others have pull down.  You just have to watch the specs.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • ?how do i ramp the Digital Output frequency?

    I need to apply a linear ramp to the output frequency of my digital TTL
    output to accelerate and deaccelerate the speed of a stepper motor - is
    there any way to do this such that the ramp is continous?
    using: Labview 5.0.1 on a PC with an AT-MIO-16E-1 board
    -thanks

    You can only decellerate the speed: see CTR Pulse Config.vi (see hierarchy
    of Generate Pulse Train.vi).
    In cluster 'low level parameters there is a auto-increment count value that
    adds to phase 1 of each new period
    wrote in message
    news:[email protected]..
    > I need to apply a linear ramp to the output frequency of my digital TTL
    > output to accelerate and deaccelerate the speed of a stepper motor - is
    > there any way to do this such that the ramp is continous?
    >
    > using: Labview 5.0.1 on a PC with an AT-MIO-16E-1 board
    >
    > -thanks

  • Easy driver stepper control via digital outputs

    Hi, I have a couple little motors that I'm driving with a Sparkfun easy driver board. The board just takes in pulses, and for each pulse it gets it steps the motor one step. Another digital pin sets the direction. I have attached the VI.
    I have the digital PFI1 on my DAQ connected to the "pulse" terminal on the board, and it steps when you send pulses to the board. However, the DAQ seems to be operating in burst mode. If I set the frequency to 10 Hz, for instance, with a finite number of steps (say, 1000), the motor steps in little bursts rather than continuously moving. I scoped the output of the DAQ, and it does appear to be turning the square wave on and off.
    The pulse chain is initiated by:
    1. CO Pulse Freq, set to 0.5 duty cycle and the specified frequency using ctr1
    2. Implicit timing with finite samples, # of pulses is the number of user provided steps
    3. DAQmx Start Task
    I enter a loop to monitor the progress, which just checks DAQmx Is Task Done every so often and updates a counter.
    What is a better way to do this? Why is the counter operating in burst mode?
    Thanks
    Attachments:
    Stepper2.vi ‏51 KB

    Hm. It appears that Sparkfun has a number of defective units that behave this way. I think my code is actually fine.

  • How can I control external devices using a touch screen with a standalone LabVIEW app

    For my senior design project my group and I created a hybrid extended range vehicle with 90 Li+ Batteries thats charged by a 15 kW generator and/or that is also being charged by a 5 kW fuel cell. Currently, our system is capable of measuring voltages off of the batteries and displaying them on a laptop via LabVIEW. To process this data, we are using a cRIO FPGA. What we would like to do now is have a touch screen for the driver to choose what power source charges the batteries as well as monitor a pressure reading coming from the fuel cell tank. 
    What sort of small touch screens allow for LabVIEW to be uploaded on and used for controls?
    Does a cRIO have the capability to power such a screen and handle the data transfer from the fuel sensor and switching relays (for switching on and off powersources)? 
    Do I need an additional license for creating standalone applications and how would i go about creating a standalone app?
    sorry for so many question. Any reply helps. Thanks!
    Solved!
    Go to Solution.

    That sounds like a pretty interesting project.  If you are interested, National Instruments hosts a Student Design Competition where you can win cash or a trip to Austin for NIWeek.
    steve215 wrote:
    What sort of small touch screens allow for LabVIEW to be uploaded on and used for controls? 
    NI does sell Touch Panel computers that can be used to control LabVIEW applications.  You can find more information here: HMIs and Industrial Touch Panels and here: LabVIEW Real-Time and Touch Panel Deployment and Replication Resources. Our 6-inch touch panel computers run Windows CE, so programming on them is a little different than programming on a full Windows OS.  You may find the Getting Started with the LabVIEW Touch Panel Module useful.
    You can use third party devices with the LabVIEW Touch Panel Module, although you will need a deployment license for it.  More information can be found in the getting started guide.
    If you were able to send the cRIO information over a network (which from your description sounds unlikely), you may be able to use a smartphone to control your application.  More information can be found on our Community Smartphone Group.
    steve215 wrote:
    Does a cRIO have the capability to power such a screen and handle the data transfer from the fuel sensor and switching relays (for switching on and off powersources)? 
    If you were using the 6-inch touch panels, they require 18 to 32 VDC (the fuse becomes an open circuit if input level exceeds 33 VDC).  The data transfer from the switching relays can be monitored and changed with the touch panel.
    steve215 wrote:
    Do I need an additional license for creating standalone applications and how would i go about creating a standalone app? 
    If you went the touch panel route, you would need to purchase the LabVIEW Touch Panel Module, and a touch panel.  The NI touch panels come with a touch panel deployment license.  Step-by-step guides for creating the standalone app can be found in the Getting Started with the LabVIEW Touch Panel Module guide. 
    Regards,
    Elizabeth K. 
    National Instruments | Applications Engineer | www.ni.com/support 

  • How can I control a Festo (MH..4) Valve with Labview?

    Hey,
    i'm very new to this Labview stuff and have a minimal background in electronics so I'm struggling with trying to sort this one out.
    I have a high-frequency valve (~400Hz) that we would like to control via the 9 pin RS232 port using labview. is this possible?
    i imagine we will need an interface between the computer and the the valve (which requires a 24Volt digital signal) but I am not sure what to use. Buying a stock pc control board from LabVIEW is not an option because I will be running this from a laptop.
    cheers
    Nic

    Nic,
    you can easely control 2(3) of the 9 Pins of the RS232 Port with the VISA Propeties (Visa Open, VISA Propety (Modem line settings: DTR and RTS state (and Break (TDx)) , VISA Close)
    However, since the serial driver it is not made for this type of timed digital IO, I'm not shure about the resolution you might get. If you have a scope, then do some loop testing and move some windows or do some other system load :-)
    Have a nice weekend
    Greetings from Germany
    Henrik
    LV since v3.1
    “ground” is a convenient fantasy
    '˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'

  • How can I control 4 sets of compact RIO system with my host PC?

    Hi all,
    As the title.
    I want to control 4 sets of compact RIO system at the same time.
    I have written TCPIP connection for two PC before.
    But I never program to connect more than one PC.
    If I need to connect more than one PC, should I set the PC's connection port different?
    Could you provide me an example?
    Thank you a lot.
    Solved!
    Go to Solution.

    Hi StephenCh...,
    you can calculate the transfer rate it depends on your network card. You'll find very good examples on that in the example finder, search for tcp/ip. You can use the server code on each of your cRIOs. Use the client to connect to your servers (cRIO), you only need to change the IP. If you need to connect to all at the same time, then you have to change the client program a bit, so that you are able to build four connections.
    Where do you have problems? Did you already see the examples?
    Mike

Maybe you are looking for