LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

communication problem with network module FP-2000

I am able to download VI in my FP-2000 module, but I loose the connection when I tried to upload data from the module or when I tried to reconect to the module when a VI is already running.
0 Kudos
Message 1 of 5
(2,837 Views)
Is your VI (or any of its subVIs) running at time-critical priority? Check VI Properties >> Execution >> Priority. If it is, make sure your VI has a sleep mode in it, otherwise it will starve all the lower priority threads/VIs and consequently deny any attempts to reconnect to it. Use Wait Until Next ms Multiple to add a sleep mode.

Another thing you can try is to check for basic funtionality. Download one of the shipping examples, run it, disconnect, reconnect. This will at least tell you whether the hardware is behaving normally.
0 Kudos
Message 2 of 5
(2,837 Views)
Usually this occurs when the VI that you are downloading (or one of it's subVIs) has been set to the time critical priority without having enough sleep time. This process then takes over the processor and lower priority processes are starved out. The user interface connection that LabVIEW makes when targeting as well as the FTP server on the RT system run at normal priority and can be starved by a time critical process without sleep. I would recommend starting with a simple example VI to prove that it is possible to reconnect when a VI is already running.

Regards,

JR Andrews
Application Engineer
National Instruments
0 Kudos
Message 3 of 5
(2,837 Views)
I have verified my VI priority and it is normal, I have tried with a simple VI, I'm not able to reconnect to the FP-2000. When I use a ftp server I'm able to list the directory and files but I'm not able to copy those files (they are on the FP-2000) on my host PC (these are ".csv" files).
0 Kudos
Message 4 of 5
(2,837 Views)
For the fastest resolution I would recommend going to www.ni.com/ask and submitting a support request. An application engineer will be able to assist you with resolving this issue.

Regards,

JR A.
0 Kudos
Message 5 of 5
(2,837 Views)