LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

digital waveform from Excel

HI, I need to do a digital waveform.I have three relays and ON/OFF times are in milliseconds written in Excel cells. One cell tells for how many milliseconds relay is ON and  other tells how long it is OFF. I would like all three signal to be in same chart one upon the other. Not to be too easy there are also two delay cells that tells how much later those two other relay go ON compared to the first one.So actually there is 8 different cells which have times in milliseconds.
 
My explanation isn't so good so I try to sketch it.
 
      ______
      |          |_____  Channel 1
        on1      off1
            _____
______|        |____ Channel 2
 delay1   on2    off2
        ________
____|               |_____  Channel 3
delay2   on3       off3
 
 
I have Labwiev 8.5 in use. Thanks
 
Mika
0 Kudos
Message 1 of 3
(3,294 Views)

Hi Mika

thats an interesting thing. i´m not sure for what you need the off time. I make an example like i understand it. I ommitted to read from Excel, i choose a 2D Array. See the attachment, pleas. Hope it helps.

Mike

0 Kudos
Message 2 of 3
(3,249 Views)

Hi Mike, thanks you for your answer.It seems to work the way I wanted it. Smiley Very HappyThe reason I need the off time is because there are usually more than one cycle to repeat. I mean that the reley needs to go to ON position many times. And before it goes on again it should be off for a while. Also if its needed that all three channels have the same cycle time OFF  times are also needed(all three channels have equal ON+OFF time).Hope that clears it a bit.

 

Mika

0 Kudos
Message 3 of 3
(3,232 Views)