LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Factory settings for cFP-2020?

My cFP-2020 has started to behave strangely. It is not visible over
the network: I can only see it after I reboot, and I can only execute
..vi's once, after which the system hangs.
It is not reachable through ftp (connection times out), .vi do not
execute. Put simply, it disappears without a clear reason. I tryed to
change network cable, port, room, but nothing happened!

I admit that someone may have changed its' settings, so I would like
to restore the module to its default factory settings, right if it had
just come out of the box. Is that possibile? How?

Help is very much appreciated... Thanks!

Nicola
0 Kudos
Message 1 of 6
(3,798 Views)
Nicola,

First to disable the embedded application from starting, reboot the module with the Disable VI dipswitch (position 6) in the active position. Following the boot-up, the module will not launch your embedded program. Second, reboot the module a second time, this time with dipswitch 6 deactived and the reset dipswitch (position 😎 activated. This will clear the module's IP address and ethernet configuration.

You can then re-install the firmware through FieldPoint Explorer. This will take it as close to out of the box as possible.

Regards,
Aaron
LabVIEW Champion, CLA, CPI
0 Kudos
Message 2 of 6
(3,798 Views)
Right click on the cFP-2020 and check the "Factory Settings" checkbox and reboot the controller.
This will reset the whole I/O bank to factory settings.

You might need to reinstall the firmware on your module.

One of the things that caught my attention is that your VI is hanging...make sure that you are not using all of the memory available. To monitor the memory go to the LabVIEW.INI file (on the host computer) and add the following line:

targetmeminfo=true

and then select the Option RT Engine info in LabVIEW under the Operate menu to check how much memory this VI is taking.

One of the things that I found out could cause a "hang" in a cFP-2020 is trying to access the D drive (removable flash card) when it is not present.

Use the Disable.VI switch to d
isable the VI when re-starting the controller.

Check the cFP-20xx manual (it can be downloaded from the NI's website at: www.ni.com/manuals) It contains more detailed information on how to use and troubleshoot a FP controller.

VG
0 Kudos
Message 3 of 6
(3,798 Views)
Aaron,

> First to disable the embedded application from starting, reboot the
> module with the Disable VI dipswitch (position 6) in the active
> position. Following the boot-up, the module will not launch your
> embedded program. Second, reboot the module a second time, this time
> with dipswitch 6 deactived and the reset dipswitch (position 😎
> activated. This will clear the module's IP address and ethernet
> configuration.

thanks for your advice. I tried what you suggested, but the device behaved
in exactly the same way as before:
when I executed the .vi after performing your procedure, it again hang.
I wonder whether something is wrong with the operating system.

Any other advice is greatly appreciated

Nicola
0 Kudos
Message 4 of 6
(3,798 Views)
Nicola,

Based upon what you describe, in all likelihood the problem is not in the module but is in the code that you are downloading into the module. What are you doing in your code?

Aaron
LabVIEW Champion, CLA, CPI
0 Kudos
Message 5 of 6
(3,797 Views)
> Based upon what you describe, in all likelihood the problem is not in
> the module but is in the code that you are downloading into the
> module. What are you doing in your code?

Aaron,
my unexperience lead me to the mistake of not closing the serial port
after using it... That seems to be the reason for the system to hang.
Actually I would have expected only the serial port to hang, but instead the
whole system stopped.
Well, now I'm aware of one issue, I'm sure I'll never make the same mistake
again! 🙂

Thanks for your advice!

Nicola
0 Kudos
Message 6 of 6
(3,797 Views)