sending and receive data randomly
-
- beginner
- Сообщения: 29
- Зарегистрирован: 16 янв 2008, 20:55
- Версия LabVIEW: 8.0
- Откуда: malaysia
- Контактная информация:
sending and receive data randomly
hello..
how i want to bulid a program that can transmit data randomly.example i have 3 column which is A,B and C.i want this data from this 3 column transmit randomly.here i attach the transmitter and receiver file.actually the transmitter program working.but the problem comes when the receiver can not receive the data that transmit randomly.can u check for me if my program is ok or not.and mayb the receiver part has a problem.this transmitter and receiver program is separate program, it means transmitter program in another computer and receiver program in another computer.
thank u
how i want to bulid a program that can transmit data randomly.example i have 3 column which is A,B and C.i want this data from this 3 column transmit randomly.here i attach the transmitter and receiver file.actually the transmitter program working.but the problem comes when the receiver can not receive the data that transmit randomly.can u check for me if my program is ok or not.and mayb the receiver part has a problem.this transmitter and receiver program is separate program, it means transmitter program in another computer and receiver program in another computer.
thank u
-
- beginner
- Сообщения: 29
- Зарегистрирован: 16 янв 2008, 20:55
- Версия LabVIEW: 8.0
- Откуда: malaysia
- Контактная информация:
Re: sending and receive data randomly
here i attach the transmitter and receiver file.
thanks
thanks
- Вложения
-
- transmitter4.vi
- (45.88 КБ) 401 скачивание
-
- receiver.vi
- (66.7 КБ) 374 скачивания
-
Eugen Graf
- guru
- Сообщения: 6502
- Зарегистрирован: 13 ноя 2007, 02:20
- Награды: 4
- Версия LabVIEW: 2009
- Откуда: Saarbrücken
- Контактная информация:
Re: sending and receive data randomly
Yes, your receiver can receive data, but will write them into excel only after you stopped your while loop. Here is the problem. You have to place your Add Data For Loop into the while loop. So place Opening and labeling before your main while loop, adding data into the loop and closing after the while loop.
-
- beginner
- Сообщения: 29
- Зарегистрирован: 16 янв 2008, 20:55
- Версия LabVIEW: 8.0
- Откуда: malaysia
- Контактная информация:
Re: sending and receive data randomly
i dont understand.u mean at the receiver part i must modified?thank u
-
Eugen Graf
- guru
- Сообщения: 6502
- Зарегистрирован: 13 ноя 2007, 02:20
- Награды: 4
- Версия LabVIEW: 2009
- Откуда: Saarbrücken
- Контактная информация:
Re: sending and receive data randomly
Look here.
- Вложения
-
- Read&WriteExcel.PNG (6.12 КБ) 14512 просмотров
-
- beginner
- Сообщения: 29
- Зарегистрирован: 16 янв 2008, 20:55
- Версия LabVIEW: 8.0
- Откуда: malaysia
- Контактная информация:
Re: sending and receive data randomly
regarding on the receiver part(file that i attach before) the data that receive from transmitter cannot be store in table.the old data cannot be store in table and it replace with the new data.now how i want to make the data store in the table although the new data comes?
-
Eugen Graf
- guru
- Сообщения: 6502
- Зарегистрирован: 13 ноя 2007, 02:20
- Награды: 4
- Версия LabVIEW: 2009
- Откуда: Saarbrücken
- Контактная информация:
Re: sending and receive data randomly
Hello masturah, sorry but I don't have ExcelVIs used in your ReceiverVI. So I can't say you how to do it. Do you use Report Generation Toolkit? Or post here your Excel Library.
Why do you use Excel? Can't you take common spreadsheet file to save your received data? Spreadsheet file is a ASCII Text Table File. So you can open and edit them with Excel too. If you want an axample how to save received data into a spreadsheet file, so I can show you.
Why do you use Excel? Can't you take common spreadsheet file to save your received data? Spreadsheet file is a ASCII Text Table File. So you can open and edit them with Excel too. If you want an axample how to save received data into a spreadsheet file, so I can show you.
-
- beginner
- Сообщения: 29
- Зарегистрирован: 16 янв 2008, 20:55
- Версия LabVIEW: 8.0
- Откуда: malaysia
- Контактная информация:
Re: sending and receive data randomly
can u show me the example of what u said? my objective is only to receive the data randomly and store in spread sheet.the excel part i just learn from example in labview itself.
-
Eugen Graf
- guru
- Сообщения: 6502
- Зарегистрирован: 13 ноя 2007, 02:20
- Награды: 4
- Версия LabVIEW: 2009
- Откуда: Saarbrücken
- Контактная информация:
Re: sending and receive data randomly
Look appended VI, it should work.
- Вложения
-
- receiver.vi
- (42.71 КБ) 360 скачиваний
-
- beginner
- Сообщения: 29
- Зарегистрирован: 16 янв 2008, 20:55
- Версия LabVIEW: 8.0
- Откуда: malaysia
- Контактная информация:
Re: sending and receive data randomly
hello eg.my transmitter program can not run randomly,here i attach new file..how i want to do this.i want column A send then column B then column c and then mayb column C start first. it send randomly.please help me
- Вложения
-
- (TRANSMITTER CONFIRM JADI.vi
- (53.81 КБ) 348 скачиваний
-
Eugen Graf
- guru
- Сообщения: 6502
- Зарегистрирован: 13 ноя 2007, 02:20
- Награды: 4
- Версия LabVIEW: 2009
- Откуда: Saarbrücken
- Контактная информация:
Re: sending and receive data randomly
I don`t understand you, do you want to send randomly or not?masturah писал(а):hello eg.my transmitter program can not run randomly,here i attach new file..how i want to do this.i want column A send then column B then column c and then mayb column C start first. it send randomly.please help me
-
Eugen Graf
- guru
- Сообщения: 6502
- Зарегистрирован: 13 ноя 2007, 02:20
- Награды: 4
- Версия LabVIEW: 2009
- Откуда: Saarbrücken
- Контактная информация:
Re: sending and receive data randomly
If you want to send it randomly, so use Random Number VI to get any number betwen 0 and 1, then multiplicate this number with e.g. 10000 and connect to the wait ms VI in each while loop.
-
- beginner
- Сообщения: 29
- Зарегистрирован: 16 янв 2008, 20:55
- Версия LabVIEW: 8.0
- Откуда: malaysia
- Контактная информация:
Re: sending and receive data randomly
can you show to me.but i try to put random number function.but it doesn't work
-
- beginner
- Сообщения: 29
- Зарегистрирован: 16 янв 2008, 20:55
- Версия LabVIEW: 8.0
- Откуда: malaysia
- Контактная информация:
Re: sending and receive data randomly
here i attach the file that i use random number vi.
- Вложения
-
- transmitter random2.vi
- (49.1 КБ) 404 скачивания
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение
-
- 5 Ответы
- 847 Просмотры
-
Последнее сообщение dadreamer