08-20-2019 03:45 PM
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()??
08-21-2019 10:02 AM
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.
08-21-2019 10:27 AM
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#...