Re: C like structures in Labview

2004-03-05 Thread madengr
Thats exactly what I was looking for! Accessing the cluster as a local or global variable allows read and write, similar to a structure in C. Thanks, Lou

Re: C like structures in Labview

2004-03-04 Thread Ed Dickens
You're correct that you can only have either Controls or Indicators in a cluster. You can operate on individual cluster elements regardless of which type (control or indicator) they are initially. Define your cluster with all the elements you need, pass this into your sub-vi and use either the =9

C like structures in Labview

2004-03-04 Thread madengr
I'm programming a motor control application based off some C example code. In the C code there is a structure containing motor profile constants (max speed, slope, limit) and varibles (current_postion, status). I have created a cluster of numeric controls for the constants so I can easily pass it