LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

pass an array of clusters from LV 7.0 to dll

Hi,

I need to pass an array of 3 structures of the type below from labview 7 to a dll written in C++. Can anyone help ?

Thanks
John

typedef struct motor_info {
int Motor_Type; /* the type of motor control board(0: motor control board) */
int Step_Mtr_Ch; /* the number of Stepping Motor channel(0 - 11) */
int DC_Mtr_Ch; /* the number of DC Motr channel(0 - 😎 */
int DC_Sld_Ch; /* the number of DC Solenoid channel(0 - 4) */
int Reserve[8]; /* reserve area for future */
} MOTOR_INFO;
0 Kudos
Message 1 of 3
(2,682 Views)
View attached files. This will be your starting point. To write code, i would highly recommend looking into code interface manual.

http://digital.ni.com/manuals.nsf/websearch/8D930295FFBF9F7686256D2C00624728?OpenDocument&node=132100_US

FYI: This VI is created using LabVIEW 7.1
A Rafiq
Download All
0 Kudos
Message 2 of 3
(2,682 Views)
Oops just noticed that you are using LV 7.0. Attached is 7.0 version of the same VI
0 Kudos
Message 3 of 3
(2,682 Views)