How to fix the error on the packets to the PCI DDK program - 7358

Hello world

I'm trying the RTX driver for motion NI PCI-7358.

I would like to achieve the same function as flex_load_dac(). According to the DDK, I have to manually send the order via the package. The flex_load_dac() format is:

Load CAD
CommandID: 61
Valid resource type: DAC
Vector type: entry
(Send) packet data
Word Count: 1
The data passed to: i16 outputValue

So I write my code like:

//////////////////////////////////

#define CB 0
#define CSR 8

x = *(BaseAddress+CSR);
While (!) (x & 0x01)) {}
printf("%X\n",x);
x = *(BaseAddress+CSR);
} //wait for the RTR
printf ("%X\n",x Heading1);
* BaseAddress + BC = (u16) 0 X 0131; Number of words< 8="" |="" resource="">

x = *(BaseAddress+CSR);
While (!) (x & 0x01)) {}
printf("%X\n",x);
x = *(BaseAddress+CSR);
} //wait for the RTR
printf ("%X\n",x HEAD2);
* BaseAddress + BC = (u16) 61; Command ID

x = *(BaseAddress+CSR);
While (!) (x & 0x01)) {}
printf("%X\n",x);
x = *(BaseAddress+CSR);
} //wait for the RTR
printf ("DATA %X\n",x);
* BaseAddress + BC = (i16) 0 x 1111; write a value to the DAC output

x = *(BaseAddress+CSR);
While (!) (x & 0x01)) {}
printf("%X\n",x);
x = *(BaseAddress+CSR);
} //wait for the RTR
printf ("%X\n",x FOOT);
* BaseAddress + BC = (u16) 0XFF0A; vector = 0XFF
 
The print output is:

HEADING1 1
0
0
0
HEAD2 1
8
10
DATA 11
10
10
10
10
10
10
FOOT 11

It seems that after the command ID is sent to the card, a mistake on packages is completed.

I've read all the related document on motion control card, but none speak the detailed explanation of the error on the packages and how to cope.

Can any body help me with this problem or point out what's not in my package?

It is a very urgent project. I wish I can get help on you!

Thank you in advance!

Rick

Rick,

Attached a few old files are used to create driver linux for the x 733 and 734 x cards.  The control interface is the same for the boards of 735 x.  They are provided AS IS, but I think they'll give you a very useful overview of what you need to do.  For example to remove the error command you send the terminator of value package several times the error is cleared.

Rodger

Tags: NI Hardware

