02-26-2007 04:42 PM
02-26-2007 04:53 PM - edited 02-26-2007 04:53 PM
The simplest:
char string[10];
strcpy (string, TimeStr ());
string[2] = 95;
string[5] = 95;
It seems to me that you are weak in some vary basic C questions: you should consider investing some time in studying a good language manual,
Message Edited by Roberto Bozzolo on 02-26-2007 11:56 PM
02-26-2007 06:09 PM
02-27-2007 12:56 AM
nadster
I don't want you feel discouraged to post your questions here. But since CVI is built on top of C language, I encourage you to consider that a good knowledge of this language constitutes a fundamental in your present and future activity; with this perspective, the time spent in learning the language is effectively an investment with its "costs" and its valuable benefits. You know the proverb: "Give a man a fish..."
02-27-2007 10:29 AM
For an easy reading intro to C, I like a quite old book that came with Microsoft's QuickC 2.5 eons ago (~1988-1990). It is called "C for Yourself". It is a bit dated in that it is focused on a 16-bit compiler, but it is so much more readable than the comprehensive C reference manuals.
The first third of the book is full of examples and pictures, and covers the essential concepts of C. With that under your belt, you'll be in a great position to really put the power of CVI to work for you. In fact, a slightly modified version of "Part 1" of the book would be a great addition to the CVI documentation to help beginners get started. (Got that, NI?)
It has no ISBN number, but the document number in my book is SY10423-0290. (Right now there are a few used ones listed on Amazon.)
Hope this helps.
03-26-2007 02:18 PM
03-26-2007 04:17 PM
03-26-2007 04:23 PM
After you have completed your acquisition with time refrence, you can plot measure vs. time (plotXY)
03-27-2007 06:06 AM
03-27-2007 02:29 PM