Jump to content

shmb

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by shmb

  1. labview.vi

    Hello everyone,

    I am getting data from serial port RS232 through Labview with my laptop . baudrate is 38400 and there is about 4080 byte every 5 ms (transmission rate).

    I am going to extract some specific bytes from each word (11 bytes in every word). I have to first convert the ASCII format of data to decimal and then extract some special bytes to get the waveform.

    So far I have converted the ASCII string to byte array and then convert byte array to decimal by using type cast function without yet extracting those two desired bytes. (Because I didn't find the right function yet)

    My question is that after getting data, when I am going to do conversions, program speed will decrease and it takes long time to do theses conversions after each transmission. I mean the waveform progress very slow.

    I am thinking about using Mathscript after reading from serial port to increase speed and being able to do conversion. I have attached the program. I am wondering if you could let me know whether I am doing right.

    Regards,

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.