MAX not to kill engine when running active with analog feedback

I just changed my engine to use analog feedback instead of encoder feedback, but now he does not kill the engine when the switch is activated. I use a PXI7358 with a servo, and a PXI6363 and PXI6221 motor. The PXI6221 reads raw gauges of a force sensor measures 6 axes, mounted on the endpoint of my linear actuator (powered by the servo motor). LabVIEW makes a calculation on the tensions of strain gauges and exits through the PXI6363 a single voltage that is proportional to the force in one of the axes. I feed the analog voltage at the entrance to axis 1 on my analog PXI7358.

Previously, I had used an encoder for comments and whenever I came at the end of race before or back the engine would immediately cease. Now that I'm using analog feedback, the sails of the actuator throughout the limit switch and doesn't stop, even though I see the LED light up in MAX, which indicates that the limit switch is active.

In a LabVIEW VI I can kill the engine when the limit switch becomes active, but I would like for it to transcend LabVIEW and arrive at the MAX instead. Sometimes, apparently, there is a slightly different zero voltage output by the 6363 and the actuator moves very slowly in a sense and if I'm not looking for it runs the risk of crashing on the stop, because it is not honor the status of the limit switch.

Any suggestions? Thank you.

Matthew,

what you see is the expected behavior. The good news is, you can change it, but let me explain first of all, what is happening here:

When an axis hits a limit switch, the default operation is to put an end to the axis. This means that the current value of the feedback becomes the current set point. With feedback from encoder translates a full stop of the axis, which is typically the desired behavior. With analog feedback (g. e. force) this means that the axis is trying to keep the current value of the force, which does not necessarily mean, that the axis stops.

The solution is to stop the axis with a kill command, which sets the DAC to zero and says the line out to disable to turn off the player. You can configure the axis to stop with a kill command whenever a limit switch is activated by using "Set u32.flx" (switch Stop Type = attribute, value = 2).

I hope this helps.

Jochen Klier

National Instruments

Tags: NI Hardware

