Hi folks.
I was hoping to recieve some help or advice on solving this problem I am having in labview:
Some background info - I am trying to use the 'call library node' to allow me to use a .dll to allow for control of a remote power supply over RS-232.
I have been doing fine up till now, however I am now trying to use the following:
int TC4GetFnBlockSettings(struct T_FnBlock *p_fnblock, unsigned int type)
int TC4SetFnBlockSettings(struct T_FnBlock *p_fnblock, unsigned int type)
where
struct T_FnBlock
{
unsigned int BaseFunction;
double Amplitude;
double Offset;
double Symmetry;
double Frequency;
int BipolarAmplitude;
int RectifyAmplitude;
double ExpTimeConstant;
unsigned int NumPeriods;
unsigned int UserDefAmplitude;
unsigned int UserDefTimePrescaler;
double UserDefPeriodLength;
unsigned int UserDefNumPoints;
unsigned int InactiveLevelType;
double InactiveLevel;
unsigned int AAPInputType;
unsigned int AAPInputFilterKoeff;
unsigned int AAPFlags;
double AAPInputScaling;};
Obviously there is no such thing as a structure in Labview; I had hoped to use a cluster in it's place however the CLN does not allow for input or output of a cluster.
Any help would be appreciated!
Thanks