M series than 6224 to Digial of e/s P1/P2 related registry settings

Hello

I'm testing 6224 card digital I/o according to the dioex2.cpp under VxWorks. My goal is to put P1 P2 as input, output. Thus, according to dioex2.cpp, I put the registry DIO_Direction = 0x00ff (in fact, it is not correct, as has been pointed out by Tom W, DIO_Direction register is 32-bit corresponding to P0, but how to put P1/P2, it did not mention), PFI_Output_Select_1 = 0 x 4210, PFI_Output_Select_2 = 0 x 4210, PFI_Output_Select_3 = 0 x 410, PFI_Output_Select_4 = 0, PFI_Output_Select_5 = 0 , PFI_Output_Select_6 = 0 and PFI_DO = 0 x 55, however, values are not written to the registers, they always keep the values of power on (DIO_Direction = 0xffffffff, the others are 0). Seems BAR1 registers may not be written, but the driver, the MITE is activated BAR1 according to bar0.write32 (0xC0, (physicalBar1 & 0xffffff00L) | 0x80).

Any suggestions are appreciated.

Zimin

Hello Zimin,

Sorry for the delay.  After the reformatting of your post, I realized that you describe almost the exact dioex2.cpp for example found here.

He may have had a few typo or other errors in your post, but I found a few problems.

1 DIO_Directino = 0x00ff... This registry is port0 configuration, in the dioex2.cpp example we use IO_Bidirection_Pin.

2 PFI_Output_Select_3 = 0 x 410... I think that this must be set to 0 x 210 as in the dioex2.cpp example.

I think with these changes, your example will work for you.  If it doesn't work, I would recommend going through the example of dioex2.cpp for more information.

Thank you

Steven T.

Tags: NI Products

