PXI-6250 and BNC-2110 to control 5V relay ?!

I try to use PXI-6250 through BNC-2110 to control 5V relay. Please give advice if it is possible and how.
Thanks
Liming
Solved!
Go to Solution.

Hello Liming,
This is definitely possible, but there are some limitations.  Are there any current requirements for the 5V relay.  If it is low current you should have no problem controlling the relay with one of your PFI lines (they are found in the screw terminal of the BNC-2110).
Message Edited by Dan_K on 11-21-2008 10:32 AM
Regards,
Dan King
Attachments:
2008-11-21_103042.jpg ‏68 KB

Similar Messages

  • PCI 6014 and BNC 2110 digital output

    Hi,
    I try to use PCI-6014 through BNC-2110 to giving on a digital output 5V.
    Please give advice or examples.
    Thanks

    First, there's the Getting Started with DAQmx. Then on the Measurement I/O>DAQmx palette is the DAQ Assistant. Also, open the example finder and from the main tab, go to Hardware Input & Output>DAQmx>Digital Generation. The simplest examples are Write to Digital Port and Write to Digital Line.

  • How to control a solenoid via PXI-2520 and DaqMx Switch

    I am a LabView novice with Core 1 and Core 2 training so I am familiar with the fundamentals of LV process flow however, this is the first application I am attempting to develop that is not a simulated training VI. That said, I am having trouble ironing out the necessary logic to control a 10 solenoid 2 position valve manifold. I have developed a VI that will contact and disconnect a particular relay in the style of the "Switch Controlling Individual Relay.VI" on my PXI-2520 module but these are single instance events. Ie. i set the device, name the relay, and tell the VI which action (make or break) and run the VI. What I am trying to develop is a continuously running VI where any one or multiple solenoids can be energized/de-energized using simple boolean control whereby each relay is represented by a switch on the front panel.
    It is clear that a while loop is necessary and a series of case structures or State Machine architecture is necessary but all my attempts have been fruitless. the common failure mode tends to be when following iterations of the while loop tell a switch that is already open to reopen or vise versa thereby causing an error. My thought here ist that some feedback from a former  iteration is necessary so that only "unequal" boolean values for the former iteration calls a case to connect/disconnect. What are your thoughts?
    Eventually this VI will also need to control these solenoids automatically (i think DaqMx Create scan list with software triggers will suffice) but each action willl need to be timed. For now though it is most critical that I have the capability of operating the solenoids manually and dynamically.
    Thankyou,
    DK01

    Welcome to the forums! 
    If you can, please post a snippet of code from what you've attempted so far. We can take a look at it and make some recommendations. 
    One of the lessons in Core 1 also talked about the use of the event structure. It may be a good use case for an event driven state machine that can modify the states of specific switches. 
    Nathan M.
    Applications Engineer
    National Instruments

  • PCI 6120 & BNC 2110

    I downloaded this example: http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=DC9C549F7FDC1973E034080020E74861&p_node=DZ52000_US&p_source=External from this web site. I am using a BNC-2110 and have connected two sensors to it. I modified the code to show both inputs. However, I am having difficulty in figuring out how I can show both traces on the same graph, but show them as separate traces. Can anyone point me in the right direction? Is this possible or do I have to use a separate graph for each input from the BNC-2110? Any help would be appreciated!
    Many thanks in advance for any assistance.
    Charlie
    Everything is Free! Until you have to pay for it.

    It's not quite so easy as a chart where you can stack them in different windows. One way is to create a duplicate scale. this is done by clicking on the amplitude axis and selecting Duplicate Scale. If you want, you can click on either one of the axes and select swap sides. Then you have to assign each plot to the scale. In the plot legend, click on the plot name and select Y Scale. You will see listed the two different Y axes. Assign one plot to one axis and the other plot to the other axis. For both Y axes, it will help if you turn off Y scale autoscaling. Then you can change the formatting of both Y scales. When the property window opens for a specific scale, go to the scales tab. There is an entry ther for offset. You might have an offset of 1 for one plot and an offset of -1 for the other. Note that when you do this, the axis values won't match the actual values of your acquisition. You can play around and turn the axis labels off and use text controls as labels or two different vertical pointers to give the appearance of two separate graphs. Frankly, I usually find it simpler to just have two separate graphs when I want the plots spearated.

  • Synchronize waveform output from labview to bnc 2110

    Hi,
    I'm new to LabView and I would appreciate examples on how to output a waveform graph from LabView to a BNC2110.
    Eventually we would need several graphs, both analog and digital outputting to a BNC2110 synchronized with a clock.
    Thanks.  Appreciate any help.
    Grace

    You can't output anything to a BNC 2110. The BNC 2110 is a dumb terminal block. You can however, output signals (not graphs which are visual elements) from a DAQ card that you control with LabVIEW. You would then connect the DAQ card to the BNC 2110. If you have an NI DAQ card, then there are a large number of example programs that show you how it could be used.

  • HELP! I need to be able to remove power from a PXI chassis and replace a card without rebooting the whole system

    I do not have particulars on the controller, but I am sure it's an NI chassis
    and NI regular controller that has a serial cable leading back to the PC.
    I am making this PXI rack into a debug rack for instrument cards,
    so I need to be able to remove power from just the PXI chassis
    and then replace the card with another one
    or the same one and then turn the power back on and restart a
    diagnostic test on the card WITHOUT
    having to reboot the PC.
    Is there a PCIe bridge setup that would allow me to do this?
    Is there software that I need that can accomplish this?

    Yes
    The Chassi is a NI PXI 1045
    and the controller is a NI-PXI-8331
    Let me re-enumerate my requirements:
    Background:
    I have a number of NI cards as well as other manufactured cards in the system.
    One of these cards in the NI system is considered to be a UUT.
    That is, I am using the NI card cage system and other cards in the system to test a CARD
    during a manufacturing test of said UUT CARD.
    The UUT uses a PLX 9030 for it's PCI interfacing.
    This UUT is not designed for hot swap, and I do not bieleve it is plug and play.
    Requirement:
    1. I need to be able to shut off the chassis and remove the UUT when the test finishes, replace the tested UUT
    with a unknown UUT, re-apply power and then test the new UUT WITHOUT having to reboot the PC.
    I have tried several things, such as disabling the PCIe busses in the windows control panel, and then removing power
    replacing the UUT with the next one, re-applying chassis power and then re-enabling the bus and SOMETIMES it works.
    I need a very robust way to do this.
    I also bought a CHROMA PXI-52906-E extender card with bus switches on it, so that I can remove power to the UUT
    without shutting off the chassis. The card is supposedley designed so that when power is re-applied to the UUT, the necessary
    signals to boot the PXI PCI interface is conducted, but I think something else has to be written to the card's PCI registers.
    I am by no means an expert in PCI/PXI, 
    but I seem to have exhausted all of my reserach online in how to meet my requirements.
    Perhaps there is a way for the NI8331 controller to capture PCI configuration data to the card's on system boot,
    and then "replay it" to my UUT after I re-apply power to the UUT?
    Or perhaps PLX makes such a tool?
    Any ideas?

  • Controlling multiple relays on PXI 2569 simultaneously using LabVIEW

    Hi,
    Can anyone please tell me how do I control multiple relays in the PXI 2569 general-purpose raley module? I can't find the example for it. At the moment, the example I have is for controlling individual relay which is only for open/close one relay name at a time.
    However, I need to use all the 100 relays and they got to be controlled at the same time.
    Kind Regards,
    Kieren

    The attached snippet doesn't seem to do the trick.
    Attachments:
    Test 2569 relay control with DAQmx using Digital Out.png ‏36 KB
    Test 2569 relay control with DAQmx using Digital Out.vi ‏19 KB

  • Precision of internal clock of BNC-2110

    Hello, I am using the BNC-2110 to get some measurement.
    I am working with the presion ot 10000 datapoints each second.
    But during a measurement of 30 seconds (external clock) I just get 299970 datapoints, insteads of 300000! So there are missing 30 datapoint. During a measurement of 5 seconds there are missing 5 datapoints.
    Could it be a inaccuracy of the internal clock of the BNC-2110?
    Thank you for your help.
    Rest regards, AlexJ

    Hello, you are right with your assumption.
    I did some more measurement and got some interesting results:
    I calculated the difference of two sinus-signals of the same frequency. The data-points of one of them I got from MatLab, the other one I measured with the BNC from NI
    I used a toolbox from NI for MatLab and used the order
          AcqNUpdates('Dev2/ai0:7', -10, 10, 100000, 10000, 2);
    Do you know this toolbox?
    The plot of the result of the difference can be seen in the atachment.
    I think the sudden changes of the difference every second (t1=0.75 t2=1.75) is the result of the missing datapoint mentioned above.
    I got this result with several measurements and with every channel.
    Did somebody else already had this problem?
    Best regards, AlexJ
    Attachments:
    Diff_Verfahren4.JPG ‏14 KB

  • Set up BNC-2110 in NRSE

    I would like to make sure on the proper physical set up I should make to enable the BNC-2110 to function like it is in NRSE mode. We will be using an executable of labview, so we can not go in and change the code to function in Diff mode like the BNC-2110 is set up for, so we must set up the hardware to function as NRSE.  If you could plese expalin this better that would be greatly appreciated. Thank you very much
    Jason

    Jason,
    Did you see the solution posted here to your previous question?
    http://forums.ni.com/t5/Multifunction-DAQ/How-to-configure-that-BNC-2110-in-NRSE/m-p/1739256?require...
    I think this AE has already provided you with what you are looking for.
    Daniel
    Applications Engineer
    National Instruments

  • Send signal out via BNC-2110

    Hi,
    I am new to Signal Express and using 2009 version.
    I want to send a rising 0-5volt step pulse analog out through NI BNC-2110 to trigger another instrument once the analog input starts i.e. to sync different recordings. It must be simple but I just could'nt figure it out. Can some one help me with step by step basis,I really don't understand ..please..
    I tried couples of ways suggested in the forum:
    1) Create Analog Signal-DC-how do I create a rising 0-5V, it just has an offset box?
    2) DAQmx Generate- Analog output-Dev1_ao0. which one should i use 1) or 2)
    3)DAQmx Generate-Digtal port output -port0-what is programmatic input?
    cheers,
    ilya
    Solved!
    Go to Solution.

    Hello ilya,
    I recommend checking out some of the analog generation examples we have in our example finder.  If you open the help menu, and select Example Finder the finder will pop up.  From there navigate to Hardware Input and Output>>DAQmx>>Analog Generation and take a look at some of the examples provided.
    When outputting a signal remember to select the correct channel you want the signal to be transmitted from.  So when it says Dev1_ao0 that means the signal will be output on ao0 of your BNC-2110.
    Let me know if you have anymore questions while developing your application.
    Regards,
    David A.
    National Instruments
    FlexRIO Product Support Engineer

  • How to handle large data while acquisition? BNC 2110

    I want to acquire data using  BNC 2110, I am writing a software in VB 6. We will use 3 channels. We are supposed to scan about 10000 points before AcquiredData is triggered. in all we will need to scan 10000 * 1000 * 1000 before data is put into a binary fall. Can anybody let me know, how to hande this large number points

    Hello Vjuno,
    In order to acquire 10,000,000,000 points you are going to have to be streaming this data to your hard drive as you go.  To do this you'll need to write the data you read to a file each loop iteration.  In general it is a good practice to make your "samples to read" at least 10% of your sample rate in seconds to avoid overflowing buffers, however, depending on your computer you may be able to go faster.  I made an example program in LabVIEW and was able to read 10,000 points at a time from each of 3 analog inputs at 333MHz and write the values to file without overflowing a buffer.  However, even opening a web browser while the code was running was enough to delay the VI long enough for the buffer to overflow.
    You can use the DAQmx Configure Input Buffer call to increase the buffer size and account for spikes in CPU usage from other processes, and you should also monitor the "Available Samples Per Channel" property to make sure you aren't steadily gaining samples in your buffer.  Since you want to acquire 10 billion samples at 1MHz this acquisition will take several hours; if you're not able to keep the buffer empty then it will become apparent before the end of your acquisition.  By monitoring the samples in the buffer you can tell if you're pulling the samples out fast enough, if you find that this number is steadily increasing then you should either reduce the sample rate or increase the number of samples to read each time you call the DAQmx Read.
    In my example program I used a write to TDMS (binary) file and a PCI-6251.
    I hope this helps, and have a good night.
    Cheers,
    Brooks

  • BNC 2110 Problems/Questions

    Hi,
    I'm using a BNC 2110 Connector block with an Mseries DAQ card and Labview 7.1.  My ext. oscilloscope is telling me that the analogue outputs don't return to ground after I use Labview (for example after doing some analogue generation at 3.8V the analogue output stays at 3.8V even after I've stopped the task and exited labview).  Anyone know what's happening? 
    The other questions I have about BNC blocks are....
    Are the analogue output terminals grounded through the computer and computer power supply.  Or are the outputs ungrounded?
    If I am using a BNC cable to plug an analogue output into an analogue input will the signal be floating source or grounded?
    I have had a look in the manual but can't find any info on whether the BNC block itself is grounded through the DAQmx card/computer.
    Thanks,
    Bob

    I've not being programming back to zero volts.  I assumed that Labview Clear task would do that.  I've attached my code.
    Any help will be gratefully received.  I'm very new to Labview and I'm struggling to understand the basic concepts.  I'm trying to learn by example but there are so many methods of doing everything that it's very confusing!
    The problem I am having is with the analogue generation.... see description below.
    Thanks in advance,
    Bob
    Quick explanation to the code...
    Aim:
    To use a internal digital counter pulse to trigger a constant output voltage (ao0) and finite aquisition (ai0) of data on the rising edge.  The aquisition of data is delayed slightly with respect to the constant output voltage.  Data is acquired and generated every second for 30-50ms.
    Description of the block diagram:
    There are three rows of tasks.
    Top row is the data aquisition column.which is supposed to acquire a finite number of samples after a short delay following rising edge trigger of the internal output of counter 1.
    Middle row is the analogue output voltage which I'm trying to get to output a constant voltage (set in an array) for the same length of time that the digital counter remains high.  Haven't succeeded yet!
    Bottom row is the digital counter based on pulse time.and should count constantly for the duration.
    Attachments:
    Labview code.vi ‏160 KB

  • Output of BNC-2110

    Hi.
    I am trying to generate an analog output to the BNC-2110 via graphical programming. How do I do it?
    Also, may I know if it is possible to convert this output into PWM before I output to the BNC-2110?
    Many thanks.

    By itself, the BNC-2110 is not capable of inputing or outputing any type of signal. It is just a dumb terminal block. You have to have it connected to an actual data acquisition board in your system. There are many shipping example for various types of data acquitisiton boards. The recomended api is something called DAQmx. Go the Hlpe>Find Examples and expand the Hardware Input and Output section.
    PWM is possible with some boards. You'll hve to find out the type in your system.

  • Inputing TTL pulses to NI-PCI-MIO​-16E-1 via BNC-2110

    I need to count TTL pulses coming from photomultiplying tube (PMT) module. Can someone tell me, please, how do I connect BNC cable from PMT module to NI PCI-MIO 16E-1 DAQ board via BNC-2110 adapter?
    thanks a lot in advance

    Hello Photon Guy,
    Thank you for contacting National Instruments.
    I have attached an image which shows how to connect the USER 1 BNC and USER 2 BNC connectors to the proper PFI pins which serve as the source of counter 0 and counter 1. You should only need to use one counter to count edges.
    Regards,
    Bill B
    Applications Engineer
    National Instruments
    Attachments:
    BNC-2110.JPG ‏105 KB

  • BNC-2110 data passing issues

    I am trying to create a digital signal so that I can test a part of my code that will read in this signal during the actual data acquisition.  I have two laptops (both Dell Latitude D430) and two BNC-2110 devices.  I am trying to pass a counter from one of the boards to a digital input on the other board.  I am using a program to generate the signal and another to recieve the signal (both attached).  When I try passing the counter from one of the boards to itself (connecting cntr1out with one of the p0.x inputs) the signal looks like I want it to (attached as "signal=pics").  However, when I try passing the data from one board to the other (cntr1out from one BNC-2110 to the p0.x of the other board) then the signal does not look correct (attached as "signal=pics").  I have checked the Measurement & Automation Explorer to ensure that all of the settings are the same for both boards.  I am also using the same version of Labview.  I have switched various compontents (wires, BNC-2110, etc.) and either board can pass the data to itself correctly but passes it incorrectly to the other board.
    I do not have any ideas of what else to try.  Can anyone tell me what I am doing wrong?  Any help would be greatly appreciated.
    Thanks.
    --Robert
    Attachments:
    signal_pics.JPG ‏41 KB
    Digital_signal_generator.vi ‏25 KB
    Digital_signal_acquisition.vi ‏56 KB

    Be aware that you can wreck your hardware if you don't know what you do!
    But a signal without a grond is an unknown signal.
    Between the two computers there should be two physical wires, Ground and Signal.
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

Maybe you are looking for