LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

RT CompactRIO (errorcode: -65589) : error or warning occurred while writing the following Shared Variable

Solved!
Go to solution

Hello,

 

does anyone knows this Error Code : -65589 ?

This error says:

 

Shared Variable in environmental_logger.vi<APPEND>
This error or warning occurred while writing the following Shared Variable:
\\RT CompactRIO Target\Mod2\DO1
\\localhost\Mod2\DO1

 

My cRIO9073 has 3 modules :

Mod1: 9203 AI,

Mod2: 9472 DO,

Mod3: 9265 AO.

 

when I delete all states, and run only the first state "init" where I set DO0 = true and DO1 = false, I get this error. What could that be ?

 

0 Kudos
Message 1 of 3
(2,798 Views)
Solution
Accepted by topic author ThoSie

I think we need more information about your project - can you take a screenshot of your LabVIEW project showing the RT target and the location of the shared variables? What is the configuration of the shared variable? Are you using the cRIO in Scan Engine or FPGA mode (or both?)? How are you deploying your variables library? You should also zip up your project and attach it, if you can.

 

Here are some articles about possible causes:

http://digital.ni.com/public.nsf/allkb/C32368835ADAEE19862578500067A8C4

http://digital.ni.com/public.nsf/allkb/7B52091D2FFA01EC86257C32005DF935


LabVIEW Champion, CLA, CLED, CTD
(blog)
0 Kudos
Message 2 of 3
(2,790 Views)

there is nothing more to say....only: thank you very much.

 

This solved my problem:

Introduce a fixed delay in the initialization stage of the application which will wait up to 10 seconds before trying to access any inputs or outputs.

 

Im absolutely new in LabView programming and more "new" in working with cRIO  😉

 

Now, with a 5 seconds delay before the "init-state" will run, my complete program works correctly !

 

Thank you,

ThoSie

0 Kudos
Message 3 of 3
(2,779 Views)