08-03-2009 01:46 PM
I tried to get 5660 reference level using MT Get Attributes.vi from 5660 driver, howerver, this function always returns reference level=0, and RF attenuation = -20 even after I changed the reference level to some other value.
I found another MT Set Attributes.vi under vi.lib\addons\Modulation\niScope and mod_Set RxRFSARefLevel.vi under vi.lib\AddOns\Modulation\niScope\accessors.llb, but these functions seem never been used in 5660 Configure for spectrum, so the reference level always return default(0). Is that correct? My question is how to get reference level value from 5660 driver or is this value never been updated within attributes? Thanks.
Chenny Wang
08-04-2009 05:14 PM
Chenny,
Thank you for posting on the NI Forums. Where exactly do you set your Attributes for the 5600 driver? Are you changes these levels on your Front Panel of your VI? I am guessing that you are just trying to get the setting from the actual hardware. If this is correct the Modulation Toolkit (MT) Get Attributes will only give you the attributes that you set for the toolkit, and those can be changed by calling MT Set Attributes.
I also noticed that you are using the old RF Driver (NI Tuner) I wanted to suggest upgrading for the newer drivers (NI RFSA). This driver will give you better functionality than the old NI-Tuner Driver. You can find that new driver here.
It sounds like you would need to use a RFSA Property Node to get these levels. I have attached an image of the property node and what properties you would need to use. We really don't use the NI Tuner driver anymore, and I don't believe you can find it on our website, I would strongly recommend upgrading to the RFSA driver.
08-07-2009 12:37 PM
Chenny,
I apologize, I gave you some bad information earlier. With the 5660 you will have to use the 5660 driver which would be installed with the RFSA driver. However the property node that I pointed you to would not be availble for use with the 5660. With your current set up you may not get those values because the task has not been commited at that point.
Could you give me more information on where you were setting these attributes in your program and if commiting the task before you read these values helps. Thanks!