Problems with TCP conection

Post beginners questions here. Don't be ashamed starting stupid topics.
Ответить
heitorwwa
interested
interested
Сообщения: 5
Зарегистрирован: 23 авг 2012, 00:53
Версия LabVIEW: 2012

Problems with TCP conection

Сообщение heitorwwa »

Hello,
I am a begginer in LabView and in need of getting data from a pressure acquisition equipment to a client computer through a TCP connection. For that i made the code to open a tcp connection, write the equipment's configuration, and read the data. All the string entry for the write VI's are as in the manual and the last of them (SCAN) is a command. Every time I run the program it return an error 56 in the read function and i can´t understand why. Attached is a picture of the code. If anyone could explain to me what it is that i am doing wrong i would be grateful.
Аватара пользователя
Eugen Graf

Activity Professionalism Silver Black
guru
guru
Сообщения: 6502
Зарегистрирован: 13 ноя 2007, 02:20
Награды: 4
Версия LabVIEW: 2009
Откуда: Saarbrücken
Контактная информация:

Re: Problems with TCP conection

Сообщение Eugen Graf »

Run this VI in Debug-Mode (turn the yellow lamp on the top menue on) and look if the error appears after the open connection or after the read VI.
heitorwwa
interested
interested
Сообщения: 5
Зарегистрирован: 23 авг 2012, 00:53
Версия LabVIEW: 2012

Re: Problems with TCP conection

Сообщение heitorwwa »

The error appears only after the read VI
Borjomy_1

Activity Professionalism Silver
doctor
doctor
Сообщения: 2210
Зарегистрирован: 28 июн 2012, 09:32
Награды: 3
Версия LabVIEW: 2009..2020
Откуда: город семи холмов
Благодарил (а): 27 раз
Поблагодарили: 26 раз

Re: Problems with TCP conection

Сообщение Borjomy_1 »

Enlarge the TimeOut value for the read VI, up to 1000-5000 ms
heitorwwa
interested
interested
Сообщения: 5
Зарегистрирован: 23 авг 2012, 00:53
Версия LabVIEW: 2012

Re: Problems with TCP conection

Сообщение heitorwwa »

I am changing this post to the communication with devices forum
Ответить
  • Похожие темы
    Ответы
    Просмотры
    Последнее сообщение

Вернуться в «For beginners»