Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use DAQ-Assist in C# for PXI-5112

I want to develop program using C# for PXI-5112,
I install DAQmx Driver, so I can control the PXI-5112 using NI-Scope.
Then I a create measurement  -C# project,
In the step of add Class Library, I check all Item,
include DAQmx LIbrary
In the next step,I check "lauch the DAQmx Task wizard";
the click finish button,
 
I select "new Item"
then select Analog/ Voltage
Then "no supported device found", at this time, I can control the PXI-5112 by NI-Scope.
 
I want to konw whether PXI-device is supported by DAQ-assistant,
if supported, how to use it in C#, can you give me a sample if you can.
Thanks very much  
0 Kudos
Message 1 of 5
(3,460 Views)
Hello 初学者

The DAQ Assistant works only with DAQmx devices. Sounds like you are using a scope, which is not a DAQmx device. If you want to program the 5112, check out this document for more information

Bilal Durrani
NI
0 Kudos
Message 2 of 5
(3,452 Views)
I can see the 5112 for PXI in Measurement  & Automation, and it is sorted in Traditional NI-DAQ devices, I can use the Test Panel to start 5112.
 
I consult NI china for the 5112,They reply that 5112 is not a DAQ device supported by DAQ-assistant,
 
Now, I don't know how to do. 
0 Kudos
Message 3 of 5
(3,448 Views)

The KB I linked previously provides  wrappers you can use in C# to program your scope. You cannot use the DAQ Assistant, but you can still use the wrappers to create your application in .NET

Bilal Durrani
NI
0 Kudos
Message 4 of 5
(3,441 Views)
Bilal Durrani, Thanks very much. All is OK.
0 Kudos
Message 5 of 5
(3,433 Views)