06-09-2011 05:24 AM
Hi,
I was able to extract PXI module data that I ask before through this Link:
But the VIs that are available on my function palette was somehow not complete, so
I wanted to create a few VIs that will extract the data I wanted by using "call library function".
(The most important data for me right now are the Last External Calibration Dates and the Recommended
Calibration Interval from the PXI Modules)
This will be my first time to use "call library function" so need your help with some DLL documentation for below hardware.
Really appreciate if someone could share me some documentation.
Btw, I'm currently working with the following hardware:
NI PXI-5922/5122 ------ niSCOPE
NI PXI-6552 ------ niHSDIO.dll
NI PXI-5406 ------ niFGEN
NI PXI-4110/4130 ------ niDCPOWER
Thanks in advance!
06-10-2011 02:24 PM
Hi Versil1,
Thanks for posting. The functions that you are looking for are already available in the function palette for some of the devices that you are using, so using Call Library Function to access the DLLs should not be necessary. Here are where these functions are located:
For NI-FGEN: Right-click, then go to Measurement I/O » NI-FGEN » Calibration » Utility » niFgen Get Ext Cal Last Date and Time.vi and niFgen Get Ext Cal Recommended Interval.
For NI-DCPower: Right-click, then go to Measurement I/O » NI-DCPOWER » Calibration » Utility » niDCPower Get Ext Cal Last Date and Time.vi and niDCPower Get Ext Cal Recommended Interval.
For NI-Scope: Right-click, then go to Measurement I/O » NI-SCOPE » Calibration » External Calibration » niScope Cal Fetch Date.vi. There currently is no function to retrieve the recommended interval. This information can be found within Measurement & Automation Explorer.
For NI-HSDIO: There are currently no functions to retrieve the last external calibration date or the recommended interval. This information can also be found within Measurement & Automation Explorer.
I will be filing some product suggestions for adding functions to NI-Scope and NI-HSDIO to return this information. Our R&D department will take a look at the suggestion for future improvements. For now, these are the functions that we have available to use. Hope this helps!
Regards,
Joe S.
06-11-2011 03:39 PM
Hi Joe,
Thanks for looking into this query. I intend to create a program that will automatcally scan our PXI chassis for module info at a regular basis so I think looking into MAX manually is applicable. I actually used the available VIs from functions palette you have mentioned,but my concern was for the VIs that are not available.
Will there be a way for me to know the DLL parameter details for the NI-HDIO and NI-SCOPE? Maybe even just for their Last External Cal date and Recommended Cal Interval Date only.
Lastly, need to confirm this: Will knowing the parameter names, parameter data types, parameter I/O directions of the DLL involved in calibration info extraction enough for me to create a VI that will function like the available VIs in the functions palette you have mentioned?
Thanks,
Versil1
06-11-2011 03:41 PM
Sorry, I mean looking into MAX manually is not appplicable.
06-13-2011 01:36 PM
Versil1,
Thanks for the response. Unfortunately, if there is not a VI available in the function palette, it most likely means the function call does not exist within the driver. However, I have filed Product Suggestions to add this functionality to the HSDIO and Scope drivers so that it may be available in a later version. If you also wish to file product suggestions about this or any other issue, you can do that at our Product Suggestion Center. Thanks!
Regards,
Joe S.