Trouble getting consistent voltage readings with LabVIEW using a 1102/B

Here's the situation:
I have an optical sensor with reflector that I'm using these to determine the velocity of a rotating wheel. (actually it's a spool of cable)
no beam reflection = 0 Vdc (actually it's floating from 0 - 2 volts)
beam reflection = 10Vdc
This is hooked up to an 1102/B channel configured for reading voltage in MAX
Now, everything is fine at slower speeds.  The trouble is when the velocity increases...
I'm using a DAQmx read VI in LV 7.1 to read the virtual channel I set.  It's in a while loop, outputting to a chart.
The reads are missing reflections at higher speeds, but only seems to happen in LabVIEW.  The cable needs to be letting out at 2 ft/sec.
Now, the sensor has an indicator light that says when it's seeing the reflected beam.  When I spin the wheel by hand (faster than the necessary speed) the sensor says it's picking up the reflectors (2 at 180 deg apart).  When I open MAX, and the test panel for that channel, I see that I have to increase the "sampes to read" to about 5k and the "rate" to 5kHz.   At that point, MAX  sees every beam reflection as well.
Within LV, it still misses...  even with the loop delay set to 5ms.   I'm hesitant to go much lower with the delay... 
The final destination for this reading function will be in a fairly large VI with a lot of serial communication to external instruments.
Anyone have any advice?
Thanks!
Chuck

Hi Chuck,
Looks like you are configuring a DAQmx task/global channel
My suggestion would be why not use any continous voltage read examples you will find in the examples shipped with LabVIEW?
Go to examples>>Hardware input output>>DAQmx>>Analog measurements>>Voltage in this folder find and use the example VI cont-acq-volt-int-clk.VI ( named something like that ) read its documentation to know how to use it
Or find the VI here
any doubts, do get back

Similar Messages

  • I'm using the latest photoshop cc 2014 with most updated camera raw... i am having A LOT/REPEATED trouble getting files to "synch" with corrections, no matter what i options i select (i.e. "everything")... WTH is wrong with me/my computer/adobe?! help. fa

    I'm using the latest photoshop cc 2014 with most updated camera raw... i am having A LOT/REPEATED trouble getting files to "synch" with corrections, no matter what i options i select (i.e. "everything")... WTH is wrong with me/my computer/adobe?! help. fast. please

    BOILERPLATE TEXT:
    Note that this is boilerplate text.
    If you give complete and detailed information about your setup and the issue at hand,
    such as your platform (Mac or Win),
    exact versions of your OS, of Photoshop (not just "CS6", but something like CS6v.13.0.6) and of Bridge,
    your settings in Photoshop > Preference > Performance
    the type of file you were working on,
    machine specs, such as total installed RAM, scratch file HDs, total available HD space, video card specs, including total VRAM installed,
    what troubleshooting steps you have taken so far,
    what error message(s) you receive,
    if having issues opening raw files also the exact camera make and model that generated them,
    if you're having printing issues, indicate the exact make and model of your printer, paper size, image dimensions in pixels (so many pixels wide by so many pixels high). if going through a RIP, specify that too.
    etc.,
    someone may be able to help you (not necessarily this poster, who is not a Windows user).
    a screen shot of your settings or of the image could be very helpful too.
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • Speeding the Keithley 6485 readings with LabView

    Hi All,
    I'm new with LabView and with current measurements. I'm using a Keithley 6485 Pico-Amp to recored the current changes in microchannels. I downloaded the instrument drivers from the NI website and I tried to control the Pico-Amp current readings with LabView 7.1 but the rate of readings from the Pico Amp was slow ( a reading every 0.5 s). I tried to change a lot of parameters and I found the main problem causing such slow measurements is the read VI for the Pico-Amp was very slow in the while loop.
    is there any way to recored fast continuous measurements from the Pico-Amp using the read VI in a while loop with LabView 7.1?.  or if there is another to do fast recordings form the Pico-Amp with LabView? 
    I appreciate your help and suggestions.
    thanks

    thanks a lot guys for your suggestions and comments.
    at the present time I'm using the analog output of the Pico -Amp to recored the readings via a Daq since I couldn't control it form the drivers. So,  I only control the Pico Amp from the front panel.
    Dennis, thanks for your suggestions and it is true that fetch multi-point is faster but it is still not fast enough since I want reading at a rate of 40-50 Hz. if you know of a way to increase the readings rate to the frequency I need it will be helpful.
    F. Schubert, thanks for comments. I don't know how to change the NPLC since when I change the value in the VI an error message appears and Labview terminates. the NPLC setting is 1 and PLC 60 Hz.
    I attached a sample of VI I'm using to find the readings from the Pico-Amp and I would appreciate any suggestions to improve the readings rate. also how can I change the NPLC value of the device?
    Thanks
    Message Edited by Zeyad on 09-13-2007 11:51 AM
    Attachments:
    Pico_AMP_tests_2.vi ‏125 KB

  • Running 2 stepper motors with LabVIEW using RMV ST400-NT controller and driver

    Hello, I am new to programming as well as motors in general so please bare with me in my attempt to explain myself. I have a project involving laser therapy and I am attempting to control two stepper motors from Falhauber, Type AM2224-R3-AV-4.8. I will be using a RMV ST400-NT controller and driver. Original plan was to use 3 stepper motors for control in 3 axis but realized 2 axis is complicated enough. My power source is an Agilent E3630A. I am new to this whole thing and from what I have read form examples and other posts is that NI drivers seem to work best for these applications. I've written simple programs from examples, reading and watching videos. I want to know whether it's possible for these to work together using LabVIEW and also a nudge to help me get started would be much appreciated. Can someone please help guide me in the right direction, I feel a bit lost when it comes to all this. Thank you for your time and consideration.  Also, I will be using Windows 8 laptop with Labview 8.5. I have attached pics of components I will be using.
    Justo T.
    Attachments:
    photo 1.JPG ‏1150 KB
    photo 2.JPG ‏987 KB
    photo 3.JPG ‏1085 KB

    Hi jtarula,
    I want to preface this response by saying that I am mre familiar with NI controller and driver rather than the one that you have. I am assuming that you are using the dll provided by the manufacturer here:
    http://www.rmv.com/download.htm
    With these, you should be able to interface with LabVIEW using the call library function node. What the controller is capable I am uncertain of. I am certain that you should be able to since another user has commented on the use in LabVIEW before in another forum post.
    I also want to let you know that LabVIEW 8.5 is not supported on Windows 8, which means that you may run into some compatibility issues. Here is the compatibility chart.
    Paolo F.
    National Instruments
    Applications Engineer

  • Best books to get up to speed with LabView 7?

    I am presently looking for advice as to the best book(s) to get up to
    speed with LabView 7 (Best beginner's book, best intermediate book,
    best advanced book). Any books to advoid? While I prefer hardcopy, I
    would be open to the best online resources as well.
    Art

    I would suggest if you have the opportunity to take the basics 1 and 2 classes offered by NI and select integrators. Otherwise there are books by Bishop and Johnson that will give you a great start with LV. If you need any info on classes please let me know. hope this helps.
    BJD1613
    Lead Test Tools Development Engineer
    Philips Respironics
    Certified LV Architect / Instructor

  • I want to get a free app with out using a credit card?

    I want to get a free app with out using a credit card? How can I ?

    Lawrence01 wrote:
    I want to get a free app with out using a credit card? How can I ?
    Search before posting or see the "more like this"s section on the right side of this page.  Your question has been asked and answered many times.

  • Connecting Agilent DSO3062A Oscilloscope with LabVIEW using USB

    I am trying to connect Agilent DSO3062A Oscilloscope with LabVIEW using USB but the device is not recognized by MAX. I have installed the drivers for scope and it works fine with the scope software. The problem is LabVIEW dosen't recognize the scope. Please tell me the procedure of setting up the scope with LabVIEW 8.2. I am using Windows XP.

    Hi there,
    I think the issue is that the DSO3062A will not be recognized by LabView as a GPIB instrument through the USB connection. If you check out the 3000 series manual (http://cp.literature.agilent.com/litweb/pdf/D3000-97016.pdf) you'll notice on page 8 it says you can't use the USB for programming, it can only be used with their scope software. You need the N2861 module installed on the back to connect via GPIB, and then a GPIB interface to your computer. I hope that helps.
    -jmart

  • I had trouble getting my ipad app for that use ios 5.1.1

    I had trouble getting my ipad app for that use ios 5.1.1

    If you mean finding any apps whose current version works on iOS 5.1.1 then see this page : https://sites.google.com/site/appleclubfhs/support/advice-and-articles/finding-a pps-for-older-devices#5.1.1
    Or are you looking for a particular app ? Some developers allow you to download older compatible versions of their apps : Install the latest compatible version of an app on an earlier version of iOS or OS X.

  • Ethernet connection with labview using Modbus

    I want to communicate via  Ehternet connection with LabVIEW using modbus protocol, Just as RS232 (COM) coomunication wiht Modbus in Labview.
    mini

    See these threads.
    http://forums.ni.com/ni/board/message?board.id=170​&message.id=151337&view=by_date_ascending&page=1
    http://sine.ni.com/apps/we/niepd_web_display.displ​ay_epd4?p_guid=F1582737BACF5CA8E0340003BA7CCD71&p_​...

  • Interface of Allen Bradley PLC with LabVIEW using TCP\IP modbus protocol

    Hello.....
    I want to connect a Allen Bradley PLC with LabVIEW using TCP\IP modbus protocol.
    The PLC which I am using is a series of 1766BWA (Allen Bradley) please can you help me for the same or please give me suggestion.
    Also I want to know the resistance values of this PLC.
    Thank you.

    Hello
    I was trying for connection of a Allen Bradley PLC with LabVIEW using TCP\IP modbus protocol.
    Here I am attaching the snapshot of PLC interfacing and communication vi using modbus but it is not working
    For reading we use setting shown in CHANNEL 1-modbus but it gives error regarding modbus addressing
    and for writing it shows error illegal address please help me for the same.
    Thank you.
    Attachments:
    PLC_SCREEN.zip ‏261 KB
    Modbus_(Read-Write).zip ‏14 KB

  • RAM voltage readings with DMM vs. Software on X58 Pro-E

    I almost fell over with shock when HWmonitor and Speedfan both reported my RAM voltage spiking over 3volts when running Prime95. When idling the voltage readings fall to about 0.6v and jump around during use.
    I set my RAM voltage in BIOS to 1.5v but software doesn't report that voltage at all.
    So I grabbed my DMM and measured the voltage on the Mobo directly and found that the voltage is in fact exactly 1.5v
    How is it the software can show variations in voltage from 0.5 to 3.7 volts when it's ALWAYS 1.5v when measured directly from the board with a meter?
    I measure from the silver tab (center leg) of what I'm sure is a kind of transistor or FET, which I know is v output.
    How can I trust any of the other voltage readings then? Especially the CPU v.

    Quote from: Jack on 14-July-11, 21:56:29
    Neither one of these utilities is actually able to correctly monitor the actual memory voltage.  Just ignore those readings.  They are absolutely inaccurate no matter how you look at it (@3.7V you memory modules would probably simply vaporize and @0.6V your system would not be running anymore).  These readings are IMPOSSIBLE readings.
    Don't trust any memory related voltage readings that you get from third party software applications.
    There you go.
    That's what I figured, I wan't suspicious until my RAMv hit over 3.5v nearing 4v when stressing with Prime95, I couldn't understand how it was so high and still working.
    I mean, all the voltage readings on speedfan show what look like normal values when I know full well they're not the ones I manually set in the BIOS. It's frustrating.
    And yes they're all the latest releases and by BIOS is up to date with new firmware but NO my OS is still vista 64 SP1 with absolutely NO updates installed. Though I seriously doubt that'll change any voltage readings I get in speedfan.
    I'm almost tempted to colder connections to all the voltage points on the Mobo for easy DMM connection. But I probably won't cos it's not worth the trouble.

  • How can i get new apple id with out using credit card or visa card

    how can i get a new apple id with out using credit card or visa card?

    Hi xianlycier06,
    If you are looking to create an Apple ID without using a credit card, you may find the following article helpful:
    Apple Support: Creating an iTunes Store, App Store, iBooks Store, and Mac App Store account without a credit card
    http://support.apple.com/kb/HT2534
    Regards,
    - Brenden

  • I am having trouble getting a powerpoint made with keynote to advance with the arrow keys

    I am having trouble getting a powerpoint made in keynote to advance using the arrow keys when I save it to a flashdrive.

    Hi Wayne,
    Thank you for this response.  I have tried this but when I start enterring $ amounts some, such as $6.00, go in OK others such as $4.00 appear as a date ie 4 Oct 12.  
    Kind regards
    Paul

  • Get system power status with labview 8.6

    can i get the system power status of my laptop with labview 8.6? i have a system that can send alarm when loss the system power and tha battery percentage is lower 30%. 
    Solved!
    Go to Solution.

    Try this VI
    Attachments:
    Power status.vi ‏7 KB

  • Can i communicate with labview, using ethernet or seriel modbus.

    Is it possible to communicate with a i/o module and labview. I can communicate with ethernet, canbus(cscan, devicenet), rs232(modbus).
    What is the easiest solusion.
    Is it necessary to buy PC-cards for the communication or have only to download some drivers.
    Thx

    Hello,
    To communicate with a CAN/DeviceNET bus you will need an interface card in your PC. NI has such cards along with LabVIEW VIs:
    http://sine.ni.com/apps/we/nioc.vp?cid=1329〈=US
    http://sine.ni.com/apps/we/nioc.vp?cid=1311〈=US
    To communicate with Modbus, you will NOT need any special cards but you do need software drivers for it (you'll obviously need an Ethernet card for TCP/IP and Serial port for RS232). There are several options for these drivers, however:
    1. Write your own driver VIs. You'll basically implement the Modbus protocol in LabVIEW. Modbus is a simple and open protocol.
    2. Try to search the Net for such existing VIs. I believe someone has already written such Modbus VIs.
    3. Use the Industrial Automatio
    n OPC Servers suite from NI:
    http://sine.ni.com/apps/we/nioc.vp?cid=4584〈=US
    4. Use any third-party OPC Server for Modbus.
    NOTE: in case you opt 3 or 4 above: though you may use DataSocket in LabVIEW as an OPC Client, you may want to consider LabVIEW-DSC which has a built-in OPC Client, and hence better support for OPC.
    Hope this gives you some options.
    Regards,
    Khalid

Maybe you are looking for

  • Performance Measuring of Weblogic Server

    I do performance testing for our own software applications. So far our web servers have been WIN NT running IIS 4. Now, our development group have started to work with WebLogic. I have never worked with Weblogic and I feel a little in the dark. Where

  • Struts 2 external js file

    hey, I have a problem in invoking methods in an external js file. I'm using struts 2 in eclipse. the jsp page is in WEB-INF\jsp\view and the js file is in WEB-INF\jsp\view\js\ Following is my code; <%@ page contentType="text/html; charset=utf-8" lang

  • JAVA ME enabled phones in UK

    Could anyone tell me if i can purchase a Mobile Phone within the UK that is Java ME enabled. How much would it cost?

  • How can I transfer pics on droid to pix place

    is there a simple way to transfer pics from my Droid to PIX place?  All I see are instructions from computer to phone. frustrating!

  • Query regarding portal look & feel

    Hi All, I have deployed my j2ee application on sap. I also need to change look & feel of my pages(iviews) when user changes portal theme. For this I am passing url of css used by portal to my application, but I am fetching it in login page only and p