I am using an ActiveX to communicate via serial comms to a gas analyser. Works well. Now have different brand of analyser and can't get my head around method of formatting the command to the analyser. Have been given example of C program by manufacturer where the message is loaded as follows:
BYTE Msg0 [ ] = { 6, 3, 3, 0, 0, 0, 0xFA };
How would I do this in PowerBuilder and how is my variable defined?
Have tried the following
is_comms = char(6) + char(6) + char(3) + char(3) + char(0) + char(0) + char(0) + char(250)
Does not work.
Anyy C and PowerBuilder programmers out there who can help?
BYTE Msg0 [ ] = { 6, 3, 3, 0, 0, 0, 0xFA };
How would I do this in PowerBuilder and how is my variable defined?
Have tried the following
is_comms = char(6) + char(6) + char(3) + char(3) + char(0) + char(0) + char(0) + char(250)
Does not work.
Anyy C and PowerBuilder programmers out there who can help?