Jump to content
  • 0

Issue with calling mccdaq commands getting value cannot be null error


niconiconico

Question

14 answers to this question

Recommended Posts

  • 0

You must install the InstaCal utility and run the HIDRegUpdater, which tells Windows not to turn the device off. The first time InstaCal is run with the device plugged in, it will pop up a window asking you to update the device. This is the HIDRegUpdater. After the update, either restart Windows or power cycle the device and rerun InstaCal. This time, it can be added to the board list. 

InstaCal is also used to configure the USB-TEMP channels for the different types of sensors. Double-clicking it will bring up the Configuration dialog.

If it is the only device in its board list, it has most likely assigned board number zero. You can use this number to access the device in Python. For example: value = ul.Tin(board_num, channel, TempScale.Celsius)

Link to comment
Share on other sites

  • 0

Disconnect the USB-TEMP from the Window 7 system's USB port.  If you do not have InstaCal v6.55 installed on the Windows 7 system, then uninstall InstaCal using Windows Control Panel options.  Afterwards, using the following link, download the installer to the host system and run the installation. 

https://files.digilent.com/archive/MCCDAQ_CD/Archive_6.55/mccdaq.exe

Once installed, please launch the InstaCal v6.55.  Using the top menu, go to 'Help - About InstaCal' to confirm you have v6.55.  Close the About InstaCal window and then click on the leftmost menu icon ('Add Board').  Select the DEMO tab and then click the 'Add' button.  

image.png

 

The DEMO-BOARD (Board# 0) should appear in the list. 

image.png

Double-click on Board# 0 to open its Configuration window.  Click the OK button afterwards and then close InstaCal.  

image.png

 

The demo data are voltage points, not temperature data, but this is only a troubleshooting test.  Run your application.  Do you get the same error(s)?

Next, if you are using an external USB hub, then it should be powered by an external power supply.  However, if you are using an USB port that is directly on the Windows 7 32-bit system, is the port USB v1, v2 or v3?

Do you have another Windows 7 32-bit system to test the USB-TEMP?

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...