AT-MIO16-E interrupts on Dos 6.22

 Trying to generate an interrupt on the AT-MIO16-E pnp card by using counter G0.
 I'm able to program the base address and read port address for the card. I call a InitTimer function
 to setup the G0 counter and associated interrupt control logical (Inttst.c). By running the code I can see that
an interrupt is being generated because the Interrupt_A_St bit goes high. However, my interrupt handler
is not being called.
PNP_util.c contains code to initialize the AT-MIO16-E board and IntTst.c is the demo program to
setup the timer and interrupt control logic. I trying to use IRQ5 in the demo code. I setup the pnp by
calling Setup_PNP_Board( 0x240, //board address
                                            0x273, //read port address
                                             5 ) ; //irq
Any help would be apprieated
Thanks
Roland
Attachments:
PNP_UTIL.C ‏6 KB
INTTST.C ‏11 KB

Hi,
Question 1) Why in the world would the TechNet version of MS-DOS be an UPGRADE version??? That makes absolutely no sense at all. Is a "non-upgrade" DOS 6.22 installer available?
>> First of all, MS-DOS is out of life. For the further research on MS-DOS upgrade version, I recommend that you Contact a representative so that you can get the most qualified pool of respondents. Thanks for your understanding.
Contact a Representative to Order by Phone
http://technet.microsoft.com/en-us/subscriptions/bb856399.aspx
Question 2) I read that Hyper-V doesn't support MS-DOS. Is this just because there are no integration services for it? I really don't need them for this test.
>> As I mentioned, MS-DOS is too old, it doesn’t make sense to support it on Hyper-V.
Virtualization with Hyper-V: Supported Guest Operating Systems
http://www.microsoft.com/windowsserver2008/en/us/hyperv-supported-guest-os.aspx
Best Regards,
Vincent Hu

