03-10-2008 07:37 AM
03-10-2008 09:21 AM - edited 03-10-2008 09:24 AM
I just started to look at your code and stopped immediately when I saw this (see image below):
What are you trying to do? Do you realize that you are trying to communicate to the same serial port from 3 parrallel instances?
Although your indicator say "read buffer", I don;t see any serial reads.. just "VISA Writes". Please start at the top. What are you trying to do, because writing to the proper Excel column should not be that difficult.. I can create an example, but I suspect you have many other obstacles before reaching that point.
RayR
03-10-2008 01:15 PM
03-10-2008 01:55 PM
03-10-2008 02:00 PM
Hi syanitaa,
So if I understand correctly, the real code would have 3 seperate write functions, all distinct? And not transmitting at the same time..
You could have a sub-vi which takes care of the transmit and the indexing and/or writing to the spreadsheet. You could simply have a control that selects to which transmitter is active. Inside this, you could use the same transmitter index to also index the appropriate column. In this manner, you would not have to append the letter A, B, or C to the text or data, unless you have to.
If the above is what you need, then there is no comparison involved. Just a selection of which transmitter to use.
RayR
03-11-2008 08:39 AM
03-11-2008 09:02 AM
03-11-2008 09:08 AM
03-11-2008 02:06 PM
03-11-2008 02:19 PM - edited 03-11-2008 02:20 PM