Search results for query: *

  1. E

    UDP program with Wiz110SR

    Hello, Has anyone ever created their own UDP configuration program using the Wiz110SR? Any information or sample code would really be appreciated. Thanks
  2. E

    Read streaming data from serial port and write to buffer

    Hello, I am trying to read fast streaming data from a serial port and put it in a buffer. Then I would like to read from the buffer and display the data into a text box. The streaming data to the serial port is setup as a 16 byte frame, but it is constantly sending. How would I read this...
  3. E

    Error when disconnecting serial port

    Hello, I have a program that continuously reads in streaming serial port data and plots this data on a chart. I am getting an error and the program is crashing when I try to disconnect the serial port. I believe it is because there is still data in the receive buffer when I try to disconnect...
  4. E

    Big red X when using chart control

    Hello, I'm plotting some serial port data using a windows forms spline chart, and at random times as I'm plotting the streaming data the chart will disappear and in its place will be a large red X. Could someone shed some light on what is causing this error? Thank you
  5. E

    Scrolling Spline Chart help

    Hi, I was wondering if someone could point me to a good tutorial or example showing a scrolling / moving spline chart. I have data points that are plotting to a spline chart, but i would like to just plot about 200 points on the chart at all times. I would like the old data to be removed...
  6. E

    Display Array into textbox Cross-thread

    I am reading bytes from a serial port and storing them in an array. I would then like to display the array contents to a textbox. I keep getting this error code --> "Cross-thread operation not valid. Control TextBox1 accessed from a thread other than the one it was created on". My code is...
  7. E

    Read Serial Data and display in DataGrid View

    The array is an array of bytes and I would like to see a 6 column data grid that displays the bytes. (ie say my array consists of 0x55, 0xFF, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x55, 0xFF... etc. I would like to see this in my grid: 0x55 0xFF 0x01 0x02 0x03...
  8. E

    Read Serial Data and display in DataGrid View

    Hello, I am able to read data from a serial port and store it in an array, but I would like to be able to take those array values (hex values) and display them in a DataGrid. Would someone be able to direct me to some sample code that helps explain this? Thank you.
  9. E

    Properly closing OFileStream File

    Hi, I am saving data from a serial port to a file using OFileStream. I am having trouble closing a file and I think it's because data is still being sent to the file when I'm trying to close it. All I have found online is the following code to close the file. Could anyone let me know if this...
  10. E

    Auto incrementing saved file name

    I have this code snippet working pretty well, however I would like to specify these files as .bin files. I don't quite know what the syntax of that would be to keep the original FileName and structure (ie, FileName.bin) but when it increments have the counter number within the file name (ie...
  11. E

    Auto incrementing saved file name

    Hello, I am currently creating a file a the beginning of running my program using oFileStream = New System.IO.FileStream("FileName", System.IO.FileMode.Create). Data from a serial port is being saved to this file throughout the program, and what I am looking to do is close this current file...
  12. E

    Line chart scroll bar

    Hello, I have a line chart that is taking in data from a serial port and plotting it in as close to real time as I can get. Right now I am saving 1000 values to a DataGridView chart and once the data reaches the 1000th value, it starts overwriting the oldest data first. I can stop the chart...
  13. E

    multiple Y axis on line chart

    Thank you for the reply, I tried this and I believe it is scaling correctly, however, neither Y axis have any numbers displaying the scale. They are both blank at the moment. I think they are default to autoscale, but I would like to be able to add hard min and maximum values and be able to...
  14. E

    multiple Y axis on line chart

    Hello, Could anyone tell me how you could get two Y axis on a single line chart and assign them to a specific Series in that chart area? Thank you.
  15. E

    fill DataGridView?

    HI I have created a DataGrid that constantly inputs data from an array. I only want 1000 rows for this grid and once the row count = 1000, I would like to start back at row 1 and overwrite the data that is there. Does anyone know how this could be done?
  16. E

    Spline Chart seems to be overloading?

    Hi, I have a question involving a spline chart. I am currently streaming serial port data into my VB.net program, picking out certain bytes and plotting them on a spline chart. Everything seems to be going well accept after maybe 10 seconds the chart seems to be slowing down and then hangs up...
  17. E

    receive 2 bytes and add them together before plotting

    Hello, I am receiving a stream of data into a serial port and picking out 2 specific bytes that are returned to ReceivedText(ByVal [text] As Byte). I would like to then add these two bytes together to be plotted as a 16 bit value. Anyone have any code suggestion to add these bytes together...
  18. E

    Line Chart with scrollbar

    Got it working with all your help! Thank you very much, you have a great way of giving examples and explaining things, I appreciate it.
  19. E

    Line Chart with scrollbar

    Thanks for the reply.. I put the received serial data in an array called "ReceivedList", I set the HScrollBar minimum to 0 and the maximum to ReceivedList.Count-1, and set the HScrollBar1.Value = ReceivedList(i). However, I don't know in the HScrollBar1_Scroll event, how do I recall these...
  20. E

    Line Chart with scrollbar

    Hello, I have a line chart that is plotting data that is streaming in via a serial port. When the data is finished streaming, (port closed) I would like to be able to scroll through the collected data that was plotted. Would anyone have any ideas of where to start with this?
Back
Top