02-04-2025 09:25 AM
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?
02-05-2025 06:49 PM
Try
int32 __CFUNC DAQmxGetDevTerminals(const char device[], char *data, uInt32 bufferSize);
DAQmxGetDevTerminals gets the Terminals property.