10-04-2007 11:35 PM
10-05-2007 12:39 AM
Hi indrajit,
i am using serial port to get data..where i want to know that whethere the instrument is connected or disconnected before data transfer .. i want to dispaly the status ....any plz
To determine whether your PC is correctly cabled to the instrument, you'll probably want to send a command to the device, then read a response. Before you can do that, you'll need to know some basic info like what baud-rate, data-bits, stop-bits, and parity ("flow-control" is typically "none".)
Assuming the device uses text (ASCII) commands and responses, Windows' "Hyperterminal" is a good tool for proving the connection is good. If you can't do it in Hyperterminal, you probably won't in LabVIEW. Configure a connection in Hyperterminal and try to communicate with the instrument, once that works, develop a utility in LabVIEW to do the same simple query. Post back with more questions!
Cheers!:
10-05-2007 08:11 AM