Analog measurement WITHOUT DAQ device

Hello everyone,
I have an analog voltage which is varying between -10volts to +10volts. Is it possible to measure this analog voltage using LabVIEW software without DAQ ? If not kindly suggest the options available for DAQ device.
In the traditional interfacing techniques which uses parallel port and/or serial port. We can acquire signal using C language and inport and outport commands.And no DAQ is required.... I was hoping if LabVIEW can be used without a DAQ device.
I know that RS232 and parallel port can be used but how will the space and mark levels be used for acquiring an analog signals.

Hello Miaa,from your description I can think about two things,that remind me the days when there where no sound cards
at all computers,but people found the ways to produce sound from PC:
    1)   
             Output:  you can get from your LPT 8 bit analog output if you connect all 8 data pins to one.
             Input:  it probably possible to get 8 bit input,but you need to use some resistors,and have some knoledge in electronics,
                         in order not to burn your LPT with 10 volt input.
           Again,it's possible but not trivial way.
   2)    In general (very): one can get "analog output" even from 1 bit connection,
           in order to do it, the connection speed should be fast enought,and the illusion of "anlog output" reached by changing
          the ON/OFF state of the connection,in right way (playing with delays between ON/OFF,according to signal).
          About "anlog input" using serial port I can say nothing.
In any case,this is very intersting but time cossuming issue,but if you know how to do it,the LabView part is not a problem,
you have there access to parallel and serial ports.
LV 8.2 at Windows & Linux

