Originally Posted by: WD4ASP Dennis,
I'm trying to set up the Terminal keys for the contest and I'm having trouble trying to get the serial number be automatically transmitted"
"<TX>" + TRIM(CALL) +" "+ TRIM(CALL)+" " + TRIM(STX)+" "+ TRIM(STX) + " K"+"<RX>"
Verify gives the following error: Variable 'STX' is not found. What is the proper syntax to get this to work? Also when I clicked the Help button in the error box the button highlights but nothing else happens.
You need
"<TX>" + TRIM(CALL) +" "+ TRIM(CALL)+" " + STX() + TRIM(STX) + " K"+"<RX>"
or
"<TX>" + TRIM(CALL) +" "+ TRIM(CALL)+" " + STX(5) + TRIM(STX) + " K"+"<RX>"
The parameter is the number of digits to return.
STX() returs 1 2 3 4 5
STX(4) returns 0001 0002 0003 0004 0005
STX(5) returns 00001 00002 00003 00004 00005
Search for STX in help for more info.
Tnx & 73,
Dennis WN4AZY