07-07-2008 04:21 AM
07-07-2008 08:22 AM
07-07-2008 08:50 AM - edited 07-07-2008 08:52 AM
07-07-2008 09:48 AM
Hi,
Usually the Cmd that requires an answer has a question mark (?). But as you are sending this to an second PC, why not tell the PC what type it is by appending some thing to the string, (CMD or QUERY), which the second PC can strip off.
Regards
Ray Farmer
07-07-2008 10:04 AM
07-07-2008 10:30 AM
There is no difference in the control lines between a command or query. The handshaking is the same. The parsing of the command is done by the instrument. The instrument may or may not issue a service request but in many cases, it is the controller that just issues a read.
You say you are manilulating the commands in some fashion. Is there a reason you don't pass everything through? If there are some commands of the instrument you don't pass through and if it old and does not support the '?', you might have to add the instrument dictionary of commands to your intermediate pc.
07-08-2008 01:48 AM - edited 07-08-2008 01:49 AM