12-02-2005 11:28 AM
12-02-2005 11:37 AM
You did not have a VISA open that may have been adding to the issue. I fixed up you code and see if this solves the problem.
Matt
12-02-2005 11:41 AM
Are you sure that you are reading Hex? Most developers deal with hex communication by using an array of U8's for the hex characters. You can use Byte Array to String to transmit the information using VISA write.
Matt
12-02-2005 11:42 AM
12-06-2005 03:55 AM
Hi Guys.
Thanks for the replies. I have just picked these messages up as I have had a much needed long weekend break.
The problem persists. First I will answer the questions proposed. The version of NI-VISA I am using is the April 2004 Edition that came with LabVIEW 7.1. The data I am reading over the serial link is in the form of comma separated hexadecimal formatted words, where a word is 2 bytes long.
The VI takes the data, but stalls at VI close so the connection to the coms port stays open. (Including the VISA open function in the VI did not solve the problem).
It is a very confusing problem. I will let you know how I get on. I suspect that the virtual coms interface (a USB stack emulating a serial link) could be the problem so I will need to check this with a software engineer.
Best Regards
Ashley