I am trying to control the Olympus IX-81 microscope with LabVIEW and cannot seem to communicate with the microscope. I just recently configured the settings in the VISA test panel, and was finally able to both read and write to the instrument through serial, but when I tried the same settings in the VI's provided by National Instruments, I get the same timeout error at VISA read. Each command needs to end with \r\n, but I cannot find the place where I can set each command to contain this. I put a probe in the spot right before the error occurs, and noticed that under the transfer settings tab in the probe watch window, there is a lit up indicator titled "Use TermChar on read", but the Termination character box below it contains "A" instead of \r\n. Also, the "Send end on write" indicator is lit up, however, the "Send end mode for writes" box below it says "none". I am new to LabVIEW and this is my first time posting to the forums, so please forgive me if I have not explained my situation in the best manner. I have spoken with LabVIEW tech support multiple times to no avail. I have attached a screen shot of what I am referring to and also a zip file containing the VI's I am trying to work with. Any help would be greatly appreciated. If there is any more information I need to provide, let me know. Thanks.
↧