05-30-2016 07:17 AM
How do I query the firmware version of a NI-VST module (specifically, the NI PXIe-5646R) from a C application? I can see the firmware version in MAX, but this module doesn't support the niRFSA_revision_query or niRFSG_revision_query functions.
Solved! Go to Solution.
06-01-2016 03:35 AM
Hello,
I am Ed from National Instruments Applications Engineering. I have been researching into your query with regards to ascertaining the firmware version of the 5646R.
Unfortunately from what I can ascertain, you are correct in that this is an unsupported feature for this particular card. I was wondering what the application need was to require acquisition of said information programmatically?
Best regards,
Ed
06-01-2016 04:39 AM
Ed, thanks.
Our procedures require us to record this information for all items of test gear used on customer products.
How does MAX retrieve the firmware version?
06-01-2016 05:29 AM
This is indeed the case, thank you for broading the scope of the question, I was able to locate this community example for you:
https://decibel.ni.com/content/docs/DOC-41906
This uses System Configuration which is in fact NI MAX, that is to say that these VI's communicate with NI MAX to acquire hardware/software information.
06-03-2016 09:59 AM
Thanks, that seems to work. I've used nisyscfg.dll, as described at:
NI System Configuration 15.0 Function Reference
Is it possible to use nisyscfg to retrieve the device name (that is, the "Pxi2Slot3" name, not the model name), or do I still have to use niModInst for this?
06-03-2016 10:06 AM
Hello,
In order to do this I would suspect that this would be a property of the device, so call the function linked below, with the operation to read the property NISysCfgIndexedPropertyExpertUserAlias as explained in the second below linked document:
1. http://zone.ni.com/reference/en-XX/help/373242H-01/nisyscfgcvi/nisyscfggetresourceindexedproperty/
2. http://zone.ni.com/reference/en-XX/help/373242H-01/nisyscfgcvi/prop_indexrsc/
Best regards,
Ed
06-03-2016 10:34 AM - edited 06-03-2016 10:35 AM
Thanks again, that works. The expert name to look for is "ni-vst", incidentally.