Loading PID Parameter and Reading Back

Hello,
Currently,  I'm developing NI-Motion Driver for 7358 motion control card. My environment is QNX 6.5 realtime OS.
According to NI Motion Driver Developer's Kit document basically i'm sending packages to board to set values, to start motion etc.
Now, i'm can drive brushed motor with given velocity and acceleration parameters. I want to ask you that is it possible to read back
values that written to board.
For example,
To load PID parameters i'm using command 32 as given in DDK with axis information, pid parameters and input vector (0xFF). It should
work same like flex_load_pid_parameters function given in FlexMotion Software Reference Manual.
I want to check that PID values has been set correctly with my own function. But i could not find any way to do this. There is no command
as i see to read back these values from board. The thing i learnt from DDK is if command package is wrong board gives package error in
csr. If something goes wrong during run time, board gives modal error. So, i want to check if there is direct way to read parameters i set?
Best regards.

Hey Erhan,
There isn't a way you can check the values corresponding to the PID effect because this is done in FPGA and cannot be accessed. 
Regards,
A. Zaatari
National Instruments
Applications Engineer

Similar Messages

  • Back up and read back via MTK tools

    hi all,
    machine; lenovo s820 cn version
    android version; 4.4.2
    ROM; vibeui s820 www.sjrom.cn
    kernel version; 3.4.67
    i already rooted using root genius
    right now i have a problem,why my s820 cn version always give this error when i try to make a back up rom and also read back@creating Scatter File using MTK droid tools
    "- nodl_pmt - ERROR :  Zero file, no space left on device!"
    as my storage space
    the internal storage 2.56GB Available is 0.92GB
    the built in storage 1.03GB Available is 0.97GB
    then i try using SD card but still the same problem occured
    "pmt - ERROR :  Zero file, no space left on device"
    also i try to clear the storage still same thing happened.
    if there is someone can help or show me or guide me please..please reply to this thread
    P,S: why im so badly need to back up because i got a bricked S820.

    hai..can u teach me how to root this phone?im using same version of you..lenovo s820 vibeui www.sjrom.cn

  • Looking For Scan and Read Back Applications on the App Store for blind individuals?

    Hi There,
    Are there anything applications on the app store which for example if you were to scan a document and the user wanted it to be read back to them in text form or what ever the e.g picture had text on them can it be done or is there any application looking for asap?!!

    Apps don't go in Passbook, but passes do.  You can get passes via both the Starbucks and Apple Store apps.  If you sign up for an account in the Starbucks app, you can create a pass and add value to it (or enter an existing Starbucks gift card number).  The Apple Store app allows you to send gift cards to people, which can then be added to Passbook.
    Check out http://support.apple.com/kb/HT5483 for more info.

  • Using a two separate 6534 cards I'm trying to code-up a simple test for my UUT (memory device). I need to write a pattern into the device and read back the pattern and verify it matches the value written.

    I need the simplest method of using two 6534 cards for a memory (UUT) test. I want to write (byte-wide) a pattern (A5,5A) into the UUT, then read it back and verify it matches the value written. Things that change are: Address inputs (increment by 1 for each read/write) with the control signals (card 1) and data values written/read (card 2). If I detect a mis-match, the test stops, I read the location one more time and verify it's really incorrect, the correct value is written back into the same location just read, a counter is incremented to keep track of the tota
    l errors detected and the test (memory read/verify) is resumed. Each time through the memory another counter is incremented to track the number of passes through the memory read test. The test should terminate when the operator hits the VI panel STOP TEST button.

    Dave
    Check out chapter two of the 653x User Manual for information on the different modes of operation. There it explains the difference between strobed and unstrobed I/O as well as Pattern I/O and Handshaking. It sounds as though unstrobed should work unless your UUT requires hardware timing or handshaking. You will have to keep track of errors in software however since the 6534 does not have any counters on it.
    Brian

  • Installing bootcamp, pauses and reads "Back up the disk and format it to a single Mac OS extended journaled"

    I just ran disk utility as promted and checked, the main disk is already formatted to a single Mac OS extended (journaled).
    It previously had parallels partitioning, it is still installed and I can't uninstall it, could this be the problem?

    Siat Mauk wrote:
    I just ran disk utility as promted and checked, the main disk is already formatted to a single Mac OS extended (journaled).
    It previously had parallels partitioning, it is still installed and I can't uninstall it, could this be the problem?
    No, Parallels does not create a partition, it's just another program.

  • Set a variable in Adapter Module and read it during message mapping

    Hi guys,
    is there any way, how I could set some variable and store its value during the adapter module processing and read back this value in message mapping and use it? Without using a database or files.. I mean, some j2ee storage or something like that..
    Thanks for your help,
    Olian

    Hi guys,
    thanks for your answers..  just a clarification, what the problem is.
    I need to validate a message in the adapter module, if it's digital signature is valid. If it is, I need to send back to the sender a return code (message) OK, otherwise ERROR. I can't modify the message (or dynamic configuration) as I'm using a WSS in the sender channel. The system doesn't allow me to change anything in the message, so I can't find out in the mapping what the validation result was. I then tried to do the validation directly in the message mapping, but I have some issues there with libraries or what, because the validation code, which works in the adapter module, doesn't work in the mapping java class. So my final thought was maybe I could validate the message in the adapter module and pass the result to the message mapping and then create an appropriate return message (in the mapping). However, I see no way of passing a value there. I'm stuck and have no Idea how to resolve the problem. Any hints guys?
    Thanks a lot for your help!
    Olian

  • Windows computer hard drive failed, data lost and not backed up.  all music and pictures on ipod, much music from cd's entered into itunes years ago.  How do I retrieve from ipod onto new computer hard drive?

    windows computer hard drive failed; data lost.  have new blank hard drive.  Can I load ipod music and photos back onto new hard drive?

    Hi Perilman,
    Welcome to the Apple Support Communities! I understand that all of your iTunes media is on an external hard drive and you would like to move that media onto your new Windows computer hard drive. The following article has step by step instructions for this specifically. Part 5 in the External drive section is probably what is going to be most relevant to you.
    iTunes: How to move your music to a new computer
    http://support.apple.com/kb/ht4527
    Part 5: Copy music to your new computer
    To copy all your music files (including the library file that holds all your playlists and other settings) to your new computer:
    I hope this helps,   
    -Joe

  • Can't get the right contacts and photos back on my phone after updating software, it has loaded my old iPhone 3GS contacts and apps that we're in the iTunes library , how can I get my new stuff back

    How do I get my contacts and photos back for my iPhone 4 , after updating to ios5 it loaded my old phones info so I lost contacts messages and photos an video

    Hello johnohuk,
    Thanks for the question. It sounds like most of your music was purchased from the iTunes Store. If your country supports iTunes in the Cloud, you can download your past purchases using this article:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    http://support.apple.com/kb/HT2519
    Thanks,
    Matt M.

  • My Time Machine partition on an external HD won't mount in OSX, but loads and reads fine in Bootcamp

    I've been using windows 7 a lot recently for school, and when i do, i can have my external HD mounted to access files (read only) if needed. Last night, after restarting to OSX 10.7, my data partition(not time machine) loads fine, but the other partition of the same HD that i use for time machine refuses to mount.
    It shows up in Disk Utility as a greyed out name 'disk1s3' but i origionally named the partition 'Story Time Machine'. The greyed out partition shows up as 500gb, which is correct, but it says its formatted as FAT32. In windows, it says its formatted HFS.
    I've tried running Disk Repair both in OSX and in recovery mode. I ran a checksum on the drive and it came back fine.
    Any suggestions?

    It could be a problem with enclosure, but it also could be a problem with the drive itself or the drive is possibly corrupted. I would start by contacting WD tech support.
    It may be possible to recover files from the drive using file recovery software:
    General File Recovery
    If you stop using the drive it's possible to recover deleted files that have not been overwritten by using recovery software such as MAC Data Recovery, Data Rescue II, File Salvage or TechTool Pro.  Each of the preceding come on bootable CDs to enable usage without risk of writing more data to the hard drive.  Two free alternatives are Disk Drill and TestDisk.  Look for them and demos at MacUpdate or CNET Downloads. Recovery software usually provide trial versions that enable you to determine if the software would help before actually paying for it. Beyond this or if the drive has completely failed, then you would need to send the drive to a recovery service which is very expensive.
    The longer the hard drive remains in use and data are written to it, the greater the risk your deleted files will be overwritten.
    Also visit The XLab FAQs and read the FAQ on Data Recovery.
    Otherwise, unless the drive fixes itself like before you should try repartitioning and reformatting to determine if the drive has failed or is now working properly.

  • Just bought the new iPhone4S yesterday, and my back camera isn't working/loading up. But my front camera works fine. What's wrong? Can anyone help?

    Just bought the new iPhone4S yesterday, and my back camera isn't working/loading up. But my front camera works fine. What's wrong? Can anyone help?

    I had the same problem- go to Utilities, General, Use Side Switch To, and change it from Mute to Lock Rotation- this solved the problem for me.
    Good luck!

  • How do I get my devices to stop needing me to sign out and sign back into my account to load my in the cloud purchases?  (big hassle)

    How do I get my devices to stop needing me to sign out and sign back into my account to load my in the cloud purchases?  (big hassle)

    What account is it asking to be logged into?
    Just what are you doing?
    iCloud?
    iTunes/App Store?
    Try
    - Reset the iOS device. Nothing will be lost      
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Then try again
    Reset the password:
    How do I change or recover a forgotten Apple ID Password?
    If you've forgotten your Apple ID Password or want to change it, go to My Apple ID and follow the instructions. SeeChanging your Apple ID password if you'd like more information.
    - Backup and then restore from backup. See:                                               
    iOS: Back up and restore your iOS device with iCloud or iTunes
    - Restore to factory settings/new iOS device.                       

  • C# load xml data with attributes to datagridview; update data and save back to the xml

    Hi guys,
    i currently have this XML as data
    <DEALS>
    <DEAL ID="22" ISBN="0-7888-1623-3" Screenplay="Mary Kaplan" Title ="Mr Gentleman" Director = "Jonathan Jones">
    <ALLOCATION DEMANDE="5000" CODE="72" PRICE="25.00">2500</ALLOCATION>
    <ALLOCATION DEMANDE="7000" CODE="75" PRICE="35.00">4000</ALLOCATION>
    </DEAL>
    <DEAL ID="23" ISBN="1-7988-1623-3" Screenplay="Joe Doe" Title ="Nothing Much" Director = "Listentome">
    <ALLOCATION DEMANDE="3300" CODE="72" PRICE="15.00">2500</ALLOCATION>
    </DEAL>
    </DEALS>
    I load the data with the code below:
    i use xDocument to load the DealData.xml and then put it in ToString.
    //outside of the form
    public static class XElementExtensions
    public static DataTable ToDataTable(this XElement element)
    DataSet ds = new DataSet();
    string rawXml = element.ToString();
    ds.ReadXml(new StringReader(rawXml));
    return ds.Tables[0];
    public static DataTable ToDataTable(this IEnumerable<XElement> elements)
    return ToDataTable(new XElement("Root", elements));
    //in the form
    private void button2_Click(object sender, EventArgs e)
    var xDocument = XDocument.Load("DealData.xml");
    string txtxml = xDocument.ToString();
    StringReader reader = new StringReader(txtxml);
    XDocument doc1 = XDocument.Load(reader);
    var res = doc1.Descendants("DEAL").ToList().Where(x => x.Attribute("ID").Value == "22").Descendants("ALLOCATION");
    dataGridView1.DataSource = res.ToDataTable();
    Now my question is:
    I would like to update the data from the DataGridview with the Attribute("ID").Value == "22" and save the data back to the XML.
    For example, after I load my data on the datagridview, we only pickup anything that is in the node
    <DEAL ID="22" ISBN="0-7888-1623-3" Screenplay="Mary Kaplan" Title ="Mr Gentleman" Director = "Jonathan Jones">
    <ALLOCATION DEMANDE="5000" CODE="72" PRICE="25.00">2500</ALLOCATION>
    <ALLOCATION DEMANDE="7000" CODE="75" PRICE="35.00">4000</ALLOCATION>
    </DEAL>
    I updated the datagridview below with DEMANDE = 9000 CODE = 66 PRICE = 24.77 AND ALLOCATION = 1200
    I want be able to extract the data back in the xml as a child of the DEAL ID = "22"
    So that the XML file looks like this 
    <DEALS>
    <DEAL ID="22" ISBN="0-7888-1623-3" Screenplay="Mary Kaplan" Title ="Mr Gentleman" Director = "Jonathan Jones">
    <ALLOCATION DEMANDE="5000" CODE="72" PRICE="25.00">2500</ALLOCATION>
    <ALLOCATION DEMANDE="7000" CODE="75" PRICE="35.00">4000</ALLOCATION>
    <ALLOCATION DEMANDE="9000" CODE="66" PRICE="24.77">1200</ALLOCATION> <-! this is the new line !->
    </DEAL>
    <DEAL ID="23" ISBN="1-7988-1623-3" Screenplay="Joe Doe" Title ="Nothing Much" Director = "Listentome">
    <ALLOCATION DEMANDE="3300" CODE="72" PRICE="15.00">2500</ALLOCATION>
    </DEAL>
    </DEALS>
    Is there a way to achieve that?
    I have been searching and reading in the books but i cannot find a solution for this.
    Thank you
    Please do not forget to click “Vote as Helpful” if the reply helps/directs you toward your solution and or "Mark as Answer" if it solves your question. This will help to contribute to the forum.

    I would think of something like the below, the id is passed as static you need to change this
    protected virtual void button1_Click(object sender, EventArgs e)
    //Get DataTable from DGV datasource
    DataTable dt = new DataTable();
    dt = (DataTable)dataGridView1.DataSource;
    string file1 = "<?xml version=\"1.0\" encoding=\"utf-8\" ?><DEALS><DEAL ID=\"22\" ISBN=\"0-7888-1623-3\" Screenplay=\"Mary Kaplan\" Title =\"Mr Gentleman\" Director = \"Jonathan Jones\"><ALLOCATION DEMANDE=\"5000\" CODE=\"72\" PRICE=\"25.00\">2500</ALLOCATION><ALLOCATION DEMANDE=\"7000\" CODE=\"75\" PRICE=\"35.00\">4000</ALLOCATION></DEAL><DEAL ID=\"23\" ISBN=\"1-7988-1623-3\" Screenplay=\"Joe Doe\" Title =\"Nothing Much\" Director = \"Listentome\"><ALLOCATION DEMANDE=\"3300\" CODE=\"72\" PRICE=\"15.00\">2500</ALLOCATION></DEAL></DEALS>";
    StringReader reader = new StringReader(file1);
    XDocument doc1 = XDocument.Load(reader);
    //Remove all elements related to the id being populated into the Grid
    doc1.Descendants("DEAL").ToList().Where(x => x.Attribute("ID").Value == "22").Descendants("ALLOCATION").Remove();
    //loop through datatable and create new xelement to be added to the xdocument
    foreach (DataRow dr in dt.Rows)
    XElement xe = new XElement("ALLOCATION",
    new XAttribute("DEMANDE", dr[0].ToString()),
    new XAttribute("CODE", dr[1].ToString()),
    new XAttribute("PRICE", dr[2].ToString()));
    xe.Value = dr[3].ToString();
    doc1.Descendants("DEAL").ToList().Where(x => x.Attribute("ID").Value == "22").FirstOrDefault().Add(xe);
    Fouad Roumieh

  • I have purchased apps for my ipod touch and they are not loading properly.  They appear on the screen, however when I touch them, they do not load and bounce back to the main screen.  Any suggestions on how to fix?

    I have purchased apps for my ipod touch and they are not loading properly.  They appear on the screen, but when you touch them, they do not open and bounce back to the main screen.  Any ideas on how to fix?

    Try the basics from the manual:
    restart.
    reset.
    restore.
    iPod touch User Guide (For iOS 4.3 Software)

  • I upgraded to the new version "4" and it will not load any websites..."unable to locate server" is all i get and cannot figure out the problem ....had to delete and go back to an earlier version whichi understand is unsafe...what to do?

    # Question
    I upgraded to the new version "4" and it will not load any websites..."unable to locate server" is all i get and cannot figure out the problem ....had to delete and go back to an earlier version which i understand is unsafe...what to do?

    That was probably caused by your Firewall blocking the newly installed version of Firefox.
    No known security issues with Firefox 3.6.17, which was just released this past week.

  • My iPad is suddenly not loading any apps.  When I click on an app, the screen flickers to black and then back to normal, but will not load the app.  This is ALL the apps, not just one.  Have tried rebooting, to no avail.

    My iPad is suddenly not loading any apps.  When I click on an app, the screen flickers to black and then back to normal, but will not load the app.  This is ALL the apps, not just one.  Have tried rebooting, to no avail.

    Was a Restore one of the things tried.?  [Attach the iPad to your computer and in iTunes click on your device. On the Summary page click on Restore and go through the process. Be sure to click YES to Restore from a previous backup.]

Maybe you are looking for

  • Can not display BLOB in a REPORT Portal 3.0.9

    I had created a table witha blob field. I want to display this field in a report to display the documento from the aplicaction. What can i do ?

  • Can't drag photos to page

    With iWeb '09 I can't drag photos from iPhoto events. It worked with iWeb '08 very well. How do you reset iWeb '09? Milan

  • Query Correction and Please Explan

    Dear Experts I have created a query to Sales Order ORDR and its Data from RDR1 and RDR1 and Connected it to Delievery ODLN. I want all the Sales Order irrespective of the Delievery is made or not. I some documents I am getting cartesian product. Plea

  • Not able to connect to DB in Redhat Linux - intermittent wired problem

    Hi, I need some help from you if possible please help me. There is a wired problem in the Linux based Oracle server. OS: Redhat Linux 8 Database: Oracle Enterprise server 9.2 There is an intermittent wired problem. After some time (it happen twice la

  • Filter contours - PS CS5

    Hello I have a small problem with a big-generated contour in PS CS5. Sometimes my nature photos coming through art and other filters, and seeking interesting shapes, etc. So far, no problem, some filters only work in 8-bit mode, etc. But I came acros