From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

USB-6501 Platform Services Error -50150

I am using the USB-6501 to interface to a SemiLab laser Type tester.  One digital output port turns power on to the laser thru a relay and three digital inputs return the status of the test station.  All four signals are defined in the project as Global channels set to digital lines.  The code reads a status at Port 1/bit 0 and then sets the power on at Port 1/bit 3.  When the digital power control is set to 1, the DAQmx driver returns the NI Platform Services Error -50150, the software has entered and unknown state.  With execution highlighting the problem is the same.

 

All IO operate correctly from Max using the test panel and from the project using the individual DAQ Assistant pages.

The system is running LV2010 Professional and DAQmx 9.4.0f1

Michael Munroe, CLD, CTD, MCP
Automate 1M+ VI Search, Sort and Edit operations with Property Inspector 5.0, now with a new Interactive Window Manager!
Now supports full project automation using one-click custom macros or CLI.
0 Kudos
Message 1 of 2
(2,100 Views)

The problem disappeared when I moved the power control line to port 2.0.  Seems that the DAQmx software could not handle ins and outs on the same port over the USB.

Michael Munroe, CLD, CTD, MCP
Automate 1M+ VI Search, Sort and Edit operations with Property Inspector 5.0, now with a new Interactive Window Manager!
Now supports full project automation using one-click custom macros or CLI.
0 Kudos
Message 2 of 2
(2,094 Views)