After closing a VI, and analog input suddenly turns a device on.

Background:
I have a LabVIEW 7.1, a Real-Time controller and FPGA card. The FPGA vi that I have is mostly IO. One of the IO's on the FPGA is the Analog output that would be controlled by my Real-Time controller that would send 0-10V to a fan motor.
Problem:
While running a test Real-Time VI that opens and controls my FPGA VI through a Read/Write, whatever I'm controlling works fine and in this VI I am not sending any IO to the fan motor. After I close that VI, suddenly, my fan motor gets turned on. Why would this input suddenly send a signal, become active, whatever you want to call it?
Thank you in advance for any assistance.
- Con

Hi Con,
Even if you are using a simple RT VI which is only doing reads/writes to digital lines the FPGA code still has a control or constant wired into the analog output node. So, even if you are not explicitly controlling the analog output line through the RT VI it will still write a value based on the control/indicator wired into that analog output node in the FPGA VI. What is the value of that control/constant for the analog output node (on the FPGA VI)? You will want to set that value to 0 (on the FPGA VI) to make sure that there is no voltage written out unless you control it via the RT VI.
The strange part about this issue is that the fan comes on after the FPGA VI has been closed via the RT VI. Right now I don't have an explanation for that. Sometimes there is a floating voltage on the analog output line when no VI is controlling it. However, this should be floating and should taper off after a while. Is this what's happening or is it a repeatable voltage value every time? I have tried to reproduce this issue but I don't see the same behavior.
Try these things that I have discussed above and let me know what you find out.
Best Regards,
Brooks W.
National Instruments

