LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can't set intial value for cRIO boolean shared variable

LabVIEW 8.0 gives me a configuration error when I try to force an inital value for a Boolean shared variable in my cRIO library.  Is that a bug, or am I overlooking some (probably obvious!) limitation of the cRIO hardware?
Jeff
Climbing the Labview learning curve!
Sanarus Medical
Pleasanton, CA
0 Kudos
Message 1 of 4
(3,390 Views)

Hi Jeff,

Could you please describe in detail what exactly is the issue you are facing. Screenshot of the error will help as well. Are you trying to just initialize a boolean shared variable? Have a great day!

Regards,
Prashanth

0 Kudos
Message 2 of 4
(3,383 Views)

There are 3 screenshots attached to this post.  Suppose I create a Boolean shared variable under My Computer in the project directory, then set the inital value as shown in BooleanInitialValue.gif.

If I drag a copy of that Boolean shared variable to my RT target block diagram, the run arrow breaks and I get the error shown in ErrorList.gif.

If I create a Boolean shared variable under my Real Time target (Compact RIO) in the project directory, then set the initial value and hit OK, I get the error shown in FixConfiguration.gif.

Message Edited by Jeff in Pleasanton on 07-19-2006 03:42 PM

Message Edited by Jeff in Pleasanton on 07-19-2006 03:44 PM

Jeff
Climbing the Labview learning curve!
Sanarus Medical
Pleasanton, CA
Download All
0 Kudos
Message 3 of 4
(3,381 Views)
I answered my own question!  Looking through my Real Time Application Development course notes, I learned that only shared variables hosted on the host computer can have their initial values set.  Shared variables hosted on the RT target cannot.
Jeff
Climbing the Labview learning curve!
Sanarus Medical
Pleasanton, CA
Message 4 of 4
(3,369 Views)