4040A/B Closing of Session

For Q&A on this wide range, 50MHz bandwidth, differential amplifier for the PXI form.
Post Reply
tejeswar
Posts: 2
Joined: Thu Feb 04, 2016 7:52 am
Real Name: Tejeswar

4040A/B Closing of Session

Post by tejeswar »

I haven't seen the LABView API function for closing the session of 4040A/B Instrumentation Amplifier.

Can you guys able to provide the LABView API function for closing the session or kindly provide the documentation for the dll file, so that we will build the wrap function for the same.

Thanks & Regards,
Tejeswar

gtolentino
Posts: 9
Joined: Thu Dec 18, 2014 11:43 am
Real Name: Gregory S. Tolentino

Re: 4040A/B Closing of Session

Post by gtolentino »

Thank you for your post Tejeswar.

The 4040B driver does not have a function to initiate a close session event. The 4040B is accessed through LabVIEW by opening a VISA session, and should be closed by closing that same VISA session. There’s no need to initiate that procedure through the 4040B – closing via the LabVIEW VISA session is sufficient.

Also, attached to this post is the C header file for the 4040 DLL. It is commented to explain the DLL functionality, and will hopefully provide any guidance you need to write a wrapper.

Thank you,
Greg Tolentino
Applications Engineer
TEGAM, Inc.
gtolentino@tegam.com
440-466-9609
You do not have the required permissions to view the files attached to this post.

tejeswar
Posts: 2
Joined: Thu Feb 04, 2016 7:52 am
Real Name: Tejeswar

Re: 4040A/B Closing of Session

Post by tejeswar »

Tegam4040_Close.vi
Thank you for your reply Greg Tolentino.

Can you please confirm the wrapper function which i made by looking in to the C Header file.

Can i you the same, or does there is any mistake in defining the arguments.

I want to know one more thing regarding the 4040B, In my current application i have to use two 4040B Instrumentation amplifier. Do i can use both the instruments simultaneously without closing the session till the end of my application.

That mean i want to use one 4040B as Amplifier and another as Attenuator, so my settings to the hardware will be different for both. In this regard, can i open both the hardware session simultaneously and do the required settings simultaneously too.

Why i am asking this question is, we have used 2 units of 4040A couple of years back in one of our project. During those days we got the feedback that whatever we have to configure both the hardware based on the requirements, it should be one after the other (that mean, first i have to open the session of say, first hardware then do the required settings and has to close the session before i start to configure the other 4040A). So i can't operate both the hardware simultaneously.

Is the same that has to be followed even right now with 4040B hardware too.

Please do reply with the feedback and your valuable suggestions.
You do not have the required permissions to view the files attached to this post.

Post Reply