FieldPoint Family

cancel
Showing results for 
Search instead for 
Did you mean: 

Error -31406 occurred at Publish Data.vi (undefined)

Hello,
 
I'm using Publish Data.vi from a VI embedded in a cFP-2000 controller. It worked several times but later I always receive this error when I try to create a read/write item:
 
Error -31406 occurred at Publish Data.vi
This error code is undefined. No one has provided a description for this code, or you might have wired a number that is not an error code to the error code input.
 
The error in terminal is wired to a 'no error' constant.
 
The only solution I found to solve the problem was to change the section name. It solved the problem but since it worked before with the same section name, I'm afraid the problem will eventually come back sooner or later.
 
What could cause this undefied error and what could cause it?
 
Thanks!
 
 
0 Kudos
Message 1 of 3
(3,231 Views)

Update: The problem came back.

Update 2:   If I delete the item first, the creation works fine. This not the normal behavior. Documentation says the vi should only issue a warning if the item already exists.

0 Kudos
Message 2 of 3
(3,224 Views)
Velocity,

I am not familar with the Publish Data.vi that you are refering to. I was not able to find any example or function by this name. If this is some third party code, you may want to check with that party as to what this error means.  If you would like to post up the code that you are refering to, this may help in finding the problem. Make sure to trim down the code and comment it to make it as easy as possible for someone else to follow. The more you can do this, the easier it is to track down the problem. 

-GDE
0 Kudos
Message 3 of 3
(3,209 Views)