Go to Post Which meant that I was completely unprepared when the congealing large globules suddenly accelerated back towards me at 64 ft/sec/sec. - dlavery [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 23-03-2009, 12:23
Tello Tello is offline
Registered User
no team
 
Join Date: Mar 2009
Location: Belgium
Posts: 1
Tello is an unknown quantity at this point
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?
Reply With Quote
  #2   Spotlight this post!  
Unread 23-03-2009, 17:35
RyanCahoon's Avatar
RyanCahoon RyanCahoon is offline
Disassembling my prior presumptions
FRC #0766 (M-A Bears)
Team Role: Engineer
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Mountain View
Posts: 689
RyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond repute
Re: Voltage vs time

Quote:
Originally Posted by Tello View Post
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
__________________
FRC 2046, 2007-2008, Student member
FRC 1708, 2009-2012, College mentor; 2013-2014, Mentor
FRC 766, 2015-, Mentor
Reply With Quote
  #3   Spotlight this post!  
Unread 23-03-2009, 18:31
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
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
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Battery voltage Yuan Xue Lim Electrical 7 04-02-2009 23:10
Voltage Dividers daviamp Electrical 1 11-02-2006 10:27
It's that time of year again!! (No, not The Championship event) Tax Time!! Elgin Clock Chit-Chat 4 10-04-2005 10:59
OI Voltage JAH Electrical 7 12-11-2004 20:01
Voltage Byte -> True Voltage Ulibrium Technical Discussion 11 01-03-2002 08:55


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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