Jump to content
  • 0

USB-2416-4AO DI/O Support for Python


smann

Question

I want to confirm I can use python to create a live user interface for this DAQ? I followed a simple example on GITHUB but I get an error 41 This function can not be used with this board.image.thumb.png.62beac5e91f29df8d798537089452417.png

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

The simple example assumes InstaCal has been installed and run with the USB-2416-4AO attached. 

The USB-2416-4AO requires more setup than other DAQs. Because of this, please look at the attached example, which shows input and output. The channel must be set to differential input mode and configured for (ADDATARATE) 60 Hz and the thermocouple (CHANTCTYPE) type if you use thermocouples. The function a_chan_input_mode can be used to set individual channels. 

a_in_scan_file_2416.py

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...