12-02-2014 06:35 AM
Hello,
I am completey new to LabVIEW, just starting to learn. So I guess I deployed some vi on the RT (cRIO 9067) and now everytime I turn the power on, the motor starts to run. I know it's very basic question but how can I remove this? I tried to go to ftp:(ip address) but I couldn't see it there, and I can't find it in any project.
Thanks in advance!
12-02-2014 08:21 AM
Through the project, you should be able to make the build set to not run at startup.
12-03-2014 04:53 AM
Hey, thanks for the answer, but the problem is I'm not sure I did anything, I just started and I wanted to start with testing my limit switches with simple vi. And after deleted the whole project but this movement continued as long as the power was on. Then I formated cRIO in hope it will stop but it continued acting in the same way ever after the formatting. And it still is doing it.
12-03-2014 05:42 AM
Which C-Series module are you driving the motor with? Is it one of the servo drive modules or an analogue/digital output?
Are you using LabVIEW FPGA or the Scan Engine for controlling the motor?
You may need to check the power on state of the module and/or check if there is an FPGA VI set to run when loaded onto the device (separate to the RT executable deployed to the cRIO) - it could be the FPGA is driving the motor.
Does the motor control correctly / stop when you run some code to control it? (i.e. is it just running when it's in an uninitialised state after power up?)
12-03-2014 06:52 AM
I'm using 9512 and scan engine.
How do I check this? (Sorry, I'm absolute beginner) And shouldn't it be when I format it to remove everything from the cRIO? Since I just started yesterday, I still didn't try to run any code on it except interactive test panel and yes, when I push the button stop, it stops.
Thanks!
12-03-2014 08:29 AM
My line of thought was that you may have some FPGA code running on the cRIO which was controlling the motor when it powered up. I don't know if that gets removed when you format the cRIO (which might just format the Real-Time portion of the RIO). I don't think that's the case but you can try this anyway:
Open a new project
Add your cRIO in FPGA mode
Right click on the FPGA Target item
Select RIO Device Setup...
Click the 'Erase Bitfile From Flash' button.
On some modules, you can change the power-on conditions so it might be worth looking in there to see if there are any options. Right click on the C-Series module in the project and look at the properties to see if there is anything about the Power-On state.