Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

simple drawing of digital event

Dear All,

 

I'm a visual basic user but , in these days, I start to learn VB. NET with MS 8.5.

 

I have digital event data which are as follows,

 

channel 1 : normally off(zero) and on(1) at 1ms(duration 10ms) and off(zero) again

channel 2 : normally off(zero) and on(1) at 10ms(duration 5ms) and off(zero) again

channel 3 : normally off(zero) and on(1) at 1s(duration 10ms) and off(zero) again

...to channel 30

 

These events are changed by user input through text box in the form.

 

Now, I'd like to draw these event as follows,

 

| channel 1   ----|¯¯|---------------------------........------------------

| channel 2   ---------------------|¯¯|----------........------------------

| channel 3  ------------------------------------........---------|¯¯|----

| ......

|                        

|---------------------------------------------------........-----------------

|                     0                    10ms                               1s

 

My questions are

 

1. Which component is adequate for these data? WavformGraph? Digital...?

2. How do I prepare data for graph? Just make a 2D array?

3. And what about Xaxes label.(I do not need Y axes label or tick) 

 

Thanks in advance!

 

 

 

0 Kudos
Message 1 of 1
(3,111 Views)