LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to get labview to read values from table and apply a value and time

Hello all,

 

Newcomer here, recenlty just took core 1 and 2 the past couple of months

 

So I'm working on a project which requires an input value sent through to a controller that controls the voltage to a Motor that spins a shaft. The project entails that the voltage needs to change after a certain time, the voltage would increase and the motor would spin faster. Is there a way for Labview 9.0 to read the values from a table like in my attachment and apply both values, Voltage and Time, also to continue on its own to the next row with different values?

 

Thanks in advance for any help.

Download All
0 Kudos
Message 1 of 4
(2,663 Views)

I'd recommend taking a look at the Gen Voltage Update.vi example in the LabVIEW example finder. You can pair that with the Read From Spreadsheet File, a for loop and a time delay to accomplish what you're trying to do.

CTA, CLA, MTFBWY
0 Kudos
Message 2 of 4
(2,649 Views)

@Snoepunter so i looked at the Gen Voltage Update.vi and tried to pair it up with the read from spreadsheet file vi and it was erroring out. can you tell me why?

0 Kudos
Message 3 of 4
(2,615 Views)

You need to add a for loop like I mentioned in my previous comment.

CTA, CLA, MTFBWY
0 Kudos
Message 4 of 4
(2,612 Views)