12-11-2018
04:46 AM
- last edited on
01-09-2025
02:19 PM
by
Content Cleaner
Good morning all
I have run into some problems trying to control remotely a PXI card from a development PC. I can VNC to the remote system but need to develop a remote and automated control strategy.
My goals are to
System context
Developer PC:
Remote PXIe-1082
What works
What doesn't work
What I've tried
I believe the VISA server to be working on the remote PC since I can interact with the VST and the USB device; I can see these on the I/O trace (attached).
I've enabled the RIO server and configured the firewall using http://digital.ni.com/public.nsf/allkb/E10AEC4FFBB784368625795100790AA4?OpenDocument and https://www.ni.com/en/support/documentation/supplemental/21/remote-application-development-for-windo... as reference. The RIO Settings on the remote PC are not to use a static port and '*' access for remote devices. The server on the remote PC is running and automatically started.
Assuming my goals possible, what steps am I missing here? What further diagnostics can I provide?
Any help would be greatly appreciated.
Regards
Chris
Solved! Go to Solution.
12-13-2018
06:55 AM
- last edited on
01-09-2025
02:19 PM
by
Content Cleaner
Hey Chris,
Just wanted to check what version of NI-RFSA/NI-RFSG your using too? They're both available at:
NI-RFSA 17.0
Kind regards,
Rebecca
12-13-2018 07:03 AM
Hi Rebecca
Thanks for following up.
On my development machine, I have v17.0 of both. These seem to be the latest from those web pages.
Interestingly, on the remote PXI machine, I have v17.1.2 of both. Not sure if that is significant.
Regards
Chris
12-13-2018 08:33 AM - edited 12-13-2018 08:34 AM
Hey Chris,
Just reread the specs you provided, didn't see that this was a Window PXI
First there's guidance for the VISA Server here: How Do I Control My VISA Device from Another Computer?
Second this isn't how I'd normally expected a PXI to appear on the network. They usually show up with the chassis under Remote Systems as per the below:
.
This is what made me double check your specs! This is how we use Real time PXIs, that have a Real Time OS installed. Having a look at your screenshot I'm assuming this was made by right clicking Remote Systems in MAX >> Create New >> Remote VISA system?
We don't actually use PXIs running Windows as remote targets. You can access them either through adding them in a LabVIEW project as a target, or by using remote desktop as you would with a normal PC.
Are you able to continue developing by simply remoting in using Windows Remote Desktop?
Thanks,
Rebecca
12-21-2018 08:42 AM
For posterity and to close out this topic, here is my resolution.
I needed to use a custom solution in order to remotely control the VST card from my test scripts. I've implemented a an XML-RPC server application running on the remote Windows 7 controller card to accept network communications and then interface with the VST card using the niRFSG libraries as normal.
The connection flow is as follows:
[python tests] -> [python control classes] -> [python xmlrpc client] -> LAN -> [C++ XmlRPC server] -> [NI driver] -> [PXI card]
Resources to check out: