LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Measurement Computing USB-SSR24 error 42 Digital Port not configured correctly for requested operation

Using LV 2012 and ULx 2.02 LV driver:

 

LV is throwing an error 42 (Digital Port not configured correctly for requested operation) from the ULx write VI but only on PortCH.  All my configurations are correct on the hardware and Instacal tests the ports OK.  I've reinstalled everything and still see the same issue.

 

Since PortA is configured identical to PortCH, and PortA is functioning fine, I'm stumped.  This is occuring on two different SSR24 DAQs so I don't think it's the hardware, plus I've already mentioned that the Instacal isn't having a problem with it.

 

I've attached my VI I'm using for debug. 

 

Jeff

0 Kudos
Message 1 of 8
(3,252 Views)

Hi,

When do you receive the error 42? Are you able to run the application for a while?

Regards,

0 Kudos
Message 2 of 8
(3,179 Views)

I worked with Measurement Computing and they agreed that there is a bug with certain DI/DO configurations.  There are a possible 16 different DI/DO configurations with the hardware and apparently mine (PortA - DO, PortB- DI, PortCL-DI, and PortCH-DO will throw this error for PortCH.  I'm currently using .net calls to work around the issue until the ULx driver is updated.  I'll post that when I see it.  Attached are the .net VI's that I'm using for simple static IO.

Download All
Message 3 of 8
(3,169 Views)

Hi,

 

Have you tried to run an example from the driver? In order to review if you receive the same error message.

 

Regards,

0 Kudos
Message 4 of 8
(3,160 Views)

I did run the Measuement Computing ULx driver VI's and that's where the problem lay for my confirguration and this was confirmed by MCC.   As I mentioned, they confirmed the bug with their driver and will update their ULx driver.

 

The .net driver runs correct and was confirmed.

0 Kudos
Message 5 of 8
(3,148 Views)
Thank you, Jeff, for posting this .Net work-around. The problem still exists with Measurement Computing's latest drivers, MCC-DAC 6.27.
0 Kudos
Message 6 of 8
(3,075 Views)

Hi Mysticfree.

 

Just wanted to let you know that this is an older thread, so it would be better to create a new thread and reference this thread in that one. This will give it more visibility and will likely get more activity there.

 

 

Gabriel M.
Product Marketing Engineer - Academic Courseware
National Instruments
0 Kudos
Message 7 of 8
(3,054 Views)

Hi Mysticfree,

 

I'm not sure of the version I was working with as there are no version #'s in the documentation of the downloaded material that I can see.

 

The date on the dlls are 12/21/12

0 Kudos
Message 8 of 8
(3,043 Views)