NI Linux Real-Time Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Failure while loading simulated device with nidaqmxconfig

Hello everyone, I am getting started with using nidaqmxconfig on my Linux machine and I intend to (eventually) start simulating devices with the module of nidaqmx from python. 

I am interested in simulating two specific devices. The .ini file looks like this:

 

[DAQmx]
MajorVersion = 21
MinorVersion = 0

 

[DAQmxDevice Dev1]
ProductType = USB-6361
DevSerialNum = 0x0
DevIsSimulated = 1
ProductNum = 0x74FD
BusType = USB

 

[DAQmxDevice Dev2]
ProductType = PCIe-6320
DevSerialNum = 0x10
ProductNum = 0x7425C4C4
BusType = PCIe
PCI.BusNum = 0x65
PCI.DevNum = 0x0
DevIsSimulated = 1

 

(I got the information from the software NIMAX, which was run on a windows machine).

Then, I loaded the file using the nidaqmxconfig --import <filename> command.

 

However, when I use the command nilsdev to check the status of the device, the Dev1 fails to load. I have tried resetting it with nidaqmxconfig --reset Dev1, but it fails. The message is:
Failed

Error -88303
An internal error occurred.

 

I have also tried the commands nidaqmxconfig --import <filename> --eraseconfig and

nidaqmxconfig --import <filename> --eraseconfig

but none of them has worked so far as well

0 Kudos
Message 1 of 1
(1,222 Views)