LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Serial - ACK command to terminate

Highlighted
I need to communicate (RS232) with an Inficon
controller. I know the command set but each
command needs to be terminated with a 'ACK
command.
This is character 6 in the ASCII set. I don't know
how to enter this character on my serial write
command line. Can anyone help?

Thanks

Brian


Sent via Deja.com http://www.deja.com/
Before you buy.
0 Kudos
Message 1 of 3
(1,434 Views)
Hi Brian

To do this in LV you have to use VISA for the serial communications. There is an attribute that lets you specify the termination
characters etc.

Tim S

bmech@my-deja.com wrote:

> I need to communicate (RS232) with an Inficon
> controller. I know the command set but each
> command needs to be terminated with a 'ACK
> command.
> This is character 6 in the ASCII set. I don't know
> how to enter this character on my serial write
> command line. Can anyone help?
>
> Thanks
>
> Brian
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
0 Kudos
Message 2 of 3
(1,434 Views)
>
> > I need to communicate (RS232) with an Inficon
> > controller. I know the command set but each
> > command needs to be terminated with a 'ACK
> > command.
> > This is character 6 in the ASCII set. I don't know
> > how to enter this character on my serial write
> > command line. Can anyone help?
> >

I also had to send serial information to an instrument that required char 3 and char 2
STX and ETX for comms.
The way to achieve this is to select the string with ACK and right click on it and select "\" Codes Display this will send it as
ASCII on the port. So use
Strings >> Concatenate Strings from the Functions Pallete to add you command to the termination char then use Visa function write to
send to to the port.

Hope this helps

Rob Kennedy
A.V.Engineer
Seal R
ocks Victoria Australia
61 03 5952 9333

rob@sealrocksvic.com.au
0 Kudos
Message 3 of 3
(1,434 Views)