11-14-2007 02:00 AM
11-14-2007 02:14 AM
I no longer have the problem with any device that I use right now. From front panel,it will show the value as expected but after write to txt file. the txt file itself doesn't show like the string at front panel. We're discuss on 0x20 value I'm getting after run your program isn't it? This is what I'm trying to tell you. The problem isn't part of the device at all. Can you just try run this code at send back to me the txt file. Just send any modbus frame at Cheat Modbus String. Do you see any changes at the txt file if u send any 0x00?
11-14-2007 02:44 AM - edited 11-14-2007 02:44 AM

11-14-2007 04:10 AM
Hi .
I finally know what's going on. The .txt file will show 0x00 if only I open the file back using labview. If I just copy the character string in test.txt file into string indicator and display it in hex, it will show 0x20. I wonder if we save this kind of character in database, and then using another program to open it (not labview), what will happen...
Anyway..I will do some more reading and test for any application using labview. Thanks for wasting your time on me KC. ![]()
Thanks a lot ![]()
11-14-2007 04:16 AM - edited 11-14-2007 04:17 AM
11-19-2007 11:02 PM
11-20-2007 01:39 AM
11-20-2007 03:26 AM
hi..i already open new topic but no one view my question.heheh...sorry for the typing error.actually i get different CRC when i send single or multiple data .. my concern is more on query string that i send and i'm using modbus library to write multiple data. if u see in my attachment file the data are send in an array..my problem is i not sure either the query string that i send is correct or not..because if i send more that 13byte , time out error will occured.any idea??
u can reply to this add
http://forums.ni.com/ni/board/message?board.id=250&message.id=34993&query.id=83281#M34993
11-20-2007 04:11 AM
I saw this question but there was not enough data to understand your question.
I don't use the ModBus lib. so I can't help you with this.
Did you already tried to increase the timeout ?