NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

DLL Prototype fetch scope TestStand

Hi,
 
I want to use the function "niScope_Fetch" from "niscope_32.dll" in order to manager Scope MultiRecord Acquisition in TestStand.
The Scope Board is initialized and configured witch IVI_Scope steps then with the "Specific Driver C Handle" I'm using "niScope_ConfigureMultiHorizontal" and now I want to pass parameters to "niScope_Fetch".
I have troubles with "double *wfm" prototype !
How should I pass pointer to 2D-Array of Double in TestStand ?
Is it necessary to change "double *wfm"
In fact, is is possible to use the following function directly with TestStand "C/C++ DLL" Adapter :
long niScope_Fetch(long vi, const char *channelList, double timeout, long numSamples, double *wfm, long *wfmInfo)
 
Do you have such an example or another way to read Scope MultiRecord acquisition without LabVIEW ?
 
Thanks in advance,
 
Emmanuel BOIVIN
0 Kudos
Message 1 of 2
(3,085 Views)

Hello,

I do not really understand your question. Do you want to use a pointer to an 1D array of to a 2D array? The "double *wfm" prototype correspond to a pointer to an array of double. You can pass this kind of data in TestStand, I have done a small screenshot to show you:

The prototype to double pointer to a 2D array is like : double **ptr.

Do I answer your question?

Manuel

Message Edité par ManuelR le 04-03-2007 07:21 AM

Manuel R
AE dans une autre vie
0 Kudos
Message 2 of 2
(2,973 Views)