Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

WriteDigitalChannel example nothing in NI IO trace

Hi everyone, 

 

I am trying to develop a Daqmx application with Measurement Studio 2013 and Visual Studio 2010, I used the .NET example 

WriteDigitalChannel, it runs without errors but nothing comes out on NI IO Trace.

 

Also there is a warning saying "Warning 1 Found conflicts between different versions of the same dependent assembly. WriteDigChan.2010"  

 

Thanks, 

 

Best Regards,

0 Kudos
Message 1 of 5
(5,909 Views)

Hi,

 

IO Trace won't work with applications written with Visual Studio and DAQ hardaware/software. I believe it will only work with LabVIEW applications.

If you create a task in MAX for your DIO functions and add that task in your Visual Studio application you will be able to track the function with IO Trace

 

Curt

0 Kudos
Message 2 of 5
(5,896 Views)

Hi Curt, 

 

Thanks for your help, although the task I am adding comes from MAX,

 

Best Regards,

0 Kudos
Message 3 of 5
(5,883 Views)

 

Hi,

 

My mistake. If you run the task from within the the Visual Studio IDE the DAQmx calls show up in IO Trace, but not from the executable.

 

Curt

0 Kudos
Message 4 of 5
(5,876 Views)

Hi Curt,

 

Thanks for your help.

 

Ok so I can use a task either build from MAX or build within Visual Studio, right?


The only obligation to see the task traces in NI IO Trace is to run it debug mode, correct?

 

I have tried with all the combinations of the previous statements, using both DAQmx Examples from NI and applications built from the Daq Assistant with no luck...

 

I am really struggling to build up a working environment.

 

Thanks,

 

Best Regards,

0 Kudos
Message 5 of 5
(5,873 Views)