09-05-2007 08:12 AM
Private
NIDevice As NationalInstruments.DAQmx.DeviceTheSourceID = NIDevice.SerialNumber
The problem is that I don't know how to point to the correct pci slot to get the serial number of the device. I cannot find a function which allow me to set the pci slot number before I can read the SerialNumber.
Please advice
Thanks
09-06-2007
05:47 AM
- last edited on
10-03-2025
10:20 AM
by
Content Cleaner
Hi Chee,
The following knowledge base article should answer your question:
Programmatically Query the Serial Number of a DAQ Device
You don't need the slot number. Just provide the daq device name to the function.
09-06-2007 11:58 AM
09-06-2007 01:30 PM
Hi Chee,
You would say something like:
NationalInstruments.DAQmx.Device myDevice = DaqSystem.Local.LoadDevice("dev1");
long serialNum;
serialNum = myDevice.SerialNumber;
Best Regards,
01-05-2016 03:42 PM
I have a cfp-180x I have tried to use DAQmx but I have the following errors:
Error 3 The type or namespace name 'DAQmx' does not exist in the namespace 'NationalInstruments' (are you missing an assembly reference?)
Error 4 The name 'DaqSystem' does not exist in the current context
Do you have sugggestion?
01-06-2016 08:31 AM
@karpediemnowUSA wrote:
I have a cfp-180x I have tried to use DAQmx but I have the following errors:
Error 3 The type or namespace name 'DAQmx' does not exist in the namespace 'NationalInstruments' (are you missing an assembly reference?)
Error 4 The name 'DaqSystem' does not exist in the current context
Do you have sugggestion?
Start your own thread.