03-14-2019 01:31 AM
In the following VI at the last stage i am reading data continuously from the UUT. But while reading serial data continuously in while loop I am loosing few of the bytes.Please suggest me the way i can get all the data from the UUT without loosing.
03-14-2019 01:58 AM
03-14-2019 02:00 AM
Sorry sir, i have tried many ways to resolve that issue,In that one method is password protected.
Its password hhh
03-14-2019 02:03 AM
Yes i have a problem with my block diagram.
Now i have attached the same by removing password.please have a look into it.
03-14-2019 02:05 AM - edited 03-14-2019 02:09 AM
Hi Venkata,
after using my favorite password cracker I have some comments:
I am loosing few of the bytes.
Which bytes exactly do you lose? How many?
-> Set WriteTextFile to NOT convert EOL chars.
On the VI itself:
- Why don't you cleanup your VI?
- Why don't you create a smaller VI containing only the stuff needed to get this problem solved? Why do you need so many Disable structures?
- Do you really need to open so many COM ports in parallel? Do you really need to call VISAConfigureSerialPort even without providing a COM port?
- Do you really need to use BytesAtPort?
- Do you think it's a good idea to build path using string functions instead of path constants and functions?
03-14-2019 02:06 AM
I have attached the Vi below without any password.
03-14-2019 02:11 AM
Ok Sir I will remove disable structures i will send you modified VI.And i need to open one COM port first with one baud rate.With that baud rate i will send commands to the UUT.Later i will close that COM port.After that i will open the same COM port with different baud rate.With this new baud rate i have to read data from the UUT continuously from the same COM port.I want to log the data in the bin file.
03-14-2019 02:35 AM
03-14-2019 02:39 AM
Sure That part i will modify please have a look on this cleaned VI.
03-14-2019 02:46 AM - edited 03-14-2019 02:49 AM
Hi Venkata,
have a look on this cleaned VI.
Btw. NEVER hide labels of controls/indicators in the block diagram…