Similar Questions

  • How to fix the error with the code: 0xe7210001 failed to load powrprof, object: cls

    Hello

    Dose anyone know how to fix the error with the code: 0xe7210001, message: unable to load powrprof, object: CLSD-no-it is found;
    OR: Fingerprintsoftware OR error: replicas THotkey.exe message window and the computer freezes

    Maleware scanned and virus, also in safe mode, found no infection, reinstalled driver fingerprint, but nothing has changed.

    grateful for the help!

    Hello

    > message: unable to load powrprof, object: CLSD-no-it is found;
    In my view, this would mean that there is a problem with Toshiba Power Saver
    What laptop Toshiba, you have exactly?

    Maybe reinstall Power Saver could help. You can find it on the official website of Toshiba.

  • How to fix the below errors event-7001

    How to fix the below errors event-7001. Because my PC Win7 OS frozen when start as msg 'Welcome '.
    The computer browser service depends on the Server service which failed to start because of the following error:
    The dependency service or group was able to start. Event ID is 7001.

    Hello

    Try to fix this problem by doing this

    1. Open the Device Manager.
    2. On the view menu, click to select the check box Show hidden devices .
    3. Double-click drivers Non Plug-and-Play.
    4. Double-click NetBIOS over TCP/IP.
    5. In the use of the device box, click use this device (enabled).

    Hope this helps

    James

  • How to fix the error of loading mscoreei.dll files?

    I get a message error "C:\Windows\Microsoft.Net\Framework64\v4.030319\mscoreei.dll could not be loaded."

    Please let me know how to fix this error?

    Hello

    Thanks for posting your question in the Microsoft Community forums.

    I see that you have found an error that c:\Windows\Microsoft.NET\Framework64\v4.030319\mscoreei.dll could not be loaded. "

    It seems that the problem is related to the .net framework.

    When exactly do you get this error?

    Try these steps and check if the problem reappears.

    Method 1:

    Step 1:

    Check if this occurs in safe mode

    Some options, including the mode safe mode, start Windows in a limited State, where only the essential is started. If a problem doesn't reappear when you start in safe mode, you can eliminate the default settings and basic device drivers and services as a possible cause.

    Follow this link to start your computer in safe mode with network below.
    http://Windows.Microsoft.com/en-us/Windows7/advanced-startup-options-including-safe-mode

    Step 2:

    If it works fine in safe mode, please perform a clean boot to verify if any third-party application is causing the problem.

    Please visit the following link to do the same thing:

    How to perform a clean boot for a problem in Windows Vista, Windows 7 or Windows 8

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

    Note: After troubleshooting, be sure to configure the computer to start as usual as mentioned in step 3 of the article mentioned above.

    Method 2:

    You can still run a SFC scan.

    The System File Checker (SFC) utility allows administrators to perform an analysis of all protected resources to make sure they are the correct version. Whether SFC should find all incorrect versions in one of these protected resources, SFC will be replaced by the correct versions.

    To run a scan suite SFC as follows:

    How to use the System File Checker (SFC) to search system files missing or corrupted on Windows Vista or Windows 7

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

    Method 3:

    Download the tool to repair of Microsoft .NET Framework from the following link and try it on your computer.

    This tool detects and tries to repair some problems frequently with the installer where with updates of Microsoft .NET Framework.

    http://www.Microsoft.com/en-US/Download/details.aspx?ID=30135

    Let know us the results of the suggested steps and let us know if you encounter problems with Windows and we will be happy to help you

  • How to fix the script error message: can not find script file "C:\program files (x 86) \uninstall scripts\creative cloud enterprise\install.wsf»

    How to fix the script error message: can not find script file "C:\program files (x 86) \uninstall scripts\creative cloud enterprise\install.wsf»

    Behalf of the company

    Packer links https://forums.adobe.com/thread/1586021

    http://forums.Adobe.com/community/download_install_setup/creative_suite_enterprise_deploym ent

  • How to fix the problem error Creative Cloud applications download stand by me

    how to fix the problem download error Creative Cloud applications do not leave me

    Hello

    I think that you have found the "download error" in the Apps Panel.

    Please check the help below document:

    Download error in the applications tab of Creative Cloud Desktop Application

    You can also view the threads below:

    https://forums.Adobe.com/thread/1832357

    Persistent Cloud error - error download - creative

    Re: Creative Cloud "Download error" message

    Kind regards

    Sheena

  • How to fix the error "insufficient data" in Acrobat Reader 11.0.04?

    How to fix the error "insufficient data" for Acrobat Reader 11.0.04?

    Hi Johnkel1524,

    Please visit: http://helpx.adobe.com/acrobat/kb/insufficient-data-image.html

    Also, try to update on 11.0.5 and check.

  • How to fix the main button to paste constantly

    How to fix the main button to paste constantly

    Short of getting a replacement from Apple or risk a repair third shop there is nothing you can do. How about a button on the home screen? Go to settings > general > accessibility > assistive touch > on.

  • How to fix the bug of 1970 on iPad mini 2

    How to fix the bug of 1970 on iPad mini 2

    It is not a bug. It is the result of a deliberate action by the user. However, some reported that the DFU restore, if it does not, then you must make an appointment at the Genius Bar at the Apple Store closest to him have supported. Apple is working on an update that will prevent users from doing it again. If you changed the date to May 1970 or earlier and he can't restart your iPhone, iPad or iPod touch - Apple Support

  • How to fix the microphone in Compaq Presario R3000

    Original thread title - how to fix the microphone in Compaq Presario R3000?

    Hello
    I have a laptop Compaq Presario R3000, and I tried to use Skype on it. Problem is that the other end can't hear me. I tried all the suggestions on the site of Skype to try and attach the microphone.  I tried the recorder (click programs, accessories, then entertainment to access), but when I record my voice, nothing, so I guess it has something to do with the microphone. Just to be sure - this model has an internal microphone? What I've read, it seems that it does. I downloaded the updated drivers, so I don't think that's the problem. Any suggestions? I'll try anything now, because I spent about 6 hours online trying to get the microphone to work and so far, nothing. Thank you! Patti

    Hello

    1. What problem is only on Skype?

    2. were you able to use this microphone earlier?

    3 have there been any changes made on the computer before the show?

    4. what operating system are you using on your computer?

    I suggest you to consult the steps mentioned below and check if it helps.

    Run the troubleshooter of sound recording
    Click on the link below and run the troubleshooter.
    http://Windows.Microsoft.com/en-us/Windows7/open-the-recording-audio-Troubleshooter

    See the following Help article.

    Tips for solving common audio problems

    http://Windows.Microsoft.com/en-us/Windows7/tips-for-fixing-common-sound-problems

    No sound in Windows

    http://Windows.Microsoft.com/en-us/Windows/help/no-sound-in-Windows

    If the problem persists, then I suggest you to contact Skype to get help.

    https://support.Skype.com/

    It may be useful

  • Problems of updates Windows XP - how to fix the incorrect Windows XP updates KB2633952 keep asking to install?

    Problems of updates Windows XP - how to fix the incorrect Windows XP updates KB2633952 keep asking to install? True, it is that it is already installed on your computer. If hide us, an another previous KB2570791 arises in our updates of Windows and asked to install anything, that it was installed... of the questions repeated and very annoying.  Help, please!

    (Microsoft Answers just sent us message have deleted our previous thread, ask for help!) We are simply not that these problems are problems with Windows XP updates related to DST or not?)

    Nadia. PA supporter said that your computer is hacked. He may be right. I can't weigh because I don't know what led him to this conclusion. If your computer is hijacked, then you should address that more that you need to fix this minor update. However, under the resolution of your problem to update, you can try this:

    Assume Windows XP

    Check the C:\Windows\System32\ directory for the presence of the file tzchange.exe

    If the file is not present or if the version of the file is not 5.1.2600.6171 or newer...

    Download the update appropriate 2633952 for your platform here:

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

    Run with - extract switch (e.g., Start > run > "[path to the downloaded file] \WindowsXP-KB2633952-x86-ENU.exe"-x)

    Of course, replace [path to the downloaded file] with the path to the downloaded file.

    Citations may or may not be required depending on the path. Place the x - out the citations if you use them.

    Choose a location for the extracted files (a new folder is recommended)

    Locate the extracted files. File tzchange.exe you want and copy it into C:\windows\System32

    That rerun Windows Update detection to see if the problem is resolved.

  • How to fix the black screen of my hp pavilion g6

    How to fix the black screen of my hp pavilion g6

    Try a hard reset, works sometimes. Disconnect all external devices first.

    battery and power cord 1 / removal

    2 - Press the power button for 30 seconds

    3 reinstall only the power cord for the first start.

    4. turn on

  • G530 - how to fix the Novo key features?

    Hello guys!

    Some time ago I completely changed partitions configuration on my laptop, because I wanted to have two systems - Windows 7 (the default) and Ubuntu. Previously, I had an image of the LENOVO_PART (partition Lenovo recovery) by Paragon and burned on DVDs. Its contain images (a recovery key 7) OKR - mbr, boot partition and system (with default settings) file that contains information about the partition sizes and sectors. I deleted all the partitions and create new partitions.

    Now I want to restore the original scores, so I restored the partition recovery DVDs, and I put his ID 12 (PTEDIT32) and rebuilt the other partitions on the accuracy of a sector.

    Now, I have the following partitions: 1 - start (default is unnamed), 2 - system (default is unnamed), 3 - Lenovo, 4 - LENOVO_PART. Unfortunately the Lenovo System Restore does not start once I pressed the Novo key, so I put the active recovery partition and I can't restore the original mbr, boot, and system. Everything would be fine, but the Novo key doesn't work, then press start the normal system of Windows 7, not the recovery system.

    Could someone tell me how could fix the Novo key without the Lenovo service features?

    BTW, sorry for my bad English

    It should work properly. It seems that there is something wrong with the a key.

    at this point, I suggest you call lenovo support line and ship your laptop.

  • How to fix the position of the cmd window?

    I would like to know how to fix the position of the cmd window on the upper right corner instead of middle of anywhere in the window.

    Does anyone have any suggestions?
    Thanks in advance for your suggestions

    Hello!

    Open "Command Prompt", right-click the title bar and choose "Properties".

    Go to the Layout tab.

    In terms of the "Position of the window", uncheck "Let system position window.

    Change the Left and Top values to your preference - on my system (left = 290, Top = 0) are ok.

    On the same tab, look at the picture under "Overview of the window" to try different values - the window position changes after entering a value in the left text box and pressing the tab key.

    I hope that helps!

  • How to fix the rotation in application as apply just open land scrap only mode in Html5

    Dear team,

    I develop application using HTML5 for Z10.

    How to fix the rotation in application as apply just open land scrap only mode in Html5

    Please help me and give me a link to the documentation for this.

    Kind regards

    HP

    Hello

    You can set the following in your config.xml file

      
        
      
    

    There is more information available on our developer site -https://developer.blackberry.com/html5/documentation/code_sample_creating_a_bb_widget_config_documen...

Maybe you are looking for