Labview interfacing with a multiplexer

Hello,
I would just like some help with figuring out how to set-up Labview to interface with a multiplexer. On my  ciruit board, I have an eight channel multiplexer which is connected to eight different-value resistors. What I would like is that on my front panel, there should be an drop-down control that allows the user to select any resistor that is connected to the multiplexer. So basically, Labview should be able to send binary information to the multiplexer, which would then select the appropriate resistor. I am fairly new with Labview and don't know how to go about this problem. Any suggestions will be appreciated.
Thanks

Hi,
All the adress and enable inputs are TTL compatible  (the multiplexer that I'm using is the ADG608 from Analog Devices) and I am currently using the NI PCI-6036E/BNC-2110 starter kit. So, is there a way to implement the interface using this DAQ device? Can I use DAQmx to create a channel just as I would for a normal voltage signal? But I'm not sure how the interface will communicate with the multiplexer.
Thanks

Similar Messages

  • Labview interface with wireless camera

    Has anyone interfaced labview with a wireless webcamera? I have an application that needs to interface my existing labview program with a wireless webcam (802.11b) to monitor a certain space and display live video on the main labview screen.
    Thanks in advance.

    kmoorthy76107 wrote:
    > Has anyone interfaced labview with a wireless webcamera? I have an
    > application that needs to interface my existing labview program with a
    > wireless webcam (802.11b) to monitor a certain space and display live
    > video on the main labview screen.
    > Thanks in advance.
    Most probably your webcam comes with drivers for Video for Windows (VfW)
    or DirectX. In that case you can just use:
    Irene He's IVision Toolkit:
    http://www.hytekautomation.com/Products/ IVision.html
    or
    Pete Parentes WebCam library:
    http://www.cs.unc.edu/~parente/labview/ index.shtml
    The first is a rather impressive Video Manipulation library with a
    nice video capture interface to DirectX/VfW too, and the second is a
    simple video capture library to access any VfW compliant
    device.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Interfacing with a multiplexer

    Hi gurus,
    I have to interface a mitutoyo multiplexer (DMX-8) that uses RS232 serial port. The user guide says that using a simple ASCII programm DMX-8 can be integrated with an existing software.... How can I use an ASCII programm within SAP to send and receive instructions in real time?
    Thanks a lot.

    Hi,
    All the adress and enable inputs are TTL compatible  (the multiplexer that I'm using is the ADG608 from Analog Devices) and I am currently using the NI PCI-6036E/BNC-2110 starter kit. So, is there a way to implement the interface using this DAQ device? Can I use DAQmx to create a channel just as I would for a normal voltage signal? But I'm not sure how the interface will communicate with the multiplexer.
    Thanks

  • Labview interface with micro contoller

    i am new to labview. I need to know whether DAQ card is needed to interface with micro controller? if no need then any one can you explain how to inter face microcontroller 89c51 with Labview...... if needed then explain how to interface?
    JAGADESAN ASOKAN
    J@G@De5@N
    Solved!
    Go to Solution.

    In general, no, you don't need a DAQ, because in your case, the uC is the DAQ. Your challenge is to set up an interface between the computer and the uC (whether using LabVIEW or anything else).
    In my opinion, the easiest way to accomplish that is to set up a serial interface with the uC, and use LabVIEW to control / read the uC serially using VISA. This would require the least amount of hardware and least cost. I2C, if available, is also a way to go if you have the interface.
    Richard

  • Step by step Labview interface with XBee

    Hey,
    Im currently trying to interface my XBee modules with Labview. I have read the other posts on this subject and have not been able to link my XBee and Labview. I am very new to Labview and would be great to recieve more detailed and descriptive steps on this. Eventually I am going to connect Labview to an Arduino Fio, using two XBee. However for now all I need is successfull interface between labview and XBee. I need to send a signal, recieve it in labview, and send something back. 
    I am using USB explorer boards for connecting XBee's to my computer. I have alraedy configured XBee's using moltosenso network manager (same as XCTU). I cant get VISA wizard to see the USB port. 
    If anyone can explain thoroughly how to interface XBee to labview it would be great! thanks.

    Hello Theguat,
    Thanks for posting at NI forums! I’m linking some discussion forums and information on interfacing Xbee with LabVIEW.
    http://forums.ni.com/t5/LabVIEW/Xbee-using-labview/m-p/739214?requireLogin=False
    http://forums.ni.com/t5/LabVIEW/How-to-send-signals-through-XBee-connected-in-USB-port/m-p/2135382
    http://forums.ni.com/t5/LabVIEW/Connecting-labview-to-xbee/m-p/1070547?requireLogin=False
    https://decibel.ni.com/content/thread/15238
    https://decibel.ni.com/content/thread/10814
    Best Regards,
    Alina M
    Applications Engineering
    National Instruments

  • Labview interfacing with NI cDAQ-9172

    I currently have access to a NI cDAQ-9172 with a NI-9205 AI input
    board and a NI-9481 relay control board. I basically have the DAQ
    Assist tools for the analog inputs and the relay outputs, however, I'm
    having trouble interfacing them together, such as if the two analog
    outputs are above x Volts, turn on the relay control; otherwise, turn
    it off. Do I need to create a task for a specific DAQ Assist tool in
    order to control the behaviour of the relay outputs based on the
    analog inputs?

    Hello Stanley,
    Let me try to address your questions in order:
    1. LabVIEW gives you the ability to program several design patterns
    including Finite State Machine, Master/Slave and Producer Consumer.
    LabVIEW even provides templates for these design patterns, which you
    can create by going to the File menu and selecting New.... The image below shows where you can select from the different design pattern templates.
    For more information about the state machine design pattern specifically, I would recommend that you examine this tutorial.
    2. I believe the "DAQmx Tools" you referred to are the DAQmx sub-VIs in
    the DAQmx sub-palette. You must use the inputs (controls) and outputs
    (indicators) to configure these VIs, there is no pop-up menu like there
    is for the DAQ Assistant. However, you are able to generate the sub-VIs
    from a configured DAQ assistant using the right-click menu, as shown in
    the diagram below. This would allow you to configure your NI-DAQmx operation with the pop-up window, and then optimize performance using the DAQmx sub-VIs.
    3. Based on the description of your application, I would strongly
    suggest that you consider either the state machine template discussed
    above or the NI LabVIEW Statechart Module. This module is designed to
    give you a higher level of abstraction for complex systems. Since you
    already have a flow chart, it seems that it would be pretty easy to
    convert that to a statechart to programmatically implement it. You can
    see a video here on how to implement state machines in the LabVIEW Statechart Module.
    If you have questions about how to architect your program specifically,
    I would recommend that you post to a new forum. You are more likely to
    get better insight and more relevant information on that topic if you
    post a new question that reflects the appropriate topic.
    Message Edited by Matt A on 09-17-2007 07:37 PM
    Matt Anderson
    Hardware Services Marketing Manager
    National Instruments
    Attachments:
    Generate NI-DAQmx Code.JPG ‏16 KB
    Design Patterns.JPG ‏73 KB

  • Labview interface with MongoDb or similar NoSql database

    Hello everyone. I was wondering if anyone has tried interfacing labview with MongoDb or another similair NoSql database? If so what are you experiences and how did you go about doing so?

    Hi landlord,
    Glad you found it useful so far!  In general, I use the MongoDB documentation C# examples and then try to 'match' them in the LabVIEW code.
    For queries it shows the following code:
    var query = Query<Entity>.EQ(e => e.Id, id);
    So I went looking for Query, which exists (MongoDB.Driver.Builders.Query) - but with no public constructor.  For fun, I tried placing a reference to this class and using an invoke node - this lists all the comparison types supported by MongoDB - some of which return a MongoDB.Driver.IMongoQuery.
    I've setup a "AND" query which takes an argument of an array of 'queries' - I've then modified the BSON document code to also return an array of it's BSON elements - you can then create a EQ query for each element and wire them through to the AND query builder.  Probably not optimal but hey, it works
    Regards,
    Peter D
    Attachments:
    MongoDB_LV_Remove.zip ‏525 KB

  • Labview Interface with Cognex

    Hello,
    We want to use Labview as interface visualization of data from an image processing done in Insight environment with a color camera from Cognex.
    What are the ways to recover data in Labview from Insight ?
    Thank you for your responses.

    Christian,
    Cognex In-Sight has nothing related to NI Insight except the name!
    Just two ideas: 
    For communication with Cognex as far as I know, you can use In-Sight OPC server. So, you should be able to get data from Cognex through LabVIEW DataSocket.
    For more deep communication you can use (probably) In-Sight Explorer SDK (but I don't know what is inside exactly).
    And this link may be useful for you:
    http://morethanfunctional.org/index.php?/archives/12-Running-Cognex-In-Sight-1721-in-LabView.html
    Andrey.
    Message Edited by Andrey Dmitriev on 05-19-2010 03:16 PM

  • Labview interface with Instron 3360 Series (for compressive test)

    Hello Forums!
    I have to write a LabVIEW code to read the Instron 3360 to compress a thin-walled cylinder. The cylinder is expected to withstand about 500lb. How do I go about doing this?
    - Thanks! 
    - gibiv (high school student)

    Can you tell me a little more about your application? More specifically:
    1. What is the input/output of the instrument you are using to measure force?
    2. Are you using NI Hardware to communicate with this device?
    3. What drivers are you using?
    4. What version of LabVIEW are you using?
    I have included some general information below about configuring a data acquisition system in LabVIEW. 
    Introduction to Data Acquisition: http://www.ni.com/white-paper/3536/en/
    R. Brill
    Applications Engineer
    National Instruments

  • LABVIEW interface with OOPIC microcontroller

    Hiya,
    I have problem received data from OOPIC microcontroller (www.oopic.com)to LABVIEW.But, I had tried on hyper terminal and it's work fine. Please advice as well do I need to use any associated files when communicate OOPIC with labview?

    Hi,
    This is also device specific. The serial port returns a string. More than a string, this is a byte array of whatever the serial port receives. It is convenient to represent the data as a string since most of the time the data sent is ASCII.
    You need to parse and format the string data. Parsing means getting the information you are looking for. You need to know how the device sends you the data and look for common elements. Formating means taking the ASCII data and passing it to numeric format. This depends on whether the device sends data in binary or ASCII format.
    Here are some links Keyword Search: Parse String VI.
    The important thing is having good documentation on how the device formats and packages the data send to the PC. This will allow you to decide what you can do with the data.
    This is more of a programming issue. you might get more answers in the LabVIEW forum for parsing and formating questions.
    DiegoF
    National Instruments,Message Edited by Molly K on 02-18-2005 11:07 PM

  • LabView interface with DLL that uses ActiveX

    I've written a DLL using Microsoft Visual Studio 2005. This DLL uses ActiveX (MSXML4.0). It works fine being called from other applications created in Microsoft Visual Studio. It crashes being called from LabView 7.1. By commenting out everything, I've figured out that it crashes on the call to ActiveX (no problems if this call is commented out). What should I do to make it work?
    I've tried using CoInitialize at the initialization of DLL; it didn't solve the problem.
    Additional information: DLL is using MFC in a Static Library, not using ATL, Character set = Not Set.
    The functions are defined in C calling convention (not __stdcall).
    Please help.
    Thank you.
    Irina Kaliniouk

    Thank you for your answer, but that is not the case. There is no UI in this DLL, but it is using some convinenient MFC classes, like threads, CString, etc. The threading really was not even involved in the example that crashed. The function that crashed was
    selectNodes on MSXML2::IXMLDOMNodePtr. Here is the code:
    MSXML2::IXMLDOMNodeListPtr selectNodes (LPCTSTR expression, MSXML2::IXMLDOMNodePtr pStartNode)
    CComBSTR quesryBstr (expression);
    return pStartNode->selectNodes (quesryBstr.m_str); //_bstr_t(expression));
    where the pStartNode was a root node of
    MSXML2::IXMLDOMDocument2Ptr m_pXMLDoc;
    hr = m_pXMLDoc.CreateInstance ("Msxml2.DOMDocument.4.0", NULL, CLSCTX_INPROC_SERVER);
    I commented out really everything except this function, so there was nothing to corrupt the memory or any other problems.  
    What can be of a problem?
    Thanks.

  • Arduino interface with labview: not able to upload lvifa base file

    guys, you have to really help me out on this one i have been at it for days. i am new to this so please help me out. i have an arduino uno with atmega8 on it and i m trying to interface it with labview but everytime i tried to upload the lvifa base file it shows and error, and it reads "XYZ is not declared in this scope".
    AFMotor.cpp: In function 'void initPWM1(uint8_t)':
    AFMotor.cpp:87: error: 'TCCR2A' was not declared in this scope
    AFMotor.cpp:87: error: 'COM2A1' was not declared in this scope
    AFMotor.cpp:88: error: 'TCCR2B' was not declared in this scope
    AFMotor.cpp:89: error: 'OCR2A' was not declared in this scope
    AFMotor.cpp: In function 'void setPWM1(uint8_t)':
    AFMotor.cpp:108: error: 'OCR2A' was not declared in this scope
    AFMotor.cpp: In function 'void initPWM2(uint8_t)':
    AFMotor.cpp:124: error: 'TCCR2A' was not declared in this scope
    AFMotor.cpp:124: error: 'COM2B1' was not declared in this scope
    AFMotor.cpp:125: error: 'TCCR2B' was not declared in this scope
    AFMotor.cpp:126: error: 'OCR2B' was not declared in this scope
    AFMotor.cpp: In function 'void setPWM2(uint8_t)':
    AFMotor.cpp:146: error: 'OCR2B' was not declared in this scope
    AFMotor.cpp: In function 'void initPWM3(uint8_t)':
    AFMotor.cpp:162: error: 'TCCR0A' was not declared in this scope
    AFMotor.cpp:162: error: 'COM0A1' was not declared in this scope
    AFMotor.cpp:162: error: 'WGM00' was not declared in this scope
    AFMotor.cpp:162: error: 'WGM01' was not declared in this scope
    AFMotor.cpp:164: error: 'OCR0A' was not declared in this scope
    AFMotor.cpp: In function 'void setPWM3(uint8_t)':
    AFMotor.cpp:184: error: 'OCR0A' was not declared in this scope
    AFMotor.cpp: In function 'void initPWM4(uint8_t)':
    AFMotor.cpp:202: error: 'TCCR0A' was not declared in this scope
    AFMotor.cpp:202: error: 'COM0B1' was not declared in this scope
    AFMotor.cpp:202: error: 'WGM00' was not declared in this scope
    AFMotor.cpp:202: error: 'WGM01' was not declared in this scope
    AFMotor.cpp:204: error: 'OCR0B' was not declared in this scope
    AFMotor.cpp: In function 'void setPWM4(uint8_t)':
    AFMotor.cpp:224: error: 'OCR0B' was not declared in this scope
    I tried different arduino IDE versions as well, it not working out.
    Thanks!

    https://decibel.ni.com/content/groups/labview-interface-for-arduino?view=discussions

  • Interface labview program with real appliances

    How do i interface labview program with real life appliances. For example: interface with light bulb

    I suppose you could also find some kind of adapter to turn it into an IP based appliance and you could control it through the ethernet.  Or you could wait a few decades and interface LabVIEW 2059 with your cranial implant to directly control your light bulb. 
    Bill
    (Mid-Level minion.)
    My support system ensures that I don't look totally incompetent.
    Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

  • Interface with LabView

    I am a very new to LabView--
    We are developing a board to interface with LabView devices- (ideally, the board would have a GPIB connector).  We would like to use LabView to simulate various conditions on the Interface board by controlling switching (board MOSFETs) and then use a GPIB controlled multimeter to read voltages coming out of the Interface Board). 
    Since the Interface Board we are working on does not have an "address", is it possible to use LabView to communicate with it (send output signals to the board and read signals from it)?  What is often done to have LabView controlled devices communicate with external circuitry ?
    Thanks,
    Alex  

    Alex00 wrote:
    What would be an advantage of an interface controller (such as 4823) over a DAQ card (such as PCI-6013)?  If we only need about 6-8 inputs (Digital I/O) and maybe about 6 Analog outputs, wouldnt the 6013 be sufficient to interface with our PCBA?
    In your original post, you indicated that a GPIB interface would be ideal. ICS Electronics makes various models of controllers that provide a GPIB SCPI command interface to digital and or analog I/O. This controller can be placed inside the instrument rather than inside a PC and would use GPIB to connect (as you requested).
    I have personal experience with the 4823, which can be used to control/monitor TTL devices on a byte-wise basis. Since you have digital and analog requirements, you could look at the ICS 4807 DAQ board. It may not have enough analog outputs though...
    The only reason I originally responded was your GPIB requirement.
    Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
    If you don't hate time zones, you're not a real programmer.
    "You are what you don't automate"
    Inplaceness is synonymous with insidiousness

  • Warner/superior electric's SS2000PCi motion controller interfacing with LabVIEW 6i

    Sir,
    In our application, we are controlling the movement of X-Y arm on the X-Y table. For this we are using superior electric products:
    (a) Slo-Syn SS2000PCi Programmable Step Motor Controller
    (b) MD808 Motor Drive
    We are using two such controllers and motor drives to drive two 2 Amps Sanyo Denki Stepper motors: one each along X-axis and Y-axis. Along with the arm movement a data acquisition also has to be carried out. So, the motion control and Data Acquisition has to be synchronized by means of software. The problem now is to program the controller. Though MCPI Version 4.41 is there, we want to program the controller in LabVIEW 6i so that we can synch
    ronize both motion control and Data Acquisition.There is no driver which is compatible to LabVIEW 6i.
    Is there any 32-bit DLLs for this controller? If any one has these dll's please let me know. My E-mail ID: [email protected]
    So that i can call these DLLs in LabVIEW 6i and program it.Or else send me at least the detailed low level command sets of the controller in pdf format so that i can develop our own drivers.
    Regards,
    Nagendra

    Nagendra,
    Unfortunately, I was unable to find any helpful resources for you based on a cursory web search. I recommend that you contact the manufacturer of the hardware and ask them if they have a driver (DLL) that you can use to interface with LabVIEW.
    Good luck with your application, and have a good day.
    Sincerely,
    Darren N.
    NI Applications Engineer
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

Maybe you are looking for

  • How to use dynamic column fields in formulas

    Hi, we changed from CR 8.5 to CR XI R2. Many of our reports use dynamic queries with different count of columns. These reports are designed for the maximum count of columns. This works fine with CR 8.5 but with CR XI R2 it seems to be that if one of

  • Cant seem to transfer 45 minutes of video recording from my ipad2 to my computer

    I just captured 45 minutes of video recording through my ipad. but now I cant seem able to transfer it to my computer. i tried all methods mentioned in this forum but didnt work. it keep showing 0 bytes size on my computer after completion and I cant

  • How to add "Search this site" box to subsites

    Hello! We have SP 2013 Enterprise installed. There is a search box on the main site. How to add the same search box to subsites also (with possibility to search on the subsite)? Thanks!

  • Database works very slowly

    i installed oracle 10g on windows 2003 platform one year ago,it worked well during 1 year,but last 1 month it works well with restart,i restart this server every 24 hour,it works well but after 24 hour it gets slowly. but oracle uses 25% of resource

  • Use mail app for POP account only?

    This may be a stupid question, but my .mac trial has recently expired, and I do not wish to pay for an entire .mac account because I only enjoy using the e-mail portion of it. I have set up my gmail account so that the e-mail gets forwarded to my mai