Similar Questions

  • Continuous shutdown computer rather than go to sleep even though I did change advanced power settings.

    Original title: sleep problem

    My computer continues to stop rather than go to sleep even though I did change advanced power settings.

    Hello

    Thanks for posting your question on the Microsoft community.

    I would like to know some information about the problem so that we can help you better.

    Have what changes you made in the advanced power settings?

    Thank you for details on the issue.

    This problem may occur because of corrupted or incorrect power settings. This can also happen if drivers are not updated.

    I suggest you use the steps in this article and the Coachman.
    Reference:
    Windows 7 is not going to sleep
    https://support.Microsoft.com/en-us/KB/976877

    I hope this information helps.

    Please let us know if you need more help.

    Thank you

  • Audio MP3 and .mov audio playback in a lower than normal field.

    Randomly, some Web sites audio mp3 or audio .mov plays at a lower than normal tilt in Firefox.

    Have you checked the settings in QuickTime player?

  • I have iPad 2version 8.4.  Should I switch to 8.4.1 before moving on to the series of the 9.0 version?

    I have not updated my iPad to the latest upgrades of version 6. I currently have version 8.4. Should I update the 8.4.1 version before moving on to the series of the 9.0 version?  Going to miss any important settings or changes if I go straight to 9.0? If everyone advises me to install all the missing versions, please can you me where I can find them?  I already know where to install version 9.0 and 9.2.

    Thank you

    1. No, and you can't.

    2 No.

    3. If you somehow find and force - install any intermediate version iOS, iPad will not turn on.

    (137311)

  • Series F-300 HP all-in-one: the complete elimination of HP F - 300 Series All In One Printer

    I can't remove all the F-300 series printer parts after deletion

    Hi @wnight1and welcome to the Forums of HP!

    I'd love to help you to uninstall the software using a more comprehensive approach. Have uninstall you with the intention to reinstall? Was - that thing a troubleshooting steps that you complete to solve a different problem? I will include the following steps to reinstall the software, but of course you can ignore them if you just want to uninstall.

    1. Hold down the Windows Logo key () on the keyboard and the 'R' to open the dialog box run, type %temp%
    2. Delete all files and folders in the temp folder. Choose Skip if all pop ups seem to say all files cannot be deleted
    3. Download the software and choose Save as, save to desktop > AIO_CDB_NonNet_Full_Win_WW_130_141.exe
    4. After downloading software and extracts, reopen the temp folder, use the instructions in step 1.
    5. Locate and open the folder starting with 7z (example: 7zS2356)
    6. Open the folder Util
    7. The CCC folder
    8. If you have a computer HP run the L3uninstall.exe. If you have annon HP computer run the L4uninstall.exe
    9. Once the uninstall is complete, reboot the computer
    10. Follow these steps to reset the registry settings and options for Windows Installer.
  • B110 series printer: HP Solution Center suddenly does not work

    The HP Solution Center has suddenly stopped working.  The notice says that he cannot work because the device is not over...  It was not a problem in the past (and I'm on Windows 10 months) and I don't have no problem with printing a document, but can not scan - from the solution center or the printer to the PC.  I have uninstalled and installed the drivers twice and also removed a recent update of security Microsoft as advised in a single site, but nothing helped.  The printer is a B110 series and I am on Windows 10.

    Welcome to the Forums of HP @HV2, I'd be happy to help you get your Solution Center works again. I am convinced that I will be able to help you find a solution, and I ask only that pay you it forward. When address us the issue, I would you kindly mark the appropriate post as accept as Solution so that others have the same or similar problem can find what worked for you.

    Even if you have already uninstalled and reinstalled the software, I suggest you to perform an uninstall, but with a different approach. Please use the following steps to perform a complete uninstall:

    1. Hold down the Windows Logo key on the keyboard and the 'R' to open the dialog box run, type % temp %
    2. Delete all files and folders in the temp folder. Choose Skip if all pop ups seem to say all files cannot be deleted
    3. Download the software and choose Save as, save to desktop > PS_AIO_07_B110_USW_Full_Win_WW_140_408 - 5.exe
    4. After downloading software and extracts, reopen the temp folder, use the instructions in step 1.
    5. Locate and open the folder starting with 7z (example: 7zS2356)
    6. Open the Util folder
    7. The CCC folder
    8. If you have a computer HP run the L3uninstall.exe. If you have acomputer no HP , run the L4uninstall.exe
    9. Once the uninstall is complete, reboot the computer
    10. Follow these steps to reset the registry settings and options for Windows Installer.
    • Hold down the key of the Windows Logo on the keyboard and the 'R' to open the dialog box run
    • In the Open box, type msiexec / unregister, and then click OK.
    • Hold down the key of the Windows Logo on the keyboard and the 'R' to open the dialog box run
    • In the Open box, type msiexec/regserver, and then click OK

    * Note: there is a space between the c and the /.

    If you do not at this stage, use this link to perform another way. Restart Windows install

    1. Run the system Accessories\ tool disk cleanup <> How to delete files using disk cleanup
    2. Download and install the latest version of Adobe flash player http://www.adobe.com/support/flashplayer/downloads.html
    3. Restart the computer
    4. Download and run the HP printer install wizard for Windows

    The HP printer for window installation wizard was created to help Windows 7, Windows 8, and users Windows 8.1 download and install the latest and most appropriate HP software solution for their HP printer.

    If you cannot complete any of these steps, please stop and after back to let me know where got stuck you. Skip a step and continue to the next step won't do what it takes. If you get stuck, I'll help you through it.

    I look forward to hearing back from you with the results of your efforts. Thank you.

  • HP Officejet Pro L7700 Series: HP CUE scanning flow component does not work HP C8192A

    After being able to scan with my HP Officejet Pro L7700 Series a few years, I suddenly surprised by the message "HP CUE-scanning flow component does not respond," it is impossible for me to analyze using my WiFi connection. Scanning to a USB is the only remaining option. I used HP Print and Scan doctor, but that was of no use.

    What can I do else?

    Hi @Andries49

    Andries49 wrote:

    Dear Sunshyn2005,

    Thank you for your response. It did not solve my problem, however, as I can't find the 'hpqscnvw"- file. The only file (exec) that 'sc' in its name was "hpiscnapp", but a double click that does not start the digitization program.

    When you reply to a message on the HP Forums, please check that you use the button on the web page just below the message you are replying to.

    Please follow the following steps to perform an uninstall of compression and a new facility;

    1. Hold down the Windows Logo key () on the keyboard and the 'R' to open the dialog box run, type %temp%
    2. Delete all files and folders in the temp folder. Choose Skip if all pop ups seem to say all files cannot be deleted
    3. Download the software and choose Save as, save to desktop > OJProL7X00_Full_14.exe
    4. After downloading software and extracts, reopen the temp folder, use the instructions in step 1.
    5. Locate and open the folder starting with 7z (example: 7zS2356)
    6. Open the folder Util
    7. The CCC folder
    8. If you have a computer HP run the L3uninstall.exe. If you have annon HP computer run the L4uninstall.exe
    9. Once the uninstall is complete, reboot the computer
    10. Follow these steps to reset the registry settings and options for Windows Installer.
  • Failure to Win 7 Pro 64 Upgrade (update problems) "because the system is newer than the bersion of installation disk"

    In despair because of the constant failure of Windows updates, I resolved to follow the suggestion of Microsoft with an 'install-> Upgrade' from my original installation disk.

    After a short so that I get a message that it is not possible because my version is newer than the one on the CD.

    Issues related to the:

    1. Why Microsoft finally proposes an update (patch) procedure that works correctly?
    2. Why Microsoft suggests a repair procedure (the upgrade of the installation disk) that does not work?
    3. Is there a way to force the upgrade procedure to do its job properly?
    4. Win 10 will have the same function of shit update?

    I am running MS Windows 7 pro/64 SP1

    Thanks for any helpful info

    Ed

    Hello

    It would seem that your original DVD came without Service Pack 1.

    Over time, you installed SP1 that makes the operating system newer than the one on the DVD.

    Uninstall SP1 > do the installation of upgrade repair > reinstall SP1.

    See you soon.

  • Installation of software on another drive than C:\. Who is responsible?

    I use Windows for 20 years now I have windows 7. This is the Frist time I saw it. Basically, you download the software. In this case Wizard101. As long as I have the installers program because they always ask who drive you want to install on. This program automatically installs on C:\. When I email KingsIsle Entertainment, who did Wizard101.  When I ask them about why I can't install on another hard drive.

    Here is the Message of Kingslsle entertainment sent me.

    If you have Windows 7 or Vista, due to the restrictions of the operating system, you will not be able to install Wizard101 to another drive. With otherWindows XP, you can choose where to settle by clicking the Customize button install at the bottom of the first page of the installer. If you have any questions about this, let me know.

    When you look at wizard101 custormer Support faq is what he says.

    Topic name Can I install Wizard101 on another drive?

    Question I want to download Wizard101 somewhere other than Program Files on my C drive.  Can I do this?

    Response If you are a user of Windows XP should not be a problem.  Once you open the installation program will ask you with an option to change the folder Desitantion.  To do this, simply press on browse and then select the folder that you want to install Wizard101 to.

    If you are a Windows Vista user, you are not able to change where Wizard101 is installed on your machine.  Vista will by default use the game to download on your C drive.

    Now, I ask a Local technician on the same issue.  Told me that. "Where the software installs is determined by the installer, and how it works is determined by the person or persons who wrote it." Has given suggestions on how to change the registry database and others and if this dose does not recommend He you take this issue with software programmers.  Who is KingsIsle Entertainment.

    It would not be a major problem if I just have a Normal hard drive.  But as many new users of the computer, they SSDS for the boot disks and they don't have a lot of space because of the cost of the SSD.  Windows and a few other programs, as well as my secondary hard drive is where ranger games programs and software.  I don't want no stupid answers.  As well you can remove the SSD of some programs.  Who dose not an answer to my question.

    Here's my Question.  Who is responsible for this problem?  Entertainment Microsoft or Kingslsle and who do I go to fix this and please if I can I hope to have a Tech Mircrosoft meet this.  If I can get the truth of the facts.

    Hello Sithchean,

    It is the manufacturer of the software whether if they offer a command prompt to change the default location where to put their software.

    However, you can make a change in the registry which will allow the programs to install on another drive.

    Go to start button, in the start search box type regedit. Click OK.

    NOTE: Change the settings of the REGISTRY can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the REGISTRY settings configuration can be solved. Changes to these settings are at your own risk.

    [Highlight: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion] there is a string named ProgramFilesDir, by default the C:\ProgramFiles value. You can change the value of D:\ProgramFiles, and now any installed program will go to the new location of D:\ProgramFiles.

    If please reply back and let us know if this helps with your question.

    Sincerely,

  • Series HP Photosmart Wireless e-All-in-One B110. I can't install the driver and software

    Hello

    I formatted my computer and reinstall windows 7 64 bit, I reinstalled many software (windows office and so on...), but I can't not reinstalled driver software for my printer Hp Photosmart Wireless e-All-in-One B110 series. When I insert the original cd of HP at the start of the installation but after 1 minute is displayed error

    I downloaded the dirver software from HP Web site, I tried to install it, but pops up the same error

    What can I do?

    Thank you

    Hi banzafa,

    I see that you get a runtime error when trying to install your software, and you have recently reinstalled WIndows 7 64 on your PC. Please follow the steps below and let me know the result;

    1. Hold down the Windows Logo key () on the keyboard and the 'R' to open the dialog box run, type %temp%
    2. Delete all files and folders in the temp folder. Choose Skip if all pop ups seem to say all files cannot be deleted
    3. Download the software and choose Save as, save to desktop > PS_AIO_07_B110_USW_Full_Win_enu_140_126.exe
    4. After downloading software and extracts, reopen the temp folder, use the instructions in step 1.
    5. Locate and open the folder starting with 7z (example: 7zS2356)
    6. Open the folder Util
    7. The CCC folder
    8. If you have a computer HP run the L3uninstall.exe. If you have an non HP computer run the L4uninstall.exe
    9. Once the uninstall is complete, reboot the computer
    10. Follow these steps to reset the registry settings and options for Windows Installer.
  • Installation on a virtual machine than aleady 11.1.2 has 11.1.2.1

    11.1.2 install on a virtual machine that already has 11.1.2.1 upwards and go


    and if so, what are the pro and cons involved

    the rationale behind is that I try to MY Production environment in mirror


    Please notify

    Published by: 876432 on August 12, 2011 10:21

    It would be much less painful if you have two virtual machines.
    You will more than likely get in trouble because of environment variables and registry keys if you try to run it on a machine, well that's if this is a windows operating system.

    See you soon
    John
    http://John-Goodwin.blogspot.com/

  • Can I change the default settings for the latency time Serial Windows with LabVIEW

    I have a wireless data collection device that my business is that I am using for the test one of our other wireless products. The device sends data series to a PC via a USB port. I wrote an automated LabVIEW program to test all the functions of my new product. However, after firing in the data, I realized that the serial data coming very fast and requires me to change latency of Windows by default for the port COM 16ms 2ms Miss not nothing. It's pretty easy for me to do locally on my machine, but much more difficult for me to spec for an off-site CM.

    Is it possible to have my LabVIEW program change the latency time of the COM Windows port of 16 ms to 2 ms automatically?

    Are you talking about the FTDI driver? I know that they allow these changes through registry settings. Thus the approach would probably be to have a small registry script that updates the parameter of function. Most likely, this will have to be run with elevated privileges, as these parameters resident generally in the HKLM or HKCR rather than the HKCU one hive.

  • Reference of a loop

    Hello

    The question is perhaps silly, but I can't make the time to get what I want.

    Here it is: "how to measure the time of a Microsoft iteration loop in one?

    I can do that with a sequence structure by placing counters of impulses before and after an iteration, but the problem is that this kind of media gives a result in Ms. How if you go faster?

    I think that each iteration of my loop to a period of execution of the order of microseconds.

    There's a you it a solution pour measure iterate precisely? DOI-I for example measuring my time over 1000 iterations and make a series of promotion beast by division (I can't find this very elegant if it's the only solution :/)

    Thanks in advance.

    Hello Cyco,

    First of all thank you for having posted the Forum of National Instruments.

    There is a meter more accurate than the classic counter which is called 'high resolution Relative Seconds.vi'in LabVIEW. It is not present on the basic palette, but is located in the folder C:\Program NIUninstaller Instruments\LabVIEW 2010\vi.lib\Utility\

    You will find here a link to a forum full of tips on LabVIEW. The first posts talk about this vi, extracted in support.

    Sincerely,

  • HP Photosmart PSC 2410xi: installing printing HP PSC 2410xi Photosmart IP router works, but not the function of scan

    I just install my HP PSC 2410xi Photosmart all-in-one for IP printing via my new usaing Asus RT - 16 Wireless Router the router USB 2 connections, and it prints perfectly for my custom pc company installation Windows 7 64 ultimate.

    But I can't get either Windows "Fax and Scan", "Digitization management", or my image of 3rd party software to recognize the flat bed scanner with this installation, because there seems to be no separate "Device" option that can be selected for the parameter of the intellectual property of scanning, only for the "HP psc 2400 series", than Windows easily reconizes for direct installation of USB device , "offline".

    Also, if I try to select the option of "HP psc 2400 series" IP for scanning with my 3rd party software, and any choice of Twain and WIA driver is grayed out, so it can not create the profile in order to USE the scan function. And try to create a port separate Windows for the scanner function only, using the same IP address, only you will get an IP conflict problem, not creating a separate port works, anyway.

    Is there a way to get the dumpster to function to work through my router IP to analysis, or will I have to change my USB cable from the router to my pc using the offline option USB hub, whenever I need to analyze something?

    I must point out, that I still have to use the popular tomato, DD - Wrt, or Firmware of Merlin for extras, as a newbie, I just use the official Asus Firmware (last updated), for now.  Thank you.

    Hey @technosey,

    Welcome to the HP forums!

    I see that you are having problems with your PSC 2410xi scanning on your Windows PC. I can help with that.

    First of all, I see that you have the printer plugged into a USB port on your router. Which can cause a lot of problems and it would be better to plug directly into your PC. Once done you will add a printer via a local connection, rather than via a network connection.

    Then, using this printer on Windows 7 Enterprise is going to be difficult because there is no driver available for this operating system. I found a document but that can help you troubleshoot. Install your printer using the Windows built-in driver

    If this information helped you to scan then please let others know by clicking on accept as a Solution.

    I hope this helps and I hope you have a great rest of your day!

  • Export the registry to a text file

    Hello community

    We have created different variables in registry for various rules, for example, we have our own rule of "Ability to fileblah system" which refers to our own registry '_FileSystemCapcacityWarningblah'variable and it contains "custom" for different drives settings, for example, rather than using the default of 90%, drive C:\ fred.company.com has a value of 95% and D:\ has a value of 97% and so on.

    A customer suspects that he will need this custom information to a compliance report so that he can prove that we monitor X-system but Y-system from 90% to 95% etc.

    I found different ways to export the whole registry as an XML file so that it can be imported into another FMS, but not what I'm looking for.

    Is it possible that I can export a variable (or group of variables) in a text or CSV file?  I know that you can export the table of registry values, i.e. my customizations, by clicking on the box at the top of angle (first photo), but it does not show the name of registry variable nor any of the default settings, the customization procedure (second photo):

    In addition, it would be tedious to do each set individually and then explain what each is for

    Is there an easy way to export complete registry settings to a text/CSV file for some variables?  Ideally, for any variable registry that begins with "Blah_".  In this way, we can give our customer a file containing the following information:

    • Name of registry variable
    • Description
    • Global default
    • Type of topology (perhaps not necessary, but can be useful to have)
    • Topology object name
    • Value

    Thank you

    Brian

    Hello

    dumping the whole registry creates something... rather difficult to analyze. If you only for your controlled series of gloom, do not schedule performance (values according to the window) so this should be a good start:

    prefix = "blah"result = ""
    
    rs = server.RegistryService
    
    rs.getAllRegistryVariables().each() { var ->
    
      if (var.getName().startsWith(prefix)) {    global = var.getGlobalDefault()?.getDefaultValue()    if (!global ) global = ""    result += var.getName() + "(" + var.getComment() + ")" + "\n"    result += " + global default = " + global  + "\n"
    
        var.getRegistryValues().each() { val ->      if (val instanceof com.quest.nitro.service.sl.interfaces.registry.TopologyObjectRegistryValueInterface) {        result += " + " + val.getDisplayableName() + "(" + val.getTopologyType() + ")" + " = " + val.getDefaultValue() + "\n"      }    }  }
    
    }
    
    result
    

    It runs in the editor script or through fglcmd, export what you are looking for I think. See also your info api SL of the local server.

    Hope that helps
    Nils

Maybe you are looking for