Similar Messages

  • I have customized my Firefox toolbar. After closing the browser and then reopening it, the toolbar has returned to the way it was before I customized it. How do I get my customization of the toolbar to become permanent?

    I have customized my Firefox toolbar several times. After closing the browser and then reopening it, the toolbar has returned to the way it was before I customized it each time. How do I get my customization of the toolbar to become permanent?
    It has occurred with Firefox 4.0.1 and 5.0

    see http://kb.mozillazine.org/Corrupt_localstore.rdf
    Take a picture of your toolbars so you can easily reconstruct them from the default after solving the the problem.
    If it happens to you it will probably happen again in the future so you might want to keep some copies of your modified localstore.rdf file so you can delete the bad one and rename one of the replacements in waiting. Saving, copying and renaming must be done with Firefox down, of course.

  • How can i synchronize analog output and analog input timings to generate and measure voltage at the same time.

    how can i synchronize analog output and analog input timings to generate and measure voltage at the same time.

    Read this Tutorial
    http://zone.ni.com/devzone/cda/tut/p/id/3615#toc3
    And also refer to this link where You have repeated this question.
    PS: Please stick to one thread. That way, its easier to keep track of your query and answers

  • On my iPhone 4, I cannot get the "not enough storage on iCloud" message to close. Therefore, I can't get past this box/screen AND I can't turn the device off. Please help.

    On my iPhone 4, I cannot get the "not enough storage on iCloud" message to close. Therefore, I can't get past this box/screen AND I can't turn the device off. Please help.

    Try resetting it by holding the power and home buttons at the same time until you see the Apple logo, then releasing.  You won't lose any data by doing this.

  • How to combine Digital Output, a delay and Analog Input in a fast loop

    I need to develop a process loop that runs at least at 250 Hz that performs a Digital output, than a delay of 50 microseconds and than an analog input of all the channels. All will be done using ATI MIO 64E3 card. Of course, the acquired data will be processed, displayed and saved. The loop will be running for several minutes until user stops it.

    The fastest and most precise timing will occur if you use hardware timing. You can apply hardware timing to analog input on the E Series boards, but not the digital lines. Let's focus on the analog input first. Continuous waveform scanning uses a scan clock, which can be the board's internal one or an external one which you apply. If you want to scan all the channels 50 microseconds after a digital rising edge, then you need an external signal to signify that scan clock.
    The E Series boards also have 2 counter/timers onboard that you can use for this purpose. You can set up a retriggerable pulse generation operation, where the counter receives a trigger and then on the user specifications, produces a pulse. You can have that route to the analog input scan clock.
    The trigger signal for the counter is that digital pulse. As I mentioned earlier, there is no hardware timing for the digital lines on an E Series board. We do have other digital boards (653x family) that have hardware timed operations if precision is important. If you are satisfied with software's resolution (in the milliseconds), then you can call the E Series board digital function in a loop with a software timer. That digital line can route to the counter to act as the trigger.
    So, on the programming side, you can have three separate and independent operations in parallel. One is for the digital function to output on that line every so often. Another is for the counter set at the retriggerable pulse generation. The last is for the analog input. I will describe this in terms of LabVIEW, but it can be done in a similar fashion with the NI-DAQ function calls or Measurement Studio.
    The digital examples are in the LabVIEW >> Examples >> Daq >> Digital >> E-Series directory. The Generate Retriggerable Pulse example is in the LabVIEW >> Examples >> Daq >> Counters >> DAQ-STC directory. The E Series boards use the DAQ-STC timing chip.
    Go to the LabVIEW >> Examples >> Daq >> anlogin >> strmdisk.llb directory and start with the Cont Acq to Spreadsheet File. This shows how to continuously acquire data and stream it to disk while displaying the data on a chart. Streaming to disk is the efficient way to save data while you are acquiring, as it eliminates the overhead of always opening and closing the file through the iterations of the loop. This saves to a file that can be opened by other applications (Excel, Word, etc.), but it is not as fast as writing to a binary file, which must be opened and read back through LabVIEW. However, for your ~250 Hz rate, it should be fine. Then, go to the LabVIEW >> Examples >> Daq >> anlogin >> anlogin.llb and look at the Acquire N Scans -ExtScanClk example. This shows how to apply the scan clock. Here, the AI Start that you saw in the previous example is replaced by 4 VIs (3 AI Clock Config's and the AI Control). Make those changes to the first example and then add a constant 0 to the AI Control parameter for total scans to acquire. That specifies the continuous operation. The File >> VI Properties >> Documentation menu item of the example describes the physical connections.
    If you aren't using LabVIEW, use the NI-DAQ User Manual and the NI-DAQ Help file installed on your machine. You can look at your AT E Series User Manual at the http://www.ni.com/manuals pages for more information on the hardware. Also, if you want to route those signals internally on the board, you can find some entries in the KnowledgeBase at the http://www.ni.com/support pages.
    Regards,
    Geneva L.
    Applications Engineering
    National Instruments
    http://www.ni.com/ask

  • Firefox apears in firewall even after closing all processes and continues to download file

    firefox continues to download files even after closing all the processes, this behavior was noticed by looking at the my firewall activity log. I am using get them all download manger (firefox extension) to download files in firefox. When first time firefox is started after starting computer it doesnt have any problem, but once I open the download manager and start downloading files it never stops.
    I am using : down them all version 2.05 beta on FF 3.6.12
    1. start computer
    2. open firefox
    3. check firewall status (bitdefender firewall running at report level) - no activity noticed
    3. add url to download file in download them all manager
    4. start download - bitdefinder shows firefox accessing internet
    5. pause download
    6. check firewall status - bitdefinder doesn't show firefox accessing internet in process listing but it does show network activity is going on at its peak.
    7. close all firefox windows and remove firefox.exe from task manager
    8. check bit defiender firewall status it continues to run at peak eating up all the network bandwidth
    9. remove rule of firefox from firewall so as it may prompt when firefox try to connect to internet (bit definder firewall is running in report mode for approval for each connection)
    10. as soon as rule removed, bit definder pops up window sayaing firefox is trying to access remote server (same from where the download was earlier started)
    11. Allow the firefox to access it and again it will start downloading in background and bitdefinder shows up internet activity at its peak.

    naah, looks like its problem of firefox, i removed the plugin and tried downloading using the normal download winodw of firefox but same problem, this time it starts picking up item from the download window and continues to download

  • Firefox exe continues to run after closing all windows, and consumes massive amounts of cpu

    after closing all firefox windows and trying to reopen i get the "firefox is still running but unresponsive" message, and have to go into task manager, processes and end the firefox exe, which is consuming between 96 and 100 cpu.

    Norton IPS is apparently a known issue being mentioned in the KB articles:
    *[[firefox will not start]]
    * [[firefox crashes when you open it]]
    * I also found an earlier post on the Norton site http://community.norton.com/t5/Norton-Internet-Security-Norton/Norton-IPS-1-0-Addon-for-FireFox/m-p/25425#M8494 but I am not sure this is still considered a problem.
    What exactly is this IPS extension. I am currently using XPs with Norton's NIS (version 18.6 - it is a paid for subscription). I do have Intrusion Prevention active in NIS but I see no specific extension or program IPS. Is this some optional additional software?
    I did find an explanation but from 2009
    * http://community.norton.com/t5/Norton-Protection-Blog/Intrusion-Prevention-System-IPS-Your-first-line-of-defense/ba-p/124400
    I am NOT using the Norton Toolbar etc. is it these components that are causing the problem i.e safe search etc.
    I am not having problems with firefox hanging or continuing, despite using NIS.
    There is a bug on this https://bugzilla.mozilla.org/show_bug.cgi?id=548945 but that does not seem to have got very far in confirming or resolving the issue. I imagine Norton have a very large userbase and it seems unlikely that the basic NIS is itself incompatible with Firefox.

  • How to use both digital and analog input modules in the same worksheet - MCC USB1208LS

    Dear all,
    Hi, I am Imran. I am using MCC USB1208LS. I have created the worksheet using digital input module as below and able to execute (run).
    But when i add another analog input module in the same worksheet and executes, An error Message pops-up as in the below image
    I have connected temperature sensor sognal to the analog input of USB1208LS. When using analog input alone in the worksheet, it indiates the actual values. 
    is any black box solve? please guide me. I am attaching in images
    We already placed a purchase order for USB1208FS. Will it sort out my issues?.
    Thanking you,
    Imran Mohamed.
    Attachments:
    present worksheet digital input only.JPG ‏67 KB
    with analog input module.JPG ‏81 KB
    error menu.JPG ‏77 KB

    Hello Imran,
    the USB-1208LS is not capable of running concurrent operations such as an analog input scan and ANY digital Ins, Outs, counter reads, or analog outs.  In Dasylab, the 1208LS is scanning, and nothing else from that particular device can be requested of it while that is happening.
    Yes, using the 1208FS will resolve some of these issues.
    Please refer to the ULHELP.CHM file installed on your computer in c:\program files\measurement computing\daq for details on this issue, et al.
    also I recommend you send your MCC/DASYLab requests for support to [email protected] as MCC staff (that includes me) does not normally monitor NI's Developer Zone.

  • Time measurement between counter output my device and analog input

    Hello!
    I'm trying to measure the time to generate a digital pulse train on the counter output, that goes to a frequency converter that controls a motor.  So I think it'd be the best way to wire the output of the frequency converter with an analogue input and make a timestamp before I generate the pulse and a timestamp when I recognize the singal, but I think that wouldn't be a serious measurement ?
    What's the best way to measure the time?
    kind regards peter

    hi there
    well, there a several ways to do this. the problem with the software - timestamps is the minimal resolution of 1ms. i'd suggest:
    - wire a copy of the digital pulse train to an analog input channel
    - wire a copy of the frequency converter to another analog input channel
    - create an analog input task with the two channels (the sampling rate defines the timing resolution,make sure to acquire enough samples to see the response signal) 
    - start this task
    - send the digital pulse train
    to optimize your acquisition you can use another copy of the digital pulse train as a start trigger for your analog acquisition.
    -> then you'll see the digital pulse train on one of the analog channels and the frequency output on the other one. both channels have the same time axis with a resolution defined by your sampling rate (~us depending on your hardware). then you can analyze the data.
    search the example finder for examples of how to create tasks and triggers.
    Best regards
    chris
    CL(A)Dly bending G-Force with LabVIEW
    famous last words: "oh my god, it is full of stars!"

  • Newbie: 6020E (USB) slow performance with mixed digital and analog input

    Hi,
    I'm using a 6020E to do analog and digital input, and I'm getting very bad performance.
    Please note that doing IO in Labview is new to me!
    I have read the post about 6020E slow performance, and it says I should do buffered IO.
    Can anybody point me to some DOC or SAMPLE that actually shows or explains how one should do this. I need to read several digital IO lines (which I can combine in one port-read), and several analog inputs.
    Seeing how slow the reading on the 6020E is, I am amazed there is only one post that deals with this issue.
    I would be satisfied to get the 6020E into some sort of continuous read mode so that whenever I need data, I get the latest reading right away.
    thanks,
    Peter D'Hoye

    Hi Peter,
    Your cannot do buffered digital I/O with your daqpad. It doesn't have that capability. You can only make direct software calls with digital read/write from/to your port. So your digital IO is completely software clocked and not hardware clocked. The example you are trying is only for specific Simultanuous sampling boards or now also for M-series boards that are able to do correlated DIO.
    Use the Cont Acq&Graph Voltage-Int Clk.vi example for your analog measurements. (NI Example Finder) For your digital IO you can only use the examples like Read Dig Chan.vi, Read Dig Port,...
    There are indeed some slow performance issues with single point I/O Operations, that is correct.
    Check the explaination below:
    DAQPads are offered for the Universal Serial Bus (USB) and the IEEE 1394 (also known as FireWire). Both of these standards use a high-speed serial communication protocol between the computer and the device with a bandwidth up to 12 MB/s for USB and 400 MB/s for FireWire.
    During a single point operation, the DAQ device requires a complete set of configuration commands. This is done through serial communication (USB or FireWire), making the process slower than in a PCI-based board. The speed obtained for single point operation in a DAQPad is system dependent; this means that your computer processor, memory, bus speed, and other factors alter the speed at which you can do single-point operations with a DAQPad.
    For example, on the DAQPad-6020E, timed non-buffered analog input operations are limited to about 50 Hz. At higher rates, the software may become unresponsive. On a FireWire device, you can expect stable operation around 3,000 Hz. But again, these figures are system dependent.
    Regards.
    JV
    NI

  • ELVIS Scope and Analog input triggering

    Hi everyone,
    I'm trying to read two waveforms, one from the analog input and one from the scope. These waveforms are coming from two sides of a voltage divider and should always be in phase. But I think that there might be a triggering problem. When I change the frequency of the input waveform, my measured waveforms go out of phase.I have programmed each express VI to trigger off of the SYNC.
    I can't use analog inputs for both measurements because the sampling rate is too small. I can't use the scope for both inputs because one of the waveforms is a differential measurement.
    Any help would be appreciated, thanks.

    Hi, I looked at the ELVIS Hardware User Manual and noticed that you have 12 channels that can be used as differential, Reference single ended or non reference single ended. Unless you have them all busy I don't see why you can't use the analog inputs. About the sampling rate, it will be determine by the M Series DAQ device that you are using and the source of the signal. It is a good practice to sample, at least, 10 times faster than the frequency of the input signal. The documentation of the card should show what the maximum sampling rate is.
    Now, Open the example called "Multi-Device Synch-Analog Input-Cont Acquisition.vi" at the NI Example Finder under Hardware Input and Output»DAQmx»Synchronization»Multi-Device. If you get the same results shown in the picture then you need to analyze if the voltage divider is affecting the phase.
    For more information about synchronization check the article called "Synchronization Explained".
    Good luck!
    Alejandro | Academic Program Engineer | National Instruments

  • Simultaneous serial and analog input DAQ?

    Need to sample from the serial port and 4 channels
    of analog input at the same time. Figured I need
    to use an internal clock to sync the aquisition
    since the serial port response delays every so
    often. Does anyone know how to sample from an I/O
    port and a DAQ card at a consistent sampling
    frequency in LV? Any help would be greatly
    appreciated.
    Sent via Deja.com http://www.deja.com/
    Share what you know. Learn what you don't.

    [email protected] wrote:
    >
    > Need to sample from the serial port and 4 channels
    > of analog input at the same time. Figured I need
    > to use an internal clock to sync the aquisition
    > since the serial port response delays every so
    > often. Does anyone know how to sample from an I/O
    > port and a DAQ card at a consistent sampling
    > frequency in LV? Any help would be greatly
    > appreciated.
    You don't mention what kind of data rates you are talking about. I have
    put together several systems that combine time-stamped serial and daq
    channels, but in all cases, the serial data was running at around 1 Hz.
    The daq channels were often running much faster (100Hz to 1KHz). If
    your channels fit this description, then it is possible to synchronize
    your data (more or less)
    . You can use software timing to set up the
    slow loop and acquire the serial data, and used buffered A/D to read in
    the appropriate daq channels. The synchronization isn't perfect, but
    may be "good enough".
    Best of luck,
    Dave Thomson
    David Thomson 303-499-1973 (voice and fax)
    Original Code Consulting [email protected]
    National Instruments Alliance Program Member
    Research Scientist 303-497-3470 (voice)
    NOAA Aeronomy Laboratory 303-497-5373 (fax)
    Boulder, Colorado [email protected]

  • Adobe 11.0.3 keeps running after closing the program and uses all cpu

    After closing Adobe reader it remains in the background on task manager and uses about 25% of CPU for each instance, each time a pdf is closed it adds another instance in the background, when there are four my cpu is maxed out.  I have to use my computer with task manager always running so I can end task each time I close a PDF.  I tried the solution stopping welcome screen with registry fix and other fixes for prior versions, none help.  Running Windows 8. 

    In order to deploy via GPO, you need to create AIP (Administrative Installation Point) for Reader 11.0 and then patch that AIP with 11.0.04 to create AIP of 11.0.04
    Method:
    1. Extract Reader 11.0.4 exe via the following command line,
    AdbeRdr11004_en_US.exe -sfx_o"<extraction_path>" -sfx_ne
    e.g. if you want to extract to c:\temp_folder
    you should run the following command,
    AdbeRdr11004_en_US.exe -sfx_o"c:\temp_folder" -sfx_ne
    You should see the following six files in c:\temp_folder,
    ABCPY.INI
    AcroRead.msi
    AdbeRdrUpd11004.msp
    Data1.cab
    setup.exe
    Setup.ini
    2. Now navigate to "C:\temp_folder" folder to create AIP for 11.0 in "C:\Rdr11AIP" and follow the wizard
    msiexec /a AcroRead.msi TARGETDIR="C:\Rdr11AIP"
    3. Now navigate to "C:\Rdr11AIP" to create AIP for 11.0.4 in C:\Rdr11AIP" and follow the wizard
    msiexec /a AcroRead.msi TARGETDIR="C:\Rdr11AIP" PATCH=<"Path to 11.0.04 patch location">
    for this example, "Path to 11.0.04 patch location" is going to be "c:\temp_folder\AdbeRdrUpd11004.msp"
    So the command would be,
    msiexec /a AcroRead.msi TARGETDIR="C:\Rdr11AIP" PATCH="c:\temp_folder\AdbeRdrUpd11004.msp"
    4. You will see following files in your "C:\Rdr11AIP" folder,
    AcroRead.msi
    Common
    CommonAppData
    program files
    Win
    Windows
    5. Now copy the contents of this folder to your network location and link the AcroRead.msi file in the Group Policy Editor, you are now ready the deploy 11.0.04
    Hope, it helps.

  • Ive had my 4G ipod touch for about 3 years and i was waiting for one of my games to load and my ipod suddenly turned off and now i cant get it to turn back on. is there a way to fix it or is it just completely shot?

    ive had my 4G ipod touch for about 3 years and today i was waiting for a game to load and my ipod suddenly shut off and i cant get it to turn back on. is there any way to fix it or is it just completely shot?

    See my response to your other post

  • Firefox 4.0 will not open at all. It shows that the process is running in the task manager but will not open the window even after closing the prcess and restarting.

    I have had firefox since an earlier 2. version and have been able to upgrade as normal. After the installation is done it will not open at all. I have restarted and even uninstalled all previous version .exe and still nothing. I am using windows 7 OS. I am still running 3.6.8 and would love to see the new one running on my laptop.

    hello, this crash is caused by Websense Endpoint security software that is running on the system. please try to install all the updates for this program that are available...

Maybe you are looking for

  • Validation of batch nos. in migo for finished goods (fert)

    I want to validate batch number entered by user at the time of migo for finished goods (fert) against the batchs in mcha. how can i do this? also is it possible to give f4 help to user for available bach nos. for the particular material ?

  • Ethernet disk and a networked home directory

    is it possible under os x 10.4.8 to store my home directories on an ethernet disk and then be able to mount them from any of my macs? do i need to run os x server?

  • Dynamic page with multiple select in where clause

    Hi, I have a dynamic page and in the where-clause, i have a bind variable. In a report i use for instance and rtrim((to_char(date_time5,'DAY'))) IN :v_day That works ok in a report. But it does not work in a dynamic page. what code is needed to work

  • Question mark for few seconds on startup..

    Hi, A question mark appears for few seconds on startup, and then the apple logo shows up. It looks like the system is not found in the beginning, but then it loads ok. Any thoughts on that? Thanks!

  • Early '08 midel MacBook Pro not starting

    I have a late '07 - mid '08 model MacBook Pro. Last night I turned off my machine and this morning it would not start. I press the power button and I hear the Superdrive and fans start to work then it just clicks off, no image on the screen and no st