Garfield wrote:
>
> hello!
>
> I am a new user for LabView, and I met a problem with
> interface for RS232 instrument to build.
>
> It is for ventils to control ( ventil runs just as a small air pump), I
want
> to
> do it by LabView programm.
>
> it runs by:
> 9600 bau rate,
> 8 data bits,
> 1 stop bit,
> no parity.
> 4 chanals.(it can control max. 4 ventils)
>
> I set them up by the first step.
>
> And then I wanted to give a command to test it. I got the information
> from its manual: (open one ventil)
>
> Byte1 Byte 2 Byte 3 Byte4
> 10010000 0000CCCC 00000nnn 0nnnnnnn
>
> CCCC: the number of chanal (it is chanal 1 that i would test).
> nnn nnnnnn (10bits in Byte3 and 4)) :
the value of the pump (in %, i
wanted
> 100%).
>
> So by the second step I wrote the string
> "10010000 00000001 00000111 01111111"
Hi!
with the suggestions from you I tried to control it with VISA I/O VIs, I
wrote it
just as the example in the manual, but there is still the same problem.
I wrote the command as a hex. number(90 01 7 7F) in a array and changed it
into a string
,then inputed it directly to the Buffertowrite by the sub-vi VISAWrite, I
always feel it is not
very correct, but I don't know how to do it. could someone help me to find
the mistakes I made ? Thanks a lot!
Le
P.S: where can I find the software to test the COM, for example to check how
the pins
work?