Similar Messages

  • Trying to add a DAQ device to NI-DAQ without hardware

    I am developing software for a DAQCard1200 on Windows 2000. I develop most of my software on a system without the actual hardware installed. Since the NI-DAQ dll will error on load under Microsoft C++ unless you have a device configued, I used to configure a device manualy on the development system under NI-DAQ.
    I am trying to use the latest version of NI-DAQ (6.9). I cannot seem to add a DAQ device unless I actually have the hardware installed.
    How can I work around this to add a device without the hardware or how can I get the dll to load without a device configured?

    I am not sure how to add any DAQ devices to MAX. When I right click Devices & Interfaces, I only get a list of SCXI, PXI and VXI devices/chassis. Is there another way of adding devices or expanding the list?

  • How to simulate a DAQ device and use it for testing applicatio​ns without hardware??​?

                            how do i simulate a DAQ device
    in MAX and use it for testing applications without  hardware???
    If my application requires inputs
    from external hardware to proceed how can I simulate a DAQ device in LabVEIW?
    i need to simulate several Digital inputs and Outputs to test the software. currently i dont have the hardware and DAQ device here. 
    please reply with your valuable suggestions. 
    many thanks in advance
    RENN 
    Kudos always welcome for helpful posts
    Solved!
    Go to Solution.

    Hi,
          There is no option to simulate traditional device.You need hardware for that so i would suggest to simulate a PXI device which has similar configuration to PCI-6014 and to do a small modification to your application..

  • DAQ devices don't show up in LabVIEW Measurement IO after loading 2014 DS2, uninstalling 2014 DS2, and then reinstalling 2013 DS1.

    DAQ devices don't show up in Measurement I/O. I installed LabVIEW ver 2014 DS2 Developer suite and my application no longer worked. I then uninstalled ver 2014 DS2 Developer suite and re-installed ver 2014 DS1 Developer suite which installs as LabVIEW 2013. Now none of the DAQ VIs are present in the Measurement I/O. I have uninstalled all NI software, and deleted that NI software that did not uninstall. LabVIEW ver 2014 DS1 Developer suite installs normally, but I get an "unknown error" when trying to install the DAQ drivers from the CD, and the Device Drivers CD keeps looping with a message indicating "Currently exectuing License Manager."
    Solved!
    Go to Solution.
    Attachments:
    LabVIEW Device Driver Error.pdf ‏184 KB

    Try disabling all of your network apapters and running the install.
    Also try disabling any virus scanners during the install.
    Craig H. | CLA | Systems Engineer | National Instruments

  • Without NI DAQ device- how to get data from MSP into labVIEW and process it

    Hi,
    I do not have an NI DAQ device. I have an MSP430 and my sensor is an ADXL335 Accelerometer. How do I get data from my MSP into labVIEW and process it?
    Just looking for a nudge in the right direction. I'm having a hard time finding resources on labVIEW that don't involve NI specific DAQs. 
    Thanks in advance,
    Aziz

    There are many ways to get data into LabVIEW that do not involve NI-DAQ devices.
    I think your easiest option would be to stream it via serial port if the data rate isn't too fast.
    Troy
    CLDEach snowflake in an avalanche pleads not guilty. - Stanislaw J. Lec
    I haven't failed, I've found 10,000 ways that don't work - Thomas Edison
    Beware of the man who won't be bothered with details. - William Feather
    The greatest of faults is to be conscious of none. - Thomas Carlyle

  • System crash when DAQmx call to USB DAQ device is powered off

    My PC crashes when I attempt communication with a NI DAQPad 6015 USB device which is in the powered off state. I am attempting to add error handling to my LabView application to cover the above condition, however, instead of receiving a error message, my PC crashes. When the device is powered on, my LabView routine works properly. I created the vi using the DAQmx DAQ assistant for a simple analog read from the device. I want to add the potential error handling condition to cover the case in which a user may attempt to run the software without turning on the device. When I attempted to run my vi twice with the device powered off, my PC crashed both times. The 2nd time, during reboot, I discovered that MAX was corrupted and had to repair using the installation CD.
    I am using LabView 7.1 with DAQ 7.4 on Windows 2000.
    Is there a known fix or workaround to this issue? Or is there a way to detect the presence of the device first before trying a DAQ read?
    Thanks,
    Joel

    Thanks very much for both your responses. I tried it again, but as you suggested, I used one of the example vi's. I chose the following:
    Acq&GraphVoltage-IntClk.vi found within: Hardware Input and Output >> DAQmx >> Analog Measurements >> Voltage
    I first tested the example vi with my DAQPad-6015 powered on. The vi successfully ran without error. I then turned the DAQPAd power off and ran the vi again. My system immediately crashed leaving me with a blank screen (with streaky lines) and forcing me to reboot. After reboot, I discovered that I can no longer open any of the DAQmx examples that are compatible with the DAQPad-6015. All are corrupted. Curiously, MAX was not corrupted again. I will have to re-install all examples and possibly LabView itself.
    Based on your feedback, I am guessing you will tell me that repeating the above on your system will simply produce an error message, as expected. It appears that I may have a fundamental incompatibility between my specific system hardware and DAQmx/LabView.
    Regards,
    Joel

  • Finding Voltage Excitement for my DAQ Devices

    Hello everyone.
    I'm having trouble finding the voltage excitement for a few of my DAQ products and I'm wondering if any of you can help me. My boss is looking in to using electrodes in our next expiriment and I've been asked to determine if the products we currently own will be able to measure the voltages we'll be mesuring. We currently have a BNC-2110 Shielded Connector Block, a NI 9219 4 ch universal analog input device, an NI USB-9162 Hi speed USB carrier and a NI PCI 6221 16 bit analog input device. Based on some research I've found the electrodes will be producing voltage anywhere from 50 microvolts to 30 milivolts, but I havnt been able to find anything about the voltage excitement of any of my devices so I havnt been able to figure out if these devices will even be able to measure voltages this small or if they will just filter them out as white noise. Can anyone point me in the right direction on this?
    "There will be water if God wills it"

    You could be right,, I tried looking up some of the terms and didnt fully understand. Are the terms you're referiung to the smallest voltage still measurable by these devices?
    "There will be water if God wills it"

  • Which usb DAQ device to buy ?

    I am a total Noob when it comes to DAQ so please bear with me and help me with suggestiions on which NI USB DAQ to buy. I am biochemist and I have an old HPLC machine (basically a chemical purifying/seperation machine) I need to control by writing a labview program. I have labview 2013 and have some basic familiarity with it, and have used very easy VIs like blinking LEDs using arduino interface.
    My current project needs me to:
    1) control the flow rates on two pumps using their remote controller and vary their flow rates by varying voltages (0-10V) at not higher than 3 mA input current. basically, I need to be able to vary voltages on two analog pins. I am attaching the manual for the pump for more info. The pinout on the remote controller is on page 16/17 of the manual.
    2) I need to read analog voltage outputs from these two pumps (which measures the hydrostatic pressure) and save it to something like in .csv file.
    3) lastly, I need to read a analog output from a UV detector which will be in mV range and plot it and/or save that to .csv file .
    There are a bunch of NI DAQ USB devices which seems like they can do this job, my problem is that dont know enough to reliably make a judgement on which one to buy for this project. My budget is limited and I would definately like to do it with as cheap a DAQ as possible since we have multiple instruments like this, and we are planning to get rid of ancient 1990s computers running the original software and replace it with a USB DAQ device coupled with a labview program on a modern PC. The HPLC machines are far apart hence we run them on individual PCs instead of running a bunch on one computer through a DAQ device.
    I know its a whole bunch of questions, but I'll be glad for any guidance on this. also, to do the things I just described, how difficult do you guys think the VI would be if I use a NI DAQ and hopefully dont have any driver/communication  issues.
    Attachments:
    shimadzu-lc-6a-hplc-pump-service-manual-eng.pdf ‏985 KB

    I highly recommend you look up your local NI representative and have a nice sit down with them.  They can go over your requirements and give you really good advice on which device to get.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Programati​cally delete a DAQ device

    I have created a system with hardware (a USB DAQ) and software that is to be installed on multiple computers overseas. I want to make the set-up as easy as possible because I don't think the people doing the setup will be very well trained, and I won't be there to fix any problems.  I have created an installer that includes all the hardware as well as software setup, but there is one issue left, and I'm not sure what the best way to solve it.  If the installer is run before the DAQ is connected, then the installer creates a virtual device. If the DAQ is then connected, it is named Dev1, which doesn't work with any of my tasks, of course. I have some code that runs, and verifies the hardware set-up each time the system is started, so I can see if the device with the proper name is virtual, and if so, I can rename the actual and virtual DAQ device to the right names, so my tasks operate properly. However, I now have a virtual device hanging out on my system doing nothing, which I would like to avoid, because there is an outside chance that I will end up on the phone trying to explain to people how to straighten out a system when it goes bad, and I want to keep it as simple as possible.  I have two questions:
    Is there some way to delete the virtual device programatically?
    Is there some better approach to accomplish what I am trying to do? I thought about not allowing the installer to proceed if there is no DAQ device plugged in, but I don't know if that is possible.

    Jeff·Þ·Bohrer wrote:
    Hmmmm...... There has got to be a way to script up the "Toss Tasks to MAX" and "include .nce" as part of a "Deploy" process. Wirebird, Jack?  any opinions on that?
    I would tend to agree with John_P1's quote below:
    John_P1 wrote:
    I honestly just build up my tasks programmatically.... You can do just about anything that you could do in MAX programmatically via the System Configuration API.
     And I would tend to shy away from:
    Jo-Jo wrote:
    ...I just find [that using MAX] really speed development, and help with maintanence because you can test out all of your tasks in MAX outside of any LabVIEW code. And debug and toubleshoot hardware without using any of your own software, so you know any problems are not software bugs.
     once going into production. MAX tends to be a good tool for getting your feet wet after unboxing the hardware, but something you gradually migrate away from after the prototyping phase -- yet occasionally return to, as you mention, if you need to back up to square one for new prototyping or as a sanity check.
    It's possible to deploy NCE hardware behavior configurations, but not necessarily desirable. For the same reason it's possible to deploy any arbitrary configuration (INI, XML, ....), yet it's likely more desirable to build this configuration programmatically -- perhaps persisting it to disk if it's a user-modify-able configuration, or if it's desirable to persist user settings between subsequent deployments -- else it might be most desirable to keep the "configuration" hard-coded as essential business logic (as DAQ tasks might tend to be).
    Though, it sounds like you have a solution, and that's far more valuable than more work! Keep a tally on whether the current deployment strategy keeps you and your end users happy, and if so, keep it! Else, consider John_P1's advice, which is more likely to scale with your application if things get hairy.
    a.lia-user-name-link[href="/t5/user/viewprofilepage/user-id/88938"] {color: black;} a.lia-user-name-link[href="/t5/user/viewprofilepage/user-id/88938"]:after {content: '';} .jrd-sig {height: 80px; overflow: visible;} .jrd-sig-deploy {float:left; opacity:0.2;} .jrd-sig-img {float:right; opacity:0.2;} .jrd-sig-img:hover {opacity:0.8;} .jrd-sig-deploy:hover {opacity:0.8;}

  • PXI 7344 motion controller as a DAQ device for ELVIS

    Hi,
    Is there a way to reconfigure a PXI-7344 motion controller with its two 68-pin connectors so as to use it as a DAQ device that would receive the signals from a NI ELVIS workstation. The 7344 has a "motion I/O connector" and a "digital I/O connector". Analog outputs are even possible if I remember well, as well as digital.
    Thanks

    Hello,
    The card does has some analog input and outputs. I would check the manual here: http://www.ni.com/pdf/manuals/370838b.pdf. The DAQmx API with a DAQ card is going to be much better than interfacing with a motion card, but you should be able to read off it at the least.
    Rahul B.
    Applications Engineer
    National Instruments

  • Accessing DAQmx channel information without DAQmx device attached to system.

    I am currently writing a LabView VI that makes use of a PXI-6229 card on a seperate chassis. The chassis is connected to a seperate computer from the one that I am using to develope the program. My problem is that I need to be able to obtain the DAQmx channel settings for various global channels, but since I don't have the DAQmx card attached to the system, I can't create global channels, and I can't set the channel nodes to return the data I need. In example, I need to be able to retrieve the Max and Min values for a voltage channel, but the channel properties node only lets me access/see the properties Active Channel, Channel Type, Physical Channel Name, and Description. Is there anyway to define a simulated channel for purposes of programming without the DAQmx card being there?
    I'm trying to avoid defining the channels at run time by using globals, but if I need to, I can define them via config file and pull the settings off that as well.
    Jon D
    Certified LabVIEW Developer.

    It is possible to have a DAQmx global channel in MAX without having the DAQ Device in that system. You will need to create the global channel in MAX on the system that does have the DAQ Device. Then select File>>Export in MAX on that system to create a .nce configuration file for MAX. You can then load that file into MAX on your development system by selecting File>>Import. That will import your global channels into MAX on your development system. However, they will show up in MAX with a red X next to them indicating that the device is not present.
    -Alan A.

  • Switching of analog measurment signals

    Hello,
    in our LabView applications we have to measure several voltages and
    currents. We use a AT MIO 16 E 10 DAQ card, but it is not good enough
    for 2 voltages 2 currents. Therefore, we use exernal GPIB measuring
    instruments for them (Keithley 2000 a.a.).
    However, I think we could come along with only one Keithley 2000 since
    the timing is no issue (1 scan per sec is enough). I need some switch
    controlled by LabView that switches the analog measuring signals to
    two Keithley 2000 (analog) inputs (one for voltage, the other for
    current measurement, respectively).
    I found out that I can't do this with the DAQ card alone. I can't use
    the analog outputs since I don't want a A/D - D/A conversion included.
    Note that the measuring volta
    ges can be ~100 mV.
    But I could be wrong since I am actually a software guy so please
    correct me if this is possible with the DAQ card only.
    My idea is as follows:
    I could use the digital outputs of the DAQ card and connect them to
    some opto coupler or relais with TTL input. The opto couplers or
    relais would switch the analog measuring signals according to the
    digital outputs of the DAQ card and finally according to LabView.
    I couldn't find such a switcher board in the NI catalog. They have
    switchers, but they seem to switch voltages >3V only. But maybe
    someone suggests a board from another company which suits better.
    I just wouldn't like so much soldering my own board since my knowlege
    of opto couplers, relais and hardware in general is really limited.
    Best regards
    Johannes

    Hi Marcus,
    thanks for your answer.
    I was probably not clear about what I want. The solutions you suggest
    seem to be far to complex. As Nirmal pointed out, I actually only need
    high quality optocouplers, no more.
    On Thu, 25 Mar 2004 09:30:26 -0600 (CST), Marcus G wrote:
    >Hello Johannes,
    >It sounds like you're setting up a system that requires four analog
    >inputs (two voltage and two current), and you would like to use an
    >analog trigger to switch between which signals are measured.
    No. I just want to use the digital outputs of the DAQ card to switch
    optocouplers. The optocouplers will switch between several analog
    measuring signals. They should route these signals to one analog input
    of a Keithley 2000.
    >There are
    >several options of
    how you can set up such a system.
    >In terms of measuring the four analog inputs, you should be able to do
    >this with a DAQ card alone. Many of our cards, including the
    >AT-MIO-16E-10 (also called a 6020E), have 16 analog input channels
    >that have an input range of +/-10V.
    I don't want to measure the four analog inputs with the DAQ card since
    it isn't precise enough. The input range is too high for some of the
    analog inputs and the resolution is too low. Also, I can't modify the
    input range of the DAQ card at runtime. Therfore, we are using
    external instruments (Keithley 2000 a.a.) for the measurements. My
    idea was to only use one instrument for the four analog input signals.
    Then I must provide the switching between the four analog inputs. The
    idea was to control (switch) some optocouplers with the digital
    outputs of the DAQ card. The optocouplers should route one of the four
    analog signals to one Keithley 2000. I set the digital outputs of the
    DAQ card in the LabView program. Also, t
    he LabView program configures
    the Keithley 2000 and reads the measuring values from the GPIB. That's
    all.
    Regards
    Johannes

  • DAQ device for linear encoder & labview 7.0

    Ok, I am in a bit of a bind, so the quicker the response the better =).    I currently have Labview 7.0, and am needing to read the pulses of a MicroE hi-res encoder.  I know I am in need of a DAQ device, so I just want to know which one would be the best (cost-effective & easy to manipulate with Labview).   Also, I need three analog inputs as well.  Preferably the range of the analog inputs would be 0-10 volts (well, preferably 0-10mv, but that is unikely).  I am very unfamiliar with programming Labview, but will learn what I need .
    Thank you VERY much!

    Hello heepofajeep,
    I would highly recommend you go with an M-Series Mulitfunciton DAQ Device for this application.  The two counter channels on these devices have expanded support for two phase relative linear and angular encoders, compared to older E Series devices.  In addition, these devices are capable of performing analog input, analog output, and digital I/O operations.  They contain a minimum of 16 analog input lines, with a programmable gain amplifier that will allow you to programmatically set the range anywhere as large as +/-10V to +/-0.1V in order to take full advantage of the resolution of the ADC on the device.  These devices can be programmed in LabVIEW 7.0 or later with the NI-DAQmx driver, and there is the DAQ Assistant and many great example programs for getting up and running with your application quickly.
    I hope this information helps and let us know if you have any further questions.
    Regards,
    Travis G.
    Applications Engineering
    National Instruments
    www.ni.com/support
    Message Edited by Travis G. on 08-18-2006 04:55 PM

  • How do i detect DAQ device number programatticaly using Visual Basic (not using MAX)?

    how do i detect DAQ device number programatticaly using Visual Basic (not using MAX)?

    Several of the CWDAQ objects have Device (the device number), DeviceName, and DeviceType properties that I think will give you the information that you're looking for. For more information, look in the index of the Measurement Studio reference for Device, DeviceName, and DeviceType.
    - Elton

  • Set DAQ Device Information.vi

    Whenever I try to run the example vi "Buffered_Event_Counting_(8).llb" I have problems with "Set DAQ Device Information.vi" inside it:
    error -10600 "No setup operation has been performed for the specified resources. Or, some resources require a specific ordering of calls for proper setup."
    I am using a PCI-6602.
    Message Edited by cbrideau on 09-22-2005 05:39 PM

    Hello cbrideau,
    I am unable to find this example that you are referring to.  However, there are some basic steps you can go through to make sure that your device is functioning properly.  In Measurement and Automation Explorer (MAX) you can expand the Configuration Tree so that you see the category Devices and Interfaces >> NI-DAQmx Devices.  Your PCI-6602 should be listed under this entry.  If this entry does not exist, you may not have a version of NI-DAQmx that supports your hardware, so you should download and install NI-DAQmx 7.5.  Once you see your device, you can right-click on it and choose self-test.  You can also open up test panels and test the counters by doing event counting and pulse train generation.  If you do not wish to use NI-DAQmx you can also open up test panels for the device listing underneath Traditional NI-DAQ devices.
    After you have verified that the board is functioning properly, you can open up an example from the Example Finder.  In LabVIEW, go to Help >> Find Examples >> Hardware Input and Output >> DAQmx >> Counter Measurements >> Count Digital Events to find a relevant example and run it.  Examples also exist for Traditional NI-DAQ (Legacy) but I strongly recommend you consider using NI-DAQmx. 
    Hopefully you are able to run one of these examples.
    Thanks,
    Laura

Maybe you are looking for