Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Voltage vs time (http://www.chiefdelphi.com/forums/showthread.php?t=76118)

Tello 23-03-2009 12:23

Voltage vs time
 
Hello,

Im trying to measure a voltage and plot it on chart versus relative time, but instead time to start from 0 seconds, its starts from random number { or not random} like 32256. Can someone help me please?

RyanCahoon 23-03-2009 17:35

Re: Voltage vs time
 
Quote:

Originally Posted by Tello (Post 839851)
Hello,

Im trying to measure a voltage and plot it on chart versus relative time, but instead time to start from 0 seconds, its starts from random number { or not random} like 32256. Can someone help me please?

More detail would be nice, but assuming you're doing this programatically, make sure you're initializing your variable (in C/C++), or if you're using LabVIEW and a shift register, make sure you initialize that too the first time your VI runs (wire in from the outside of the loop).

If I've misinterpreted, feel free to clarify, and I'll try to help.

--Ryan

byteit101 23-03-2009 18:31

Re: Voltage vs time
 
I'm a C++ person, but the reason you have the "random" numbers is because this is what happens:
Power->crio->boot sequence->start system clock->other stuff that takes time and increments the system clock-> you download code after you wait a while for it to boot up, and compile->eventualy, it runs, and returns the current (mili?)second count?->you look at the data and wonder what is going on???->you post this thread


All times are GMT -5. The time now is 10:40.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi