Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

How to access FlexRIO's property at MAX15.0?

At previous version of MAX (version: 14.5), i was able to access the FlexRIO's property( such as the "Model Name", "Slot Number" etc) by the VISA property Node.

But after upgrading to MAX 15.0, i find that the "VISA properties" setting tab is no longer existed. In result, i can't define the VISA alias for the FlexRIO device. Hence, my previous code which works at MAX 14.5 can't re-used. Is anyone has idea to access the FlexRIO device 's property by the VISA or any other aproach?

Attached is the screenshot of MAX14.5 and MAX 15.0 to show the difference.

Download All
0 Kudos
Message 1 of 4
(4,026 Views)

In MAX, if you select the FlexRIO target and click the general tab at the bottom of the window you'll see the RIO Alias of the device. RIO 15.0 changed the way that a RIO Alias is enumerated so that the alias always matches the slot number. Before this change a RIO alias could change values between restarts even if a board hadn't moved slots. With this change that can't occur.

 

You can also query the RIO Alias using the System Configuration API. Theres an example in the example finder that demonstrates how to do that for a FlexRIO FPGA Module.

 

 

0 Kudos
Message 2 of 4
(4,009 Views)

David,

Thanks for your reply.

I notice the  RIO Alias update on MAX 15.0. In MAX 14.5 , I can get the FlexRIO's module by the VISA vis with the VISA alias applied as input. Attached is the example VI.

if there is only RIO alias, no VISA alias exited on MAX 15.0, does it mean the VISA vis such as my attached example can't work any more? If yes, that would be really a huge work for us to update the previous source code to adpater the MAX 15.0..:-(.. Is any setting can be made to support these kind of VISA VIs?

BTW, the example you mentioned to get the name of FlexRIO FPGA Module, where it is? Is it the FlexRIO example or the system config exampe? I try the "rename aliases" example, it seems can't emurate the FlexRIO device. Attached is the screenshot of my MAX and the VI front pannel.

Download All
0 Kudos
Message 3 of 4
(3,987 Views)

I was able to get the model name of the 7954 that I had in my system with VISA 15.0.1 installed on my machine (see VISA_FlexRIO.PNG). Can you try downloading and installing VISA and giving that a try? Also make sure you are using the correct VISA resource name (see visa_name.PNG).

 

http://www.ni.com/download/ni-visa-15.0.1/5693/en/

 

 Just a heads up though, 797x FlexRIO FPGA Modules do not support the VISA api. Only 796x and 795x FlexRIO FPGA Modules are supported by the NI-RIO VISA Passport. Switching to the System Configuration API will give you support for all FlexRIO targets and will likely have a longer shelf life than the VISA api.

Download All
0 Kudos
Message 4 of 4
(3,936 Views)