PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

IVI Soft Front Panels (SFP) No Longer Work for PXI Devices Installed in RT Controllers Running NI Linux RT

I was able to get gRPC working based on the instructions from the github wiki

GitHub - ni/grpc-device: gRPC server providing remote access to NI device driver APIs.

https://github.com/ni/grpc-device/wiki/Creating-a-gRPC-Client#creating-a-python-grpc-client

 

The gRPC Getting Started video from NI must have been created using outdated instructions.  The commands are wrong and/or missing important parts.  If you try to run the latest Client/Server build based on the instructions from this video it won't work.

https://www.youtube.com/watch?v=nI6i1hjKUt8

 

The gRPC Client and Server are successfully running on the Windows Host PC (Client) and NI Linux RT controller (Server).  So gRPC seems to be the solution to the no soft front panel issue.

 

Sidebar:

I still don't understand why the Soft Front Panels would not work.  I have read through other forum posts with people trying to do the same as myself with the IVI drivers and remote resources.

 

If the NI-IVI drivers are using NI I/O drivers (i.e. NI-VISA) under the hood, the drivers should accept the remote NI-VISA syntax.

Remote NI-VISA

visa://host address[:server port]/remote resource

https://www.ni.com/docs/en-US/bundle/ni-visa/page/visa-resource-syntax-and-examples.html

 

If the NI-IVI drivers are using IVI I/O drivers (i.e. VISA) then the drivers were likely developed to follow the syntax specified in section 4.3.1.1 of the IVI VISA Library spec.

https://www.ivifoundation.org/downloads/Architecture%20Specifications/vpp43_2022-05-19.pdf

 

This nuance is very confusing to the end user.  As can observed in several posts on this forum.

 

If NI is following the IVI VISA specification, then NI should also consider following the IVI specification for Soft Front Panels.

https://www.ivifoundation.org/docs/vpp7.pdf

 

That would be very helpful to the end user.  Not having soft front panel support, NI seems to be missing the spirit of and reason why the IVI Soft Front Panel specification was developed in the first place.

0 Kudos
Message 11 of 13
(598 Views)

Glad to hear that you were able to get it working with gRPC.

 

For the rest of the issue of 'why' SFP doesn't work, I couldn't help much, best to reach out to NI Tech Support to see what they have to say on the issue.

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 12 of 13
(572 Views)

@santo_13 wrote:

Glad to hear that you were able to get it working with gRPC.

 

For the rest of the issue of 'why' SFP doesn't work, I couldn't help much, best to reach out to NI Tech Support to see what they have to say on the issue.


Thanks.

 

Regarding InstrumentStudio, I found a knowledge article from Feb 23, 2023:

InstrumentStudio Can't Detect Devices on a Remote Real-Time Target

InstrumentStudio Can't Detect Devices on a Remote Real-Time Target - NI

 

One important point.  The user will need to use caution if VeriStand is installed on the target and the advice in the knowledge article is followed.  Deploying another real-time executable while VeriStand is installed usually breaks the VeriStand installation.

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P6BkSAK&l=en-US

https://github.com/NIVeriStandAdd-Ons/Reset-VeriStand-as-Startup-Workspace-Tool

 

0 Kudos
Message 13 of 13
(533 Views)