01-29-2010 05:03 PM
02-01-2010 02:53 PM
Hey garya505,
I guess I am still unsure what you are referring to when you are saying you are looking to when you say you are looking to implement some constants in LabVIEW; so that makes it a little difficult to suggest a more elegant solution than the one you already have.
02-02-2010 12:51 AM
02-02-2010 11:41 AM
BCho wrote:Hey garya505,
I guess I am still unsure what you are referring to when you are saying you are looking to when you say you are looking to implement some constants in LabVIEW; so that makes it a little difficult to suggest a more elegant solution than the one you already have.
I would like to implement something that I can provide to my customers that will make it easier for them in developing their applications for our hardware. Some of the functions in my wrapper DLL have parameters that use these constants. For example, a parameter such as "mode" might be RCV or XMIT, or a parameter such as "flow" might be ON or OFF, or "buffer" might be BUFFER1 or BUFFER2. In the .h file, these might be:
#define RCV 0
#define XMIT 1
#define OFF 0
#define ON 1
#define BUFFER1 0x00001000
#define BUFFER2 0x01001000
02-02-2010 11:42 AM
rolfk wrote:
What about about a ring control as suggested earlier in this thread doesn't work??
Thanks, I'll check into the ring control.