Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

PXI 6508

Hi,

I´m trying to use the NI PXI 6508 with C#, and basically what I want to do is to configure Port 0 as Input and Port 1 as output, wire each output to it´s corresponding input, the thing is that I´ve been looking for a wrapper and haven´t been able to find one. Does anyone have a wrapper or a .dll with a ConfigurePortDirection()??

0 Kudos
Message 1 of 3
(1,941 Views)

Hi JuanP83,

 

Can you describe what you would need a wrapper for? This functionality should be relatively simple to implement, if you look at the C# DAQmx examples.

Claire C.
AppSW Staff Product Support Engineer
National Instruments
CLD|CTD
0 Kudos
Message 2 of 3
(1,908 Views)

Hi Claire,

I just need a function to configure a port as input or output since I´m just trying to test each bit of the DIO as input and output (P0L0 vs P1L0)... I did this with LV and then compiled it as a .NET Interop Assembly .dll, but for some reason I get an error when running the sequence in Test Stand since I don´t have LV installed in my Test equipment, but what I do have installed is Visual Studio so that´s why I´m trying to develop that function in C#... 

0 Kudos
Message 3 of 3
(1,899 Views)