Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to Stream from LabJack in C#

Hello, 

 

I am attempting to create a C# program that will stream measurements from a pin on a U3 LabJack and return the measurements in an array. I have been having a lot of trouble getting my program to run when I call it from test stand. So I have attempted to just run the example streaming code LabJack offers "U3_SimpleStream.cs". I turned the file into a dll and call "performActions()" in test stand. When I do that I get the error shown below. 

 

Both my program and the example U3_SimpleStream.cs work when I run them as executables outside of test stand. Also both programs when I run them in test stand give me the same error. Currently in both programs no variables are being passed between test stand and the c# programs. 

 

I would really appreciate any help! 

0 Kudos
Message 1 of 2
(1,127 Views)

Please see our response in this related LabJack forum topic:

https://labjack.com/comment/7621#comment-7621

0 Kudos
Message 2 of 2
(1,106 Views)