Using Labview on a non-daq board device

How would one go about using a device, connected through USB, in labview that doesn't have a daq board? I have a signal monitor that I've managed to get to work with C++ and was wondering if there was a way to integrate it with Labview at all. I hope that makes sense.

If they've provided a DLL then you can use the Call Library Function Node to call the DLL. You should read the chapter in the LabVIEW Help on calling code from external languages. If it's a C++ DLL you may have problems because LabVIEW only supports C DLL, not C++. A common issue is name mangling. If you do a search on the NI site for "DLL name mangling" you will come across several Knowledge Base articles that discuss this issue. Another common problem is that if the DLL uses complex datatypes (such as structures with strings inside, or pointers to complex structures then you will need to write a wrapper DLL that converts simple datatypes that LabVIEW can handle to the complex datatypes that the DLL uses. Again, there is a wealth of information on the NI site on calling DLLs, so a search will yield lots of information.

Similar Messages

  • I am using an NI PCI 6024 E board device for an analog output application. Can I generate two independent waveforms, one on each analog output channel?

    I am using an NI PCI 6024 E board device for an analog output application. Can I generate two independent waveforms, one on each analog output channel? In attach I send a example of my vi to control one chanel, but i need to control both but with diferent waveforms.
    Is the vi correctly programed to this propose?

    Yes you should be able to do that. look at the signal generation examples shipped with LabView
    You can create a 2 D array, with each row representing a wave form per channel. The number of points of the wave form (per row of the 2 D array) represent the number of points in the output buffer
    The wave forms can have different amplitudes/shapes, and therefore they are independent in this sense.
    However, you need to set the update rate,which is the same for both channels. The update rate together with number of points per buffer determines the frequency of the wave forms. This means the two wave forms will have the same frequency.
    To have different frequencies, you need to have say, on wave form with one cycle per buffer, and the other waveform have 2 cycles
    per buffer. in a case like that the frequency of the second channels is twice that of the first channel, and so on
    The two wave forms are then not truly independent, they may have different amplitudtes/shapes, but related in frequency.

  • Can the Apple USB charger be used to charge other non-Apple USB devices?

    Can the Apple USB charger be used to charge other non-Apple USB devices?  I just purchased an electric toothbrush that uses a USB port to charge.  If I'm traveling, I would like to consolidate and take only one charger.  Would it be ok to use the apple charger for both items?

    Yes, as long as your toothbrush doesn't require more than 5W power draw.

  • How to use LabVIEW FPGA on Custom FPGA board other than NI products .....Also how to develop RTx DLL for a customised motion controller hardware

    I'm using RTx, LabVIEW RT and LabVIEW FPGA.
    The GUI is windows based. The motion control and FPGA  are RTx based.
    Is there any way to develop device drivers for the custom hardware in RTx. For example motion controller hardware, FPGA hardware, PCI hardware.
    Is there a possibility to use custom FPGA boards to use with LabVIEW FPGA.
    Please send me some links
    Thanks
    Bhoopathy
    Take life as it comes! you may never know what's gonna happen Tommorrow

    CODE WARRIOR Hello. I believe this question was answered in a previous post. Please let us know if you have any new questioins or if you need some clarification.
    You are able to develop device drivers for your custom hardware using the NI Measurement Hardware Driver Development Kit.
    However, it is not possible to use custom FPGA boards with LabVIEW FPGA. The FPGA boards have to be one of our R Series boards. Here are some links that should shed some light on the Measurement Hardware DDK.
    Measurement Hardware Driver Development Kit Frequently Asked Questions
    NI Measurement Hardware DDK (Driver Development Kit)
    Please post if you have further questios.
    Efosa O.
    NIAE

  • Use LabVIEW FPGA as a DAQ and detect peak

    Hi everyone, need your help now.
    I want to use Labview to encode a FPGA to achieve following function:
    1.Acquire data as a DAQ from a Photodetector 
    2.then use peak detect VI to measure the peak information
    3. some simple mathematical operations
    is it possible for me to achive all these only using one FPGA? and is it OK to connect DAQ's output and the input of the peak detect VI?
    thanks a lot. I am a beginner, so it confused me a lot.

    Hi
    What is you hardware? cRIO? FlexRIO?  And what your signal type? Anolog or digital?
    You can refer to the help of Peak detect.vi to comfirm if the data (sigle point integer or integer array ) can be wired directly. I am afraid you can not wire the FPGA IO OUT directly to the Peak detect.vi, but you can create a array for the data and then use the peak detect.vi
     

  • I am trying to use a SC-2024-RTD DAQ board to do 3 things (monitor two sensors (input) and control a small motor (output)) simultaneously. I have not been successful using labview for output. I can't even get it to show a voltage at the output pins.

    I have it configured for voltage modulation, channel 0, and I am testing Ix0+ and Ix0-. To run it, I am right-clicking on the function and clicking "test". What's wrong?
    thanks, Alex Millie
    [email protected]

    Ix0(+/-) are make the excitation current. You can see this in figure 4-1 in the user manual. You can see the output voltage from the MIO card by looking at the voltage from terminal 23 to terminal 20 (channel 0) and terminal 23 to terminal 21 (channel 1). You can see this pinout on page 3-5 of the SC-2042-RTD user manual.

  • Labview 8 with 4350 DAQ board

    I upgraded from LabView 6 to Labview 8.  At the same time, I put the old 4350 board into this new WinXP computer. 
    The board works great in MAX, but LabView can't seem to find it.   And can't use all of my old data acquisition VIs.
    According to MAX, I have both the mx and legacy versions of NI-DAQ
    What else do I need to check?  or is all of this in incompatible combination?

    Hi Todd,
    You probably have an older version of the Traditional NI-DAQ driver. In order to use that hardware in LabVIEW 8, you will have to have the latest version of the traditional NI-DAQ driver - 7.4.1, which you can download here.
    I hope this helps.
    Regards,
    Natasa

  • Looking for full time position using Labview and/or PLC's in Long Island NY area

    I have 13 years experience using Labview for user interface/daq applications.  I also have 20 years experience with Programmable Logic Controllers (PLC) programming for industrial machine controls.  My resume follows:
    Adam Wechsler
    111 Holbrook Rd.,Holbrook,NY 11741,(631) 981-1013 [email protected]
    Objective
    Labview programming, virtual instrumentation, industrial machine controls,
    automation, PLC, HMI, GUI, data acquisition
    Education:
    B.S. Mechanical Engineering 5/89
    Polytechnic University, Brooklyn, NY
    A.S. Engineering Science 5/86
    Suffolk Community College, Selden, NY
    (GPA 4.0 Dean's List Spring 1986)
    Experience:
    Controls Engineer 5/1994-3/2009
    Vacuum Instrument Corp., Ronkonkoma, NY
    *Program, troubleshoot, and upgrade automated Vacuum Chamber Industrial Leak Detection systems controlled by Allen Bradley PLCs in an OEM environment.
    *Debug equipment functions and programs prior to shipping, at customer's site, and by phone.
    *Integrate and install various types of peripheral equipment, barcode scanners and printers,
    *Design and develop Labview graphical user interfaces and HMI applications including recipe management and data collection for industrial machinery.
    *Write and review user manuals and installation instructions.
    Production Engineer 10/1989-5/1994
    Izumi Corporation, Yaphank, NY
    *Program, maintain, troubleshoot, and repair PLC controlled hydraulic, pneumatic, and control systems for automation in a hands-on environment.
    *Improve design for manufacturability of new products and prototypes to be urethane/injection molded.
    *Program, maintain, troubleshoot, and repair six axis hydraulic paint spraying robots.
    *Create interface between multiple PLC’s and central computer system.
    *Improved design and productivity of high volume, computer controlled, robotic molding machine by 150%.
    Consulting Projects:
    *Created Labview user interface components, and recipe management system for the testing of motion control servos.
    *Programmed Allen Bradley PLC machine logic for packaging machine for a food service supplier.
    *Created Labview to Allen Bradley PLC setpoint and monitoring interface for electric motor-starter test stand.
    *Programmed Allen Bradley PLC and PanelView operator interface terminal for cosmetic packaging assembly machine.
    *Developed Labview application for Fourier and statistical analysis of myogram biomedical data for researching the efficacy of acupuncture treatment.
    Other:
    *Attended National Instruments Labview training courses, and regularly attend local Labview Users Group meetings as a long standing member.
    *Member IEEE
    *13 years experience with Labview
    *15 years experience with vacuum chamber, mass spectrometer, and related technologies
    *20 years experience with PLC's and automated systems
    *Attended Autocad training course.
    *Willing to travel

    Will also consider contract, part time, or consultant work.

  • How can I best control a non NI USB device using LabVIEW?

    One of our radio products has a USB port for local (test) control.  When I connect the radio to a USB port on my computer the NI Measurement and Automation Explorer does not recognize the device.  Nor does it recognize the device when I attempt to "add new device".
    Within LabVIEW I am unable to assign an appropriate VISA resource name that does not cause an error when attempting to use the "VISA USB Control Out" or "VISA USB Control In" functions.  The help page for wiring up these functions is unclear, particularly for the "request" and "request type" variables.
    Would it be best to pursue this current method or purchase some type of serial (com port) to USB converter hardware to communicate with my USB radio?
    Regards
    Roger

    Sorry for the hijack, but this is a related question... I have an LV application that works using COM1 on the PC.  Customer wants me to change to a USB-to-RS485 converter.  I installed the Windows driver for the converter, then plugged the converter into USB port on the PC.  Windows and MAX both see the new port.  What I'm not sure of is the best way to have the LV app find the converter.  This application will be used on a variety of PCs so the COM port will be likely to change from PC to PC.  Or even on the same PC, sometimes another USB device might get plugged in before the converter.
    So the question is this:  The converter will always have the same vendor ID.  Is there a way for LabVIEW to look at the USB devices and pick the one with the correct ID ?  Or maybe this is overkill... the Windows driver makes the converter look like a serial port (COM4 on my PC).  The original app that worked with com1 used the VISA Configure Serial function with ASRL1:INSTR. 
    I can modify the LV app to force the user to pick from the available COM ports, but would prefer to make this happen automatically.
    Any suggestions ?

  • Is it possible to access channels on a DAQ board while the device is used by another application?

    I am curious if is possible to run an application that reads one channel of a DAQ board while another application already is reading different channels on the board.

    Shoe,
    You can have more than one application accessing a DAQ board at a time but not for the same type of process, such as analog input. I tried a setup where one program was accessing analog input channel 1 and a separate program was accessing analog input channel 2. Only one program would run at a time. However, you can have an analog input program and a separate analog output program accessing the same board running at the same time.
    Hope this helps!

  • Is it possible to access channels on a DAQ board while the device is used by another applicatio​n?

    I am curious if is possible to run an application that reads one channel of a DAQ board while another application already is reading different channels on the board.

    Shoe,
    You can have more than one application accessing a DAQ board at a time but not for the same type of process, such as analog input. I tried a setup where one program was accessing analog input channel 1 and a separate program was accessing analog input channel 2. Only one program would run at a time. However, you can have an analog input program and a separate analog output program accessing the same board running at the same time.
    Hope this helps!

  • Not receiving any signal input with LabVIEW SE, USB DAQ board

    Hello all, good afternoon.
    I am having a little trouble with my DAQ device, I hope that someone will be able to help me.
    I'm plugging a BNC pH sensor to a NI USB 6251 M-series board, to try and obtain the electrical response of that particular sensor, measuring the voltage output for each buffer solution (pH 4 and 7). Have 9.2.3 mx (lastest) drivers.
    The pH sensor (floating) is plugged through a female BNC plug to the circuit board, signal is going through a signal conditioning  circuit (composed by a voltage follower on each of the wires to lower the output impedance of the sensor, and 2 bias resistors from AI+ and AI- connected to AI GND with the board case wired to the power supply ground, as seen in http://zone.ni.com/devzone/cda/tut/p/id/4494)
    I'm measuring in differential mode, as I said both wires of the sensor are going through a voltage follower each, and into the DAQ board. The Op-amps are being powered by +-15v as seen, again, in http://zone.ni.com/devzone/cda/tut/p/id/4494
    I did take the time to read the manuals and tutorials I found, did quite a bit of investigation over the last few days, and wired the system carefully.
    In labview signal express, I choose to take an analog voltage read, and select input range from -500mv to 500mv, because the sensor should output at most -400mv to 400 mv
    Now, much to my dismay labview registers in that channel absolutely nothing, only a little noise (~1 mV). I unplug the sensor and realise that whether the sensor is connected or not, it doesn't make a difference in the presented output - it's as if it the sensor wasn't there at all. And yes, I am measuring the correct channel. I tried connecting the wires to different AI channel pairs as well, could be a faulty one, but no success either.
    If I plug a voltimeter to the wires that are going into the analog inputs (after conditioning), it measures about 50 mV, which is a lot more than the 1 mV the board is measuring, but a lot less than the ~180 mV I should be measuring with a pH 4 buffer solution.
    I know for a fact the problem is not the sensor, and the DAQ board seems to be fully operational.
    I think it might have to do with the signal conditioning I'm doing, or some sort of configuration with the hardware of the DAQ board.
    So, any idea what I might be missing?
    I'm a week behind schedule because of this, hopefully I will find my answer here.
    Thank you very much in advance!

    Good afternoon.
    Yes I have tried all of that. The board responds very well when a flat 5V DC voltage is fed into a channel.
    However after much investigation I believe to have found the problem yesterday, it probably has to do with the operational amplifiers I was using. The input bias current was in the magnitude of nanoAmps, while for pH measurements an IBC of picoAmps or less is necessary due to the high impedance of the sensor. This was causing a drift of over 100 mV on my output which is about 2 pH and thus unnacceptable (even though I had the Bias resistors at the input to ground, like suggested in the NI tutorials, but apparently they were not enough to compensate for the high IBC).
    In the lab all available op-amps suffer from this, even Instrumentation op-amps like AMP04 from Analog Devices. I still haven't had a chance to acquire new op-amps with the necessary IBC but hopefully it will do the trick. Makes sense since I checked the datasheets for every op-amp in the lab, and they all had IBC around 400 nanoAmps (and none of them worked), while every single op-amp for every pH meter circuit I found have IBC's of pico/femtoAmps.
    The sensor I'm using is from AquaMedic, I'm not sure what the model is, but it's a cheap plastic sensor that comes bundled with their pH Computers.
    Thank you very much for your input.

  • Non National Instruments DAQ Boards

    How do you configure (add) a non-National Instruments DAQ board, which is compatable with labview (IOtech DAQBoard 2000 - PCI), in the "Measurment and Automation Explorer" for LabVIEW?  It currently does not display that the device is seen under the "Devices and Interfaces" section.  All necessary software for the board has already been installed.  Any help would be greatly appreciated.

    Hi,
    MAX is a program from NI, to configure and test NI boards, it is not meant to use with boards from another manufacturers.
    You should use tools that should be available from your board manufacturer.
    Paulo.

  • How can I acquire data in a PCI DAQ board using a SCXI rack?

    Hello.
    I have an acquisition system that consists in:
    · 3 PCI DAQ boards:
    - PCI-MIO-16-E-1
    - PCI-6052-E
    - PCI-6034-E
    · 3 cables to connect PCI boards and SCXI modules
    · 1 SCXI chassis:
    - SCXI-1001
    · SCXI modules + terminal blocks:
    - 4x SCXI_1121 + SCXI_1320 (for voltage analog inputs)
    - 1x SCXI_1520 + SCXI_1314 (for strain gauges)
    - 1x SCXI_1530 (for accelerometers)
    I have been trying to acquire different signals (specially voltage signals that are easier to reproduce) but I haven't been able to do it. I can't read anything from MAX or LabView. I have tested the PCI boards with a SCB68 terminal block (without any SCXI component) and they work properly. Problems appear when I use the SCXI chassis and the SCXI modules. I don't know if there is a problem with the hardware or it is a wrong configuration.
    I guess channels in the SCXI modules correspond to analog input channels in the PCI board they are connected to, but I don't know if I have to read data from analog input channels of the PCI boards or from SCXI channels that appear in MAX (I have tried both posibilities, but they don't seem to work).
    I don't know if I have to use Differential, RSE or NRSE configuration. I have tried all of them. Sometimes I only read noise, sometimes signal is fixed in a limit value (maximum or minimum, it depends), sometimes it's fixed in a value near zero,... I have changed connections and configuration options so many times I can't exactly say when one thing or another happens.
    I have tested only one PCI board with only a SCXI module in order to avoid interaction and confusion. Nothing.
    I think I have tried changing almost every option in MAX, but it doesn't work.
    I'm sure I'm missing something and solution is quite simple, but I can't find it.
    Can anybody explain to me how to connect and configure my system to read any signal? I only need a few steps or highlights. Maybe some clues about what the problem can be.
    Thanks!

    I have several comments and suggestions:
    A) Have you "added a device" in MAX and actually added the SCXI chassis? This step is necessary to get the chassis to work. Click on "add a device" and choose the 1001 chassis . Do this for one DAQ card and one module only initially. The Set Up wizard should walk you through the configuration. If you are unable to add a chassis within MAX, I suspect the chassis is not working correctly.
    B) Once configured, you can examine the SCXI channels in MAX as follows:
    1) Open the DAQ card in MAX and Open the Test Panels
    2) For the SCXI channel to view, use the following convention OB0!sc(n)!md(m)!ch where the letter (n) corresponds to the chassis number in MAX (usually = 1), the letter (m) corresponds to the module number (slot) where the module is located in the chassis, and (ch) represents the channel(or channels) you wish to view. So presuming chassis ID=1, and a module in slot 1, and you wish to view channel 3, you would type the following in the channel field for the DAQ card channel to view:
    OB0!sc1!md1!3 (note OB0!sc1!md1!3:6 will display channels 3 through 6)
    All of the SCXI channels for a given DAQ card are multiplexed through channel 0 of the DAQ card, Channels 1 and up are not used, hence the initial three characters in the SCXI call refer to "On-Board Channel 0 (OB0)"
    C) For the subsequent set up, it will be necessary to first add the additional modules to the chassis (when powered off). Then open MAX and update the chassis. (If you get an error then simply delete the chassis reference in MAX and add a new chassis). You will then be required to set the interface mode of each module as either parallel or multiplexed. In parallel mode, you associate a distinct module with a distinct DAQ card in the host PC. For those DAQ cards that will address multiple modules, you must first configure the modules to be in adjacent slots in the chassis and then assign the first module to the cabled DAQ card - then all of the modules assigned to that DAQ card should be configured in "multiplexed" mode.
    D) Once the chassis has been properly configured, you can click on each module and set the gains, filters, and terminal block types.
    I hope that this helps to get you started.

  • How do i read out the actual voltage range of the daq board as calculated by labview based on my input voltage range

    I am somewhat new to DAQ so I hope I describe this well enough, but I have encountered a requirement for my VI that I am not sure how to obtain from LabVIEW. It is my understanding that when using a DAQ board (I'm using a PCI-6034 E) you can specify the voltage range you expect from your measurements, and then the software calculates the actual voltage range it will be measuring to ensure that you get the best resolution in your range that you can given the voltage step size, etc. of the equipment. I know how to extract the voltage input that I enter into the virtual channel, but I was wondering how I can extract the actual voltage range that the hardwar
    e/software is using based on its own calculations from my input. Can anyone help me with this?

    If I understand correctly, you want to retrieve the actual gain value (and, therefore, usable input range) used by your DAQ card for a particular measurement.
    I think there's a good KnowledgeBase entry with your solution entitled "Programmatically Determining the Gain Used by a DAQ Device". Here's the URL:
    http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/c93d3954ec02393c86256afe00057bb0?OpenDocument
    Regards,
    John Lum
    National Instruments

Maybe you are looking for

  • Problem with installing CUCM on MCS-7816-I5

    Hi to all. I have a problem with installing CUCM 8.6.1 on new MCS-7816-I5  (IBM) hardware. The problem is that installation loops in restart after upgrading MCS firmware. Actualy, installation does not sucessfully upgrade firmware, so every time it d

  • ITunes Radio My Stations View Style How can I display my stations as a list, or small icons?

    I can't find where in the interface to control the View Style, so that my Stations show as a list, vs as Large Icons. At minimum, if List View is not available, I would want to show small icons. Very inefficient. Plus, I already see that some lists,

  • Virtual PC 7.0 for Mac

    I wasn't sure where to put this topic. I was wanting to know what the difference was between the Standalone version of the virtual pc software and the Virtual PC that has a certain version of windows in it like Windows Professional and Windows Home e

  • BAPI_AGREEMENT_MAINTAIN -Change an item in an agreement

    Hello, I found a bapi for changing agreements (BAPI_AGREEMENT_MAINTAIN), but I don't know how to use it. For example, if I want to change the SHORT_TEXT in the item data. Does anyone know which structures and fields  I exactly need to fill to change

  • What happened to the ipod icon!?

    I hate the new music icon in iOS5.  I WANT THE OLD IPOD ICON BACK!