Can I Programmatically Read the VXI User Window Size? Primary Software: Utility Software>>Measurement & Automation ExplorerPrimary Software Version: 3.1 Primary Software Fixed Version: N/A Secondary Software: N/A
Problem: I am creating a test program for my VXI system. If the VXI user window size has not been set to a suitable value, my test program will hang. As such, I would like to look at this value right at the beginning. If it is too low, I want to inform the user appropriately. How can I do this? Solution: The VXI User Window size is a property that is set directly in Measurement & Automation Explorer (MAX) or VXIedit. It is required to be large enough to accommodate the size requested in any viMapAddress (VISA API) or MapVXIAddress (VXI API). There is no way for you to directly read what this value is, however, you can access information indirectly. The VXI user window size is set in powers of 2. Lets assume that you require a VXI user window size to be 256 k. You can do the following:
Related Links: KB 2LUD3IUK: Can You Change the VXI User Window Size Programmatically? NI-VISA Programmer Reference Manual NI-VXI Programmer Reference Manual Attachments:
Report Date: 11/06/2003 Last Updated: 11/19/2004 Document ID: 3359LCOK |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
