Home
Community
Discussion Forums
Most Active Software Boards
Measurement Studio for VC++
Topic
Measurement Studio for VC++
Register
·
Login
·
Help
Community
Category
Board
Documents
Users
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Search instead for
Did you mean:
Topic Options
Subscribe to RSS Feed
Mark Topic as New
Mark Topic as Read
Float this Topic for Current User
Bookmark
Subscribe
Mute
Printer Friendly Page
All Forum Topics
Previous Topic
Next Topic
Example of CNiReal64Vector constructor overload
Example of CNiReal64Vector constructor overload
alanl
Member
06-30-2004
11:55 AM
Options
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report to a Moderator
I need some example code to illustrate CNiReal64Vector constructor overloading to access a double array. eg(double*)spectra, (unsigned int)dataSize.
0
Kudos
Message
1
of 3
(3,762 Views)
Reply
Re: Example of CNiReal64Vector constructor overload
TonyH
NI Employee (retired)
06-30-2004
01:02 PM
Options
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report to a Moderator
The answer to
this question
from another contributor has a bit of example code that shows what you are trying to do.
Tony H
Measurement Studio
0
Kudos
Message
2
of 3
(3,762 Views)
Reply
Re: Example of CNiReal64Vector constructor overload
Elton Wells
Active Participant
06-30-2004
01:05 PM
Options
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report to a Moderator
Here's an example of this:
const int size = 1000;
double xRealArray[size];
double xImagArray[size];
// Populate xRealArray and xImageArray ...
CNiReal64Vector xReal(size, xRealArray);
CNiReal64Vector xImage(size, xImagArray);
CNiMath::FFT(xReal, xImage);
- Elton
0
Kudos
Message
3
of 3
(3,762 Views)
Reply
All Forum Topics
Previous Topic
Next Topic