I'm afraid it won't be quite so easy as that.
You need to know
1) What pH meter you're using
2) What the serial commands of the meter are
3) What kind of pH measurement you're doing
Of course, knowing how to do a proper pH measurement is a prerequisite, but we'll leave that for now.
There isn't a standardized RS-232 command set for all pH meters. All manufacturers use different commands.
Shane.
Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)