01-26-2010 05:05 PM
I am using:
NI-5112
niScope.vb IVI driver wrapped for VB.NET
VB.NET 2005
If I call the Read() function using an edge trigger and the waveform does not trigger I get an exception falut that appears to be an "Invalid Parameter" error that I am trying to trap specifically so I can handle the issue correctly.
What is the best way to trap these timeout Errors?
02-01-2010 10:02 AM
TrackerMan,
Have you taken a look at the example files for the DAQmx driver? These are a great place to start when building your application. They also show the recommended way of catching those errors, using a Try...Catch block around the code.
-Christina
02-01-2010 10:06 AM