PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

C++ program in Linux fails DAQmxConnectTerms with error "No device by the given name was found"

Function DAQmxConnectTerms fails in linux when sourceTerminal is set to "/PXIChassis1/PFI1" and destinationTerminal is set to “/PXI1Slot15/PXI_Trig1” with the error: -88717: No device by the given name was found.

 

The problem seems to be with "/PXIChassis1/PFI1" since DAQmxConnectTerms does not fail when sourceTerminal is set to “/PXI1Slot15/PXI_Trig1" and destinationTerminal is set to “/PXI1Slot15/PFI6”.

 

I am using a NI PXIe-1084 PXI Chassis with timing options.  The function DAQmxConnectTerms works correctly in windows when sourceTerminal is set to "/PXIChassis1/PFI1" using the same NIPXIe-1084 Chassis.

 

According to NI Hardware Configuration Utility, the device name of the NI PXIe-1084 chassis is PXIChassis1.  Can you suggest what might the an appropriate terminal name in linux for connecting to PFI1 in a chassis that has device name: PXIChassis1?

 

Is there a command in linux that lists all terminals available on devices installed in the system similar to how the command lsni -v lists all available devices?

 

Is there a function call that lists all terminals available similar to how functions viFindRsrc and viFindNext can be used to find all available resource names?

0 Kudos
Message 1 of 2
(156 Views)

Try

Get/Set/Reset Dev_Terminals

int32 __CFUNC DAQmxGetDevTerminals(const char device[], char *data, uInt32 bufferSize);

 

Purpose

DAQmxGetDevTerminals gets the Terminals property.

 

-------------------------------------------------------
Applications Engineer | TME Systems
https://tmesystems.net/
0 Kudos
Message 2 of 2
(123 Views)