Similar Messages

  • OWB10gR2 Repository Browser hangs on report call

    Hi,
    after weeks of normal work with OWB Repository Browser, it started recently to hang up in the moment when an "Execution Job Report" (in column "Related Information") is called. No difference if error, mapping or workflow process report. We don't know which change in the system may have triggered this. Problem seems not to be in the database (no change in session after clicking the link is noticed). The OC4J windows gives no further log info and I can't find any log file in the J2EE directory. When trying to shut down the OC4J session regularly it brings:
    06/09/15 11:41:43 Shutting down...
    06/09/15 11:41:45 Thread named: Thread[HttpRequestHandler-3945515,1,ApplicationServerThreadGroup] cannot be interrupted
    06/09/15 11:41:45 Thread named: Thread[HttpRequestHandler-30624226,1,ApplicationServerThreadGroup] cannot be interrupted
    The DOS box has to be closed the brutal way which recovers after restarting.
    some ideas around
    regards
    Thomas

    indeed, it is likely that the report was simply hanging in SQL execution. did you check that before you purged? What can occur is that the statistics for the RT schema get out of whack if the schema is not analyzed. AFter months and months of operations, the execution plan for these reports is no longer valid and ... then you hang for a long time :)
    analyze stats. and on slower systems, truncate audit data every now and then. and make sure you aren't running all your mappings in FULL audit mode.
    My two cents.
    Borkur

  • I cannot get innterrupts from an NI6711 analog output board

    Hi everybody,
    I am using a NI6711 AO board and a NI 6052 MIO board with VxWorks and DDK.
    I tried Aoex5.cpp and used IRQ pin 0 and  kInterrupt_Output_PolarityActive_Low as
    described in the PCI E Series Register level manual since this board
    has also a mite chip.
    The number of updates is larger than the FIFO size, so that an FIFO interrupt has to be asserted. The settings work fine with an E Series board (NI 6052) but I cannot get any
    interrupts on a NI6711 board.
    From some posts to the forum I assume that some people got IRQs from a 6711 or similar 6733 board.  How did you get them?
    Is there a HW problem with the NI6711? It  works fine on a Windows computer and LabView examples.  I suppose the Labview driver uses DMA instead of board interrupts. Dose the Labview test really tell me something about the IRQs?
    Can anybody help? Thanks
    Heike

    Hi Heike,
    I hope this will help you.
    I send you two screenshot - one of LabView and one of the DAQmx C Reference help to see the function for cpp.
    You can find the "DAQmx C Reference help" on your system:
    Start->Programme->National Instruments->NI-DAQ
    Regards
    Dippi
    Attachments:
    IRQ_LV.jpg ‏6 KB
    NI-DAQmx C Reference Help.jpg ‏150 KB

  • How to run stored procedure in DOS command line????

    Hi,
    I want to run a stored procedure in DOS command line?
    (My_Stored_Procedure is the stored procedure that I want to run )
    This is what I did in DOS prompt
    C:\>sqlplus scott/tiger exec lMy_Stored_Procedure <Return>
    Obviously it is NOT working. Please send me the correct way to fix this.
    Thanks so much in advance for helping.
    Cuong

    Billy  Verreynne  wrote:
    BluShadow wrote:
    True Billy, but even Windows hasn't completely got away from using the "DOS" word...Yeah - the command line/shell environment is based on that of the old DOS command interpreter. But Microsoft does not make the mistake of call it DOS.
    In fact, with earlier versions of Windows NT, a 16bit DOS real-mode virtual machine was supported. This was very kewl.
    Running a large BBS with multiple nodes back then required a DOS machine per node, an IPX network, and a Novell file server.Novell Netwars. ;)
    Ahhhh! good old DOS... so many good programs written at that low level, outside the Windoze environment.Yeah.. cut my teeth on writing code for DOS. Still have all my old BIOS and assembler manuals for it. Wrote my own screen s/w (write to a buffer and then move it into the video buffer, instead of writing char wise to the video buffer via interrupts), mucking about with my own concurrent threading model (using very simplistic cooperative multitasking) and so on. Heck, wrote tons of s/w on DOS... :-)Yeah I've still got a copy of my old machine code programs for writing to buffers and screen memory switching for smooth animation. Run them nowadays and they run like sh!t off a shovel. And all my old coursework including writing an interpreted language and multi-window (dos based windows) editor, parser and the code to execute the language and display the output. Oooo, and so much other stuff.
    Awesome back then as you got really intimate with the o/s and hardware. This is sorely lacking today in environments like Java. And I think the reason why so much code written today is less than optimal - to put it kindly.Exactly. Started for me on the Sinclair zx81 (writing Basic), then the Sinclair Spectrum (Basic and Assembly), then Sinclair QL (yes I really had one!) and then the BBC Master 128K (where I got to writing my own rom filing system and creating my own eproms, to integrate with the word processor for additional printing features etc. as well as storing games on rom for speedy loading - and I still have it and it still works!)
    It's that level of working with the underlying memory and assembly language that gives you the understanding of how values are passed between code using the stack and registers, and how memory allocation and referencing is done etc. As you say... it's missed in a lot of todays teaching, which just seems too high level and misses the basic concepts of things such as datatypes and why they are different. I bet half the modern programmers wouldn't have a clue how to do multiplication or division of binary numbers using the carry flag.

  • How can i make the results of dos command print to text area in a gui????

    I need to get the results from a command line application to print in a text area located in a gui... i have the following code written, which should run the command... if run from a dos window, the command prints the list of what's in a jar file to the screen.... i want that info that is printed to go in a text area which i have named textBox which is global to the program.. i know textBox.appends() is what i should use but how do i retrieve the info from the dos window to put in the appends method?
    The code is below for the method..
    Thanks,
    DH
         /*     Runs the DOS Command for listing a JAR File     */
         public void jarList ( ) // Needs To Be Fixed!!
              listFieldText = listField.getText();
              String command;      
              command = "jar tf " + listFieldText;
              System.out.println(command);
              Runtime rt = Runtime.getRuntime();
              try
                   Process child = rt.exec(command);
                   child.waitFor();
                   System.out.println("Process exit code is: " + child.exitValue());
              catch(IOException e)
                   System.err.println("IOException starting process!");
              catch(InterruptedException e)
                   System.err.println("Interrupted waiting for process!");
    }

    Replace child.waitFor()with:          BufferedReader br=new BufferedReader(new InputStreamReader(child.getInputStream()));
              String s="";
                    while((s=br.readLine())!=null) {
                        textbox.append(s);
                    }Mark

  • Running DOS program from java

    Hi all,
    I'm trying to execute a dos program using:
    runtime.exec("dos_prog.exe")
    THE PROBLEM : in this way I can run only
    WINDOWS programs and NOT DOS progs.
    What to do ???

    Hi all!
    I'm tring to run a file.bat that execute an exp from locale Oracle server. But when I run it, in dos consol it appaire just only the EXP USER/PASS ....., and don't execute never!! Really, the files of .dmp and of .log, they are created, ...but empty!!!! Why???
    ........ source .......
    Runtime rt = Runtime.getRuntime();
    Process rtProcess = rt.exec("cmd.exe /C file.bat");
    // wait for command to terminate
    try      {
         rtProcess.waitFor();
    catch     (InterruptedException ire)
         System.err.println("Thread interrupted " + ire.getMessage());
    // check its exit value
    if (rtProcess.exitValue() != 0)
    System.err.println("exit value was non-zero");
    // close stream
    bReader.close();
    ........ file.bat .......
    @echo off
    EXP USER/PSW FILE=EXPFILE.DMP LOG=FILELOG.LOG OWNER=MYOWNER
    If you want, you car reply me directly at [email protected] - Thanks very much!!!

  • DESKTOP SOFTWARE DOWNLOAD ALWAYS GETTING INTERRUPTE​D

    Hello,
    I just acquired a Blackberry Torch 9860 and have been trying to download the desktop software to no avail.
    The download is always getting interupted with the following message "710_b042_multilanguage.exe download was interrupted. This program is not commonly downloaded and could harm your computer" When I click Resume a SmartSreen Filter Internet Explorer window opens with the message that "this program might harm your computer." When I press Run Anyway another window called 16 Bit MS-DOS Subsystem opens with a message that "The NTVDM CPU has encountered an illegal instruction.....chose to terminate the application.
    Please, help.

    Hi and Welcome to the Community!
    It sounds like you have a computer problem, not a BB problem. Maybe you have some virus protection on your computer blocking this? Maybe something else? It's a basic function...downloading files to your computer. Something on your computer is blocking this from happening, but digging into that needs a computer expert, not a BB expert.
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Can i use 6025E card on Dos using Turbo C?

    I need to include 6025E card with running program based on turbo C.(Most of the code reletaed to interrupt coming from 4 ports).Can i use NI-DAQ with turbo C"?

    Ezi,
    You cannot use the 6025E in DOS, because the latest version of nidaq that support DOS is 4.8, and the first version of nidaq that supports the board is 6.5. Thus, they don't match at all. You have to use windows OS, with a C compiler for that environment.
    Hope this information is helpful.
    L Aguila
    Applications Engineer
    National Instruments

  • Keyboard Interrupt and NI-DAQ

    Hi! I have this problem when using an AT-MIO-16E-10:
    I made a program in Borland C++ 3.1 that does the following:
    -reads in pretriggered mode from an A/D channel (with DAQ_Start);
    -when the conversion is done a message is sent to my aplication (Config_DAQ_Event_Message);
    - when the message is received by the callback function I do computations with the voltage that was acquired with the DAQ_Start in previous step and the result is sent to a D/A channel (I control a process, and the computations is a numeric PID algorithm).
    - all this steps are executed for all datas that DAQ_Start sends to the buffer data. Pretriggered mode is enable and at the end of the main program I have an infinite loop that looks like this:
    while(not ESC);
    -so the A/D conversions,computations and the D/A conversions are done infinity until ESC is pressed.
    The problem is that to notice my application when ESC is pressed I took the keyboard interrupt vector that treats the ESC message. Also in my program I have to change the reference of the process I control; the reference is change also by my keyboard interrupt procedure (if I press '1.0' the reference of the process is a voltage of 1.0V)
    Now I get this error when executing the program:
    -the A/D conversions are not done correctly (in tests I had values in my buffer even greater 4096, voltages greater then 10V, also a zero is inserted at the even adresses of the buffer - buffer[0], buffer[2], buffer[4]etc. are zero )
    -if I don't install the interrupt in the main program and the code of the new keyboard interrupt (declared : void far interrupt my09(void); ) is still in the program (but never used,I don't take the vector interrupt) the result is the same as above.
    -when I don't use the keyboard interrupt in my application I I don't put the code of the my keyboard interrupt procedure(the reference is equal with 1.0V in the main program, and I don't change it in any way) the program runs fine and no problem occurs.
    Can you please tell what is the solution of this problem? Why can't I have the code of an interrupt procedure in my program?
    All the functions that I use in my program are tested and correct implemented. In all other programs that I made, my keyboard interrupt procedure runs without errors and the results are correct. Also this application runs fine if a don't put the code of the keyboard interrupt procedure in it.

    Hi again!
    Actually I used the "while(1)" loop without using the keyboard interrupt in my application and it worked fine. What I'm confuse about is that even if I don't use the interrupt procedure in the main function and the code of the interrupt is still in my source code, but never used, just code that is never called, because I don't install it, the program gives me the same results as I've explained in the first post, with zeros inserted in the buffer, and voltages greater then 10V.
    The timing is not the problem, I can say that for sure, because I've made a tricky one: I installed the keyboard interrupt in another program, that is a TSR. This TSR is activated by the keyboard and it sends all the data I need (in my case: the reference, the ESC fla
    g and the CR flag, that memorize if these are pressed) to my NI-DAQ application (I've implemented some code of inter-process comunication). In this case the results are completely the expected one. And this is just because I don't have an interrupt procedure in the same program with NI-DAQ functions.
    Neither the interrupt procedure is not the problem, because it's the same in the TSR, and it works fine.
    Yet, another program I've done used the timer interrupt, and basically it does the same thing. At every two int 0x08 calls (a sample interval of 110ms) I do this (in the my0x08 procedure):
    - AI_VRead...
    - do the numeric PI algorithm to the data.
    - AO_VWrite...
    The result was still the same.
    I'm using Borland C++ 3.1 for DOS. Now I'm asking if the problem is not from the compiler. Maybe the segment model I use (although I've tried all of them)or how the compiler is generating the code declared with the prototype:
    void far interrupt my_0x09(void);

  • Interaction with MS DOS-program

    I try to interact with a MS DOS-program.
    I try something like this:
    // start command running
    startCmd = "start command";
    Process proc = Runtime.getRuntime().exec(startCmd);
    istr = proc.getInputStream();
    BufferedReader br = new BufferedReader(new InputStreamReader(istr));           
    printCmdLine(br);
    out = proc.getOutputStream();
    writer = new BufferedWriter(new OutputStreamWriter(out));
    writer.write("second command");
    writer.newLine();
    writer.flush();
    printCmdLine(br);
    writer.write("third command");
    writer.newLine();
    writer.flush();                     
    printCmdLine(br);
    // wait for command to terminate
    try {
         proc.waitFor();
    catch (InterruptedException e) {
         System.err.println("process was interrupted");
    // check its exit value
    if (proc.exitValue() != 0)
         System.err.println("exit value was non-zero");
    The problem is that I can't read from the InputStream:
    private static void printCmdLine(BufferedReader br) throws IOException {
         ArrayList list = new ArrayList();
         String outlist[];
         String str = br.readLine();
    The program can't read. The DOS prompt waits for an input from the keyboard and nothing more happens. If I don't try to read from the InputStream, the program hangs when it comes to proc.waitFor(); - The DOS prompt waits for an input from the keyboard. I can't achieve this by using a batch file either. Anyone knows how to do this?

    1. Buffered reader/writer might not be so good an idea; use the constructor with boolean flush.
    2. It might be, that you need to read from the MSDOS program's STDERR, the "error" InputStream. This can be tested in MSDOS by appending to the command-line (NT/2000) greater-than-out.txt and 2-greater-than-err.txt.

  • Accessing the Control/FIFO registers of NI 8422 in DOS

    Using the drivers niboot.exe and ni-pnp.exe driver files we are able to access the COM 1-4 ports on the card as these files create mapping of the COM ports and provides the equivalent base address however the base address of the Control Register, Transmitter/Reciever FIFO register are not specified which is necessary to monitor in order to transmitt/recieve data using the DOS and the code in C.
    The solution to look for is either look for the memory/base address of the 8422 card or the function in C language which can access the Control Register, Transmitter/Reciever FIFO register of the card.
    Also attacthed an document file for reference.
    Thanks
    bye
    naru
    Attachments:
    NIserial .doc ‏37 KB

    Naru,
    The base address of the COM port is necessary in order to determine the I/O address of the registers on the 16550 based UART. For example, the address of the Line Control Register for COM port 1 is calculated by adding the Base Address of COM port 1 + Offset 3. The following is a table that gives the offset of each register. You can obtain more information by downloading the datasheet of the UART used by the 8422 at www.exar.com (16C654).
    Register Offset
    RX Buffer 0
    TX Buffer 0
    Interrupt Enable 2
    FIFO Control Register 2
    Line Control Register 3
    Modem Control Register 4
    Line Status Register 5
    Modem Status Register 6
    Scratch Register 7

  • Waiting a Dos Command?

    Hi;
    In one of our projects, we have to call a dos command in java. That seems ok however there is a problem about code. It gives an exception because the remaning program goes without waiting the dos command's completion.
    Runtime r = Runtime.getRuntime();
    r.exec("cmd /C sort 1.txt /O 2.txt");Above code, makes a sort in 1.txt and saves it to 2.txt.. My code goes without waiting the 2.txt to be created and gives an exception like couldn't found 2.txt . Thanks for any help, i hope i could explained clearly what i wanted to ask..

    Yea you're right thanks for answer. But yesterday Petter a.k.a wildfrog from Codeguru forums posted this solutions. Anyway i'm putting it here if someone needs it.
    To wait until the 'child process' has completed, you can do something like this:
    Runtime r = Runtime.getRuntime();
    Process p = r.exec("cmd /C sort 1.txt /O 2.txt");
    // wait for it to complete
    try
        p.waitFor();
    } catch (InterruptedException e)
        // wait was interrupted
    }- petter

  • Repairing AME - dos command info required

    dos command info required
    Repairing AME which got damaged in CS3 after installing CS4
    "Failed to initialise error".
    Repair advice was to run (from the Command Prompt) the following. WMEncodingHelper.exe/regserver
    It is found in C:\Program Files\Adobe\Adobe Premiere CS3\
    I can get to the directory line and see the .exe file but I do not remember how to run it !
    Help please.

    >I kind of like an indicator that acknowledges something is happening.
    Agreed! Much as I love Firefox, I hate it's lack of a splash screen. Every single program on the planet that has a GUI should have as it's very first action when started to show a small splash screen, just so the user knows the command to start has been accepted. This action should be set to High Priority, interrupting all other actions such as virus scans, other programs closing, downloads, file copies, etc. Once the Splash loads, the rest of the start-up process can return to Normal priority and load in it's proper OS managed sequence.
    I can't tell you how many times I've accidentally ended up with three or four browser windows open because there's no indication that anything is happening.

  • How to change soundblaster PCI64 IRQ for DOS - win98

    Running Windows98se, recently added wireless Zonet adapter for internet capabilities. MSDOS games (DOS/4GW) requires sound card IRQ 7 or lower. My IRQ's are as below. Note: I have no manual for the creative Labs Soundblaster PCI 64 card(IRQ 0) or, Ensoniq Audio legacy Device. Tried device manager and sysedit changes without success. DOS games video is OK but no sound, nor will the in-game sound card configuraton work. How do I change its IRQ to 7 or below? I have no printer on the computer.
    0 System timer
    Standard 0/02-Key or Microsoft Natural Keyboard
    2 Programmable interrupt controller
    3 Telepath 56K Voice Faxmodem PNP
    4 Communications Port (COM)
    5 802.g/b Wireless LAN Client Adapter
    5 IRQ Holder for PCI Steering
    6 Standard Floppy Disk Controller
    7 Printer Port (LPT)
    8 System CMOS/real time clock
    9 Matrox Millennium G450 DualHead
    9 IRQ Holder for PCI Steering
    0 Creative Labs Sound Blaster PCI64
    0 IRQ Holder for PCI Steering
    Intel 8237AB/EB PCI to USB Uni'versal Host Controller
    IRQ Holder for PCI Steering
    2 PS/2 Compatible Mouse Port
    3 Numeric data processor
    4 Primary IDE controller (dual fifo)
    4 Intel 8237AB/EB PCI Bus Master IDE Controller
    5 Secondary IDE controller (dual fifo)
    5 Intel 8237AB/EB PCI Bus Master IDE Controller

    Try another PCI Slot, or set IRQ 0 as RESERVED in BIOS Plug&Play configuration. Make shure you installed the dos-drivers correctly. Set the soundblaster variable correctly. And dont expect a PCI card will work with your dos-games. You will need an ISA card for 00% compatibility because: It doesnt need drivers, Dosgames will have its own, and: the card is directly accessable.

  • DOS driver for XA52P (SATA DVD drive)

    Hi,
    Is it possible to get this drive to work with MSCDEX in DOS?
    Which port address and interrupt does SATA use?
    -Leif

    Hi Geographygeek,
    Welcome to the HP Support Forums, I hope you enjoy your experience! To help you get the most out of the HP Forums I would like to direct your attention to the HP Forums Guide First Time Here? Learn How to Post and More.
    I saw your post regarding the problem finding the driver for you DVD drive. If you can provide your product number for your Compaq Presario I will see what I can find for you.
    Thank you,
    Please click “Accept as Solution ” if you feel my post solved your issue.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Thank you,
    BHK6
    I work on behalf of HP

Maybe you are looking for

  • How to get the last inserted record from a table ?

    :-) Hiee E'body I work on Oracle 8i and need to get the last record inserted in a table. I have tried using rownum and rowid pseudo-columns but that doesn't work. Can you please help me out ? :-) Have a nice time Vivek Kapoor. IT, Atul Ltd., India.

  • Error message in middle of sync

    I keep getting error messages"ipod cannot be synced. The disk could not read from or written to" and "attempting to cop to the disk ipod failed. The device is not connected. I have a new touch 16G, using windows xp. Need help!

  • Missing webapps folder in UCCX

    Hi All, Webapps folder is missing in this path C:\ProgramFiles\wfavvid\tomcat_appadmin\ and I am not able to login to the appadmin webpage. Please suggest what needs to be done. UCCX version is 7 Thanks Bhavna

  • Refreshing icons to right of region title

    Hi, I have a number of icons to the right of my region title. These may well be for adding a new record, deleting all records etc. The deleting all records icon is only shown if there are actually records shown in the report region, i.e. there are re

  • Objects for Planning User in BI7

    Hi All, Can any body please advise, what all objects are required in a Role for a Planning User. Also, what mandatory things to be maintained in RSECADMIN..! Thanks a lot. Venkat