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
4040A/B Closing of Session
-
- Posts: 13
- Joined: Thu Dec 18, 2014 11:43 am
- Real Name: Gregory S. Tolentino
Re: 4040A/B Closing of Session
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
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.
Re: 4040A/B Closing of Session
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.