LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

IVI -C custom driver problem

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?

 

 

0 Kudos
Message 1 of 4
(4,329 Views)

Hello,

 

It appears that this post is being discussed on the IVI Foundation's discussion forum as well.  In order to avoid duplicate information and possible missed posts, let's consolidate our efforts and communicate only on the IVI Foundation discussion forum page.  The link below will redirect anyone who is interested in the solution.

 

Some Questions About IVI Inherent Function

http://forums.ivifoundation.org/questions/205/some-questions-about-ivi-inherenet-function.html

Regards,

Shawn S. | NIC
Instrument Driver/IVI PSE
National Instruments
0 Kudos
Message 2 of 4
(4,291 Views)

     Hi zongjian

Shawn is correct, for IVI discussions move the question to the IVI forum.

To answer the need for the IVI based driver. No, not necessarily, A more simple VISA driver is all that is needed to utilize all card types and multiple IO platforms. a VISA instrument driver will support LAN.

0 Kudos
Message 3 of 4
(4,287 Views)

because there is a problem in the IVI official WebSite. whenever i submit my question ,it  always pop up a  'sorry ' dialogue .so i have to ask questions here . i anticipate my questions can be answered . thanks 

0 Kudos
Message 4 of 4
(4,225 Views)