07-16-2021 03:33 PM
@PCAD wrote:
Thanks for the reply.
I have to measure pressure from The TIC Instrument Controller ( https://avtservices.com.au/shop/tic-instrument-controller-3-head-d39700000/)
Unfortunately this link is nothing more than a product sales page with no manual to download.
I think this is the manual that describes the protocol. Each message is terminated by a carriage return, so VISA certainly can handle this device very easily (and you should not forget to append a carriage return yourself to every command you send).
As to the program you show, there is pretty much nothing to debug. It's just the serial port example of LabVIEW a little modified. It's ok to try to play with your device and test out commands but it is totally not adequate to do anything like automated lab measurement. You basically want to write a minimal driver with multiple VIs, one for each measurement or configuration type you want to do and which does all the command formatting and response parsing inside that VI.