04-29-2008 08:52 PM
04-29-2008 09:41 PM
It's really next to impossible to say how you are going to parse out the response. Serial instruments have no standards to follow. You might get a string like 'A=n.n B=n.n' in which case you would use the Scan From String function to convert to numbers and then wire these to a chart/graph. A different approach would be the readings encoded as x number of hex bytes. Totally different technique to decode.
In my opinion, you would be just wasting a lot of time until you had at least a manual. Whatever you wrote now, you would probably just end up rewriting a large part of it. Is the decision for the instrument still to be made by another group? If it is, tell them to make up their minds, already! What you may able to do though, is when the instrument is finally decided upon, you will probably have some time before it is actually delivered. Request an electronic copy of the manual before you get the instrument and then post that. Then someone can give you some concrete information.
The excel part can be pretty simple. You can use the Write to Spreadsheet File function to create a text file with comma or tab separated data. Excel can import these. There is also a shipping example for writing to Excel using ActiveX.