Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

How to return ViString by reference?

Hi NG,

In my IVI instrument driver I would like to write my
own function that returns a ViString by reference.
The prototype of that function would look like this:

static void MyFunc (ViSession vi, ViSting *string);

I tried many methods, but I was not able to return
the result of my calculations within MyFunc to
'string'. So how can do I that??

Thanks for your help,
best regards,

Marcus

Message Edited by Marcus3967 on 07-18-2005 03:03 PM

0 Kudos
Message 1 of 2
(3,087 Views)

Hi Marcus

I'm not an expert but I  found this forums entrie, maybe it will help you.

http://forums.ni.com/ni/board/message?board.id=140&message.id=1520&requireLogin=False

regards

Manuel

 

0 Kudos
Message 2 of 2
(3,078 Views)