Example Code

Error -50103 occurred at SensorDAQ_GetProbeInfo.vi

Fix for Error -50103 occurred at SensorDAQ_GetProbeInfo.vi

OS: Windows 7X64

NI Labview 2014X32
Device Drivers 2014: Part 1, 2 and 3
NIDAQ Drivers
DAQMX Drivers
SensorDAQ 2014

Problem: Received this error when using NI Vernier SensorDAQ (USB) with NI Labview 2014

Image1.jpg

NI Vernier SensorDAQ USB Data Acquisition

Image2.jpg



Setup:


Analog Express [Single-point (Wire to Chart)]
Add Channel: Terminal A10: Custom 10V = -0.004 (V)
Set Timing: Duration 10 seconds / Repeat
                   Sampling Rate: 100 samples / second
Hit run:
                   Program would run about 1 second.  Continuously hitting ‘Run’ produced the output in the chart below.

Image3.jpg

Hitting run continuously produces the -50103 Error:

Image4.jpg

We spoke with 2 – 3 support techs from NI and Vernier who were unable to reproduce the error we were getting.

Finally we got in touch with Josh from Vernier, He used to work for NI, who was able to reproduce the error we were getting.

He managed to solve a work-around for us by adding a ‘while’ loop in the program.  We also added a start and stop button and encompassed all this within the while loop and the program works perfectly.

Working:

Image5.jpg

Special thanks to the following for assisting with troubleshooting this problem:


Dr. Paul Sims, Professor at East Tennessee State University in the Department of Engineering Technology, Surveying and Digital Media.


Josh at Vernier,

Loretta Fritz, Systems Manager, Department of Engineering Technology, Surveying and Digital Media.



Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Contributors