06-17-2005 04:41 AM
06-21-2005 03:59 AM
07-04-2005 06:25 AM - edited 07-04-2005 06:25 AM
Message Edited by Marcus3967 on 07-04-2005 06:28 AM
07-06-2005 08:37 AM
From your post, I'm not sure I know if you're writing an instrument driver, or trying to use one to write a test application. If you are writing a test application, you should not be using the Ivi_SetAttribute and Ivi_GetAttribute functions. You should be using the Set- and GetAttribute functions that are part of the instrument driver you're using - in this case, norma5xx_SetAttribute<type> and norma5xx_GetAttribute<type>. These functions should be in the driver's function panel, and should include all of the driver specific attributes.
The functions defined in the ivi.lfp function panel are primarily meant to be used when writing an instrument driver. That function panel and associated sub file define all of the general attributes which all drivers are expected to support. However, there's no way for that function panel to know about the attributes that are specific to your particular driver. They will only show the inherent attributes, because that is all they know about. You can use those functions with other attribtute IDs when writing a driver, at which point you would have to enter the IDs yourself. If you want to still use the function panels to inject the function calls into your code, but need to use an identifier not in the supported list, you can press Ctrl-T to turn all of the ring, slide, and boolean controls on the function panel into text boxes where you can enter whatever identifiers you wish.