Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5374

IVI -C custom driver problem

$
0
0

problem 1:
Prefix_clearError(Visession vi);
1:when does customer application call this function?
2: the purpoe is to clear error code and error description .
where is the error code? does it live in customer application?
3: where is the error description ?does it live in IVI-C driver program ?


problem 2:
how to deal with the first parameter in Prefix_init function?
the initializing function is Prefix_init(ViRsc Resource, ViBoolean Reset,ViSession * vi)
the first parameter is a string . but my driver is a IVI-C custom driver.
what string should be passed to the function ?


problem 3:
according to section 5.16.1 in IVI3-1 , Separate sessions should be used for both class driver and specific driver.
class initilize function should return class session;
application call Get Specific Handle to get specific driver session.by doing so, application can call other specific function.

however ,my driver is a custom driver .it should not incorporate interchangeability .In this case how to comply with section 5.16.1?


problem 4:
as far as i know, i can use wizard to build a driver skeleton
there are four items from I/O interface as below
GPIB ,RS232, VXI-message based , VXI-register based .
I just to control a remote instrument by LAN, which item is my best choice?

 

 


Viewing all articles
Browse latest Browse all 5374

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>