minhtham

Members
  • Content Count

    11
  • Joined

  • Last visited

Community Reputation

0 Neutral

About minhtham

  • Rank
    Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. minhtham

    Read data

    ok. thank for your help !
  2. minhtham

    Read data

    I'm trying to read data from a device has a problem with myprotocol. is how to get all the data received from the buffer RX: 002+address+indeex+data+003+2 byte check because no fixed number of data bytes that can not use the READ (number of bytes) nor use readuntil () because it undefined 2byte check How get the data of "RX" including the 2 byte check
  3. I try to read data from a device and get on a string in which two characters are required data along, but it's in hex format. how to convert from hex to dec?
  4. minhtham

    Create New protocol

    Carel protocol is attached below. Carel Protocol.pdf
  5. minhtham

    Create New protocol

    Dear Support! I have problems in reading data from the controller Carel, because it uses the protocol Carel, not supported by DAQ. I want to create a new protocol to read data in the DAQ. I need an example of creating new protocols and steps to implement them. I have a document about Carel protocol is attached below. Thank you!
  6. minhtham

    read data from mysql database

    I did it! thanks......
  7. minhtham

    read data from mysql database

    i can't read data type "text",it is retune whole is" 0" how to read it??
  8. minhtham

    read data from mysql database

    myObject = new(MyClassType) QueryToClass(dshandle, "SELECT Name, Address FROM myTable", myObject) "MyClassType" What is defined?
  9. minhtham

    read data from mysql database

    i have a problem when i read data from mysql. when i used "global qr = db.Query(dbase,"SELECT name FROM alarmlog limit 100;")" ,it is no problem. but i used " global qr = db.Querytoclass(dbase,"SELECT name FROM alarmlog limit 100;")",DAQ is close.
  10. minhtham

    alarm loging to database

    Dear. I won't to log alarm to a MS SQL sever 2012 with DAQ and I get the following error.Could you help me? I have seen some other posts but they refair to logging not alarm logging. I have created a DNS System Data Sourse with windows authentication. C1021 Could not create table for alarm logging. Msg: Column, parameter, or variable #2: Cannot specify a column width on data type text. I've created the table before opening DAQ but when I opened it DAQ error still there"C1021 Could not create table for alarm logging. Msg: Column, parameter, or variable #2: Cannot specify a column width on data type text." I do not know what needs to add the DAQ declare it?