How do I enter the computer registers
I look at using Labview Realtime on a car PC.
The embedded PC's GPIO ports mapped to an address register.
In this case 0 x 0284. First 4 Bits are output, 4 second are entered,
How to read and write fron this fixed the registry.
If I wrote the Code C under MS-DOS, it would be:
Outportb(0x0284,myOutputState_u8);
myInputs_u8 = InportB (0 x 0284);
[Apologies if my C may be a little rusty.
Old forum messages suggest the use of the 'port.vi' and 'port.vi' but I'm not seeing it, or its equivalent in LV 2012.
There are visas Peek and Poke functions that seem to be VXI and PXI specific resource.
LabVIEW help links for:
IO port screw
Have the Palette: Functions and connectivity screws
Request: Basic package (Windows). This topic may not match its corresponding palette in LabVIEW depending on your operating system, or the licensed products and the target.
Use the screw e/s Port to read and write to a detail record address.
But is not particularly useful
Any suggestions?
OK, the first and most important:
About your operating system, the functions of Port maybe aren't in a palette. If research them it is not viable.
See the help details in the 'Port' for more specific information:
From Windows Vista (so 7, 8 and future), the function is not in the palette more. Code LV existing with these functions using works on 32-bit Vista/7, but will fail on 64-bit (because of security features of the operating system).
Research of the vi.lib of these functions in 2013 LV, I have not found and it seems that there is not yet any documentation. So I guess that "in Port" and "Out" are now completely removed from LV (from 2013).
Due to this KB, using these functions should be possible to run it on LV RT (ETS based at least). But as this KB is very old, I wouldn't count on it.
Regarding LV RT and a RTOS: LV RT supplies you with a RT OS license (and the installation components) based on ETS, VxWorks or today even a RT Linux according to the target. The kernel is selected by the target for installation.
I don't know if LV RT (OS) supports Atom based desktop computers, you must check if you select and install this system as the target of the RT using MAX. If the target does not appear in MAX, you can create a bootable USB to install RT on target office (Tools > create Desktop PC USB Drive Utility).
hope this helps,
Norbert
Tags: NI Software
Similar Questions
-
How can I clear the shift registers of sub for loop for each iteration of a larger loop?
Hello
I write a program to concatenate multiple text files. However, I need to treat each column individually before they are concatenated. I use one for a loop at normalze 6 columns choice the largest loop of concatenation. However, the shift registers store data from previous iterations of the larger loop. How can I clear the shift registers of the void loop based on the iteration of the larger loop?
Thanks in advance!
OK, that's fine. are there headers?
In all cases, all you need to do is to place all of the 2D array in the shift register of the inner loop, iterate over the columns relevant to be normaized (use 'index array' to get the column it normalize, put it to help to "replace the subset of table".) You probably want to initialize the outer loop shift register. Use then "building the table" added to the beginning or the data of each file sets.
-
I bought a used laptop and the previous ovner couldn't remember his password since it's been more than a year she opened a session. How can I clean the computer and restore it to that only programs that comes with it when buying or facotry settings. It's a HP Pavilion dv4000 with windows xp? I have not all discs.
Go here: http://h10025.www1.hp.com/ewfrf/wc/document?docname=c00006110&tmp_task=useCategory&cc=us&dlc=en&lang=en&lc=en&product=464513 and click on the link that best matches your computer (e.g., Presario, Pavilion and HP Compaq Business PC manufactured and sold in 2006 or later).
Assuming that your computer is 2006 or later, following the links eventually will lead you to the following directions:
Reformatting a hard drive should be considered a last resort to solve a problem with a computer system. The hard drive can be reformatted and reinstalled the operating system, using the system PC Suite hard disk recovery. Reformatting the hard drive will overwrite all data on the disk. To preserve the data, back up the data of the user as; letters, leaves of calculation, graphics and emails to an external storage device before you reformat the disk. If the PC does not work in the Windows operating system, see reformatting since the recovery disks .Do the following to reformat the hard drive and reinstall the operating system.- Connect the PC to the power adapter.
- Close all programs.
- Click Start , click principally made programs , select System Restore and click on the PC recovery .
- When the recovery options are offered, select the option to perform the Recovery of PC and click Next .
- The PC will restart.
- When the recovery of the PC of welcome message, click OK to continue.
- In the system recovery Panel, select System Recovery . By default, the system will perform a complete reformat and will destroy all user data.
- Restart the PC when prompted.
As alternative method for the steps above, click Advanced Options , select the destructive recovery option and click Next to begin the reformatting process.The PC is in original factory State and all data in the system, such as the place and the date must be reconfigured.NOTE: any software "trial offer" has been included in the original factory image, it will be reinstalled, but it won't work (the test period will have expired). If so any trial software is a security antivirus software or others, before connect you to the Internet, you must uninstall (using an uninstall tool provided by the manufacturer if available antivirus software) and then install your own anti-virus software. So, you should download the uninstallers necessary and installers (or buy the software on CD) using another machine before starting this project.
NOTE 2: See the following important tips from MS - MVP PA supporter (once the restore is complete, click Start > run > winver > OK to determine what Service Pack you have):
HOW TO get WinXP SP1 or SP2 fully patched after a 'clean install': http://groups.Google.com/group/Microsoft.public.WindowsXP.General/MSG/a066ae41add7dd2b
1. download & save the installer for WinXP SP3 on your desktop:
http://www.Microsoft.com/downloads/details.aspx?FamilyId=5b33b5a8-5E7...[Yes, you can jump SP2 if you run WinXP SP1.]
2. read & take into account:
http://msmvps.com/blogs/harrywaldron/archive/2008/05/08/Windows-XP-SP...3 connected as long as administrator, if necessary, double-click the saved file to install WinXP SP3. Follow the prompts. Be patient and restart twice when the installation ends.
4. make the resolution method 2 here (believe me):
http://support.Microsoft.com/kb/9431445. go to http://windowsupdate.microsoft.com . Install all required software, and then click CONTINUE. Select CUSTOM and scan | Install the critical updates of security offered. Still, follow all the instructions.
[I do NOT recommend install IE7 through Windows Update.]
6. make sure that automatic updates is enabled; FC.
http://support.Microsoft.com/kb/306525Other references:
Free unlimited installation and compatibility support is available for Windows XP, but only for the Service Pack 3 (SP3), until April 14-09. Chat and e-mail support is available only in the United States and the Canada.
Go to http://support.microsoft.com/oas/default.aspx?gprid=1173 . Select "Windows".
XP"and select"Windows XP Service Pack 3 "5 steps to help protect your new computer before going online
[installation clean = new computer]
http://www.Microsoft.com/protect/computer/advanced/XPPC.mspxMeasures to help prevent spyware
http://www.Microsoft.com/protect/computer/spyware/prevent.mspxHow TO get Windows XP Gold fully patched: http://groups.Google.com/group/Microsoft.public.windowsupdate/MSG/3f5afa8ed33e121c
1. download & save the WinXP SP2 installer on your desktop:
http://www.Microsoft.com/downloads/details.aspx?FamilyID=049c9dbe-3b8...[Yes, you can jump SP1]
1B. download & save the installer for WinXP SP3 on your desktop:
http://www.Microsoft.com/downloads/details.aspx?FamilyId=5b33b5a8-5E7...2. read & take into account:
http://msmvps.com/blogs/harrywaldron/archive/2008/05/08/Windows-XP-SP...3. administrator, if necessary, double-click the saved file to install Windows XP * SP2 *. Follow the prompts. Be patient and restart twice when the installation ends.
3B. logged on as administrator, if necessary, double-click the saved file to install WinXP SP3. Follow the prompts. Be patient and restart twice when the installation ends.
4. make the resolution method 2 here (believe me):
http://support.Microsoft.com/kb/9431445. go to http://windowsupdate.microsoft.com . Install all required software, and then click CONTINUE. Select CUSTOM and scan | Install the critical updates of security offered. Still, follow all the instructions.
[I do NOT recommend install IE7 through Windows Update.]
6. make sure that automatic updates is enabled; FC.
http://support.Microsoft.com/kb/306525References with dubbing:
Free unlimited installation and compatibility support is available for Windows XP, but only for the Service Pack 3 (SP3), until April 14-09. Chat and e-mail support is available only in the United States and the Canada. Reach
http://support.Microsoft.com/OAS/default.aspx?gprid=1173 | Select "Windows".
XP"and select"Windows XP Service Pack 3 "Protect your PC!
http://www.Microsoft.com/athome/security/computer/default.mspxLearn how to protect your PC by taking the three simple steps
http://www.Microsoft.com/downloads/details.aspx?FamilyId=3AD23728-497... -
I put a password for my computer with Windows Vista Home Premium and now I forgot the password and can not even enter the computer now. Is anyway to recover this password or what is the next step to use the computer again?
Hello WillieBouma1,
You can try this to http://www.wikihow.com/Reset-a-Windows-Vista-Password that will help you with your password (typed in) problem easily. Here is one link: http://www.youtube.com/results?search_query=trinity+rescue+kit&search_type=&aq=f for video detail to achieve this, if you have any problems. I used it a dozen times and it really works! Hope this helps you. Let us know anyway. Make it a great day!
"And in the end the love you take, is equal to The Love You Make" (The Beatles last song from their latest album, Abbey Road.)
-
I lost my recovery for windows Vista disk. How can I restore the computer to its original factory State? I can't find how to create recovery discs, I did not have this option in the Recovery Manager
Hello
Here are the different ways to reinstall vista
Contact the computer manufacturer and ask them to send you to vista recovery disks to reinstall the operating system back as it was when you bought it
they do it for a nominal cost of $
also ask them if you have a recovery partition on your hard drive to get back to the way you bought
you would normally press F10 or F11 or Alt + F10, 0 at startup to start the recovery process according to the manufacturer
Ask them of the exact key sequence
or borrow a microsoft dvd vista
Make sure that you borrow the correct 32-bit or 64-bit microsoft dvd to your computer
they contain all versions of vista
This is the product key that determines which version of vista is installed
http://www.theeldergeek.com/Vista/vista_clean_installation.html
Save all data, because it will be lost, do the above
How to replace Microsoft software or hardware, order service packs and replace product manuals
-
How can I make the computer asks for a password before downloading a program?
How can I make the computer asks for a password before downloading a program?
Hello
You can configure the computer to request the password when you install any program using the User Account Control (UAC) on the computer. But you will not be able to make windows to ask password when you try to download and program.
You can check the link next on change control settings of user account for more information.
You can use any program of third-party download manager in which you can set a password when you download any file/program on the computer. You can use your favorite search engine to find any Download Manager for the browser software.
Warning: Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.
-
How many pictures of the computer chip camera
How many pictures of the computer chip camera
So I can insert chip camera in my electronic photo frame.
If you read the manual of the device, it should give you more options, like "thumb drives". Also, the manual should specify the size in pixels, or MB size and explain how to transfer the photos.
In a generic sense, simply file copy photos to the card. Here is a guide.
http://www.rickysays.com/trransfer-photos-from-computer-to-digital-picture-frame
-
How can I make the computer sleep after 5 minutes of inactivity on the logon screen?
Original title: How to sleep in the login screen?
How can I make the computer sleep after 5 minutes of inactivity on the logon screen? Currently, on the login screen, white screen, but the computer is still running. Sleeping would save a lot of energy because the computer is used most of the time.
Hi Phil.Ganchev,Using a laptop or a desktop computer?The reason for this question is, if you have a plugged AC adapter you must set power accordingly as opposed to laptop settings battery operated.I suggest you head over to the power settings and create your own power management.a. power by clicking on the Start button, open the Options click on the Control Panel, clicking system and security, and then clicking Power Options.
(b) according to the plan you want to change, click on change plan settings.
c. on the parameters of change in the plan page, choose "Put the computer to sleep" that you want to use when your computer is running on battery (if applicable) and when it is plugged.(Change in 5 minutes for the batteries and sector)Reference:Power plans: frequently asked questions
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.]
-
I have my printer connected to my router via a usb cable. I also have my (Vista) computer connected to the router by ethernet cable. How can I set the computer to print to my printer via the router?
Usually, you need to install the printing software / drivers on your PC, configured / installed specially for a printer "remote" (its an option in the installation of the printer software)
-
Installed 8gbs of windows 7 on a dell xps700, usable 2gbs RAM. How can I get the computer to see the other 6gbts.
Original title: usable ram
More than 2 GB says:
http://support.Dell.com/support/eDOCS/systems/XPS700/en/SM_en/specs.htm#wp1057323 -
Impossible to enter the computer because of the message
The message failure configuration windows updates coming changes and it want go off, or I can enter the computer fix the problem
There may be several reasons why you get this error. To resolve this problem, check if the options mentioned on the link below works:
https://support.Microsoft.com/en-us/KB/949358Hope this will help you.
-
How can I enter the identification of the customers after I receive?
How can I enter the identification of the customers after I receive? Has been registered a few days ago had to wait many after proving student status.
-
Satellite 2540xcdt: How do I enter the BIOS
Hello
I just bought a computer above and would like to know how to enter the bios before it starts to the BONE.
anyone out there have any ideas?
Thank you very much
F
Hello
Have you tried to use ESC and F1?
-
PC HP ENVY 700 series: How do I enter the BIOS settings
How can I access the BIOS on this computer settings?
Hello
Start typing the ESC key after turning on the PC.
Another option is to enter: change of advanced boot options on the start screen.
You can also check out this other method.
-
How to wake up the computer without password
original title: auto start up
I have a new multimedia player running Windows 7 OEM.
I did the settings so that when I press the power button the unit sleeps.
But I want to put it so that when I press the power again button unit starts windows and all programs running.
Currently, I have to click on my user name on Windows Home screen. I want to end this process.Hello
How many accounts do you have?Method 1: Run the troubleshooter of power
You can run the troubleshooter of power to set your computer's power settings. The resolution of the problems of power check things as settings timeout of your computer, which determines how long the computer waits before turning off the display or enter the mode 'sleep'.
http://Windows.Microsoft.com/en-us/Windows7/open-the-power-Troubleshooter
Method 2:Disable the screen saver if password value.Reference: http://windows.microsoft.com/en-US/windows7/Use-your-Windows-password-for-your-screen-saver-passwordHope the above information is helpful.
Maybe you are looking for
-
Back to the movie on Apple TV 4 results with automatic return to the view of the 'movies '.
Apple TV 4th gen here. When I watch a movie from iTunes, and I out on another screen or app and then go straight to the film by pressing the Home button and select the movie even once, when I press play again, the movie stops and I picked automatical
-
How the program e-mail later in compare with Google GMail, especially in the treatment of spam or are both about the same?
-
Satellite L755 - start with recovery CD stops
Dear all, I order the recovery CD (Win7 Home Premium 64) and the start of disc 1. After the DOS window, windows starts but then stay with a black window. Same effect at boot to the hard drive (I have try all the possibilities of repair). Boot from th
-
Weird Time Machine question after restoration
Hi all First post here so go easy on me I'll try and make this as brief as possible. I've been running an iMac 27 "2010 end (still running Lion 10.7.5, but it is stable so I have not found the need to modernize) and NAS from Synology DS212j with TB 2
-
delete the component without deleting the son
In the schema editor, how can I select a component and delete without deleting all of the wires attached to it? I don't want to use the option menu "replace component" because I want to do something else. I don't know miss me just something simple..