Setting DIO and DAC Startup Defaults | LabJack
 

Setting DIO and DAC Startup Defaults

6 posts / 0 new
Last post
SteveM
SteveM's picture
Setting DIO and DAC Startup Defaults

I must be misinterpreting something here but I'm trying to set the start-up defaults for the Digital IOs (all the FIOn, MIOn, CIOn and EIOn) as all Outputs with state=Low, and both DACs to 0.0V on a U6. 

I've udpated the firmware and used LJControlPanel to configure the requested default values however, after doing so (with confirmation that the operation has been completed from a message box), I notice that LJControlPanel has them restored as factory defaults (DIOs inputs) when I restart.  Am I missing something here? - any help would be appreciated.

LabJack Support
labjack support's picture
I notice that LJControlPanel

I notice that LJControlPanel has them restored as factory defaults (DIOs inputs) when I restart.

Do you mean that when you open the Test panel in LJControlPanel they are all shown as inputs?  The Test panel does not read the current condition when it starts, but rather sets everything to factory condition when it starts.

 

SteveM
SteveM's picture
Do you mean that when you

Do you mean that when you open the Test panel in LJControlPanel they are all shown as inputs?

Yes, that's exactly what I meant - thanks for the prompt clarification, much appreciated.  I'll do a little testing with some hardware attached instead of using the Test Panel then, and check that my requested defaults are being retained.

SteveM
SteveM's picture
Just as you say, the user

Just as you say, the user-requested defaults are being retained (I was able to verify this with some external instruments attached), and they're being overwritten on the next instance of using LJControlPanel with factory defaults.

Could I respectfully make a suggestion?  It might be useful if LJControlPanel would report on start-up that the current device defaults are not consistent with the factory defaults (perhaps with a yes/no message box) and ask the user if they'd prefer to retain them or reset them to factory, rather than just silently reinstating the factory defaults.

LabJack Support
labjack support's picture
Agreed ... but:  The T-series

Agreed ... but:  The T-series and associated LJM library were designed from the ground-up with these abilities in mind, but for the UD devices that is not the case and thus it is not always straightforward or even possible to do this.

Will consider a more extensive change as you suggest, but at the minimum we could add a little message on the Test panel screen that tells you it starts by setting everything to factory condition.

 

SteveM
SteveM's picture
"... we could add a little

"... we could add a little message on the Test panel screen that tells you it starts by setting everything to factory condition."

Much appreciated!