NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

No access on global variables in sequence calls

Hello,
I have the following problem:
I don't have access on global variables (Fileglobals.xx) in subsequences.
I had access on the global variables until I add a big array to the global variables.
Is this the reason for that strange behavior?
thank you for your help
Samuel
0 Kudos
Message 1 of 7
(3,400 Views)

Hi,

How big?

Are the subSequences in seperate sequence files?

What TestStand version are you using?

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 2 of 7
(3,391 Views)

Hello Ray,

1)

I had two string arrays with: array1[0....11][0...800], array2[0...6][0.....400]

until this everything was ok

then I increased the array1 to array1[0....11][0...1200]

from this point I had the problem

2)

No the subsequences are in the same sequence file

3)

I am using teststand 3.1

would it be better for this probelm to use teststand 3.5?

Thank You for your help

 

regards

 

Samuel

0 Kudos
Message 3 of 7
(3,383 Views)

Samuel,

How are you accessing the FileGobals, is via the expression step or an TS API GetVal method.

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 4 of 7
(3,380 Views)

hello ray,

everithing is ok now...i have solved the problem

thank you for your help

regards samuel

0 Kudos
Message 5 of 7
(3,375 Views)
Samuel,
 
Are you able to share your information?
 
No Problem, glad you got it sorted.
 
Regards
Ray Farmer
 
Regards
Ray Farmer
0 Kudos
Message 6 of 7
(3,371 Views)

Ray,

yes of course I share the information.

I double clicked on the sequence calls, then I clicked on "specify Module". There I enabled the clickbox "Use current File"

From this point I had again access on the fileglobals in the subroutines

regards

samuel

0 Kudos
Message 7 of 7
(3,365 Views)