Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

"Reset Device" Button in MAX using PCI 7344

Which flex_... functions are called by the "Reset Device" button in MAX? Sometimes, after an error occur in my program, the only way to re-initialize the PCI 7344 board is rebooting the PC or using the "Reset Button". I would like to use those functions in my initialization routine. I'm calling in my routine those flex functions:
- flex_reset_defaults
- flex_clear_pu_status
- wait loop for power up reset
but the results are not the same as using the "reset device" button.
Thanks!
0 Kudos
Message 1 of 7
(4,119 Views)
The only other thing you should need to do is make a call to Flush Return Data Buffer. This will clear out any old data that might be causing the error.

Dustin
0 Kudos
Message 2 of 7
(4,119 Views)
The reset button is only available through MAX for the very specific reason that you shouldn't need to reset the board at any other time than configuration. Whay exactly are you needing to use the reset function? Is your controller getting into a state you can not recover from except by resetting? If you are using any version of NI-Motion previous to 6.0 I would strongly recommend an update. We have put a lot of effort into correcting all possible scenarios where resetting trhe board would be necessary but if you have found one please let us know immediately.

Best regards,

Alex Games
0 Kudos
Message 3 of 7
(4,119 Views)
Hi

I am probably experiencing a similar problem. I cannot find any other way to reset the board other than press the "Reset Devices" button which has no equivalent in FlexMotion (on purpose according to your answer).
The error I get is :
-70035 (NIMC_watchdog_TimeOutError)
A fatal error has occurewd on the controller. You must You must reset the controller by power recycling your oomputer. Contact National Instruments support if the problem persists.

P.
0 Kudos
Message 4 of 7
(4,119 Views)
Hi

I am probably experiencing a similar problem. I cannot find any other way to reset the board other than press the "Reset Devices" button which has no equivalent in FlexMotion (on purpose according to your answer).
The error I get is :
-70035 (NIMC_watchdog_TimeOutError)
A fatal error has occurewd on the controller. You must You must reset the controller by power recycling your oomputer. Contact National Instruments support if the problem persists.

P.
0 Kudos
Message 5 of 7
(4,119 Views)
Hi

I am probably experiencing a similar problem. I cannot find any other way to reset the board other than press the "Reset Devices" button which has no equivalent in FlexMotion (on purpose according to your answer).
The error I get is :
-70035 (NIMC_watchdog_TimeOutError)
A fatal error has occurewd on the controller. You must You must reset the controller by power recycling your oomputer. Contact National Instruments support if the problem persists.

P.
0 Kudos
Message 6 of 7
(4,119 Views)
Hi

I am probably experiencing a similar problem. I cannot find any other way to reset the board other than press the "Reset Devices" button which has no equivalent in FlexMotion (on purpose according to your answer).
The error I get is :
-70035 (NIMC_watchdog_TimeOutError)
A fatal error has occurewd on the controller. You must You must reset the controller by power recycling your oomputer. Contact National Instruments support if the problem persists.

P.
0 Kudos
Message 7 of 7
(4,119 Views)