Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to write and read to/from a serial device using the VISA block

    Hello everyone,

    I am having problems trying to comunicate with a temperature controller R/S (Advanced model - Cole-Parmer instruments 89000-15) using the labview's VIs.
    When I try to comunicate with the controller by the hyperterminal, I can do it, and the device also gives me a response. The problem is that the Labview is not being able to make the controller recognize the code that is needed to be inserted. The code is the 02 hex (what in ASCII is a black smile face) T1XX (where XX are the commands given to the controller) and 0D hex (<CR>) . I do not know how to make the device understand these ASCII characters, using the LabView interface. I already tried some variations of these charcaters, but none of them worked. I also tried to get these characters from the hyperterminal files, which the Labview can recognize, but gives as answer another character that means that the command was invalid.

If anyone have any suggestion about this issue, I would be grateful.

Regards.
0 Kudos
Message 1 of 2
(3,212 Views)
You should be able to do this by simply setting the string control/constant to hex display. Right click on it and select it. You can also use the Byte Array to String or the Typecast function.
 


Message Edited by Dennis Knutson on 03-27-2008 09:38 PM
0 Kudos
Message 2 of 2
(3,202 Views)