LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Increment the Voltage reading.

Hi,

I need some help to build a VI that able to read the voltage changes
per time interval.
I have a power supply(TTI-PL330DP), a multimeter(HP-34401A) and a GPIB
card(ATI-GPIB/TNT(PnP)).
The power supply is connected to the multimeter and the multimeter is
connected to the GPIB card.
I managed to build VI that able to read the voltage
changes(manual/local)that is connected to the multimeter, but the
problem now is i have no idea where to start to be able to monitor the
changes if i am to implement the loop.
What i am trying to do is to be able to monitor the changes of the
voltage reading frm the power supply every 1 second and the increment
would be 1 volt/second.

Tankio ver much and hopefully someone will understand what im trying
to s
ay 🙂

regards,
frustrated student
0 Kudos
Message 1 of 3
(2,430 Views)
Yes, you should build a While loop and use Shift register to compare two
consecutive samples, after adding the first Shift Register, you should add
one more element to give you two values to compare (one from result of the
previous loop and one from the loop before). To be able to capture the
change of 1 second your loop should take sample as fast as 500ms and the
faster is the better (ie. 200ms), ie put a wait command inside the loop.
Then compare the two values from the shift register to determine some
action.

Hope this answers your question.

Louis.

"lvnoob" wrote in message
news:69241b2f.0207122031.65e2ef4@posting.google.com...
> Hi,
>
> I need some help to build a VI that able to read the voltage changes
> per time interval.
> I have a power
supply(TTI-PL330DP), a multimeter(HP-34401A) and a GPIB
> card(ATI-GPIB/TNT(PnP)).
> The power supply is connected to the multimeter and the multimeter is
> connected to the GPIB card.
> I managed to build VI that able to read the voltage
> changes(manual/local)that is connected to the multimeter, but the
> problem now is i have no idea where to start to be able to monitor the
> changes if i am to implement the loop.
> What i am trying to do is to be able to monitor the changes of the
> voltage reading frm the power supply every 1 second and the increment
> would be 1 volt/second.
>
> Tankio ver much and hopefully someone will understand what im trying
> to say 🙂
>
> regards,
> frustrated student
0 Kudos
Message 2 of 3
(2,430 Views)
Hi Frustrated,

Inaddition to what Louis had to say, I can add two comments. First, if you want to get your readings to show up regularly, at one second intervals, you may have to open conncetions to the device and keep them open to get good response. Also, If you try to get multiple samples per second, the intevals between readings being return may not always be the same. To compensate, track the time explicitly and use the cumputed time to detrmine the rate of change.

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 3 of 3
(2,430 Views)