int abcd_Gonder(void)
{
unsigned char SerialString[25];
int LengthSerialString;
int CheckSum = 0;
int err = 0;
FlushInQ (x_COMPORT);
FlushOutQ (x_COMPORT);
SerialString[0]= 1;
SerialString[1]= 2;
SerialString[2]= 3;
SerialString[3]= 4;
SerialString[4]= 0x88; //Checksum
SerialString[5]= '\0';
LengthSerialString = 5;
ComWrt(x_COMPORT, SerialString, LengthSerialString);
return err;
}
I want to send this message using RS232 port. I have to use teststand parameters to create this function. So I can't write this code in visial studio using class librarry to export dll . I'm new at TestStand and I need help that how can I create a function like this.