Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Remove old Data at the serial VISA Interface for a WTW Cond 730, hieroglyphics and inter-System problems (Windows / Mac OS X)

Hi,

 

I am a student and working in a universitary project using LabView. At the moment I try to program an interface for the WTW Cond 730 (Serial Connection). Up to now I receive data from the device, but I've got some problems with the received data and I hope you can help me out of them.

 

1. The first 0 to x Data packets I receive are outdated by far (e.g. I receive data from 13:15 h at 14:30 h) using 5 sec. intervals to send the data (WTW preferences). How can I remove outdated data from the interface before receiving data?

 

2. I receive up to 1020 Bytes presented as a string but sometimes I receive what looks like corrupt data. Nearly all of the string looks like special characters or like hieroglyphics. What went wrong and how can I fix it?

 

3. There are some problems in the format between Mac OS X (my programming environment) and Windows (the resulting app). I use "string subset" to get the needed string out of all the data. But when getting the correct string under Mac OS X (e.g. 25.0 °C) I get a wrong string under Windows (e.g. 20.0° iC). Would you recommend another way to get the right string than "string subset"? Furthermore the menu contains wrong special characters if ported to another System (e.g. the german "Ausgabezählwert" becomes "Ausgabezøhlwert"). It seems like the text encoding is system specific. How can I change that (e.g. to UTF8)?

 

The complete data I receive when everything works fine under Mac OS X looks like that:

 

 07.10.09      16:35   
 110.9 mS/cm    5.2 ¯C 
Tauto                  
nLF                    
Tref25  C = 0.475 1/cm

 

My vi: Wtw.vi

 

Thanks a lot!

 

Best wishes from germany.

0 Kudos
Message 1 of 3
(3,319 Views)

No ideas at all? Is my question in the way I wrote it to hard to understand?

 

The WTW Support wrote me that they don't support LabView. Another reason that I really need your help!

 

Thanks a lot!

 

Best wishes!

0 Kudos
Message 2 of 3
(3,283 Views)

I sniffed the serial communication between the WTW Cond 730 and the WTW MultiLab Pilot (which displays the correct information). I don't see any differences between this communication parameters and my LabView VISA parameters, but I am truly no expert. Perhaps some of you can get the right bit of difference out of it?

 

WTW-Serial-Sniff

 

Thanks a lot!

 

Best wishes

0 Kudos
Message 3 of 3
(3,281 Views)