取消
显示结果 
搜索替代 
您的意思是: 

CMU 200 error

I am trying to run one of the Driver VIs of the CMU200 in LABview. But everytime I run it, it gives an error "The given session or object reference is invalid." The measurement and Automation Explorer shows the CMU200 and I am also able to comminucate with the device, by right clicking on it. Any suggestions?
0 项奖励
1 条消息(共 9 条)
4,479 次查看
If anybody has worked or working with drivers of CMU 200 in LABview, let me know. I am finding a hard time in dealing with the drivers.
0 项奖励
2 条消息(共 9 条)
4,465 次查看
Did you pass in the VISA session (to the driver VI) correctly?
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
0 项奖励
3 条消息(共 9 条)
4,459 次查看
I am using RSCMU_Init_GSM_sig.vi to initialize the operation. One of the connector of the VI is "BASE VISA Session". I am giving address here as GPIB0::20::0::INSTR (which is of CMU 200 ans is correct). Still cant figure out?
0 项奖励
4 条消息(共 9 条)
4,447 次查看
The device descriptor you used "GPIB0::20::0::INSTR" seems to be the default value used in the driver vis, is the primary address of the instrument really 20 and secondary address 0? If you do not need to use secondary address, you don't have to use any value for this part. Please check the dip-switches on other instruments to make sure not another device is using the same address. You can also try to assign a different address to the device.

Can you communicate to the instrument just using NI-VISA function? Can you do a query in MAX? Both methods are simple ways to establish communications with your instrument.
0 项奖励
5 条消息(共 9 条)
4,441 次查看
yeah I am able to Query the device by MAX. I checked the address, it is correct. Also, whenever I restart the LABview and open the VI that initiates the device, the device do go in remote mode but no further communication happens and the VI keep giving the same error.
0 项奖励
6 条消息(共 9 条)
4,436 次查看
Also I am attaching the NI spy snapshot.
0 项奖励
7 条消息(共 9 条)
4,435 次查看
Make sure that when you open the device that the ID Query input is set to true. The R&S CMU driver (dll) caches the firmware version of the CMU, if a command does not match the minimum firmware revision, you will get an error. If you do not query the instrument when you open it, the firmware is treated as 0 and all subsequent commands will error with an insufficient firmware revision error message.

Regards,
Aaron
LabVIEW Champion, CLA, CPI
8 条消息(共 9 条)
4,429 次查看
Looks like you are setting certain Attribute Event to False, that event could be something like ID Query. You need to change it to true to initialize the devices.
0 项奖励
9 条消息(共 9 条)
4,412 次查看