LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Showing structure elements while editing code

If you noticed CVI7.0 has this feature where it will show structure
elements when you press a . or -> after the strcuture name or pointer to
structure, respectively. I think it is called "Completion" of some sort.

Anyways, it works for cases where I have 1 structure but not when I have
array of structures. Here is an example.

typedef struct __EMP
{
char Name[20];
int Age;
} EMP;

Now if I have

EMP me;

and when I type me. all structure elemets show up. But if I have:

EMP BunchOfEmps[10];

and try BunchOfEmp[0]. I don't see elements of EMP structure. If I type:

BunchOfEmp. here CVI shows elements of EMP structure.


vishi
0 Kudos
Message 1 of 2
(2,797 Views)
Vishi,

Thanks for reporting this issue; I'll make sure our R&D engineers know about this seemingly buggy behavior.

Regards,
Azucena
NI
0 Kudos
Message 2 of 2
(2,797 Views)