Similar Questions

  • Switching between rendering engines when running.

    Hello members,

    I tried to move from a DataGridColumnRenderers when running under certain conditions in my program.

    But what I have does not up to.

    I made this prototype ask as to what lack me. If anyone knows please help.

    attached are engines rendering and file of the application.

    Any help appreciated.

    Thank you

    PRAD.

    Hello

    frankly I do not understand this part:

    if(Order==true)

    {

    var cf2:ClassFactory = new ClassFactory (DescendingLabelRenderer);

    orderColumn.itemRenderer = orderColumn.getItemRendererFactory (false, cf2);

    order = false;

    }

    on the other

    {

    var cf1:ClassFactory = new ClassFactory (LabelRenderer);

    orderColumn.itemRenderer = orderColumn.getItemRendererFactory (false, cf1);

    order = true;

    }

    Why not:

    if(Order==true)

    {

    var cf2:ClassFactory = new ClassFactory (DescendingLabelRenderer);

    orderColumn.itemRenderer = cf2;

    order = false;

    }

    on the other

    {

    var cf1:ClassFactory = new ClassFactory (LabelRenderer);

    orderColumn.itemRenderer = cf1;

    order = true;

    }

  • Cannot get his work when running applications with "Run as Administrator" all of a sudden.

    My daughter has been using my computer and done 'something' to him. To get the sound to work now under IE, Firefox, Ventrilo, etc etc I have to run applications as an administrator... even if my account has administrator privileges.  I'm at my wits end, because I've tried everything, and Google returns nothing to give me a helping hand.

    I am running Windows XP Pro SP 3

    I don't know that if Skyke was working or not, I removed it when I started to try to fix things. No program used his work properly, browsers, windows live messanger, ventrilo, etc..

    I tried both FixIt programs you listed above, found nothing.

    In the end, I gave up and reinstalled.

  • Interfaces not visible in 'Operator' when running with "Remote Agent".

    Hello

    I am new to ODI and have a problem with Interfaces/Packages with a Remote Agent running. +

    I have agent installation on the computer on which the database is installed. I created a physical Agent with the details, and on the use of the 'Test' button in the client, it works fine.

    However, when I try a run a package with this agent, I get the "Session started" pop-up, but the interface does not register in the 'Operator' section, and nothing happens. +

    However, this does not happen when I use the "Local (no Agent)", and the interface is running successfully and is entered in the 'operator'. +

    I just get this error under the tree of "Physical Agents" in the section 'Operator' for the interface - "ODI-1266: Agent agent_apo13110026 detected as stale session Session and the value of error status.

    Would appreciate input.

    Thank you

    AB

    In Test - check the settings of the topology of the two agents and make sure that you are looking to host appropriate for this agent.

    Then on the test server, install, check the odiparams.bat / odiparams.sh (depending on the operating system) and make sure that the configuration of JDBC points to correct work rest (your test environment).

  • AddChild() does not load swf external when run in the browser

    I created a few fairly simple flash animations, but overall is based on unloaing, then loading swf files outside them.

    The base file works fine, load external references and the discharge (even if I do need to preven the user hitting the Unload button when there is nothing to unload) and will then another good, IF I run it directly from my file system.

    I want it to be on a web page, but when you click the button to load external files, nothing happens.  Safari tells me it can't find the file, and I use the same exact directory to test.

    So does work very well during the test with flash (CS4) and runs directly from the directory in the finder, but a web page, it cannot find the file.

    Any suggestions on why this is happening and what I can do about it?  It has left me speechless.

    Eric Gray

    Is the html page in the same folder as the swf file?

  • Firefox does not ask for confirmation when exit/close with several tabs open

    I'm having the same problem as user here: https://support.mozilla.org/en-US/questions/1139845 (only I have different OS)

    When multiple tabs open, Firefox ask me never confirmation when I click Firefox close window button in the corner (usually accidentally). And I would like confirmation.

    about: config I have:

    true browser.showQuitWarning (it is marked as custom value (bold), default is false)

    true browser.tabs.closeWindowWithLastTab

    and when I close Firefox (usually accidentally) I get window of journalist of crash that I submit usually.

    Update: claims of a member who never close the confirmation appears for only one Firefox window, only several windows of Firefox. According to me, that this is of people probably half of bad idea is not using multiple windows, only the multiple tabs.

    The-edmeister says

    All you need to do is use the Previous Session Restore, either the default value: House in the lower right corner or history homepage > restoration of previous Session. ...

    Thank you very much for the input. Indeed, I go to Options/General and together "when Firefox starts:" 'Show my home page' and when I click on X to close the FF button, then asked to FF:

    "Want you Firefox to save your tabs for the next time it starts? I click on "Save and exit" when I start FF, tabs are automatically re-open! :-) It's very, very happy.

    I never thought tabs will be reopened when the blank page is set initially. And I did not tried because I usually have several tabs open, so do not wanted to risk. For me, the issue is resolved. THX

  • Download a file using a php script when running applications with LCD screens

    Hello! I'm developing an application in Flex 2 / Java - running on the LCD / JRun server.

    I'm trying to add downloading features. I use a script php to the download section.

    First, I'm just trying to put the script in the application directory. Does not work.
    After that I created an apache server where I put a small web site with my script. He tells me that my file is downloaded correctly, but I can't find the file. The apache log I don't give no errors.

    Can someone help me?

    Originally, I had problems w / the file placed in C:/whatever.ext b/c I was not using relative paths.

    This is the code I use:
    --------------------------------

    $MAXIMUM_FILESIZE = 1024 * 1024 * 2; 2 MB
    $newFileLoc = '. '. "/ wherever/file.jpg.

    If ($_FILES ['Filedata'] ['size'])<= $maximum_filesize)="">

    move_uploaded_file ($_FILES ['Filedata'] ['tmp_name'], ".") / temporary / ". $_FILES ['Filedata'] ['name']);"

    Rename ("./temporary/". $_FILES ['Filedata'] ['name'], $newFileLoc);
    chmod ($newFileLoc, 0777);

    }

    ---------------------------

    Editing of this article by Adobe:

    http://livedocs.Adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.htm?context=live Docs_Book_Parts & file = 17_Networking_and_communications_173_6.html

  • my pc does not recognize my iphone when plugged in with usb finds but itunes there immediately .__i talked to the representative of apple service and the phone works very well. Looks like that I miss here some driver files.

    basically I can't transfer files from iphone to pc as I used to. in my computer, there is no usb device when connected pc cannot see my iphone. I plugged the flash drive and it pops up immediately to usb works fine as well
    I checked pc system information/components/problem devices and said apple iphone usb/vid_05AC & PID_1294 & MI_00\0 error, this unit is impossible and I don't know how to activate. I can't files sessions previous too coz I accidentally delete important files with unwanted stuff. Help, please

    so after waiting more than a week for a serious response I discovered firsthand how to activate the iphone to your pc. If you connect your iphone to your pc then right click on my computer / device manager/imaging devices/troubleshooting find impossible iphone and then click Activate and you good to go. seriously so guyz I can do then any other amateur can do too. Is what kind of forum this? a fan forum where nobody knows anything and everyone hope to help? Laughing out loud. seriously, google gives you more answers from this forum. IM outta hea.

  • CSCuy98373 - Dead State SRI WAAS C4331 SN when running traffic with 3.16.02 XE

    We have the same problem as #CSCuy98373 with IOS - XE 3.17.02.S output (i.e. 15 (6) 1.S2).

    Be it resolved in the next version of 3.17?

    Hello

    The fix for CSCuy98373 in 3.17.02.S will be fixed in 3.17.03.S. ETA is early December.

    While on the subject of CSCuy98373, same problem is fixed with CSCuy32345 for 16.2 and 16.3 release trains.

    I hope this helps... Pascale

  • Activity monitor close unexpectedly when running in the background on the left

    Recently upgraded to Mac OS Sierra and Activity Monitor to close unexpectedly when running back plan left (do not smoke and open the activity monitor window) to a blank desktop when you use an application in another office. Clean install I tried but the activity monitor would still be down at random times when left running in the background to another empty office. Someone at - there experience this problem? For most browsing on the web using Safari on another desktop computer when Activity Monitor quit unexpectedly.

    Activity monitor also using a lot of energy since the upgrade?

    Any help would be appreciated. Thank you.

    Model: MacBook Pro (retina, 13 inches, early 2015)

    OS: macOS Sierra: 10.12 (installed via the upgrade, own installed after this problem).

    Do not forget that you are using the activity monitor version which was installed when you upgraded to Sierra. Activity monitor located in the your Mac utilities folder.

    If you have moved a previous version to a different location, it will not work.

    If you are using the correct version, post crash report. Error reports lies in the application of the Console under System reports or reports from usersand end in the suffix .crash. If you choose to do so, omit or hide any information that you consider personal.

  • After upgrading Office 2003 to Office 2010, when rebooting, open a window of choce of windows update, if you select do not do updates, wauclt.exe runs and the pigs, cold start pc is required

    After upgrading Office 2003 to Office 2010, when rebooting, open a window of choce of windows update, if you select do not do updates, wauclt.exe runs and the pigs, cold start pc is required to restart or allow time (about an hour) for wuauclt stop execution and free PC - our aim here is to bundle 2010 via ZEN na enter the beam perfectly - this popup must be eliminated

    Hi Pops1148,

    ·         Is the question not confined with updated Microsoft Office?

    Follow the suggestions below for a possible solution:

    Method 1: You can follow the steps in the article in the Microsoft Knowledge Base and check if it works.

     

    Troubleshooting Windows Update or Microsoft Update when you are repeatedly offered an update

    http://support.Microsoft.com/kb/910339

    Method 2: Try the SFC (System File Checker) scan on the computer.

    To run the System File Checker tool, follow these steps:

    a. click Startand type cmd in the box start the search .

    b. right click on cmd in the list programs, and then click run as administrator.

    c. If you are prompted for an administrator password or a confirmation, type your password or click on continue

    d. at the command prompt, the following line and press ENTER:

    sfc/scannow

    Reference:

    Description of Windows XP and Windows Server 2003 System File Checker (Sfc.exe)

    http://support.Microsoft.com/kb/310747

     

    File system (CFS) Checker

    http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/system_file_checker.mspx?mfr=true

    Method 3: I also suggest that you scan your computer with the Microsoft Security Scanner, which would help us to get rid of viruses, spyware and other malicious software.

    The Microsoft Security Scanner is a downloadable security tool for free which allows analysis at the application and helps remove viruses, spyware and other malware. It works with your current antivirus software.

     

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

     

    Note: The Microsoft Safety Scanner ends 10 days after being downloaded. To restart a scan with the latest definitions of anti-malware, download and run the Microsoft Safety Scanner again.

    Important: While hard disk analysis if bad sectors are found when scanning try to repair this area, all available on which data can be lost.

    Let us know if that helps.

  • Java will not add/remove programs uninstall. When running java get error (java script false) when trying to uninstall get error message (error application of transformations

    When running java get error (java script false) when trying to uninstall get error message (error application of transformations. Went to sunmicro systems, but can not find help. Also having problems with script errors. I'm debugging the scripts not controlled. Using windows xp IE8.

    I think I need some type of uninstaller or need assistance.

    TYVM

    Connie Pitre

    E-mail address is removed from the privacy *.

    Hello

    Try the methods provided below and check if the problem persists.

    Method 1:

    Try the steps in the link below of the Java Support to solve the problem with the error application transforms during the uninstalling of Java.

    Error application of transformations

    http://Java.com/en/download/help/error_applying_transforms.XML

    Method 2:

    To fix problems with the Script in Internet Explorer error click the link below.

    How to resolve script errors in Internet Explorer on Windows computers

    http://support.Microsoft.com/kb/308260

  • keyboard Microsoft creator - get a message that says: some features are not available when running on versions of windows prior to windows vista

    I installed the microsoft keyboard layout creator, but when I start the program I get a message that says: some features are not available when running on versions of windows prior to windows vista, I checked if my computer is compatible with the system requirements before downloading the program, can someone please help, thanks

    What functions are supposedly missing that you need?

    This?
    http://msdn.Microsoft.com/en-us/goglobal/bb964665

    Maybe you should have got version 1.3 instead?  (http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=21476)

  • HP LaserJet P1606dn Professional - do not Duplex correctly when running on Windows Vista 64 - bit OS

    I have connected this printer (via USB) to the PC running Vista 32-bit, Windows 7 32-bit and Windows 7 64 - bit, and the printer works fine double-sided printing. He behaves badly only when running under Vista Ultmate 64 bit (SP 2). "Misconduct", it's that it is not duplex correctly when you return to the long side of the book (the normal way you duplex)-it always falls on the short side of the book in any application I try on any type of duplex setting. I installed the latest drivers. I suspect that we have a problem of driver here.

    In one of the other HP forums, I noticed that this same issue existed on jet printers to all-in-one HP ink several years (and HP has released patches for those), but I couldn't find any announcement for my laserjet model. Can someone tell me a patch for my model on this issue?

    Hi SteveCT99,

    Since then, you indicate that the duplex works fine on all other computers except the computer Vista. Follow the steps below to uninstall and reinstall the printer.

    1. open Control Panel

    2. click on uninstall a program

    3 uninstall the 1606dn Laserjet list

    4 restart your computer

    5. download and install the latest version of Adobe flash player

    http://www.Adobe.com/support/flashplayer/downloads.html

    6 download the drivers and full software functionality, and then reinstall the printer.

    http://h10025.www1.HP.com/ewfrf/wc/softwareDownloadIndex?softwareitem=bi-80329-8&cc=us&DLC=en&LC=en&OS=2100&product=4110410&sw_lang=

  • Error message "Windows Resource Protection could not perform the requested operation" when running SFC scan.

    As suggested, I tried to run scannow to repair Windows Vista.  I did, but then the scan only ran up to 76%, I received the message: Windows Resource Protection could not perform the requested operation. "How can I complete the scan and fix my Windows Vista computer

     

    Hi rdoran,
    You perform the steps from the administrator account?

    To determine which files can be repaired by the System File Checker tool, follow these steps:
    Step 1:
     
    NOTE: When SFC is running, it records its actions in the C:\WINDOWS\LOGS\CBS\CBS. NEWSPAPER. You can find specific entries of SFC searching [SR] tags in the newspaper.

    For how, see the SFC analysis details in the CBS. JOURNAL:
     
    * Open an elevated command prompt.

    * In the elevated command prompt, type findstr/c: "[SR]" %windir%\logs\cbs\cbs.log > %userprofile%\Desktop\sfcdetails.txt and press ENTER.
     
    * Close the elevated command prompt.

    * Click the sfcdetails.txt file just set your desktop to see the SFC scan details (those with the tags [SR]) to the CBS. NEWSPAPER.
     
    * You can safely delete the sfcdetails.txt file later if you wish.
    Reply back with the details in the log file.

    If it does not help to complete the scan, you can complete the steps below and check out them.

    You're able to boot in safe mode ?
     
    Step 2:
     
    For more information on how to log in to safe mode, see the following Microsoft article:
     
     
    If you're able to boot in safe mode, you can perform a scan of the file system (CFS) auditor.
     
    Reference:
     
    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7
    http://support.Microsoft.com/kb/929833

    Step 3:

    In addition, you can connect to the command prompt and check the drive for errors, and check if that makes things more simple.
     
    At the command prompt, type the following command and press ENTER:
     
    Chkdsk /r
     
    Note: If bad sectors are detected when running check disk utility and attempt recovery of bad sectors is verified during the verification of the drive for errors, data in the bad sector can be lost as they tried to recover bad sectors.
     
     
    Aziz Nadeem - Microsoft Support

    [If this post was helpful, please click the button "Vote as helpful" (green triangle). If it can help solve your problem, click on the button 'Propose as answer' or 'mark as answer '. [By proposing / marking a post as answer or useful you help others find the answer more quickly.]

Maybe you are looking for

  • The CD/DVD drive power calibration error - Satellite A100-646

    Hi all I have a problem with the DVD-RAM of my laptop. I can not burn cd/DVDs, show error message is "power calibration error".Can I fix it myself?I tried to change the blank media (CD/DVD), cleaned the optical lens. S.O. Vista Home PremiumThe unit o

  • CameraZoom FX does not seem to be save the photos full size, only photos

    Someone else there to help that this program also had the same issue? I took over 100 pictures today for work and when I was getting ready photos on my work PC that the images were not in the folder dcim on the SD card. They were, however, in the fol

  • Wizard hardware fault.

    When I turn on my computer a "Found New Hardware Wizard" box comes to install "display". The wizard will search online for install and after a while in install it in "NVIDIA GeForce 6100".  He then asks me to restart my computer for the installation

  • How to edit a television program recorded in media center 2002

    Using Media Center 2002, I recorded a show aired on NBC.  The program lasted 4 hours matching 9.75 GB.  I tried to use Microsoft movie maker to change the registered program to remove all of the many ads but the Director does not recognize the file. 

  • Problem to find the HP Deskjet 812C driver

    I have difficulties to find a driver for my HP Deskjet 812C printer to install on my new MacBook Pro OS X v10.8.5 I hope I can get my printer to work.  I love my printer and can't change it if possible.