04-25-2011 06:20 AM
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.
05-02-2011 04:23 PM
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